2012-05-06, 17:57
Ok... But in this case, Dolphin was not a good example. Also Advanced Launcher support different command line parameters (like %rom%) that could be used for individual command line.
So for example if you have an emulator that support the use of specific command line for game configuration or for game savestate like this :
Advanced Launcher configuration could be like this :
Application:
c:\program files\emulator\emulator.exe
Arguments:
-f "%rom%" -c "%appath%\configs\%romname%.cfg" -s "%appath%\savestates\%romname%.ss"
Roms Extension:
bin
But effectively, using a .bat file to load each configuration is also possible.
- %rom% : this tag will be replaced by the complete path of the file.
- %romfile% : this tag will be replaced by the filename (name + extension).
- %romname% : this tag will be replaced by the name of a file (name without extension).
- %appath% : this tag will be replaced by the folder path of started executable file.
- %rompath%: this tag will be replaced by the folder path of each files.
- %romspath%: this tag will be replaced by the parent folder path of all files (defined during launcher creation).
So for example if you have an emulator that support the use of specific command line for game configuration or for game savestate like this :
Code:
"c:\program files\emulator\emulator.exe" -f "c:\program files\emulator\roms\sonic.bin" -c "c:\program files\emulator\configs\sonic.cfg" -s "c:\program files\emulator\savestates\sonic.ss"
"c:\program files\emulator\emulator.exe" -f "c:\program files\emulator\roms\mario.bin" -c "c:\program files\emulator\configs\mario.cfg" -s "c:\program files\emulator\savestates\mario.ss"
...
Advanced Launcher configuration could be like this :
Application:
c:\program files\emulator\emulator.exe
Arguments:
-f "%rom%" -c "%appath%\configs\%romname%.cfg" -s "%appath%\savestates\%romname%.ss"
Roms Extension:
bin
But effectively, using a .bat file to load each configuration is also possible.