RetroPie

From 太極
Jump to navigation Jump to search

Retro Game Console/Emulator

Resource

RetroArch

Emulators

ROM

How to play/instructions

RetroPie

Username: pi, password: raspberry. See RetroPie wiki.

$ ssh [email protected]
[email protected]'s password:

The programs included with the Debian GNU/Linux system are free software;
the exact distribution terms for each program are described in the
individual files in /usr/share/doc/*/copyright.

Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
permitted by applicable law.
Last login: Wed May 11 17:35:37 2016 from 10.42.0.1

   .~~.   .~~.    Wednesday, 11 May 2016,  5:36:53 pm UTC
  '. \ ' ' / .'   Linux 4.1.19+ armv6l GNU/Linux
   .~ .~~~..~.
  : .~.'~'.~. :   Filesystem      Size  Used Avail Use% Mounted on
 ~ (   ) (   ) ~  /dev/root        15G  2.2G   12G  16% /
( : '~'.~.'~' : ) Uptime.............: 0 days, 00h04m04s
 ~ .~       ~. ~  Memory.............: 114884kB (Free) / 250692kB (Total)
  (   |   |   )   Running Processes..: 70
  '~         ~'   IP Address.........: 10.42.0.37
    *--~-~--*     Temperature........: CPU: 46°C/114°F GPU: 46°C/114°F
                  The RetroPie Project, http://www.petrockblock.com

pi@retropie:~ $ df -h
Filesystem      Size  Used Avail Use% Mounted on
/dev/root        15G  2.2G   12G  16% /
devtmpfs        119M     0  119M   0% /dev
tmpfs           123M     0  123M   0% /dev/shm
tmpfs           123M  8.5M  114M   7% /run
tmpfs           5.0M  4.0K  5.0M   1% /run/lock
tmpfs           123M     0  123M   0% /sys/fs/cgroup
/dev/mmcblk0p1   57M   20M   38M  35% /boot

Check my RetroPie version

How to check which RetroPie version I'm on?. It works (I am using v4.8, 2022 Mar 13); it matched with the information on the download page. However, the Raspbian version is 10 (buster) according to "/etc/os-release" so the Kodi is version 18 not 19.

$ cd ~/RetroPie-Setup
$ git show

Another way is to run RetroPie setup program. See a screenshot How To Backup and Update Your RetroPie Image.

Setup

How to Build Your Own NES or SNES Classic with a Raspberry Pi and RetroPie

Volume in audio

Latest update lvl0: VolumeControl::init() - Failed to find mixer elements!. I got this message after I switch from RetroPie to Kodi.

USB audio

RetroPie/Raspberry Pi: How to Configure a USB Sound Device

Exit a game

Press HotKey and Start button. Another way is "Esc" or "Esc + enter" on a keyboard. This helps exiting games from N64 where 'select' is not one of its buttons. Exit every Emulator with "escape" key and Setting the ESC Key as the Exit Emulation Button, ESC key doesnt Exit emulator

Install RetroPie as an App

Controller configurations

Raspberry Pi 3

Tips

10 RetroPie Setup Tips and Tutorial for the Raspberry Pi 4

ROM

ROM size

On my 128 GB SD card du -sh /media/crucial/RetroPie/roms/* | sort -hr | head or ncdu ~/RetroPie/roms (interactive) shows the top folders taking most space

  • dreamcast: 24 GB (28 folders)
  • psx: 13.4 GB (111 folders)
  • arcade: 9 GB (2988 files)
  • fba: 8.2 GB (1350 files)
  • n64: 7.2 GB (470 files)
  • mame-libretro: 7 GB (2334 files)
  • gba: 6.3 GB (932 files)
  • segacd: 4.7 GB (23 files)
  • amiga: 3.6 GB (4280 games)
  • snes: 3.0 GB (3362 games)
  • neogeo: 2.8 GB (187 games)
  • TOTAL: 106 GB, 118649 items

Transfer ROMs

ROMS location

The SD card has 2 partitions: boot and retropie.

ROMs are located in retropie/home/pi/RetroPie/roms directory.

$ ls '/media/brb/retropie/home/pi/' 
bgm  coolcv_mapping.txt  gunconf  RetroPie  RetroPie-Setup  v3

$ ls '/media/brb/retropie/home/pi/RetroPie/' 
BIOS  retropiemenu  roms  splashscreens

Running ROMs from a USB drive

Running ROMs from a USB drive

Network share

Running ROMs from a Network Share

Backup/restore

https://retropie.org.uk/docs/Updating-RetroPie/#backup-option-2 (if you don't want to create a sd image you can just back up your BIOS, roms, and configuration files from the samba shares), or back up the /home/pi folder which contains lots of folders (bgm, Desktop, Documents, Downloads, gunconf, Music, Pictures, Public, RetroPie, RetroPie-Setup, Templates, v3, Videos)

(Update) The procedure below is not optimal especially the SD card is very large. I only need to back up the retropie/home/pi/RetroPie/roms folder.

sudo umount /media/brb/retropie
sudo umount /media/brb/boot
sudo dd bs=4M if=/dev/sdc | pigz -4 > RetroPie-128g.img.gz

# Restore
gunzip --stdout raspbian.img.gz | sudo dd bs=4M of=/dev/sdb

This assumes the 2nd SD card is the same or has a larger capacity. For example if my source is samsung 128GB and the target is another samsung 128GB but a different model, I got the following error.

$ gunzip --stdout RetroPie-128g.img.gz | sudo dd bs=4M of=/dev/sdc
[sudo] password for brb: 
dd: error writing '/dev/sdc': No space left on device
0+3763699 records in
0+3763698 records out
128043712512 bytes (128 GB, 119 GiB) copied, 3455.3 s, 37.1 MB/s

The fdisk command shows the reason:

# source sd card (larger capacity)
sudo fdisk -l /dev/sdc
Disk /dev/sdc: 119.38 GiB, 128177930240 bytes, 250347520 sectors

# another sd card (a little smaller capacity)
sudo fdisk -l /dev/sdc
Disk /dev/sdc: 119.26 GiB, 128043712512 bytes, 250085376 sectors

RetroPie Configuration

  • AUDIO
  • BLUETOOTH
  • CONFIGURATION EDITOR
  • ES THEMES
  • FILE MANAGER - seems no way to quit using a controller
  • RASPI-CONFIG - This is equivalent to 'raspi-config'
  • RETROARCH
    • Load Core
    • Load Content
    • Load Recent
    • Playlists
    • Scan Content
    • Netplay
    • Settings
    • Information
    • Configuration File: retroarch.cfg
  • RETROARCH NET PLAY
  • RETROPIE SETUP
    • Basic install - This will install all packages from the 'Core' and 'Main' package sections.
    • Update - update installed packages?
    • Manage packages - core/main/opt/driver/exp/depends
    • Configuration /tools - lots of options
    • Update RetroPie-Setup script
    • Uninstall RetroPie
    • Perform reboot
  • RUN COMMAND CONFIGURATION
  • SHOW IP
  • SPLASH SCREENS
  • WIFI

Display FPS

Favorites and Recent

Scrape

Change the default emulator

Slot: save game

List of games

Tekken 3: psx

The first screen should be selecting a mode. If this cannot be loaded, choose "RETROPIE SETUP -> Basic install" will fix the problem.

Manual.

The Legend of Zelda

Donkey Kong

Play guide

Kodi

Debian

PC

LaunchBox

Android emulation

iOS

How to Install Emulators for iPhone Using 4 Easy Methods

Handheld

Retro Pocket 2

Emulation tests

Other emulators

Batocera

Power consumption for different games

RG552. NES < Dreamcast, PSP, N64, Sega Saturn

Streaming

Online

Controller

北通 Betop BTP-BD2E, Aliexpress

Chromebook, TV box

Top games

  • Mame/Arcade Top 300 Games. Altered Beast, Donkey Kong, Killer Instinct, 1942,
  • NES: The legend of Zelda, The legend of Kage
  • GBA: Castlevania circle of the Moon
  • Sega Genesis: Castle of Illusion
  • SNES: Super metroid, Super mario world 2: Yoshi's island
  • PC Engine
  • NEO GEO: Blue's journey, King of fighters 2002
  • PS1: Tekken 3, R4: Ridge racer Type 4, Tony hawk pro skater 2, Crash team racing
  • N64: Super mario 64, Mario kart 64, F-Zero X, Cruis'n USA, Paper Mario, Super smash bros, Mario tennis (hard), Banjo kazooie, Legend of Zelda: Ocarina of time, Conker's bad fur day, Goldeneye 007
  • Dreamcast: Dead or alive 2, Crazy taxi 2, Jet set radio, Tennis 2k2, Virtua fighter 3TB, Sonic adventure 2, Frogger 2: swampy's revenge, 18 wheeler: American pro trucker, Gauntlet legends, Sega rally 2, Star wars: racer, Marvel vs Capcom 2, NBA 2K, Virtua Cop 2, Aqua GT, Daytona USA, Skies of Arcadia, soul calibur
  • NDS
  • PSP: Grand Theft Auto: vice city stories, Tekken 5, Tekken 6, Ridge racer 4, Twisted metall head-one, Ultimate ghosts N' Goblins, Virtua Tennis 3, X-Man legends 2, God of war: chains of olympus, Castlevania dracula X chronicles, Wipeout pulse, Soul calibur broken destiny, Hot shots golf, Lumines, Blazbllue continuum shift II, Burnout legends, Final fantasy crisis core, Little big planet, Valkyria chronicles II, Persona 3, OutRun 2006 (push to limit), Daxter
  • Sega Saturn: Nights into dreams, Guardian heroes, Sega rally championship, Nights into dreams, Virtua Cop 2, Clockworkd knight 2, Virtua fighter 2, Panzer dragoon, Saturn bomberman, Sonic 3D blast, Virtua fighter remix, The legend of oasis
  • GameCube: Paper mario: thousand year door, Tony hawk pro skater 3, Mario kart: double dash!!, Sonic heroes, Pitfall: the lost expedition, Legend of zelda: wind waker, Mario party 6 (simple), Need for speed: most wanted (hard), Timespllitters 2
  • PS2: Backyard basketball, Moto GP2, Grand theft auto III, Crash bandicoot: the wrath of cortex, Final fantasy X, Kingdom hearts, TAZ: wanted, Simpsons hit & run (easy)

Gameplay, walkthrough

  • super mario world 2 yoshi's island walkthrough
  • The legend of Zelda - Ocarina of Time Walkthrough