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 GUI can't "save config on exit."

    Scheduled Pinned Locked Moved Help and Support
    15 Posts 8 Posters 26.0k 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.
    • senkunS
      senkun @BuZz
      last edited by

      @BuZz apologies.

      1 Reply Last reply Reply Quote 1
      • dankcushionsD
        dankcushions Global Moderator
        last edited by

        you need to make sure save on exit is turned on (or at least, not turned off) in /opt/retropie/configs/all/retroarch.cfg

        senkunS 1 Reply Last reply Reply Quote 0
        • senkunS
          senkun @dankcushions
          last edited by senkun

          @dankcushions thanks.

          but this is a new build on a new rpi3, everything in /configs/all/retroarch.cfg is still stock, i'm just building up on lr-fba-next to get my stuff configured and then only make global the configs I am testing. so nothing's been changed yet on /all/retroarch.cfg

          from what i know and have experienced, all changes within the rgui will only be applied if one explicitly toggles "save config on exit" to true before quitting retroarch. and these changes will be local to the specific emulator and saved to in this case /fba/retroarch.cfg

          when a game is restarted, the "save config on exit" setting is reset to false as this is the stock setting / global override from /all/retroarch.cfg - to ensure that no changes are 'accidently' made, but the specific changes made and saved previously should be applied from /fba/retroarch.cfg

          and that's what the crux of the problem is, because none of the changes I am making is saved. not even when I change the global setting in /all/retroarch.cfg to try and force a save.

          edit:

          Nothing seems amiss when I pipe stderr to a log. so I gave up and "fixed" it by deleting /fba/content_history.lpl (not sure if relevant as only last used info) and replaced /fba/retroarch.cfg with a blank .cfg with the stock remapping and #include lines, thereby letting it regenerate. Still puzzled by what happened.

          dankcushionsD 1 Reply Last reply Reply Quote 0
          • dankcushionsD
            dankcushions Global Moderator @senkun
            last edited by

            @senkun

            from what i know and have experienced, all changes within the rgui will only be applied if one explicitly toggles "save config on exit" to true before quitting retroarch. and these changes will be local to the specific emulator and saved to in this case /fba/retroarch.cfg
            when a game is restarted, the "save config on exit" setting is reset to false as this is the stock setting / global override from /all/retroarch.cfg - to ensure that no changes are 'accidently' made, but the specific changes made and saved previously should be applied from /fba/retroarch.cfg

            hmm, my understanding is that the save on exit setting of all/retroarch.cfg overrides everything, and the default setting is for it to NOT allow saving on exit. i've always changed it globally in the /all/ file as i prefer to be able to amend my retroarch configs within the games themselves. i wasn't aware of your hack :)

            the supported way is to not do any of this and instead use https://github.com/retropie/retropie-setup/wiki/Configuration-Editor

            senkunS 1 Reply Last reply Reply Quote 0
            • senkunS
              senkun @dankcushions
              last edited by

              @dankcushions ahaha yeah I keep forgetting about the new fangled modern config editor, just a habit to ssh in from pre-3.0 I guess. ;P

              FloobF 1 Reply Last reply Reply Quote 0
              • FloobF
                Floob @senkun
                last edited by

                @senkun This may help you find the settings you need to save

                Please read the Docs before asking a new question.
                RetroPie Help Guides: https://goo.gl/3gcNsT

                1 Reply Last reply Reply Quote 0
                • W
                  Water White
                  last edited by

                  I'm having the same problem right now with the lr-fbalpha2012 emulator. It dosnt save my individual settings, even when the "save on exit" option is turned on. After leaving the emulator it resets all my video and overlay settings :-( Alle the other emulators dosnt have this problem. Why is lr-fbalpha2012 doing this??

                  1 Reply Last reply Reply Quote 0
                  • W
                    Water White
                    last edited by Water White

                    I tried to make some config changes with the Configuration Editor and edited the retroarch.cfg in the fba folder. When I start lr-fbalpha 2012 it totally ignores the settings in the fba/retroarch.cfg file. When closing retroarch, it overwrites the retroarch.cfg and all changes are gone. So where does lr-fbalpha 2012 get those other settings and why is this emulator ignoring and overwriting the retroarch.cfg file?

                    BuZzB 1 Reply Last reply Reply Quote 0
                    • BuZzB
                      BuZz administrators @Water White
                      last edited by

                      @Water-White 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

                      If you have done the above steps please create a new topic and add the following relevant information

                      To help us help you - please make sure you read the sticky topics before posting - https://retropie.org.uk/forum/topic/3/read-this-first

                      1 Reply Last reply Reply Quote 0
                      • D
                        destindude1978
                        last edited by

                        Same problem here

                        BuZzB 1 Reply Last reply Reply Quote 0
                        • BuZzB
                          BuZz administrators @destindude1978
                          last edited by

                          @destindude1978 please read the link above.

                          To help us help you - please make sure you read the sticky topics before posting - https://retropie.org.uk/forum/topic/3/read-this-first

                          1 Reply Last reply Reply Quote 0
                          • DeflektorD
                            Deflektor
                            last edited by

                            It's a shame this topic shows up prominently in Google's search results for this problem, especially since this thread doesn't contain an answer to the problem. Sorry for bumping an old thread but I thought it'd be useful to highlight that people are still likely reading this thread because of Google - and walking away without a solution.

                            mediamogulM 1 Reply Last reply Reply Quote 0
                            • mediamogulM
                              mediamogul Global Moderator @Deflektor
                              last edited by mediamogul

                              @deflektor said in retroarch GUI can't "save config on exit.":

                              people are still likely reading this thread because of Google - and walking away without a solution.

                              (1) Disable 'save on exit'

                              (2) Replace the contents of /opt/retropie/configs/all/retropie.cfg with the contents of /opt/retropie/configs/all/retropie.cfg.rp-dist and the contents of every system-level RetroArch config file at /opt/retropie/configs/system-name/retropie.cfg with /opt/retropie/configs/same-system-name/retropie.cfg.rp-dist.

                              This will leave the user with default RetroArch settings, but it's the only way to advise everyone at once without knowing the extent of an individual's problems.

                              RetroPie v4.5 • RPi3 Model B • 5.1V 2.5A PSU • 16GB SanDisk microSD • 512GB External Drive

                              1 Reply Last reply Reply Quote 1
                              • 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.