I'm looking at retroarch configs and I don't think I understand the locations/order of parsing...
I've global one: /opt/retropie/configs/all/retroarch.cfg
then system specific: /opt/retropie/configs/SYSTEMNAME/retroarch.cfg
then per-rom one: /home/pi/RetroPie/roms/SYSTEMNAME/ROMNAME.cfg
but I also have configs here: /opt/retropie/configs/all/retroarch/config/SYSTEMNAME/ROMNAME.cfg
which only contains input_overlay line...
I think the last one was created by bezelproject (not sure though).
Could somebody please tell me how the last one is used - I don't see it being included n any other file...?
The order of configuration files in RetroPie is explained in Configuration hierarch.
The files in /opt/retropie/configs/all/retroarch/config/SYSTEMNAME/ are actually configuration overrides, loaded by RetroArch dynamically - which are the normal RA's way of storing game/system overrides.
ROMNAME.cfgfiles from the system's ROM folder are a RetroPie specific enhancement.
OK, thanks. But does that mean that location /opt/retropie/configs/all/retroarch/config/SYSTEMNAME/ROMNAME.cfg is hardcoded in retroarch? And what takes precenedce: this one or /home/pi/RetroPie/roms/SYSTEMNAME/ROMNAME.cfg?
RetroArch overrides always trump configuration files, so I think overrides will ultimately win.
@mitu actually I just noticed a problem... everything seems to work but when I create per-rom config (in /home/pi/RetroPie/roms/SYSTEMNAME/ROMNAME.cfg) everything for that system gets that value! Eg. I change the bezel and all roms for that system get that shader - even if they have custom per-rom bezel in /opt/retropie/configs/all/retroarch/config/SYSTEMNAME/ROMNAME.cfg...
Any idea why this is happening? It makes per-rom configs (in /home/pi/RetroPie/roms/SYSTEMNAME/ROMNAME.cfg) completely useless as anything I change will ultimately be included in all roms for that system)...
@brylant This usually happens when you have 'Enable Save on Exit' in your RetroArch configuration.
If you look in the doc page, you'll see that the ROM's
config_save_on_exit = false- does your ROM override file(s) have the same end line?