RetroPie

From 太極
Revision as of 12:57, 10 August 2022 by Brb (talk | contribs) (→‎RetroPie)
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?

$ 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

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

Can I "save" saved game files before reflashing?

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

Screensaver

Change the default emulator

Slot: save game

List of games

n64 on pi3

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

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

Top games

Gameplay, walkthrough

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