retro pi

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

  1. Configure the Raspberry Pi graphics settings: sudo raspi-config
    • Performance Options -> GPU Memory and set the GPU memory to 256MB.
    • Advanced Options -> GL Driver and select Legacy to disable the experimental GL driver.
  2. Reboot the Raspberry Pi after changing the settings.
  3. Install the dependencies of the RetroPie setup script: sudo apt install git lsb-release
  4. Download the RetroPie setup script from GitHub: git clone --depth=1 https://github.com/RetroPie/RetroPie-Setup.git
  5. Run the installation script:
    cd RetroPie-Setup
    chmod +x retropie_setup.sh
    sudo ./retropie_setup.sh
    

    In the interest of saving time, we will install emulators individually instead of proceeding with the full RetroPie installation.

  6. Navigate to Manage packages -> core then Install all core packages (~8 Minutes)
  7. Navigate to Manage packages -> main -> lr-mame2003 then Install from pre-compiled binary (~2 Minutes)

Running RetroPie

  1. Using the Raspberry Pi desktop file explorer, navigate to /home/pi/RetroPie/roms/arcade and copy over a MAME compatible arcade game ROM.
  2. Run the command: emulationstation
  3. 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.
  4. Using the controls that have been assigned, navigate to the arcade game and try running it.
  5. Press the HOTKEY and START inputs to exit a game.
  6. To exit RetroPie, press HOTKEY and START again, then go to QUIT -> QUIT EMULATIONSTATION
  7. If you plan to build an arcade machine accessible to the public using RetroPie, you may want to keep the HOTKEY hidden inside the physical enclosure.

NEXT STEP: Kiosk Computer