Convert Badge into a RetroPie

You will need:

  • SaintCon 2017 Badge
  • Keyboard
  • Mini HDMI to HDMI

If you don't have any USB-OTG cables or HDMI adapters use the following instructions to access the Pi via USB from another computer and share the wifi.

Download RetroPie

Download Retropie from here

Badges are a Raspberry Pi 0, you will need to download that image.

Download for Raspberry Pi 0,

Should expect MD5sum: 6cfb11dbe3554581e10d3deb8559ed63

To get the screen working

Go to this link Docs

Change keyboard to US from UK

  • Quit RetroPie by pressing: F4
  • Type: sudo dpkg-reconfigure keyboard-configuration
  • Choose: Generic 105-key (intl) PC
  • other
  • English (US)
  • (at the very top) English (US)
  • Default for the keyboard layout
  • No compose key
  • Type: sudo reboot

Wireless setup

Edit the wpa_supplicant.conf file with vi or your favorite editor. Example:sudo vi /etc/wpa_supplicant/wpa_supplicant.conf`

Add the following lines at the end of wpa_supplicant.conf:

  • Save (if vi :wq)
  • Reboot by typing: sudo reboot

Get Screen Working

  • sudo raspi-config

Select the following:

  • advanced options
  • overscan
  • NO
  • Interfacing options
  • SPI
  • YES
  • reboot

Edit /etc/modules-load.d/fbtft.conf and add the items below:

sudo vi /etc/modules-load.d/fbtft.conf

  • Save Edit /etc/modprobe.d/fbtft.conf and add the items below: sudo vi /etc/modprobe.d/fbtft.conf
options fbtft_device custom name=fb_ili9341 gpios=reset:25,dc:24,led:17 speed=48000000 rotate=270 bgr=1
  • save
  • Reboot by typing: sudo reboot

Login after reboot. At the prompt type:

con2fbmap 1 1
curl -O
sudo bash

Choose: y (YES) 3 (PiGRRL Zero) * y (YES)

It now downloads and installs Frame Buffer Copy

  • (do you want to reboot now) y

Get Gamepad working on Badge

At the RetroPie Home Screen * (Exit to terminal) press F4 At the command line:

curl -O;
sudo bash;
  • pick 2 Pocket PiGRRRL
  • (reboot) y

Edit Keys

  • sudo vi /boot/retrogame.cfg

  • edit keys

LEFT       4  # Joypad left
RIGHT     19  # Joypad right
UP        16  # Joypad up
DOWN      26  # Joypad down
A         14  # 'A' button
B         15  # 'B' button
ESC        5  # 'Select' button
ENTER      6  # 'Start' button
X         20  # 'X' button
Y         23  # 'Y' button
L         12  # Left shoulder button
R         13  # Right shoulder button
  • (save) :wq
  • sudo reboot

  • hold A

Match Keys

Hold any key to skip