Homepage › Forums › RetroPie Project › Ideas for Further Enhancements › es_systems.cfg multiple %ROM% references › Reply To: es_systems.cfg multiple %ROM% references
[quote=82361]Could you create your own custom bash script that did something like:
if [ -f […]/snes/$1.cfg ];
then
/opt/retropie/[…] –config [….]/all/retroarch.cfg –appendconfig [….]/snes/retroarch.cfg –appendconfig [….]/snes/$1.cfg $1
else
/opt/retropie/[…] –config [….]/all/retroarch.cfg –appendconfig [….]/snes/retroarch.cfg $1
fi
Then replace the entire command with /home/pi/myscript.sh %ROM%
[/quote]
This wouldn’t fix everything…
The problem is that there are still 2 occurrences of –appendconfig in the top call, so one of those will have no effect…
This would fix only ROM calls that don’t have a custom cfg…
I came up with a separate alternative, but I’m holding off on using it…
If I replace the first:
–config [….]/all/retroarch.cfg
With:
–config [….]/snes/retroarch.cfg
AND copy the contents of the all/retroarch.cfg & combine it with the snes/retroarch.cfg it works around the issue…
I’m not real happy with this setup so I’ve held off on doing it…