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

    Disable Autosave on game exit

    Scheduled Pinned Locked Moved Help and Support
    save on exit
    12 Posts 5 Posters 2.5k 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.
    • E
      Espgaluda
      last edited by

      Hi all, thanks in advance for any forthcoming advice - i'm currently using a RP3 on Retropie version 4.4.1 & setting up a SNES library.
      I was wondering if there was a way of disabling the auto creation of a .srm file on game exit (start+select).
      Obviously i'd still like the file creating on manual saves at savepoints etc?
      I'm literally the biggest noob here, i have very little experience in the fray (only had the Pi a week) so any idiot guide that may point me in the right direction would be greatly appreciated.

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

        can you tell us why?

        i think the short answer is you can’t have it both ways. the file is always created on exit unless you turn saves off entirely.

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

          @espgaluda I don't think that is possible. Disabling the .srm file creation would disable also any in-game saves, because the emulator does not know about your progress.

          1 Reply Last reply Reply Quote 0
          • E
            Espgaluda @dankcushions
            last edited by

            @dankcushions said in Disable Autosave on game exit:

            can you tell us why?

            Primarily i was thinking of sd card longevity, my kids hop in & out of these games in machine gun rhythm so frequently that i was concerned that sectors of the card maybe 'worn out' over time.

            Manuel saves are far less frequent & i'd hoped for a little breathing room between sd purchases.

            cyperghostC dankcushionsD ClydeC 3 Replies Last reply Reply Quote 0
            • cyperghostC
              cyperghost @Espgaluda
              last edited by

              @espgaluda Don't worry your card won't be broken by creating srm savefiles ;) The SD card killers are typically log files that goes wild. If you are worried about this I would suggest to redirect srm savepath to /dev/shm that's RAM area and will be flushed after next reboot.

              You can use SavePath script to change pathes of SRM and even SAVESTATES. But I don't understand your concern about the write levels.

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

                @espgaluda the files are only updated if the SRM content has changed, but the game may do this for reasons beyond the user actually triggering a save (some games even use them as a sort of temperature memory). the emulator just has no real way of telling that you have done a save within the game.

                1 Reply Last reply Reply Quote 0
                • ClydeC
                  Clyde @Espgaluda
                  last edited by Clyde

                  @espgaluda said in Disable Autosave on game exit:

                  Primarily i was thinking of sd card longevity, my kids hop in & out of these games in machine gun rhythm so frequently that i was concerned that sectors of the card maybe 'worn out' over time.

                  That is prevented by Wear Levelling in modern flash memory. In short, every write will be saved in another memory cell than the original one. You usually don't have to worry about it, as the flash controller takes care of it automatically.

                  As @cyperghost said, some files may be critical because of a very high writing rate, but trust us, your kids aren't physically able to reach that rate by far. :) A highly crammed SD without much free cells for wear levelling can also be at a higher risk for failure, but the controller usually reserves some space for that.

                  Paranoid people could use the ram disk /dev/shm and save its contents to the SD at system shutdown to get the best of both worlds. But then again, I don't think that's necessary in your case, as long as you don't fill your SD up to the last megabyte.

                  1 Reply Last reply Reply Quote 0
                  • E
                    Espgaluda
                    last edited by

                    Thanks for the input guys - really appreciated.
                    Paranoia overload it seems? :)

                    ClydeC cyperghostC 2 Replies Last reply Reply Quote 0
                    • ClydeC
                      Clyde @Espgaluda
                      last edited by Clyde

                      @espgaluda said in Disable Autosave on game exit:

                      Paranoia overload it seems? :)

                      It happens to all of us from time to time. :)

                      1 Reply Last reply Reply Quote 0
                      • cyperghostC
                        cyperghost @Espgaluda
                        last edited by cyperghost

                        @espgaluda said in Disable Autosave on game exit:

                        Thanks for the input guys - really appreciated.
                        Paranoia overload it seems? :)

                        It's not paranoia at all. To be true because it costs a lot of time to setup a good romset. Therefore I suggest to use an external device for ROM/Artwork/Snapshots/Savegames and the system is just on SD card. Here is a guide with the How To: https://github.com/RetroPie/RetroPie-Setup/wiki/Running-ROMs-from-a-USB-drive

                        This method gots the advantage that in case of a backups you don't have to mess around with 128GB files and ROMs vs. Systems are separated ;)

                        My setup is: 4 GB SD-card just for RetroPie
                        16GB USB device for ROMs
                        est.: since 2016 with symlink

                        1 Reply Last reply Reply Quote 0
                        • ClydeC
                          Clyde
                          last edited by

                          That, and always remember, the best way to protect your data are backups. The best system setup won't help you if your hardware fails, gets stolen, etc.

                          A friend of mine once lost six hard drives when the power supply died and took them with it.

                          1 Reply Last reply Reply Quote 0
                          • E
                            Espgaluda
                            last edited by

                            Thanks again - i dare say this will be the 1st in a long series of hand holding noob questions! :)

                            The bezel project is a new enigma. . . . . . .

                            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.