First Installation - eddywebs/RetroPie-Setup GitHub Wiki

retropie-original-flat-outline

Version
3.7
  1. Hardware
  2. Installation
  3. Controller Configuration
  4. Configure Wifi
  5. Transferring Roms

Congratulations! You have discovered the wonderful world of RetroPie- your entire childhood is within reach! RetroPie is a combination of multiple projects including RetroArch, EmulationStation, and many others.

This page is for people just getting started on RetroPie. The easiest way to install RetroPie is the SD image which is a ready to go system built upon top of the Raspbian OS - this is the method described in the following guide. Alternatively, advanced users can install RetroPie manually.

This guide will give you the very basics to get you up and running from a blank SD card to first boot into EmulationStation.

If you hate reading then see this video. Otherwise read on!

Hardware Needed:

  • Raspberry Pi (A, A+, B, B+, 2, Zero, or 3) - for best performance use a Raspberry Pi 3 Model B
  • Raspberry Pi Case (optional but recommended)
  • MicroSD Card (see compatible SD card list here)
  • MicroSD Card Reader (For installing retropie from your computer)
  • HDMI cable or 4 Pole RCA to 3.5mm Cable (HDMI works best)
  • Television or Computer Monitor- really any screen with HDMI or RCA ports
  • Wifi Dongle or Ethernet Cable (Wifi is built into the Pi 3- see wifi dongle compatible list here)
  • 5V 2A Micro USB Power Supply (2.5A for pi 3)
  • USB Keyboard and Mouse (to get things set up or you can use SSH)
  • USB Game Controller of your choice (or you can get the Control Block to use original SNES controllers)

The simplest way to get most of these components is through a kit such as the Canakit.

Installation

SD Images

There are currently two versions of RetroPie. There is one version for Raspberry Pi 1/Zero (Model A, A+, B, B+) and there is a version for Raspberry Pi 2/Raspberry Pi 3.

Download the SD image for your version of Raspberry Pi from the following page:

https://retropie.org.uk/download/

If you are unsure which version of Raspberry Pi you have there is an easy way to check:

Rpi 1/Zero= 1 raspberry when the pi boots up

Rpi 2/Rpi 3= 4 raspberries when the pi boots up

If you get the error Illegal Instruction when it boots, you picked the wrong SD image.

Extract

Once you have downloaded your SD card image you need to extract it using a program such as 7-Zip. You will extract the downloaded .gz file and the extracted file will be a .img file.

Install RetroPie Image on SD Card

To install the RetroPie SD image on your MicroSD card. (You may need a MicroSD card reader to plug it into your computer)

  1. For Windows you can use a program called Win32DiskImager
  2. For mac you can use Apple Pi Baker
  3. For Linux you can use dd command or Unetbootin

Note RetroPie is built on top of Raspbian (a linux based OS for the Raspberry Pi) and as such the partition on the SD card is EXT4 (a linux filesystem) which is not visible on windows systems, so the card will show up as a smaller size than usual and you wont be able to see everything on the card, but it is all there. You will be able to access the filesystem over the network as described in the transferring roms section below.

If you're updating from a previous version of retropie see HERE

Configurations

Controller Configurations

On first boot your filesystem will be expanded automatically, you will then be welcomed with the following screen- this menu will configure your controls for both Emulationstation and RetroArch Emulators:

welcomescreen

Hold down any button on your keyboard or gamepad and the name will appear at the bottom and then open up into a configuration menu:

welcomescreengamepadname

Follow the onscreen instructions to configure your gamepad- if you run out of buttons just hold down a button to skip each unused button. When you get to OK press the button you have configured as "A".

welcomescreengamepadconfigure

If you wish to configure more than one controller, you can do so from the start menu of emulationstation. For more details on manual controller configurations see this page Here. See also HERE

See the following diagrams for reference:

Super Nintendo Controller

Xbox 360 Controller

PlayStation 3 Controller

Default Hotkeys

Hotkeys enable you to press a combination of buttons to access functions such as saving, loading, and exiting emulators. The following chart shows the default hotkey combinations. By default, the hotkey is select so that means you hold down select while pressing another button to execute a command.

