Beta Advanced Emulator Launcher - Multi-emulator frontend for Kodi
(2021-11-02, 15:34)Wintermute0110 Wrote:
(2021-11-02, 13:12)Finalzero Wrote: Hello there, I wanted to know what kind of arguments can be used by this add-on. I tried to set up PCSX2 in a way that it should load different ini-files depending on the game that is being launched. So my command line would look like this: 
"%rom%" --cfgpath="inis\%romname%" --nogui --fullscreen

But this doesn't work. Is %romname% even supported by AEL? Or is there a different variable I have to use?

Here is the list of variables you can use in the arguments.

python:

# ~~~~ Argument substitution ~~~~~
log_info('_command_run_rom() raw arguments "{}"'.format(arguments))
arguments = arguments.replace('$categoryID$', categoryID)
arguments = arguments.replace('$launcherID$', launcherID)
arguments = arguments.replace('$romID$', romID)
arguments = arguments.replace('$rom$', ROMFileName.getPath())
arguments = arguments.replace('$romfile$', ROMFileName.getPath())
arguments = arguments.replace('$rompath$', rompath)
arguments = arguments.replace('$rombase$', rombase)
arguments = arguments.replace('$rombasenoext$', rombase_noext)
arguments = arguments.replace('$romtitle$', romtitle)
arguments = arguments.replace('$apppath$', apppath)
# >> Legacy names for argument substitution
arguments = arguments.replace('%rom%', ROMFileName.getPath())
arguments = arguments.replace('%ROM%', ROMFileName.getPath())
log_info('_command_run_rom() final arguments "{}"'.format(arguments))
Thanks for the list! I manage to get it working with the argument "$rombasenoext$". Now every game I launch via PCSX2 will have its own ini-folder.
Reply


Messages In This Thread
Can You create A Sub Category? - by Wild_Tom - 2020-07-13, 04:43
Crash & Lost my launchers? - by eirrocmh - 2020-11-29, 02:25
RE: Crash & Lost my launchers? - by eirrocmh - 2020-12-19, 00:19
RE: Advanced Emulator Launcher - Multi-emulator frontend for Kodi - by Finalzero - 2021-11-02, 20:19
Logout Mark Read Team Forum Stats Members Help
Advanced Emulator Launcher - Multi-emulator frontend for Kodi12