Files
libretro/tests/fixtures/tui/colour-40x15.txt
T
Abdessamad Derraz e38764627b feat: remove installed files and list backups
--remove deletes for good, or moves into a backup with --backup, only what the install record proves the installer placed: unchanged bytes, a regular file below the BIOS folder reached through no link, a SHA-1 the list still serves. Shared, changed, hand-added and unservable files stay and are named. --backups lists, --delete-backup deletes, --restore now updates the record. The full screen gains More, Remove files, the removal plan, Backups and their confirms. Events removal_plan, removed, restored and backup.
2026-11-11 13:20:42 +01:00

561 lines
12 KiB
Plaintext

=== setup
^[[0;1m ^[[0;1;35mRetroBIOS^[[0;1m: Where to install?^[[0m
Found on this machine:
^[[0;7;35m > RetroArch^[[0m
KNULLI (Batocera files)
Another setup or folder
BIOS folder:
^[[0;1m/home/user/.config/retroarch/system^[[0m
ES-DE found: its BIOS files go to each
emulator, not to ES-DE itself.
^[[0;1;35mA^[[0m Continue ^[[0;2mB^[[0m Quit ^[[0;2m?^[[0m Help
=== platforms
^[[0;1m ^[[0;1;35mRetroBIOS^[[0;1m: Which setup?^[[0m
Filter: setup or device (/)
^[[0;7;35m > RetroArch^[[0m
Batocera
Recalbox
RetroBat
EmuDeck
Lakka
RetroDECK
RomM
BizHawk
MiSTer FPGA
^[[0;2m 1-10 of 34^[[0m
^[[0;1;35mA^[[0m Choose ^[[0;2mB^[[0m Back ^[[0;2m/^[[0m Filter ^[[0;2m?^[[0m Help
=== folder
^[[0;1m ^[[0;1;35mRetroBIOS^[[0;1m: Which folder?^[[0m
RetroArch usually reads its BIOS files
from:
/home/user/.config/retroarch/system
^[[0;7;35m > Use this folder^[[0m
Browse for a folder
Type a path
^[[0;1;35mA^[[0m Use this folder ^[[0;2mB^[[0m Back ^[[0;2m?^[[0m Help
=== folder-card
^[[0;1m ^[[0;1;35mRetroBIOS^[[0;1m: Where is the SD card?^[[0m
NextUI keeps its BIOS files at the
root of its SD card. Choose the
card's top folder, the one holding
.system.
No NextUI card is mounted. Insert it,
then choose Look again.
^[[0;7;35m > Browse for a folder^[[0m
Type a path
Look again
^[[0;1;35mA^[[0m Browse ^[[0;2mB^[[0m Back ^[[0;2m?^[[0m Help
=== browse
^[[0;1m ^[[0;1;35mRetroBIOS^[[0;1m: Browse for a folder^[[0m
/home/user/.config/retroarch
^[[0;7;35m > Use this folder^[[0m
..
/media/user/SDCARD (NextUI card)
cores/
system/
^[[0;1;35mA^[[0m Use this folder ^[[0;2mB^[[0m Back ^[[0;2m?^[[0m Help
=== path
^[[0;1m ^[[0;1;35mRetroBIOS^[[0;1m: Type a path^[[0m
The folder for RetroArch:
^[[0;7;35m > ~/bios_^[[0m
Ctrl-U clears. Quotes are removed, ~
and variables are expanded.
^[[0;1;35mEnter^[[0m Use this folder ^[[0;2mEsc^[[0m Back
=== create
^[[0;1m ^[[0;1;35mRetroBIOS^[[0;1m: Create the folder?^[[0m
/home/user/bios/new does not exist.
The nearest folder that does:
/home/user
^[[0;7;35m > Create it and continue^[[0m
Choose another folder
^[[0;1;35mA^[[0m Create ^[[0;2mB^[[0m Quit
=== checking
^[[0;1m ^[[0;1;35mRetroBIOS^[[0;1m: Checking^[[0m
RetroArch: ~/.config/retroarch/system
File list received.
Reading the files already in the
folder... 0:04
^[[0;1;35mB^[[0m Quit ^[[0;2mCtrl-C^[[0m Quit
=== plan
^[[0;1m ^[[0;1;35mRetroBIOS^[[0;1m: RetroArch^[[0m
^[[0;1m ^[[0;1;35m4^[[0;1m files to download, ^[[0;1;35m1.0 MB^[[0m
BIOS folder:
^[[0;1m~/.config/retroarch/system^[[0m
^[[0;7;35m > Install^[[0m
Choose systems
Copy from an old card or a folder
Details
Change
Quit
^[[0;1;35mA^[[0m Install ^[[0;2mB^[[0m Back ^[[0;2mY^[[0m Change ^[[0;2m?^[[0m Help
=== plan-in-place
^[[0;1m ^[[0;1;35mRetroBIOS^[[0;1m: RetroArch^[[0m
^[[0;1m ^[[0;1;32mEvery file on the list is in place^[[0m
BIOS folder:
^[[0;1m~/.config/retroarch/system^[[0m
^[[0;7;35m > Close^[[0m
Details
Change
^[[0;1;35mA^[[0m Close ^[[0;2mB^[[0m Back ^[[0;2mY^[[0m Change ^[[0;2m?^[[0m Help
=== systems
^[[0;1m ^[[0;1;35mRetroBIOS^[[0;1m: Choose systems^[[0m
Filter (/ to type)
[x] nintendo-gba (gba) 16.0 KB
[x] sony-playstation 1.0 MB
^[[0;7;35m > [ ] nintendo-famicom-disk in place^[[0m
All
None
^[[0;32mDone^[[0m
nintendo-famicom-disk (ファミコン): in
place
^[[0;1m ^[[0;1;35m2^[[0;1m of ^[[0;1;35m3^[[0;1m systems: ^[[0;1;35m4^[[0;1m files, ^[[0;1;35m1.0 MB^[[0m
^[[0;1;35mA^[[0m Tick ^[[0;2mB^[[0m Done ^[[0;2m?^[[0m Help
=== change
^[[0;1m ^[[0;1;35mRetroBIOS^[[0;1m: Change^[[0m
^[[0;1m What to install^[[0m
^[[0;7;35m > Preferred regions: North America, Ja^[[0m
Cores: all
Emulators: all
Game data: kept
^[[0;1m Where^[[0m
BIOS folder: ^[[0;1m~/.config...ch/system^[[0m
Copy from: none
From a pack: none
^[[0;1m For which device^[[0m
Device: every board
^[[0;2m 1-11 of 18^[[0m
^[[0;1;35mA^[[0m Open ^[[0;2mB^[[0m Back ^[[0;2m<>^[[0m Set ^[[0;2m?^[[0m Help
=== device
^[[0;1m ^[[0;1;35mRetroBIOS^[[0;1m: Device^[[0m
Choose the board, the chip of the
device the games run on. Every board
fits any device.
^[[0;7;35m > (x) h700 named by the card^[[0m
( ) bcm2711 rpi4
( ) x86_64
( ) Every board
^[[0;1;35mA^[[0m Choose ^[[0;2mB^[[0m Back ^[[0;2m?^[[0m Help
=== emulators
^[[0;1m ^[[0;1;35mRetroBIOS^[[0;1m: Emulators^[[0m
Tick the emulators to install for.
With none ticked, every emulator's
files are installed.
Filter (/ to type)
[ ] mesen
^[[0;7;35m > [x] pcsx_rearmed^[[0m
None
^[[0;32mDone^[[0m
^[[0;1;35mA^[[0m Tick ^[[0;2mB^[[0m Done ^[[0;2m?^[[0m Help
=== regions
^[[0;1m ^[[0;1;35mRetroBIOS^[[0;1m: Preferred regions^[[0m
Tick the regions to keep, best first.
Where a system has one BIOS per
region, the best one found is
installed. With none ticked, every
region's BIOS is kept.
^[[0;7;35m > [1] North America^[[0m
[ ] Japan
None
^[[0;32mDone^[[0m
^[[0;1;35mA^[[0m Tick ^[[0;2mB^[[0m Done ^[[0;2m<>^[[0m Order ^[[0;2m?^[[0m Help
=== cores
^[[0;1m ^[[0;1;35mRetroBIOS^[[0;1m: Cores^[[0m
Untick the cores not in use: the
platform's own files are always
kept, and a core with no extra file
reads only those.
^[[0;7;35m > Filter (/ to type)^[[0m
[ ] mesen 1 file, 8.0 KB
[x] pcsx_rearmed 1 file, 4 B
All
None
^[[0;32mDone^[[0m
^[[0;1;35mA^[[0m Filter ^[[0;2mB^[[0m Done ^[[0;2m?^[[0m Help
=== preview
^[[0;1m ^[[0;1;35mRetroBIOS^[[0;1m: Preview^[[0m
4 files to download, 1.0 MB. Nothing
is written.
missing 512.0 KB scph5500.bin
wrong copy 512.0 KB scph5501.bin
missing 4 B pcsx/extra.bin
missing 16.0 KB gba_bios.bin
^[[0;1;35mA^[[0m Back
=== command
^[[0;1m ^[[0;1;35mRetroBIOS^[[0;1m: Command line^[[0m
The same choice without questions:
python3 install.py \
--platform retroarch \
--dest .../retroarch/system \
--system nintendo-gba
^[[0;2m Shortened to fit this window.^[[0m
^[[0;1;35mA^[[0m Back
=== confirm
^[[0;1m ^[[0;1;35mRetroBIOS^[[0;1m: Confirm^[[0m
Counted again for these choices.
^[[0;1m ^[[0;1;35m1^[[0;1m file to download, ^[[0;1;35m16.0 KB^[[0m
BIOS folder: ^[[0;1m~/.co.../retroarch/system^[[0m
^[[0;7;35m > Install^[[0m
Back
^[[0;1;35mA^[[0m Install ^[[0;2mB^[[0m Back ^[[0;2m?^[[0m Help
=== installing
^[[0;1m ^[[0;1;35mRetroBIOS^[[0;1m: Installing^[[0m
[^[[0;1;35m###############^[[0;2m----------------^[[0m] 50%
528.0 KB of 1.0 MB
128.9 KB/s, 0:04 left
2 of 4 files
B, Ctrl-C or Select+Start stops. What
is done stays done.
^[[0;1;31mFAILED^[[0m scph5500.bin (HTTP 404)
^[[0;1;35mB^[[0m Stop ^[[0;2m?^[[0m Help
=== result
^[[0;1m ^[[0;1;35mRetroBIOS^[[0;1m: ^[[0;1;31mFinished with errors^[[0m
^[[0;1m ^[[0;1;32m3 installed^[[0;1m, ^[[0;1;31m1 failed^[[0;1m.^[[0m
BIOS folder:
^[[0;1m/home/user/.config/retroarch/system^[[0m
^[[0;1;31mfailed:^[[0m scph5500.bin (HTTP 404)
Run it again to retry only those.
The files it replaced are kept in
/home/user/.config/retroarch/
retrobios-backup/2026-10-23_1200
Log: /tmp/retrobios-x/install.log
^[[0;1;35mA^[[0m Exit ^[[0;2mY^[[0m Details
=== error
^[[0;1m ^[[0;1;35mRetroBIOS^[[0;1m: ^[[0;1;31mSomething went wrong^[[0m
Could not fetch the file list for
retroarch after 3 attempts: [Errno
-2] Name or service not known
Address:
https://raw.githubusercontent.com/
Abdess/retrobios/main/install/
retroarch.json
^[[0;7;35m > Choose another setup or folder^[[0m
Quit
^[[0;1;35mA^[[0m Choose ^[[0;2mB^[[0m Back
=== quit
^[[0;1m ^[[0;1;35mRetroBIOS^[[0;1m: Quit?^[[0m
Quit without installing? Nothing was
written.
^[[0;7;35m > Quit^[[0m
Stay
^[[0;1;35mA^[[0m Quit ^[[0;2mB^[[0m Stay
=== help
^[[0;1m ^[[0;1;35mRetroBIOS^[[0;1m: Keys^[[0m
Up/Down, k/j Move
A/Enter, Start Install
Y, o, Tab Change
d Details
B/Esc, Backspace Back
q, Ctrl-C Quit
?, F1 This help
BIOS folder:
^[[0;1m/home/user/.config/retroarch/system^[[0m
Any key closes this help
=== plan-games
^[[0;1m ^[[0;1;35mRetroBIOS^[[0;1m: RetroArch^[[0m
^[[0;1m ^[[0;1;35m4^[[0;1m files to download, ^[[0;1;35m1.0 MB^[[0m
BIOS folder:
^[[0;1m~/.config/retroarch/system^[[0m
^[[0;7;35m > Install^[[0m
For the games on this card: yes 412
Only what starts: no
Show the games
Choose systems
Copy from an old card or a folder
Details
Change
Quit
^[[0;1;35mA^[[0m Install ^[[0;2mB^[[0m Back ^[[0;2mY^[[0m Change ^[[0;2m?^[[0m Help
=== games
^[[0;1m ^[[0;1;35mRetroBIOS^[[0;1m: Games on this card^[[0m
412 games in /media/user/SDCARD/Roms,
398 recognised by their content.
sony-playstation (PS): 400 games, 390
recognised, every region
nintendo-gba (GBA): 12 games, 8
recognised, Europe only
Every BIOS of their system kept, so
that they start:
GBA/demo.gba: not recognised
GBA/hack.gba: not recognised
^[[0;1;35mA^[[0m Back
=== plan-details
^[[0;1m ^[[0;1;35mRetroBIOS^[[0;1m: Details^[[0m
^[[0;32m1 in place^[[0m, ^[[0;33m3 missing^[[0m, ^[[0;33m1 wrong copy^[[0m
The ^[[0;33m1 wrong copy^[[0m is replaced, the old
one kept in a backup folder.
Free space: 50.0 GB
^[[0;1;35mA^[[0m Back
=== result-details
^[[0;1m ^[[0;1;35mRetroBIOS^[[0;1m: Details^[[0m
To put them back: python3 install.py \
--restore .../2026-10-23_1200
^[[0;2m Shortened to fit this window.^[[0m
Same choice without questions:
python3 install.py \
--platform retroarch \
--dest .../retroarch/system
^[[0;2m Shortened to fit this window.^[[0m
^[[0;1;35mA^[[0m Back
=== plan-record
^[[0;1m ^[[0;1;35mRetroBIOS^[[0;1m: RetroArch^[[0m
^[[0;1m ^[[0;1;35m1^[[0;1m file to download, ^[[0;1;35m16.0 KB^[[0m
BIOS folder:
^[[0;1m~/.config/retroarch/system^[[0m
^[[0;7;35m > Install^[[0m
Same choice as on 3 Nov: yes
Choose systems
Copy from an old card or a folder
Change where
Details
Change
More
Quit
^[[0;1;35mA^[[0m Install ^[[0;2mB^[[0m Back ^[[0;2mY^[[0m Change ^[[0;2m?^[[0m Help
=== more
^[[0;1m ^[[0;1;35mRetroBIOS^[[0;1m: More^[[0m
^[[0;7;35m > Remove files^[[0m
Backups
Put back a backup
Delete a backup
^[[0;1;35mA^[[0m Open ^[[0;2mB^[[0m Back ^[[0;2m?^[[0m Help
=== remove
^[[0;1m ^[[0;1;35mRetroBIOS^[[0;1m: Remove files^[[0m
Choose what to remove. A file changed
or added by hand stays.
^[[0;7;35m > All RetroBIOS files 528.0 KB^[[0m
nintendo-gba 16.0 KB
sony-playstation 512.0 KB
^[[0;1;35mA^[[0m Choose ^[[0;2mB^[[0m Back ^[[0;2m?^[[0m Help
=== removal
^[[0;1m ^[[0;1;35mRetroBIOS^[[0;1m: Remove files^[[0m
2 files go, 512.0 KB freed.
BIOS folder:
^[[0;1m~/.config/retroarch/system^[[0m
1 file stays: 1 changed since it was
installed.
^[[0;7;35m > Remove 512.0 KB^[[0m
Keep a backup: no --backup
Details
^[[0;1;35mA^[[0m Remove ^[[0;2mB^[[0m Back ^[[0;2m?^[[0m Help
=== removal-confirm
^[[0;1m ^[[0;1;35mRetroBIOS^[[0;1m: Confirm^[[0m
Remove 2 files for good? 512.0 KB is
freed.
^[[0;7;35m > Remove^[[0m
Back
^[[0;1;35mA^[[0m Confirm ^[[0;2mB^[[0m Back ^[[0;2m?^[[0m Help
=== removal-done
^[[0;1m ^[[0;1;35mRetroBIOS^[[0;1m: ^[[0;1;32mDone^[[0m
^[[0;1m Removed ^[[0;1;35m2^[[0;1m files, ^[[0;1;35m512.0 KB^[[0;1m freed.^[[0m
BIOS folder: ^[[0;1m~/.co.../retroarch/system^[[0m
^[[0;7;35m > Close^[[0m
Check again
^[[0;1;35mA^[[0m Close ^[[0;2mB^[[0m Back ^[[0;2m?^[[0m Help
=== backups
^[[0;1m ^[[0;1;35mRetroBIOS^[[0;1m: Backups^[[0m
Newest first.
^[[0;7;35m > 3 Nov 12:00 2 files, 512.0 KB^[[0m
20 Oct 09:30 1 file, 16.0 KB
Back
^[[0;1;35mA^[[0m Choose ^[[0;2mB^[[0m Back ^[[0;2m?^[[0m Help