bobbytParticipant10/29/2014 at 08:29Post count: 71
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:
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…FloobMember10/29/2014 at 22:22Post count: 1629
Maybe you could load a custom retroarch.cfg once you are in the game using the rgui with F1?bobbytParticipant10/31/2014 at 10:38Post count: 71
If I’m not mistaken it will effect more than just the current Rom. I’m hoping to get something setup with no overhead…
Im just surprised that I can only use the variable once…janezkranjcParticipant03/27/2015 at 19:02Post count: 12
Did you figure out a solution to your problem?janezkranjcParticipant03/28/2015 at 01:25Post count: 12
I just added a pull request, where it is now possible to have a custom config for each rom (that uses retroarch). It was merged into the retropie script so if you update it you will get the ability to edit custom config inside the menu (press m or x while loading game).
It works in the same way as you described in your issue.
- You must be logged in to reply to this topic.