Shell script to setup the Raspberry Pi 1 / 2 with several emulators, various cores, and EmulationStation as graphical front end. Bootable pre-made images are available from https://blog.petrockblock.com/retropie/ for those that want a ready to go system.
This script is tested with the Raspbian distribution, but users have reported that it also works with RaspBMC. Before using the script, please make sure that you have run the raspi-config script to extend your root file system and that your memory split is set to 192 or 128. You can run the script with
sudo raspi-config
To run the RetroPie Setup Script make sure that your APT repositories are up-to-date and that Git is installed:
sudo apt-get update
sudo apt-get upgrade
sudo apt-get install git
Then you can download the latest RetroPie setup script with
cd
git clone --depth=1 git:https://github.com/petrockblog/RetroPie-Setup.git
The script is executed with
cd RetroPie-Setup
chmod +x retropie_setup.sh
sudo ./retropie_setup.sh
When you first run the script it may install some additional packages that are needed. Note that you might need to reboot your Raspberry, if your firmware was updated during the installation process.
RetroPie Setup offers the possibility to install from binaries or build from source. For most users installing from binary should suffice - but for the very latest versions of some software building from source may be preferred. Building from source can take more than a day on a Raspberry Pi.
For more information visit the blog at https://www.petrockblock.com or the repository at https://github.com/petrockblog/RetroPie-Setup. A forum thread about the RetroPie Setup script in the official Raspberry Pi forum can be found at https://www.raspberrypi.org/phpBB3/viewtopic.php?f=35&t=13600.
You can find useful information about several components or for several frequently asked questions in the wiki of the RetroPie Script. If you think that there is something missing you are invited to add it to the wiki.
This script just simplifies the usage of the great works of many other people that enjoy the spirit of retrogaming. Many thanks go to them!