RetroPie

From 太極
Revision as of 22:11, 25 January 2022 by Brb (talk | contribs) (→‎ROMS location)
Jump to navigation Jump to search

Retro Game Console/Emulator

Resource

RetroArch

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.

Controller configurations

Raspberry Pi 3

I have a raspberry pi 3 what should I do with it?

Tips

10 RetroPie Setup Tips and Tutorial for the Raspberry Pi 4

Transfer ROMs

Three ways to transfer ROMs. Using the USB drive approach, you will copy ROMs to your USB drive, connect it to your Pi, and RetroPie will automatically copy them to the SD card and make them available in Emulation Station (and the RetroPie UI).

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

Backup/restore

(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

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

  • https://www.reddit.com/r/retroid/
  • Mine will only charge when it was turned on
  • In Android OS, press and hold 'HOME' button to switch modes (Touch, Gamepad & mouse, Gamepad, Mouse). Use the Gampad Mode app to see the current mode.
    • "Touch" mode is the best since we can use D-pad to scroll down. "B" button to go back. Cursor is a white circle. If we hold the "A" button we can scroll up/down with joystick when the cursor is on the right edge.
    • In "Gamepad & mouse" mode, only the selected/highlighted app will be launched. Cursor is an arrow.
    • In "Gamepad" mode, only the selected/highlighted app will be launched. No cursor.
    • In "mouse" mode, "B" button will not work. Cursor is an arrow.
  • https://www.goretroid.com/products/retroid-pocket-2-handheld-retro-gaming-system
    • Wiki
    • SD card is 32GB. Metal side faces up. It is exFat partition.
      $ ls /media/brb/CAC2-7778
      Comic Book.zip  gpsp      RetroArch            Roms          Wallpaper
      games           LOST.DIR  preinstall           Riivive v1.1  Huntzman.zip  
      System Volume Information
      

Emulation tests

Other emulators

Batocera

Power consumption for different games

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

Online

Controller

北通 Betop BTP-BD2E, Aliexpress