Build Your Own Arcade Controls Forum
Main => Raspberry Pi & Dev Board => Topic started by: jdevane on December 29, 2017, 05:15:58 pm
-
So I have a RP2 setup with the shutdown and power up button as instructed like so: https://pie.8bitjunkie.net/retropie-shutdown-and-startup-switch-the-easy-way
It works, but I noticed that the high score only save if I exit out to ES. Is there a way I could edit the shutdown script so the button would not only shutdown, but also trigger a save hi score action?
I should also note I am completely new to Pi and Linux, but I have been messing with it all week so I'm picking up on some things.
-
Check this topic: https://retropie.org.uk/forum/topic/11750/mausberry-shutdown-script-doesn-t-save-metadata
They managed to save all metadata by exiting out to ES prior to shutdown the Pi. With copy-pasting you should be able to get the same result I gues...
-
Thanks, I have a fresh install of RetroPie a whirl with that link, however, it boots the Pi then immediately shuts down...
-
I don't know if I understand you correctly, but you shouldn't exactly use the code from that link. You should adapt your own code (setup-shutdown.sh) with the information (code) from that topic. The Mausberry circuit where that link is based on will most likely work differently than your circuit. If you don't know how, than you might ask there if someone will help you.