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.cfg file keeps changing

    Scheduled Pinned Locked Moved Help and Support
    retroarch.cfgconfig file
    16 Posts 3 Posters 4.7k 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.
    • edmaul69E
      edmaul69 @robthedude81
      last edited by

      @robthedude81 adding that 1 line with false in the fba retroarch.cfg should fix it

      1 Reply Last reply Reply Quote 1
      • R
        robthedude81
        last edited by

        so i want my /fba/retroarch.cfg file to look like this

        Settings made here will only override settings in the global retroarch.cfg if placed above the #include line

        input_remapping_directory = "/opt/retropie/configs/fba/"

        config_save_on_exit = "false"

        #include "/opt/retropie/configs/all/retroarch.cfg"

        1 Reply Last reply Reply Quote 0
        • R
          robthedude81
          last edited by

          why would it still save on exit when the /all/retroarch.cfg file has it set to false?

          Thanks

          meleuM 1 Reply Last reply Reply Quote 0
          • meleuM
            meleu @robthedude81
            last edited by meleu

            @robthedude81 said in retroarch.cfg file keeps changing:

            why would it still save on exit when the /all/retroarch.cfg file has it set to false?

            read what you've posted and you'll find the answer :-)
            Settings made here will only override settings in the global retroarch.cfg if placed above the #include line

            Keep in mind that the RetroArch config uses the "first match if finds" approach.

            • Useful topics
            • joystick-selection tool
            • rpie-art tool
            • achievements I made
            R 1 Reply Last reply Reply Quote 0
            • R
              robthedude81 @meleu
              last edited by

              @meleu

              but the file looked like this before

              Settings made here will only override settings in the global retroarch.cfg if placed above the #include line

              input_remapping_directory = "/opt/retropie/configs/fba/"

              #include "/opt/retropie/configs/all/retroarch.cfg"

              so it should only have looked at the /configs/all/retroarch.cfg shouldnt it??

              Thanks

              meleuM 1 Reply Last reply Reply Quote 0
              • meleuM
                meleu @robthedude81
                last edited by

                @robthedude81 Maybe some .cfg file for a specific fba ROM... Can you paste the output of this command:
                grep -R config_save_on_exit /opt/retropie/configs/*

                And please, pay attention at this part of the "read this first" post:

                Format your posts! - put small logs in code blocks - see http://commonmark.org/help/ - and put large logs on a pastebin type site like http://paste.ubuntu.com/ http://pastebin.com/ or similar.

                • Useful topics
                • joystick-selection tool
                • rpie-art tool
                • achievements I made
                1 Reply Last reply Reply Quote 0
                • R
                  robthedude81
                  last edited by

                  sorry, it formatted it like that when i posted it

                  1 Reply Last reply Reply Quote 0
                  • R
                    robthedude81
                    last edited by

                    so when running that i get this

                    pi@retropie:~ $ grep -R config_save_on_exit /opt/retropie/configs/
                    /opt/retropie/configs/all/retroarch.cfg.bak:# This is only updated in config if config_save_on_exit is set to true, however.
                    /opt/retropie/configs/all/retroarch.cfg.bak:config_save_on_exit = "false"
                    /opt/retropie/configs/all/retroarch.cfg:# This is only updated in config if config_save_on_exit is set to true, however.
                    /opt/retropie/configs/all/retroarch.cfg:config_save_on_exit = "false"
                    grep: /opt/retropie/configs/dreamcast/data/dc_flash.bin: No such file or directory
                    grep: /opt/retropie/configs/dreamcast/data/dc_boot.bin: No such file or directory
                    /opt/retropie/configs/neogeo/retroarch.cfgold:config_save_on_exit = "true"
                    pi@retropie:~ $
                    *

                    meleuM 1 Reply Last reply Reply Quote 0
                    • meleuM
                      meleu @robthedude81
                      last edited by

                      @robthedude81
                      The best way to format a code block like the above is using 3 backquotes on the line before and and on the line after the content

                      ```
                      blabla
                      ```
                      

                      I suggest you to revert your configs/neogeo/retroarch.cfg file to the default one.

                      • Useful topics
                      • joystick-selection tool
                      • rpie-art tool
                      • achievements I made
                      1 Reply Last reply Reply Quote 0
                      • R
                        robthedude81
                        last edited by

                        ah ok sorry about that.,. the NeoGeo one is a cfgold anyway, the actual sfg file is fine.. that was what they files convert themselves to when it goes wrong

                        meleuM 1 Reply Last reply Reply Quote 0
                        • meleuM
                          meleu @robthedude81
                          last edited by

                          @robthedude81 No problem. If your issue is solved, please mark your topic as solved. ;-)

                          Cheers!

                          • Useful topics
                          • joystick-selection tool
                          • rpie-art tool
                          • achievements I made
                          1 Reply Last reply Reply Quote 0
                          • R
                            robthedude81
                            last edited by

                            it is working at the moment but it does seem to keep changing every few days.

                            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.