Sorry for making my self unclear. Once you make your file with the two or three lines in it you copy that to your CD. You aren't expected to have DB code that is that high quality
so let that wonderful Win OS take care of it.
This is an example. Say you're game title is "Demo"(i know it's cheezy, I couldn't come up with anything better). You make the "Demo.exe" file, done with that part. Know make the text file named "autorun.txt" and place this code into it:
[autorun]
open=demo.exe
then you can also add an icon with a third line that says
icon=icon.ico
say you icon file was called demo_icon.ico, you would put
icon=demo_icon.ico
Yuo can also have the exe or ico in a different directory on the CD. Say your CD-rom is drive (D) and you want to put the game data and exe in a folder called "Data" and the icon in a folder called "Graphics"
You would do this:
[autorun]
open=Data/Demo.exe
icon=Graphics/Demo_icon.ico
Now you have to rename the text file to "autorun.ini"
Burn that file to the CD, just not into any directory/folder (that is it should be in D:\autorun.ini once you are done). And don't worry about the parameters, I don't think that DB is able to handle them in this manner.
If this isn't making any more sense, email me at
large_nostril@mad.scientist.com
And no, this isn't hacking, a lot of games use it (that's how learned how to use it).
If you want fresh underwear in the morning, take it off the night before.