plan_games, _plan_game_folder, _swap_in and _write_verified read by stage, _fill_pack takes its pack as one tuple, check_lines its folder reads as CheckHeld. LocalCopy, PackPart and Unreadable become plain classes: their index and count fields shadowed the tuple methods. Openers of ZIP members are typed IO[bytes].
Stage helpers for the standalone folder install and copies, the line
menu's Enter line, keys and answers, the games document reads and the
game reader; type the menu choice, the card rows and the byte order.
pyproject.toml now carries the ruff rule set: pyflakes, the B rules,
simplify, perf, pyupgrade, complexity and size limits. This commit
applies the fixes that change no behavior and the small defects the
first run named:
- tests/test_install.py used argparse without importing it
- three loops rebound the outer `profile` with each layout
(packextras, slots, verify); the loop variable is now `layout`
- profile_sync loops shadowed dataclasses.field
- generate_readme and packextras computed values nothing read
- stale noqa markers for rules the project does not enforce
Complexity, size and the remaining findings are handled next.
Game data is the player's own, and a file the emulator installs for the build that reads it is no gap: neither is listed. A platform entry leaves when every core reading it installs it (validation.deliverable, scoped by the platform's build of each core).
The platform table mixes sets and dicts, so mypy read it as
Collection[Any] and rejected the setdefault and the folder argument
that b3a510995 added. The narrowed folder set is a name of its own,
since it can be None. Nine baseline entries go with it.
File name, size, CRC32, MD5 and SHA1, a header row per system, firmware and required first, filtered by name or hash. Each name links its emulator card, else its setup page. Rows carry no upload button: the drop box does that. wanted.json keeps only what the table and the drop box read.
The wanted list puts firmware first, then game data, labels each row, and leaves out what no one can share (the profile's reason: user written, emulator written, per person). validate_pr.placement() takes a file known by name alone to its system's folder or the directory it declares, never beside a homonym held for another system.
The wanted page lists every file the gaps report lacks, hashless ones included and marked, by system and most useful first, each with its own upload button to the folder validate_pr.placement() gives. Steps from a file in hand to its merge, copy without personal pronouns, list address versioned against stale caches.
The Wanted files link in the header of every page adds about 80 bytes a
page. Batocera, AmberELEC, RomM and RetroArch ran over their byte
budget on Validation of aada55e65; each budget is now the size of its
pages on the site deployed from that commit.
A Wanted files link sits in the bar on every page and every width, beside the search and menu buttons on a phone, current on its own page. Below 27rem the site name is kept for screen readers only. files/ and wanted/ link each other in one line.
Files dropped on wanted/ are hashed in the browser and compared with the files the gaps page reports the collection lacks. A wanted file gets a link to GitHub's upload page for the folder validate_pr asks for, and the name to give it. The gaps page upload link reads the same rule.
MD5 and CRC32 take the file piece by piece, so a large file keeps the page responsive. The lookup and the wanted page read the same code, checked against hashlib and zlib.
placement() decides the folder and name of a file not under bios/ yet, so the wanted page and the gaps page send an upload where the review asks for it. A declared file whose name the collection holds now gets the .variants/ slot beside it.
boot-data.zip, host-quit and whdload_db.json now carry the bytes the pinned revision ships; the older copies stay under .variants/. The optional WHDBoot libraries are collected at the paths Amiberry installs them to, with the hashes of the members of the pinned Aminet archives (MMULib is unpinned and carries none).
GitHub cannot name the license of LICENSE, which opens on its scope,
and the Python floor is in the install text. The row keeps the PyPI
version and the validation status.
RetroDECK presets LRPS2's pcsx2_bios option to scph10000.bin: LRPS2
now names that label, the SCPH-10000 v1.00 image (ROMVER
0100JC20000117). melonDS 1.1, the Flathub build EmuDeck installs,
imports melonDS.ini when melonDS.toml is absent, which proves the
EmuDeck record. ares lists the settings.bml keys of its MSX2, PC
Engine CD and SuperGrafx CD firmware.
Each removed file has the same bytes as another file the collection
keeps. Every platform and profile entry resolves to the same content
before and after, and every installer list gives the same sha1 to every
destination. Copies that alone carry a hashless name, sit in a tree
addressed by path (game data, directory entries), or would leave a
system folder empty are kept. Three identity exemptions no longer apply.
RetroBat's PCSX2 launcher lists SCPH-39001_BIOS_V7_USA_160.BIN,
SCPH-39004_BIOS_V7_EUR_160.BIN and SCPH-70000_BIOS_V12_JAP_200.BIN
without a hash. Each label is now a PCSX2 entry found by content and
identified by the image its model names (ROMVER 0160AC20020207,
0160EC20020319, 0200JC20040614). The SCPH-70004 label leaves the
generic entry, which mapped it to the v2.30 USA image.
The openMSX system ROMs split the MSX system page in two, and nine
AmberELEC files now link to microsoft-msx-2 instead of microsoft-msx:
two bytes each, 546,403 bytes on the built site of 82d134cd8. The
Markdown of both AmberELEC pages differs from 750a6eb8e by those links
alone.
generate_report_excerpt.py rewrote wiki/reading-reports.md with
write_text, which test_atomic_artifacts refuses for a generator: an
interrupted run left a truncated page. It now goes through
write_text_atomic like the other generators.
The RetroDECK excerpt of wiki/reading-reports.md went stale with every
file the collection gained, three times on 2026-11-12. It now sits
between generated markers, and generate_report_excerpt.py writes it from
verify.py --platform retrodeck at pipeline step 7 (--check reports a
stale block).
Modules run side by side by run_tests.py each started pipelines or
generators that hold the repository root, and the second was refused:
four modules failed on the busy lock in a full run. tests/__init__ names
a scratch folder in RETROBIOS_REPOSITORY_LOCK_DIR, and artifact_lock
takes a repository root's lock there, keyed by the root's path so a
scratch checkout and its child find the same one. Real runs are
unchanged.
Kickstart 1.0 (A1000, NTSC), 1.3 (A3000, SK), 1.4 and 2.04 (A3000),
3.2 (Walker) and The Diagnostic 2.0 (Logica), each one an entry of
Amiberry's ROM table (rommgr.cpp) the collection lacked. Read from the
Amiga Forever 11.2.4 Plus installer: its ROMs are XORed with a 1,426-byte
key of their own, recovered from the held Kickstart 3.1 (A1200), and each
file matches the sha1 Amiberry declares.
The committed exports had drifted from what export_native writes after
the rescrapes of 2026-11-09, and the manifests are regenerated with the
database that holds the nms8245 disk rom.
nms8245_disk.rom is now held at the hash openMSX accepts, so it leaves
the known unsatisfied profile hashes, and the RetroDECK excerpt counts
one more core file packed. Batocera's density budget names the release
assets the deployed site restores: four more files on its pages, the
Markdown of its 13 pages the same size as on 2026-11-11.
validate.yml and pr_checks.py run scripts/run_tests.py with four jobs,
the runner's cores: 24 minutes here for the suite that took about 40 in
one process. A failed module's tracebacks are printed in the summary, as
a runner keeps no log file. The two scripts added today follow the rules
the suite holds every script to (no abbreviated option, run_cli, every
option documented), and the two isolation tests drop the per-module
scratch variable to check the folder a module gets alone.
A ROM an emulator embeds sits at an undocumented offset of its
executable, installer or archive. find_embedded tries every offset with a
rolling crc32 (a 29 MB executable in about 3 seconds), reads ZIP members
and walks folders. A hit stays a candidate until --sha1 confirms it, and
--extract writes only a confirmed one, to tmp/acquire/.
scripts/run_tests.py runs one process per test module, a few at once,
longest first from the last run's durations. Each module gets its own
scratch folder (RETROBIOS_TEST_SCRATCH, read by tests/__init__), so none
shares the installer cache, the probe lock or a fixed name below it, and
none inherits what another left set. A module killed by a signal runs
again alone: on this host a segfault is the host until it fails alone.
Software Heritage archives every public forge, deleted repositories
included, and serves a file by its sha1 or sha256. auto_fetch asks it
before archive.org (step 3b), and --sha1 looks files up without a
platform: the database first, then Software Heritage and archive.org's
per-file metadata. What it finds is re-hashed and written to
tmp/acquire/, never into bios/.
RetroBat launches Philips_NMS_8245 and lists its four ROMs. The profile
named only the sub ROM; Philips_NMS_8245.xml also reads
nms8245_basic-bios2.rom and nms8245_disk.rom by sha1.