Autorun.inf information

Thoughts on life, the universe and everything else not covered in other categories.

Moderator: LW Moderator

Post Reply
xariskop
Advanced Member
Posts: 58
Joined: Wed Jan 28, 2009 11:05 am
Location: Greece

Autorun.inf information

Post by xariskop »

i didn't know where to post this question, it's about autorun.inf that we find in the games. I have repacked many games cause they had wrong lines in autorun.inf and that led me to search and find how to do it.well i just haven't understand yet what's the difference between the lines
icon=autorun.exe
icon=autorun.exe,0
icon=autorun.exe,-2
e.t.c.
Sometimes also the icon loaded is different from the one in autorun.inf,making no sense at all.
Anyone who knows it help.
User avatar
loki1985
Super Member
Posts: 925
Joined: Fri Jun 18, 2004 8:58 am
Location: South of Heaven
Been thanked: 4 times

Post by loki1985 »

EXE and DLL files (plus some other extensions resembling imports) can contain multiple icons. the number (if present) simply tells which of these icons to use. if no number is given the first icon is used.
xariskop
Advanced Member
Posts: 58
Joined: Wed Jan 28, 2009 11:05 am
Location: Greece

Aha!

Post by xariskop »

Now it makes sense! thanx for the info and i got another one for you.

Is it possible to chance the commands in the autorun.inf without having the trouble of extracting the iso file, change the commands and then burn it again?i mean directly from the iso, cause i tried it, i saved it but nothing really happend...

And lastly how is it possible to extract a mixed mode cd, let's say a game that contains also music without to lose the audio?

THANKS AGAIN FOR YOUR HELP!
User avatar
loki1985
Super Member
Posts: 925
Joined: Fri Jun 18, 2004 8:58 am
Location: South of Heaven
Been thanked: 4 times

Re: Aha!

Post by loki1985 »

xariskop wrote: Is it possible to chance the commands in the autorun.inf without having the trouble of extracting the iso file, change the commands and then burn it again?i mean directly from the iso, cause i tried it, i saved it but nothing really happend...
you can use UltraISO, that should be capable of editing files in an ISO. there are some other programs that claim to support this, but i have not found anything as good as UltraISO yet.
xariskop wrote: And lastly how is it possible to extract a mixed mode cd, let's say a game that contains also music without to lose the audio?
sure, just use software like e.g. CloneCD (shareware version is enough) to make the images. as format, use one that is capable of including audio tracks. BIN/CUE and MDF/MDS is capable, while ISO format is not.
User avatar
Trey
Super Member
Posts: 1671
Joined: Thu Jul 12, 2007 3:43 am
Location: U.S.A. - Just like Disneyland! (but with more Porn, Drugs, and Guns)
Has thanked: 2 times
Been thanked: 13 times

Re: Aha!

Post by Trey »

loki1985 wrote:
xariskop wrote: Is it possible to chance the commands in the autorun.inf without having the trouble of extracting the iso file, change the commands and then burn it again?i mean directly from the iso, cause i tried it, i saved it but nothing really happend...
you can use UltraISO, that should be capable of editing files in an ISO. there are some other programs that claim to support this, but i have not found anything as good as UltraISO yet.
PowerISO also works like that, it'll let you change stuff, and burn on the fly, without having to save those changes.
User avatar
3dslUserLoad
Super Member
Posts: 187
Joined: Fri May 02, 2008 10:28 am
Been thanked: 7 times

Post by 3dslUserLoad »

Here is the AUTORUN.INF description from M$:
"http://msdn.microsoft.com/de-de/library/bb776823(en-us).aspx"
xariskop
Advanced Member
Posts: 58
Joined: Wed Jan 28, 2009 11:05 am
Location: Greece

Thanks!!!

Post by xariskop »

Thank you all for the info.
Now i resently discovered that some custom installers (cd2dvd) have the potension of copying the nocd file automaticly to the root destination of the installed game, without having to copy & paste it manually.
Does anyone know if this is a potention of a specific autorun menu application, or a spesific command you can give maby?
Arminius
Advanced Member
Posts: 52
Joined: Wed Jul 02, 2008 3:51 pm
Been thanked: 1 time

Re: Aha!

Post by Arminius »

xariskop wrote:Is it possible to chance the commands in the autorun.inf without having the trouble of extracting the iso file, change the commands and then burn it again?i mean directly from the iso, cause i tried it, i saved it but nothing really happend...

As long as you don't want to add too many characters it is possible to change text within an image file using a hex editor.

Just search for the string you want to modify, make the changes and save. It's a good idea to open the new image file with something like UltraISO to verify you made the changes you intended before you burn it.

This method is useful for Clone CD and .mdf image formats where the structure of the image file has to be maintained.
xariskop
Advanced Member
Posts: 58
Joined: Wed Jan 28, 2009 11:05 am
Location: Greece

Post by xariskop »

Nice tip. I 've used hex editor only to change a *.msi file from what i remember, i was avoiding to mess around with these kind of things.
Anyway, about that command in autorun custom installers - copy the crack or any file automatically- must i use a command like xcopy?
if you know what i'm talking about could someone give the whole command given? (like x:\ xcopy.... etc..)
Post Reply