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 9.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.
    • L
      legacy @jandalf81
      last edited by

      @jandalf81 yes im happy, il look forward to the upgraded script,

      Also any chance of a background image on the selection screen, is it possible.

      thank you

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

        Hopefully you won't have to wait long... ;-)
        A background image is not possible, sorry. I'm already using some pretty hacky stuff to display the thumbnails on top of basically everything else... Basically, the dialog is in the main layer and the thumbnail previews are layered on top of that. No way to display anything behind the dialog that I know of.

        L 1 Reply Last reply Reply Quote 0
        • L
          legacy @jandalf81
          last edited by

          @jandalf81 , no probs, its working great.

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

            @mitu @cyperghost @legacy
            I have update the script and it's menu. SAVESTATE_SELECTOR can now be invoked by none, either or both of RUNCOMMAND-ONSTART and RUNCOMMAND-MENU. Both options can be enabled and disabled via the settings menu. When started via RUNCOMMAND-MENU it also features two more menu items to return to RUNCOMMAND-MENU or EmulationStation. I have added new screenshots to the IMGur album from the first post.
            The installer script has not been updated yet.

            cyperghostC 1 Reply Last reply Reply Quote 3
            • cyperghostC
              cyperghost @jandalf81
              last edited by

              @jandalf81 if you use an own joy2key session you can set any key to it. So assinig key 0x20 offers usage of space key. This can be used for radio list buttons on dialog

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

                @cyperghost Ah, now I see, thanks! At the moment I'm using only menus with dialog, though...

                Also, I just updated both scripts so they work in conjunction. Until now, you could remove the local savestates using this script but they'd be re-downloaded on the next start (the sync process from the other script never will delete files on either side). Now, the delete dialog detects the other script and aks you to also confirm the deletion from the remote.

                To update, simply re-run the online installation of both scripts.

                1 Reply Last reply Reply Quote 2
                • S
                  SuperPitendo
                  last edited by

                  A huuuuuuge THANK YOU for both scripts. I have now 3 Pi's (one stationary and two mobile) and customized anything possible to my needs from rewind function, til Background music. So your scripts are the cherry on the top of my build for a kind of a "luxury retrogame experience" :D

                  1 Reply Last reply Reply Quote 2
                  • BiZzAr721B
                    BiZzAr721
                    last edited by

                    @jandalf81 I had a chance to install your scripts. The installer was as easy as can be. Surprisingly, I actually like having it automatically start when I load a rom. Some games I didn't even realize I still had a save (EVO - search for eden) and having it load only when a save is detected was an excellent idea. Thumbnails and deletions complete it.

                    Great work. I think it is near perfect just as it is, but I'm sure it'll mature & get even better just as @cyperghost scripts have.

                    cyperghostC 1 Reply Last reply Reply Quote 3
                    • cyperghostC
                      cyperghost @BiZzAr721
                      last edited by

                      @bizzar721 thx

                      It is always a pleasure to see the coding of others. Everybody gets his own style in writing programs and leaves his own signature in. The way this script is made is really clever and fulfills lots of demands users wanted.
                      At least it helps me to improve the OpenBOR script of joypad detection. I think I will implent them if OpenBOR will be run on higher version level as it now does. The keep your thumbs up for (hopefully) future development of the OpenBOR binary ;)

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

                        Thank you all for your kind words! That means a lot to me

                        Both scripts implement vital functions (at least for me); cloud sync and easy savestate selection. I really hope they can be used by a lot more people. Also, I like to deliver "complete" solutions which is why I made the installer and menu scripts.

                        I understand that doing these things yourself is a major aspect of RetroPie for a lot of people. It is not for all, though. Some people just like to get ready-to-play boxes already doing the things they want. Either way, you can use the scripts as they are or you can customize them to your specific needs. Of course, both scripts still offer options for optimization or added features.

                        So, if you want to add something to my scripts or if you want to take something out of them to use in other projects, I'm fine with both. Either way, i just ask to be notified of it.

                        I myself will definitely keep on working on these scripts. I really need to stop playing with my RetroPie and start playing with my RetroPie... ;-)

                        A 1 Reply Last reply Reply Quote 1
                        • A
                          Athimar @jandalf81
                          last edited by

                          @jandalf81 I really like your Savestate selector menu. My friend had a copy on his retropie and pointed me to this article.

                          When I go to perform the install, it attempts to find the PNGView binary on my system. When that shows up as Not Found, it tries to download the source and says 'Failed'. This closes out the install.

                          My connection looks to be valid so I'm wondering if something has changed in the last two months since anyone posted on this thread.

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

                            @Athimar
                            is the file /usr/lib/libraspidmx.so.1 available?

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

                              @Athimar

                              Take a look into ~/scripts/savestate_selector/savestate_selector-install.log, any errors should be listed there.

                              You could also try to perform the installation of PNGview manually:

                              wget -P ~ https://github.com/AndrewFromMelbourne/raspidmx/archive/master.zip
                              unzip ~/master.zip -d ~
                              
                              make --directory=~/raspidmx-master
                              
                              sudo mv ~/raspidmx-master/pngview/pngview /usr/bin
                              sudo mv ~/raspidmx-master/lib/libraspidmx.so.1
                              sudo chown root:root /usr/bin/pngview
                              sudo chmod 755 /usr/bin/pngview
                              
                              rm ~/master.zip
                              sudo rm -r ~/raspidmx-master
                              

                              This downloads the source code, unzips it, compiles it and then moves the compiled files before removing the temporary files. If this doesn't work, please post either the mentioned log file or any errors the commands above give you.

                              1 Reply Last reply Reply Quote 0
                              • J
                                jozzy1 @jandalf81
                                last edited by

                                @jandalf81 hi, THANKS for this great script. just installed and works great. :D

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

                                  No Battery Save Found ?
                                  whats that ? :(

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

                                    @jozzy1
                                    Thanks, that's great to hear!

                                    @shavecat
                                    Battery saves are the ROM's save games.
                                    Whenever you use the game's save function, a SRM file will be created. That is the Battery save. The name comes from the fact that these old game cartridges had to contain a literal battery to be able to keep the save even when the console was powered off or the cartridge was removed from the console.

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

                                      @jandalf81
                                      Thanks a lot ,
                                      cant get to auto save after 10sec by him self...
                                      and dont see the thumbnails pics save on the savesate load screen :
                                      everything is on enable&install like it should be.
                                      what im doing worng ?

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

                                        Try again
                                        and it worked better.
                                        Why is not auto save ? do i need to change in the
                                        'retroarch.cfg'
                                        the autosave = false , to true ?

                                        1 Reply Last reply Reply Quote 0
                                        • S
                                          SuperPitendo
                                          last edited by SuperPitendo

                                          Hi,
                                          due to some issues I had to make a fresh install of RetroPie. After setting up my system from scratch, I couldn't get your script to work again (completely)...
                                          IMAGEMAGICK is not found and it skips the installation. I tried to install it manually via commandline but still with no success.
                                          I think this causes the "no-thumbnails-problem" of @shavecat

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

                                            @SuperPitendo
                                            Try- sudo apt-get update
                                            think it will help.
                                            like u said start again , and it worked with the - thumbnails-problem like should be.
                                            getting the thumbnails working great ! .
                                            but still no auto save ,
                                            Is it spouse to auto save by him self on slot 0?
                                            or i need to config it ?
                                            Cant see on the loading saves stae the auto save state.
                                            everything else works great !

                                            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.