RetroPie

From 太極
Revision as of 21:33, 29 October 2023 by Brb (talk | contribs) (→‎iOS)
Jump to navigation Jump to search

Retro Game Console/Emulator

Resource

RetroArch

Tips

Retroarch Not Working? Here Are Some Fixes for You

Interface

Emulators

ROM

How to play/instructions

Old/new hardware

Emulation Station

Lit of EmulationStation themes (Many are v4, for the latest build of ES.) Taken from the RetroPi fork

Difficulty

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

draStic ds emulator

(TUTORIAL) How to add draStic ds emulator and configure it and add ROMS with RetroPie-Manager

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

Super Mario Bros

You've Been Playing 'Super Mario Bros.' Wrong Your Whole Life. Search 'Tiktok'.

Kodi

Debian/Linux

PlayStation 2

How to Emulate PlayStation 2 on the Raspberry Pi 5 and Earlier

PC

LaunchBox

Android emulation

Front end

  • Daijishou: on Retroid Pock 2, the resolution is not high enough so some options are truncated. How about scrcpy.
  • On Android:
    • Switch hotkeys mapping works depending on the controller
    • I cannot find a place to remap buttons in global settings or individual platform
    • I still need Android 'back' button to quit a game
    • Note Daijishou is still a front end. For example if I configure it to use Duckstation to play ps1 games, it still use Duckstation to emulate it. If I click the back button to quit the game, I can see Duckstation is in the list of last used apps.

SD card

When we insert an SD card, Android (11 and up) will offer two options

  • Use as portable storage - format it as exFat. We can use the card in computers. Some games won't work out in this format. But we can use a frontend to access the games on certain emulators. We can create a new folder called 'games' on the SD card. Then create other subfolders like 'bios'. After that copy game folders under 'games' folder.
  • Use as internal storage - only work in Android OS.

iOS

How to Install Emulators for iPhone Using 4 Easy Methods

Mac

The 5 Best Console Emulators for Your Mac

PlayStation analog and rumble support list

PlayStation analog and rumble support list

Help

PS1 Games in Bin/Cue format show up twice on the game list

Handheld

Retro Pocket 2

Emulation tests

