Please do not post a support request without first reading and following the advice in https://retropie.org.uk/forum/topic/3/read-this-first

retroarch configs..



  • Hi,

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


  • Global Moderator

    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.
    The ROMNAME.cfg files from the system's ROM folder are a RetroPie specific enhancement.



  • @mitu said in retroarch configs..:

    Configuration hierarch

    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?


  • Global Moderator

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


  • Global Moderator

    @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 .cfg file has config_save_on_exit = false - does your ROM override file(s) have the same end line?



  • @mitu said in retroarch configs..:

    config_save_on_exit = false

    that was it - thank you!



Contributions to the project are always appreciated, so if you would like to support us with a donation you can do so here.

Hosting provided by Mythic-Beasts. See the Hosting Information page for more information.