I was hoping to setup game specific configs.
I came up with the idea to modify the es_system.cfg file as follows:
<command>/opt/retropie/supplementary/runcommand/runcommand.sh 4 “/opt/retropie/emulators/RetroArch/installdir/bin/retroarch -L /opt/retropie/emulatorcores/picodrive/picodrive_libretro.so –config /opt/retropie/configs/all/retroarch.cfg –appendconfig /opt/retropie/configs/mastersystem/retroarch.cfg –appendconfig %ROM%.cfg %ROM%”</command>
This way if there was a config file setup in the Roms directory, something like:
/home/pi/RetroPie/megadrive/GAMENAME.bin.cfg
It would get loaded.
I found one sizable problem when doing this however…
I see the following error:
Could not load rom: ‘%ROM%’
Which is indicating that the config IS being loaded as I’d hoped, BUT because the variable %ROM% now occurs twice in the same command, only the very FIRST occurrence of the variable is being replaced. The one referencing the actual Rom at the very end of the string is being left untouched…
Does anybody know how I might work around this? I don’t want custom configs for every game but some would be nice for specific games.
I’m hoping someone can either direct me how to fix this problem, or perhaps give me an alternate method to set this up…