[Tutorial] Get text output from bash files into your python script!
-
@CapNinja yes. Retroflag did not change any line of code since the NESPi so this is working with SuperPi and the new MegaPi case, too.
I have a US version of their SuperPi-case and the code is working best. -
@cyperghost
Thanks -
I have a 3B+ in the Nespi case and followed the "automatic install" instructions but the power and reset buttons don't work. Do I need to install the script from RetroFlag first?
-
@benjaminjay If no switch is working for you then the script from retroflag will also fail. You should set small switch in SAFE SHUTDOWN ON position and/or recheck wiring.
-
@cyperghost I had the safe shutdown/reset working fine with the old Pi 3 model no problem. I just built 2 units side by side exactly the same with Pi 3 B+ and Nespi case and tried both the RetroFlag script and the auto installation posted here and neither of them work at all.
-
I'm having the error 404 today, but other things in github still ok.
edit: Typing wrong was what got me into that, now it's alright -
Hi
I’ve just stumbled across your script, which looks exactly what I need. I’ve recently got a new pi case, a RetroFlag NESPI, with reset button and power switch. I initially configure this using the RetroFlag Safeshutdown script (https://github.com/RetroFlag/retroflag-picase/blob/master/SafeShutdown.py), and that works fine. Reset causes ES to reboot safely and Power causes ES to shutdown.
However what I’d rather is for Reset to close down all emulators and go back to menu, which your script does. Is the best way for me to implement your script on top of my current solution to simply modify SafeShutdown.py to call your script passing in —emuclose rather than the current “sudo killall emulation station” do you think?
Thanks
-
@stevedee78 visit this one https://github.com/crcerror/retroflag-picase
-
@cyperghost Hi mate, I know this is quite old but I'm only just getting into Pi, and I've installed your script. However, prior to installing, I installed the "RecallBox" script from the github repository by mistake, instead of the retropie one. Do I need to uninstall that script, if so, how please?
Sorry, from a NOOB.
-
@carlos0371 said in [Tutorial] Get text output from bash files into your python script!:
@cyperghost Hi mate, I know this is quite old but I'm only just getting into Pi, and I've installed your script. However, prior to installing, I installed the "RecallBox" script from the github repository by mistake, instead of the retropie one. Do I need to uninstall that script, if so, how please?
Sorry, from a NOOB.
OK so I worked out that as the directories the recallbox script was trying to install to didn't exist, it didn't actually install anything.
Next question is, I've run all the commands, but still not working.
If I'm in ES and press the rest, it reboots completely, it doesn't just restart ES as it's supposed to.
-
@carlos0371 I left the recalbox-script in original state. So there it reboots the whole Pi
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.