Skip to content
RetroFlag Pi-Case Safe Shutdown
Shell Python
Branch: master
Clone or download
Pull request Compare This branch is 103 commits ahead, 11 commits behind RetroFlag:master.
Latest commit 24a2b9d Jan 12, 2020

README.md

retroflag-picase

Section 1
Installers for NesPi+, MegaPi, SuperPi cases
Support for RetroPie, RecalBox and BATOCERA

Section 2
Installer for the GPi case
Support for RetroPie and BATOCERA

Section 3
Uninstall for all systems and all cases
This means uninstaller for NesPi+, MegaPi, SuperPi and GPi cases
for RetroPie, RecalBox and BATOCERA

Section 1. RetroFlag Pi-Case+ Safe Shutdown

Turn switch "SAFE SHUTDOWN" on PCB to ON position.

Safe Shutdown Switch

Multi Switch Shutdown

with advanced shutdown features for more natural behaviour:

  • If you press restart if emulator is currently running, then you will be kicked back to ES main menu
  • If you press restart in ES main screen, ES will be restartet (no reboot!), good for quick saving metadata or internal saves.
  • If you press power-off then Raspberry will shutdown

All metadata is always saved

Turn switch "SAFE SHUTDOWN" on PCB to ON.


Example for RetroPie:

  1. Make sure internet connected.
  2. Make sure keyboard connected.
  3. Press F4 enter terminal.
  4. In the terminal, type the one-line command below (case sensitive):

wget -O - "https://raw.githubusercontent.com/crcerror/retroflag-picase/master/install.sh" | sudo bash


Example for RecalBox and Batocera:

  1. Make sure internet connected.
  2. Make sure keyboard connected.
  3. Press F4 first. And then press ALT-F2 enter termial.
  4. User: root Password: recalboxroot
  5. In the terminal, type the one-line command below (case sensitive):

For Recalbox:
wget -O - "https://raw.githubusercontent.com/crcerror/retroflag-picase/master/install_recalbox.sh" | bash

For Batocera:
wget -O - "https://raw.githubusercontent.com/crcerror/retroflag-picase/master/install_batocera.sh" | bash

You can edit the python script and add some parameters to the script calls:

                  --restart will RESTART EmulationStation only
                  --kodi will startup KODI Media Center
                  --emukill to exit any running EMULATORS
                  --espid to check if EmulationStation is currently active
                  --emupid to check if an Emulator is running"

Section 2. RetroFlag GPi-Case Safe Shutdown

Turn switch "SAFE SHUTDOWN" on PCB to ON position.

Multi Switch Shutdown

with advanced shutdown features for more natural behaviour:

  1. If you press power-off then Raspberry will shutdown and always save metadata even if you are in an ingame session

All metadata is always saved


Example for RetroPie:

  1. Make sure internet connected.
  2. Make sure keyboard connected.
  3. Press F4 enter terminal.
  4. In the terminal, type the one-line command below (case sensitive):

wget -O - "https://raw.githubusercontent.com/crcerror/retroflag-picase/master/install_gpi.sh" | sudo bash


Example for Batocera

  1. Make sure internet connected.
  2. Make sure keyboard or SSH connected.
  3. User: root Password: linux
  4. In the terminal, type the one-line command below (case sensitive):

wget -O - "https://raw.githubusercontent.com/crcerror/retroflag-picase/master/install_gpi_batocera.sh" | bash

Section 3. Uninstallers

Example for RetroPie

Type in the terminal, type the one-line command below (case sensitive):

wget -O - "https://raw.githubusercontent.com/crcerror/retroflag-picase/master/uninstall_all.sh" | sudo bash

Example for RecalBox and BATOCERA

Type in the terminal, type the one-line command below (case sensitive):

wget -O - "https://raw.githubusercontent.com/crcerror/retroflag-picase/master/uninstall_all.sh" | bash

You can’t perform that action at this time.