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

    es_settings.cfg file keeps resetting to default if Raspberry PI loses power.

    Scheduled Pinned Locked Moved Help and Support
    emulationstatioretropie 4.3.9config file
    9 Posts 4 Posters 2.2k 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.
    • T
      train21
      last edited by

      Basically I have added the following bool name to my config so it disables the emulation station loading screen but if my Raspberry PI gets unplugged or isn't shutdown correctly, it resets the config. Can anyone help me?

      <bool name="SplashScreen" value="false" />

      Also I am pretty new to RetroPie as I installed it yesterday.

      1 Reply Last reply Reply Quote 0
      • Z
        zerojay
        last edited by

        Try making any other change and seeing if it sticks after a reboot. Try, for instance, adding another ROM. If that change doesn't stay either, your SD card is about to die and when that happens, it goes into a read-only mode to allow you to get your data off of the card and back it up.

        1 Reply Last reply Reply Quote 0
        • T
          train21
          last edited by

          No it is just the config, I have been able to add / change everything else expect this file. But if I was to just power it off by pressing start and then quit, it would still keep the changes but if the Raspberry PI gets unplugged, then it resets back to the original config.

          Z 1 Reply Last reply Reply Quote 0
          • Z
            zerojay @train21
            last edited by

            @train21 said in es_settings.cfg file keeps resetting to default if Raspberry PI loses power.:

            No it is just the config, I have been able to add / change everything else expect this file. But if I was to just power it off by pressing start and then quit, it would still keep the changes but if the Raspberry PI gets unplugged, then it resets back to the original config.

            This is normal behavior. The file is only written out when you quit or reboot normally.

            T 1 Reply Last reply Reply Quote 0
            • T
              train21 @zerojay
              last edited by

              @zerojay is there any solutions to make it not overwrite the file?

              jonnykeshJ 1 Reply Last reply Reply Quote 0
              • jonnykeshJ
                jonnykesh @train21
                last edited by

                @train21 There's not. You need to carry out a clean shutdown if you want the changes to save. The changes are stored when you exit properly. If you just pull the power then they won't.
                Is there something peculiar about your setup that you can't just exit ES properly and then kill the power?

                T 1 Reply Last reply Reply Quote 0
                • T
                  train21 @jonnykesh
                  last edited by

                  @jonnykesh Well there isn't a problem with that, I can shutdown regularly. It's just sometimes the power cable gets lose and disconnects completely and kills the power.

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

                    @train21 I think you may be on to something. Looking at the source (https://github.com/RetroPie/EmulationStation/blob/master/es-core/src/Settings.cpp#L14) this particular setting is actually not saved and it's ignored.
                    If you want to disable the splash, you need to do it in /opt/retropie/configs/all/autostart.sh. Replace the line

                    emulationstation #auto
                    

                    with

                    emulationstation --no-splash #auto
                    

                    and the splash should be disabled.

                    1 Reply Last reply Reply Quote 0
                    • T
                      train21
                      last edited by

                      Thanks so much @mitu. It now will remember the save and won't show the ES loading screen even if it gets unplugged. Thanks so much for the reply.

                      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.