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…
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.