RetroPie forum home
    • Recent
    • Tags
    • Popular
    • Home
    • Docs
    • Register
    • Login
    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..

    Scheduled Pinned Locked Moved Help and Support
    cfg retroarchretroarch.cfg
    7 Posts 2 Posters 535 Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • B
      brylant
      last edited by

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

      1 Reply Last reply Reply Quote 0
      • mituM
        mitu Global Moderator
        last edited by

        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.

        1 Reply Last reply Reply Quote 0
        • B
          brylant
          last edited by

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

          1 Reply Last reply Reply Quote 0
          • mituM
            mitu Global Moderator
            last edited by

            RetroArch overrides always trump configuration files, so I think overrides will ultimately win.

            B 1 Reply Last reply Reply Quote 0
            • B
              brylant @mitu
              last edited by

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

              mituM 1 Reply Last reply Reply Quote 0
              • mituM
                mitu Global Moderator @brylant
                last edited by mitu

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

                1 Reply Last reply Reply Quote 0
                • B
                  brylant
                  last edited by

                  @mitu said in retroarch configs..:

                  config_save_on_exit = false

                  that was it - thank you!

                  1 Reply Last reply Reply Quote 0
                  • First post
                    Last post

                  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.