Abdessamad Derraz e9f6fe43a0 refactor: split the installer into a package
install.py held 31,575 lines and 1,370 definitions in one module. Its
source is now installer/, 45 modules by concern, each importing from the
others what it uses, so ruff and mypy read every module on its own.

scripts/build_installer.py joins them back into install.py in import
order, with one block of standard library imports and the zlib and
unicodedata guard. It refuses an import from outside the standard
library, a name two modules define, an import cycle, a renamed import
and an import-time read of a name from a later module. install.py stays
one stdlib-only file for the bootstraps, the launchers and PyPI.

The split was written by a script, statement by statement: every
top-level statement of the old file is in the new one with the same AST.
Two tests that located code by its neighbour now read it by name.
2026-11-18 01:37:28 +01:00
2026-11-17 19:33:43 +01:00
…
2026-11-12 03:15:21 +01:00
2026-11-09 08:25:58 +01:00

RetroBIOS

The BIOS files emulators need, put in the right folder and checked.

Website · Get the files · A game does not start · Questions

PyPI version Validation

Some consoles need a small program, the BIOS, to start their games: PlayStation 1 and 2, Saturn, Neo Geo, Dreamcast and more. RetroBIOS installs the BIOS and firmware files for AmberELEC, Batocera, BizHawk, EmuDeck, EmuELEC, KNULLI, Lakka, MiSTer FPGA, MinUI, MyMinUI, NextUI, ROCKNIX, Recalbox, RetroArch, RetroBat, RetroDECK, RetroPie, and RomM, checked the way each one checks them.

Install in one line

Windows: open the Start menu, type PowerShell and open it. Paste this line (Ctrl+V or right-click in the window) and press Enter.

irm https://abdess.github.io/retrobios/i.ps1 | iex

Linux, macOS, Steam Deck, Android (Termux): open a terminal, paste this line and press Enter.

curl -fsSL https://abdess.github.io/retrobios/i | sh

With Python 3.8 or newer: uvx retrobios runs the same installer, and so does pipx run retrobios.

A handheld, an SD card, or not sure? Pick the device: its page gives the folder and the command. A muOS, Onion, spruceOS, MinUI, KNULLI, ROCKNIX, Lakka or MiSTer SD card plugged into the computer is found by itself.

Recording of the one-line command in a terminal, on a demonstration card. The installer finds a dArkOS or ArkOS SD card with 6 games, plans 43 BIOS files (15.1 MB) for them, installs them and shows the summary.

The installer finds the setup and its BIOS folder, installs the files it needs (only what the games need when it finds them on the card) and checks each one. Its screen installs everything, or fewer under Choose systems. Arrow keys and Enter drive it, or a controller on a handheld. It sends no report of its own (what is counted). Options go after the line in the form the installer page gives.

First time? The first install, step by step. A game does not start: what to check. Other questions: FAQ.

Or download a ZIP

The Files column counts what a pack holds once unzipped.

Setup Files Size Unzip into Download
Batocera 20,717 10.9 GB /userdata/bios/ Download
EmuDeck 16,038 8.1 GB ~/Emulation/bios/ Download
MiSTer FPGA 90 29 MB /media/fat/games/ Download
RetroArch 14,989 7.5 GB system/ Download
RetroBat 11,209 8.9 GB bios/ Download
RomM 468 831 MB library/bios/ Download

ZIPs are made for the setups most people download. The others install with the line above, and each page gives the command: AmberELEC, BizHawk, EmuELEC, KNULLI, Lakka, MinUI, MyMinUI, NextUI, ROCKNIX, Recalbox, RetroDECK, RetroPie.

Unzip into the BIOS folder, files straight in it. A big pack comes in parts (Pack.part1of2.zip): download every part (why some setups have no ZIP). Each release lists its files' SHA-256 with a signature (verifying a release).

Help

How it is built

  • 653 emulators profiled, 619 from their source code and 34 closed-source builds from their binaries: 94% of the files they load cite the file and line that reads them
  • 18 setups, each checked its own way: MD5 for Batocera and Recalbox, the file name for RetroArch, as their own code does
  • 520 systems, 22,058 files in the collection, what is still missing named file by file
  • 2,232 archives, each with a recipe that rebuilds it from the ROMs the collection holds: 1,796 byte for byte, 436 with the same files inside (rebuilding an archive)
  • Public data: JSON, CSV and SQLite, the metadata under MIT
For developers: build a pack

Packs are built from a clone, and the clone carries the collection: its checkout alone is over 7.8 GB. git clone --depth 1 https://github.com/Abdess/retrobios.git leaves the history out. Files kept as release assets are downloaded when a pack needs them. Then generate packs for any platform, emulator, or system:

python scripts/generate_pack.py --platform retroarch --output-dir dist/
python scripts/generate_pack.py --emulator dolphin
python scripts/generate_pack.py --platform batocera --required-only
python scripts/verify.py --platform batocera

Requires Python 3.9 or newer and pyyaml. The one-line installer alone runs on Python 3.8. Every tool and option: tools. How the lists are built: architecture.

Contributors

habib256 PixNyb Takiiiiiii Takiiiiiiii dajiaohuang monster-penguin zjl88858

Community tools

Contributing

See CONTRIBUTING.md for guidelines.

License

The scripts and tooling are released under the MIT License. The BIOS and firmware files are not covered by that license: they are third-party system software, preserved and provided for personal backup, archival, and interoperability with emulation software. NOTICE sets out their status and how to ask for a file to be removed. The reasoning, and where it is weakest, is in the project's legal position.

Auto-generated on 2026-11-13T13:16:23Z