non-nfc buttons for Pi3

Functional front buttons – Non-NFC installation guide

Before to begin this step-by-step, please download this .zip file:

[dg attachment_pg=”false” paginate=”true” ids=”1148,1405″]

[dg attachment_pg=”false” paginate=”true” ids=”855″]

Connect the Female Pin Jumper Wires on the Gpio Pin where indicated.

  • Ground to the Ground pin 9
  • SW1 to the GPIO4 pin 7 (Reset Switch)
  • SW2 to the GPIO3 pin 5 (Power Switch)
  • LED to the TXDO pin 8 (Power Indicator LED)

Power (shutdown)

1-Unzip the “” and “”

2-Connect your Raspberry Pi and your computer to your network with network cables / wireless and power on (must be connected on the same network)

3-Download WinSCP to transfer the files to the raspberry:

Open WinSCP

  • Host name: retropie
  • User name: pi
  • password:  raspberry

    Press Login Button

Your WinSCP is now connected to your raspberry pi, on the left its your computer, on the right side this is your raspberry pi.

4- On the right side, open the folder: home/pi , and create a new folder, name it  NESPi

5- From the left side, click and drag the file “” & “ in this NESPi folder


Transfer completed.

6-Download Putty to be able to update rc.local

  • In the ‘Host Name’ box, type « retropie »
  • Make sure the « SSH » is selected
  • Press Open button

You’ll now get a prompt, login as ‘pi’ and password(invisible) is ‘raspberry’, in a black windows

7-Enter the command:

sudo nano /etc/rc.local

8-Scroll down and add these entire lines just before the line “exit 0”:

(sleep 1; python /home/pi/NESPi/
(sleep 1; python /home/pi/NESPi/

9-Press CTRL+X to exit, Y to Save, then Enter

The Power is Done.

Red LED Indicator:

1-In Putty windows, type the command:

sudo raspi-config

2-You can use the Arrow of your keyboard and select Interfacing Options ->Serial->Yes , then Ok:

3-Select ‘Finish’ to exit and come back on the black screen

LED is done

Final step, active the Reset:

4-In Putty, update the retroarch.cfg

  • Enter this command:
    sudo nano /opt/retropie/configs/all/retroarch.cfg

    -In the first lines, look for the “config_save_on_exit option” and change to “true
    -Scroll down on the very last lines and make sure you have
    network_cmd_port = “55355″
    -Scroll down again and and change this line to “true”
    network_cmd_enable = “true”

    -Press CTRL+X to exit, Y for Save, then Enter

    The Reset is Done.

    To reboot your system, enter this command:

    sudo reboot

    Installation completed.
    Enjoy 🙂

Non-NFC buttons for Pi4

First: install raspi-gpio with:

sudo apt install raspi-gpio

Second(if needed): install shutdown_fan script as descriped in point 6

Set NES, SNES, N64, PS1 case switch to safe shutdown ON

First: install raspi-gpio with sudo apt install raspi-gpio
Second(if needed): install shutdown_fan script as descriped in point 6

    1. Set NESPi+, SuperPi or MegaPi case switch to safe shutdown ON
    2. Login with SSH
    3. Type in commands mkdir /home/pi/RetroPie/scripts && cd /home/pi/RetroPie/scripts
    4. DL: wget && chmod +x
      3.1 If there is an older version please remove this one with rm
      3.2 Otherwise the current downloaded version will get a .sh.1 filename!
    5. Now edit ES autostart with nano /opt/retropie/configs/all/ and add script to like ….
    6. /home/pi/RetroPie/scripts/ --generic & but BEFORE the last line emulationstatio #auto
    7. Install fan_shutdown script: cd /lib/systemd/system-shutdown/
      && sudo wget
      && sudo chmod +x shutdown_fan

      6.1 The shutdown_fan is setted to GPIO4 as standard
      6.2 Therefore you might edit with sudo nano /lib/systemd/system-shutdown/shutdown_fan

Installation completed.
Enjoy 🙂