RetroPie forum home
    • Recent
    • Tags
    • Popular
    • Home
    • Docs
    • Register
    • Login

    [SCRIPT] Setup for an automatic savestate selector

    Scheduled Pinned Locked Moved Projects and Themes
    savestatesscript
    47 Posts 13 Posters 10.1k 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.
    • cyperghostC
      cyperghost @shavecat
      last edited by cyperghost

      @shavecat You need to change line 80 in the script and just remove one %
      If you ROM file contains additional dots in the filename then yes ... this will be fixed

      shavecatS 1 Reply Last reply Reply Quote 0
      • shavecatS
        shavecat @cyperghost
        last edited by shavecat

        @cyperghost
        Thanks a lot ! got it
        still not reading the save's...
        install it again works like charm ! thanks again ! :)

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

          Could the installation of this in theory be added to the Experimental RetroPie setup menu? Seems a real shame for this to not be widely advertised or available (give it a few months and this thread could be a few pages down in the forum)

          1 Reply Last reply Reply Quote 0
          • ExarKunIvE
            ExarKunIv
            last edited by

            this is very cool. im glad someone found this and got it back on the forum.

            only questions am i the only one who the only previews that are coming up is on SNES?
            i have tried a handful of games on different systems and the saves work, but no previews.

            if not no big. it was more me just wondering if im alone on this

            RPi3B+ / 200GB/ RetroPie v4.5.14, RPi4 Model B 4gb / 256gb / RetroPie 4.8.2
            RPi5 4gb / 512gb / RetroPie 4.8.9 -Basic
            Maintainer of RetroPie-Extra .

            J 1 Reply Last reply Reply Quote 0
            • J
              joelkolb @ExarKunIv
              last edited by

              @ExarKunIv This is a total shot in the dark but perhaps you have the RetroArch option for capturing a screenshot along with your savestate only enabled for SNES instead of globally.

              If you turned that option on while playing an SNES game and then saved the config it would have modified 'opt/retropie/configs/snes/retroarch.cfg' with that setting which would only apply it to the SNES system.

              Instead you would want to either manually edit 'opt/retropie/configs/all/retroarch.cfg' or run RetroArch from the RetroPie menu in EmulationStation and toggle the option on and then save the config. That would make it global for RetroArch.

              That's just my guess. It's the only reason I can think of for why the thumbnails would only show for SNES.

              ExarKunIvE 1 Reply Last reply Reply Quote 1
              • ExarKunIvE
                ExarKunIv @joelkolb
                last edited by ExarKunIv

                @joelkolb ok ill take a look and see what i see. thanks

                UPDATE

                seems like that the script does it for you, but first game/save state will not have a preview.
                i made a save state for one same, and nothing. but when i made a new one for a different game there is was.

                RPi3B+ / 200GB/ RetroPie v4.5.14, RPi4 Model B 4gb / 256gb / RetroPie 4.8.2
                RPi5 4gb / 512gb / RetroPie 4.8.9 -Basic
                Maintainer of RetroPie-Extra .

                1 Reply Last reply Reply Quote 0
                • jandalf81J
                  jandalf81
                  last edited by

                  Sorry for the late reply... ;-(

                  @joelkolb I'm glad you like this. I did this more as a "proof of concept" since I don't really use save states. There will very likely be a whole batch of errors in this scripts... ;-)
                  Nevertheless, I corrected the script to work with games with dots in their names. If you install the script now, this should work out of the box.
                  As for the timer, that can be changed from inside RetroPie. The setup added a configuration script to the main RetroPie menu

                  @cyperghost Thanks for helping with the quick fix!

                  @robertybob I have no intention of adding any of my scripts to the "official" RetroPie setup. This is more of a side project or hobby to me. Having more users means having more problems as my scripts have not been thoroughly tested. This would create frustrations on all sides. Now, if someone were to fork my projects and take over support for that fork... I wouldn't have a problem with that.

                  @ExarKunIv You either need to manually activate the setting to create a thumbnail on saving states or the first savestate won't have one. If you use my script to start a ROM with a savestate that setting will be set to TRUE by the script. This will be done per system, as @joelkolb said

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