-
Notifications
You must be signed in to change notification settings - Fork 235
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Added generic save shutdown method for RetroPie #6
base: master
Are you sure you want to change the base?
Conversation
Works only for RetroPie! Please copy ./multi_switch.sh
Added generic method Working on RetroPie 4.3 and 4.4 By cyperghost
Cleaned code a bit Used better logic
I changed the code logic a bit to use integer values |
1. If you press restart if emulator is currently running, then you will be kicked back to ES main menu 2. If you press restart in ES main screen, ES will be restartet (no reboot!) 3. If you press power-off then Raspberry will shutdown All metadata is always saved Best -> cyperghost
Repo owners simply ignores issues and PRs. |
@UncleRus Not an official but works....
All metadata is 100% be saved, smooth, fast, smart :) |
Removed UART Caused some issues with Raspberry 3B+ devices
Nice mods. If I may suggest, it would be cool if we could have the reset button open up the Retroarch menu when in-game, similar behavior to the Classic Series. |
Disabeling UART now, this will prevent some issues with CPU throtteling and makes use of advanced setup!
Ignore if the directory already exists for install over RetroFlag version
Introduced wget -N switch to overwrite old installed files - preventing failed installs
Added messages for installing files now with progress bar Write status of install to stdout
Added messages for installing files now with progress bar Write status of install to stdout Removed typo
Added excutable flag for script!
Added SHEBANG for python script
Spelling and formatting fixes
small fixes to README
Fixed the link to the SafeShutdown.py script in line 29.
Fixed install.sh
For those still looking here, fork was created at https://github.com/crcerror/retroflag-picase/ |
Hello,
here is a generic method for save shutdown in every situation.
If you want you can use the added ./multi_switch.sh as standalone switch.
Just call it with
./multi_switch.sh --nespi+
to get working buttons with bash script only.If you want to use python code you can use switches
--es-pid
and--es-poweroff
to detect and save shutdown RetroPie!All you need to code is change code to your installer script.
Greetings