Posted by Torgo on 26, 2000 at 11:07 PM:
Well my original attemp had a .bat file that was something like this:
D:\mame\Optidrv\optidrv /1
D:\optimame marble -tweak -soundcard 1
But if I put the .bat file in a folder other than the mame folder, for some reason mame would not find the roms.
That is what lead me to the syntax of the .bat file I posted in my previous message. That one let me put the .bat file anywhere on my HD.
Since I didn't want my main MAME folder cluttered with .bat files I went with the latter.
But as far as the %#s instead of command line options, I still don't understand how this works. could you explain in further detail?
I know only enough dos to run the programs I like. So I'm not sure how you get MAME to run with the right options with the syntax you posted.
Previous message:
How about a batch file like:
D:\mame\Optidrv\optidrv /1
optimame %1 %2 %3 %4 %5 %6 %7 %8 %9
the %#s are replaced by the command line arguments that you typed.
runmame marble -tweak -soundcard 1
would be like typing:
D:\mame\Optidrv\optidrv /1
optimame marble -tweak -soundcard 1
Any frontend that could call runmame.bat instead of mame.exe would work too.
The only problem is only 9 parameters can be passed, and -soundcard and 1 are considered two seperate arguments.