RetroPie

From 太極
Revision as of 18:47, 13 November 2022 by Brb (talk | contribs) (→‎Retro Pocket 2)
Jump to navigation Jump to search

Retro Game Console/Emulator

Resource

RetroArch

Emulators

ROM

How to play/instructions

Hardware

Top 5 Mini PCs Of 2022 | $40-$499 The Best Small For Factor Computers You Can Buy 2022/6. 6th/7th gen i5/i7 is good for PS2/3DS/Wii GameCube and below. New CPU includes N5105, Ryzen 7 4800U (PS3 OK).

Emulation Station

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

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

PC

LaunchBox

Android emulation

iOS

How to Install Emulators for iPhone Using 4 Easy Methods

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
    
  • Can you enable rumble in JELOS?
  • 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.

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, Ghouls and Ghosts, Road Rash 2, Streets of Rage 2, Dessert Strike, Golden Axe, Paperboy. 31 Best Sega Genesis Games Of All Time.
  • 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

Civilization

Every Version of Sid Meier's Civilization Compared