Hotkeys Action
Select+Start Exit
Select+Right Shoulder Save
Select+Left Shoulder Load
Select+Right Input State Slot Increase
Select+Left Input State Slot Decrease
Select+X RGUI Menu
Select+B Reset

For those that are interested, the retroarch controller config that is created after you've followed the aforementioned steps is located in:

/opt/retropie/configs/all/retroarch-joypads

the following is an example of a SNES controller config- your configurations may be a bit different.

input_device = "USB gamepad           "
input_driver = "udev"
input_r_btn = "5"
input_save_state_btn = "5"
input_start_btn = "9"
input_exit_emulator_btn = "9"
input_l_btn = "4"
input_load_state_btn = "4"
input_up_axis = "-1"
input_a_btn = "1"
input_b_btn = "2"
input_reset_btn = "2"
input_down_axis = "+1"
input_right_axis = "+0"
input_state_slot_increase_axis = "+0"
input_x_btn = "0"
input_menu_toggle_btn = "0"
input_select_btn = "8"
input_enable_hotkey_btn = "8"
input_y_btn = "3"
input_left_axis = "-0"
input_state_slot_decrease_axis = "-0"

EmulationStation

Where are the systems?
When you first see EmulationStation you may wonder why you don't see systems like the SNES or Game Boy- worry not- they are installed on the system, roms just need to be added to their respective rom folders before they will become visible. Transferring roms are described in the following steps.
firstboot

Configuring Wifi

If you wish to use wifi to transfer roms over the network rather than a USB stick or Ethernet cable you'll need to setup your wifi- which can also be done from the Retropie menu in emulationstation:

wifi

It will open into this menu:

wifi1

Choose your SSID from a list:

wifi2

Type your Wifi Password (You may need to wait a bit after you finish for the configurations to save)

wifi3

After it's done configuring you should see your wifi info in the original menu:

wifiinfo

For more WiFi configuration options see this page HERE

Transferring Roms

Due to the nature/complexity of Copyright/Intellectual Property Rights Law, which differs significantly from Country to Country, ROMs cannot be provided with RetroPie and must be provided by the user. You should only have ROMs of games that you own.

There are three main methods of transferring roms:

USB

  • (ensure that your USB is formatted to FAT32 or NTFS)
  • first create a folder called retropie on your USB stick
  • plug it into the pi and wait for it to finish blinking
  • pull the USB out and plug it into a computer
  • add the roms to their respective folders (in the retropie/roms folder)
  • plug it back into the raspberry pi
  • wait for it to finish blinking
  • refresh emulationstation by choosing restart emulationstation from the start menu

see this video for reference:

SFTP (needs an active internet connection)

  • Wired (needs ethernet cable)
  • Wireless (needs wifi dongle) There are many SFTP programs out there, for windows many people use WinSCP for mac you can use something like Cyberduck

winscp

Default username: pi

Default Password: raspberry

You can also log in as root if you wish to change more files than just the roms, but you first need to enable the root password which is explained here

Samba-Shares (needs an active internet connection)

  • if on windows type \\retropie into the computer folder. You can also replace retropie with your Raspberry Pi's IP address

samba

  • if on MAC OS X open finder, select "Go" menu and "Connect to Server". Type smb://retropie and hit "Connect".

PLAY!

After you've added your roms you need to restart emulationstation in order for them to show up. You can restart emulationstation from the start menu, or by rebooting your pi with sudo reboot.

  • see the rest of the wiki for more detailed information on individual emulators, advanced settings etc. If you still can't figure it out, the RetroPie community is very helpful on the forum.

  • The RetroPie Project is primarily maintained by a few developers who develop the project in their free time. If you have found the RetroPie project useful please consider donating to the project here. We will always release RetroPie for free, but unfortunately our servers still cost money. As you become more familiar with RetroPie, pay it forward by helping others on the forum. The RetroPie Project is what it is today because of the many contributions of the community.

THANK YOU!