[SCRIPT] Setup for an automatic savestate selector
-
@jandalf81 , no probs, its working great.
-
@mitu @cyperghost @legacy
I have update the script and it's menu. SAVESTATE_SELECTOR can now be invoked by none, either or both ofRUNCOMMAND-ONSTART
andRUNCOMMAND-MENU
. Both options can be enabled and disabled via the settings menu. When started viaRUNCOMMAND-MENU
it also features two more menu items to return toRUNCOMMAND-MENU
or EmulationStation. I have added new screenshots to the IMGur album from the first post.
The installer script has not been updated yet. -
@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
-
@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.
-
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
-
@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.
-
@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 ;) -
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... ;-)
-
@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.
-
@Athimar
is the file/usr/lib/libraspidmx.so.1
available? -
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.
-
@jandalf81 hi, THANKS for this great script. just installed and works great. :D
-
No Battery Save Found ?
whats that ? :( -
@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. -
@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 ? -
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 ? -
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 -
@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 ! -
@SuperPitendo
As @shavecat said, trysudo apt-get update
before you start my setup script. Imagemagick should still be installable viaapt-get
which is exactly what my script tries to do... You might have one binary installed still which makes the setup script skip the installation of Imagemagick. Can you check if the file/usr/bin/convert
exists?If you still have problems, please post the setup log from
~/scripts/savestate_selector/savestate_selector-install.log
@shavecat
What do you mean bycant get to auto save after 10sec by him self
Are you trying to make RetroArch create a savestate every 10 seconds? If so, that would have to be configured within RetroArch itself, there should be a fitting setting in the "Saving" menu...
and dont see the thumbnails pics save on the savesate load screen
Are you sure you created a save state? Without them, there's no thumbnail to show as well...
-
@jandalf81
Sorry im stupid got confused a bit .
it works great jandalf81 thanks alot with thumbnails works great !
love your code Thanks!
I have last Q , about the auto save state in the RetroArch with the autosave when i quit i have an auto save with pic' in the folder and all,
but cant get it too see in on the load state thumbnails (think cause it look in the code for state, and not auto) im getting like $SRAM_PATH.auto. (for auto saving)
is that right ?
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.