Changing command line options with runcommand?
-
Is it in any way possible to give the starting emulator a customized command line option in runcommand-onstart? I have been editing config files with the script, but it would be more efficient to tell the emulator to use a different pre-made config file instead. Also some non-libretro emulators have settings that can't be changed with config files and pretty much require command line options or using a keyboard while they are running.
-
@mitaholo I don't think this is the best approach. That script is designed to be executed before the emulator launch command, not to replace it. I think you will want to setup another command in emulators.cfg where you could give your version a name and use Runcommand to select it for ROMs as needed.
You could just build your own custom launch script as described in Runcommand docs. I have not done this but I think that is why we have runcommand-custom scripts now.
-
I think you will want to setup another command in emulators.cfg where you could give your version a name and use Runcommand to select it for ROMs as needed.
This looks like it can do exactly what I need. Thank you!
Contributions to the project are always appreciated, so if you would like to support us with a donation you can do so here.
Hosting provided by Mythic-Beasts. See the Hosting Information page for more information.