
Retro Gaming With RetroPi
If you have any questions or get stuck as you work through this in-class exercise, please ask the instructor for assistance. Enjoy!
Installation
- Configure the Raspberry Pi graphics settings:
sudo raspi-configPerformance Options -> GPU Memoryand set the GPU memory to 256MB.Advanced Options -> GL Driverand selectLegacyto disable the experimental GL driver.
- Reboot the Raspberry Pi after changing the settings.
- Install the dependencies of the RetroPie setup script:
sudo apt install git lsb-release - Download the RetroPie setup script from GitHub:
git clone --depth=1 https://github.com/RetroPie/RetroPie-Setup.git - Run the installation script:
cd RetroPie-Setup chmod +x retropie_setup.sh sudo ./retropie_setup.shIn the interest of saving time, we will install emulators individually instead of proceeding with the full RetroPie installation.
- Navigate to
Manage packages -> corethenInstall all core packages(~8 Minutes) - Navigate to
Manage packages -> main -> lr-mame2003thenInstall from pre-compiled binary(~2 Minutes)
Running RetroPie
- Using the Raspberry Pi desktop file explorer, navigate to
/home/pi/RetroPie/roms/arcadeand copy over a MAME compatible arcade game ROM. - Run the command:
emulationstation - You will be prompted to configure the RetroPie controls.
- Hold any key on the keyboard to start.
- Quickly press a key on the keyboard to assign an input.
- Hold any key to skip an input.
- Using the controls that have been assigned, navigate to the arcade game and try running it.
- Press the
HOTKEYandSTARTinputs to exit a game. - To exit RetroPie, press
HOTKEYandSTARTagain, then go toQUIT -> QUIT EMULATIONSTATION - If you plan to build an arcade machine accessible to the public using RetroPie, you may want to keep the
HOTKEYhidden inside the physical enclosure.