Ambernic RG353v

  • SSH log in. username/password is root/linux. See System Settings -> Advanced/Security.
    $ sshnocheck [email protected]
    
       / \   _ __ | |__   ___ _ __ _ __ (_) ___
      / _ \ | |_ \| |_ \ / _ \  __|  _ \| |/ __|
     / ___ \| | | | |_) |  __/ |  | | | | | (__
    /_/   \_\_| |_|_.__/ \___|_|  |_| |_|_|\___|
    
                       RK3566
    
    
    -- type 'anbernic-check-updates' to check for stable branch --
    -- add 'beta' switch to check for latest arch developments  --
    
    Disk format: ext4
    Battery: 91%
    Temperature: 39°C
    Architecture: rg353
    Model: Rockchip RK3566 RG353V
    System: Linux 4.19.172
    Available memory: 1752/1969 MB
    Cpu number: 4
    Cpu max frequency: 1800 MHz
    OS version: 31-dev 2022/09/26 02:56
    
    # cat /etc/os-release
    NAME=Buildroot
    VERSION=-ga3d4e6fb
    ID=buildroot
    VERSION_ID=2021.05-git
    PRETTY_NAME="Buildroot 2021.05-git"
    
    # df -h
    ...
    /dev/mmcblk1p1            3.0G      2.2G    771.7M  75% /boot
    ...
    /dev/mmcblk1p2            2.9G    948.5M      2.0G  32% /userdata
    /dev/mmcblk2p1           57.4G     52.3G      5.1G  91% /media/NO_LABEL
    /dev/mmcblk1p1            3.0G      2.2G    771.7M  75% /media/ANBERNIC
    /dev/mmcblk1p3            8.3G      8.0K      8.3G   0% /media/GAMES
    /dev/mmcblk1p2            2.9G    948.5M      2.0G  32% /media/SHARE
    /dev/mmcblk2p1           57.4G     52.3G      5.1G  91% /userdata/roms
    
    # ls -l /userdata/roms | wc -l
    125
    # ls /userdata/roms/n64
    
    # htop
    
    # ls /media/SHARE/kodi
    iptv      kodi      movies    music     pictures
    
    # ls /media/ANBERNIC         
    anbernic-boot.conf  asoundrc            bootb               splash              uboot.img
    asound.state        boot                extlinux            tools               uboot_origin.img
    
    # uname -a
    Linux ANBERNIC 4.19.172 #1 SMP Mon Sep 19 10:14:24 PDT 2022 aarch64 GNU/Linux
    
  • UI Settings. EmuELEC based.
    • ANBERNIC-SIMPLE-THEME -default. Does not show videos.
    • ANBERNIC-THEME can show videos. But the game names, videos & description are very tiny.
    • ART-NEXT-THEME is similar to ANBERNIC-THEME but no description.
    • ARTPIE-THEME uses vertical stripes; not a good choice on a small screen handheld. Forget it.
    • ES-THEME-CARBON looks good but no game names on the LHS. It only displays videos/images.
    • ES-THEME-EPIC-CODY looks good. However, it does not include a description. Note it has a Chinese interface. To switch to another emulator, use the shoulder buttons.
    • SIMPLECOMICBOOK looks good but the videos are smaller. The game names and videos are half half. It also a short game description (scrolling way) on the bottom right corner. Main screen is cool.
  • It cannot turn on nor charging while I was using Anbernic Linux OS (it shows 38% power). Hold on 'power' button or 'reset' button did not help. I opened the case and unplugged/plugged the battery connectors and that does not help. Fortunately just like my Retroid Pocket 2, after I have been charged it again for a while (USB power meter did not show any voltage at the beginning), the power LED turned on again (into yellow). When it turned on into Android, it shows only 3% power. I guess there is a calibration problem for battery with both Anbernic rg353v and Retroid Pocket 2 devices. PS: the charging speed is very low (5v 0.36a ~ 2w) when I connect it to my PC or power bank.
  • rg353vs is enough if you don't care much about N64, Sega Saturn and Dreamcast emulation (runs better on Android)
  • ArkOS Filebrowser.png
    ark@rg353v:~$ cat /etc/os-release
    NAME="Ubuntu"
    VERSION="19.10 (Eoan Ermine)"
    ID=ubuntu
    ID_LIKE=debian
    PRETTY_NAME="Ubuntu 19.10"
    
  • JELOS
    # ls /storage/roms
    3do              ecwolf           neogeo           scummvm
    3ds              eduke            nes              sega32x
    BGM              famicom          ngp              segacd
    amiga            fbneo            ngpc             sfc
    amigacd32        fds              odyssey          sg-1000
    amstradcpc       gameandwatch     openbor          sgfx
    arcade           gamecube         opt              snes
    atari2600        gamegear         pc               snesmsu1
    atari5200        gb               pc88             solarus
    atari7800        gba              pc98             sufami
    atari800         gbc              pcengine         supervision
    atarijaguar      genesis          pcenginecd       switch
    atarilynx        intellivision    pcfx             tg16
    atarist          j2me             pet              tg16cd
    atomiswave       mame             pico-8           tic-80
    bezels           mastersystem     pokemini         uzebox
    bios             megacd           ports            vectrex
    build            megadrive        ps2              vic20
    c128             megadrive-japan  psp              videopac
    c16              megaduck         pspminis         virtualboy
    c64              mplayer          psx              wii
    channelf         msx              quake            wonderswan
    coleco           msx2             satellaview      wonderswancolor
    daphne           n64              saturn           x1
    doom             naomi            savestates       x68000
    dreamcast        nds              sc-3000          zx81
    easyrpg          neocd            screenshots      zxspectrum
    # uname -a
    Linux RG353V 4.19.172 #1 SMP Wed Nov 30 17:30:28 UTC 2022 aarch64 GNU/Linux
    RG353V:~ # cat /etc/os-release 
    OS_NAME="JELOS"
    OS_VERSION="20221130"
    HW_DEVICE="RG353P"
    HW_ARCH="aarch64"
    HW_CPU="Rockchip RK3566"
    HOME_URL="https://www.jelos.org"
    BUILD_ID="ee2d813a7c2dcab9d320b20cd0fc5ee0b3c60bf8"
    BUILD_BRANCH="main"
    BUILD_DATE="Wed Nov 30 17:28:06 UTC 2022"
    
  • Anbernic RG353V Retro Arena Stable Preview
  • GarlicOS Setup & Upgrades Guide | Anbernic RG35XX, Upgraded 2800mah battery

High-end handhelds

Other emulators

Batocera

Retropie vs Recalbox vs Batocera vs Lakka

Best Retro-Gaming OS: Retropie vs Recalbox vs Batocera vs Lakka

ARES

Jetson Nano

Different definition

  • https://ares-emu.net/
  • ARES (Advanced Retro Emulator System) is a custom firmware and frontend for the Sony PlayStation Portable (PSP) handheld console. It is designed to allow users to play games from a variety of different systems on their PSP, including classic console systems like the Nintendo Entertainment System (NES), Sega Genesis, and Super Nintendo.

DOS games DOXBox

Xbox

How to Play Classic Xbox Games on Your PC With Xemu

Power consumption for different games

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

Wii

Impressive Wii emulation on Orange Pi 5

Streaming

Online/browser

Controller

8bitdo

Chromebook, TV box

Top games, best games

  • All Time Top Games Lists with screenshots
  • Mame/Arcade Top 300 Games, Arcade video game. Altered Beast, Donkey Kong, Killer Instinct, 1942,
  • NES: The legend of Zelda, The legend of Kage
  • GBA (Nintendo): Castlevania circle of the Moon, Rayman
  • GBC: Rayman
  • Sega Genesis/Sega Mega Drive: Castle of Illusion, Ghouls and Ghosts, Road Rash 2, Streets of Rage 2, Dessert Strike, Golden Axe, Paperboy. 31 Best Sega Genesis Games Of All Time.
  • Sega Master System
  • Sega Game Gear
  • Sega Mega CD
  • SNES (Nintendo): Super metroid, Super mario world 2: Yoshi's island
  • TurboGrafx-16/PC Engine
  • NEO GEO: The King of fighters 2002, Shock Troopers, baseball stars 2, Blazing Star, (FBA42-5, arcade)
  • PS1: Tekken 3, R4: Ridge racer Type 4, Tony hawk pro skater 2, Crash team racing, Rayman
  • 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, Yoshi's story, Goldeneye 007.
  • Sega 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, Virtua Striker 2, AeroWings.
  • Atomiswave (It is based on Sega's Dreamcast system board): Metal slug 6. The location of awbios.zip depends on the Batocera version. On v35, I need to put it in "/bioc/dc" folder.
  • 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, Fighters MegaMix, Athlete Kings.
  • Sega Naomi: Crazy Taxi, Capcom Vs. SNK, Dead or Alive 2 Millennium, Marvel VS Capcom 2, Virtua Tennis 2, Wave Runners.
  • NDS (Nintendo)
  • 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, Gran Turismo
  • GameCube (Nintendo): 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. Complete Switch Controls Guide and Tips, strategywiki.org
    • Use the controller to move your character, Link, and interact with the environment.
    • Use the A button to attack and the B button to use items or perform special actions.
    • D-pad: Use the D-pad to move Link and navigate menus.
    • Joystick: Use the joystick to control the camera.
    • A button: Press the A button to attack, talk to characters, and interact with objects.
    • B button: Press the B button to use items, such as weapons and tools, and perform special actions, such as rolling and blocking.
    • Z button: Press the Z button to target enemies or objects.
    • C buttons: Use the C buttons to change the camera angle or select items from the inventory.
    • L and R buttons: Press the L and R buttons to access the inventory and select items.
    • Start button: Press the Start button to access the in-game menu and save your progress.

Civilization

  • Every Version of Sid Meier's Civilization Compared
  • Some of the emulators that can be used to play Civilization games include:
    • DOSBox: DOSBox is an emulator that allows you to run DOS-based games on modern systems. It can be used to play the original Civilization game and its expansions, as well as other DOS-based games.
    • ScummVM: ScummVM is an emulator that allows you to play point-and-click adventure games, including some of the early Civilization games.
    • OpenEmu: OpenEmu is a multi-system emulator that allows you to play games from a variety of platforms, including the original Civilization game and its expansions.
    • MAME: MAME is an emulator that allows you to play arcade games, including some of the early Civilization games that were released for arcade platforms.
    • PCSX2: PCSX2 is an emulator that allows you to play PlayStation 2 games on your PC, including Civilization: Revolution, which was released for the PlayStation 2.