RetroPie-Setup: An initialization script for RetroArch on the Raspberry Pi

If you want to install and setup RetroArch on the Raspberry Pi (TM) together with various emulator cores, all needed libraries for the SNESDev controller interface, and a graphical front end you can now go to https://github.com/retropie/RetroPie-Setup. There you will find an easy-to-use script that installs all essential packages for retro gaming on the Raspberry. I call it RetroPie script.

I prepared a Github repository with a shell script that automatically installs all needed packages. It has a console-based GUI and makes the installation of everything you need for retro gaming very easy. The script was tested on the Raspbian distribution. The following instructions can also be found directly on the Github site.

Download

To obtain the installation script you first need to install two packages with

sudo apt-get update
sudo apt-get install -y git dialog

Then you can download the latest RetroPie setup script with

cd
git clone git://github.com/petrockblog/RetroPie-Setup.git

Installation

The script is executed with

cd RetroPie-Setup
chmod +x retropie_setup.sh
sudo ./retropie_setup.sh

You are welcomed with the following screen

Here, you have the choice between two different ways of installation:

  1. Binaries-based installation: This way of installation will download per-compiled versions of RetroArch, various cores, Emulation Station, and SNESDev. In comparison to the second way of installation this is much faster. Even though the binaries will be updated from time to time, a disadvantage is that you probably will not have the most recent versions of the programs.
  2. Source-code based installation: This way of installation will download and compile the most recentsources of all programs and cores. Compiling everything takes some hours, but you will have the most up-to-date releases of the programs. When you choose this option in the menu a screen will appear that lets you select (with the space and arrow keys) the individual tasks to be done by the setup script:

    The default selection will install the complete set of packages.

Usage

With it’s default configuration the RetroPie setup configures the graphical front end EmulationStation such that a set of emulators can directly be used by the front end. You can start the front end with

emulationstation

Before that, however, you need to copy your ROM files into the according RetroPie/roms/ folders. Every emulator has its own subfolder here. Due to the early stage of the ALSA implementation on the Raspberry you can expect some creaking when using the analog output. I made quite good experiences with the HDMI output. For now, another solution for that seems to be the use of an external USB soundcard until the problems with the ALSA implementation are solved.

I really would like to see this script be further developed by you and me!! I think that Github is the right place for that.

Enjoy!

Check Also

RetroPieLogo2015FeatImg

RetroPie 3.0 is Released

After 6 months of hard work we are pleased to announce the release of RetroPie ...

  • James Rubinstein

    Can you use this install script with openelec? It doesn’t have sudo, apt, or git :(

  • Tom

    I installed everything okay. I’m able to run the EmulationStation and launch the free games included. But, no sound. I’ve tried one of my own ROMs and same thing. I ensured the sound was configured in EmulationStation. I tried forcing the sound via my HDMI in raspi-config and same thing. Probably something simple I’m overlooking. Anyone have suggestions?

  • Pingback: RetroPie: Raspberry Pi as gaming station |()

  • Poker CK

    Sorry if this has already been asked. Are these instructions the same for a Raspberry Pi 2? Im just wondering if a different build is needed to use the extra cores and ram?

  • Filipe Lana

    Hi !

    Lovely project !

    My Pi 2 arrived 2 days ago, and yesterday i installed Raspbian by a NOOBS image, installed some programs, and then installed Retropie by using the script.

    As i wanted some performance, i left it compiling at night, but today i was presented with some errors at the end, saying couldn’t compile thing like scummvm, gbasp, and couldn’t install some libs like libsdl-ttf2.0-dev , libsdl-mixer1.2-dev , libsdl-image1.2-dev , libsdl-gfx1.2-dev , libxaw7-dev, checkinstall…. What you recommend me to do in order to make a complete sucessfull install from the sources ?
    Anything i could see in the error logs ?

  • Pingback: Die alten Lieblingsspiele auf dem Raspberry Pi dank der Emulatorsammlung RetroPie |()

  • Pingback: Raspberry Pi: Technikwunder im Kreditkartenformat()

  • https://www.facebook.com/UFO.TECHNOLOGIES Daniel J Mangan

    I am having a problem getting the games to start , EMUSTAT runs fine i select emulator , then a game and the screens goes black with a command select says hit x or n key to select defaults so i select the desired defaults (tried all ) no matter what it kicks me back to emu game select screen like rom doesnt load or something

  • Pingback: Raspberry Pi: How to Get Started()

  • Pingback: Mupen64Plus on Raspberry Pi: Won't load state »()

%d bloggers like this:
Skip to toolbar