Commit Graph
2548 Commits
Author SHA1 Message Date
Abdessamad Derraz b1e8de7124 feat: show the wanted list as a plain table
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.
2026-11-13 19:54:20 +01:00
Abdessamad Derraz 6ce6469d25 feat: rank unread platform files after firmware
A file a platform lists and no core it runs reads (verify's unread category) comes after firmware and before game data, labelled on its row.
2026-11-13 19:00:17 +01:00
Abdessamad Derraz b3a5109955 fix: place hashless files by their own system
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.
2026-11-13 18:34:13 +01:00
Abdessamad Derraz 3fd61df038 feat: list every wanted file with its upload
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.
2026-11-13 17:38:34 +01:00
Abdessamad Derraz fda0806bad fix: keep the wanted page copy in the house style 2026-11-13 15:59:32 +01:00
Abdessamad Derraz c4f746e2d5 chore: merge the wanted files page 2026-11-13 12:26:49 +01:00
Abdessamad Derraz e6738e591b feat: put the wanted page in the site header
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.
2026-11-13 12:26:18 +01:00
Abdessamad Derraz 4a9317cb4c feat: add the wanted page
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.
2026-11-13 10:45:18 +01:00
Abdessamad Derraz b18e478db0 refactor: share the placement rule of validate_pr
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.
2026-11-13 10:45:12 +01:00
Abdessamad Derraz 849722ef18 fix: report a large file only when no name answers 2026-11-13 10:41:09 +01:00
Abdessamad Derraz 9d8dcb1634 docs: keep the readme badges that say something
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.
2026-11-13 06:40:13 +01:00
Abdessamad Derraz 9c2d931b12 chore: drop 241 byte-identical bios copies
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.
2026-11-13 04:30:05 +01:00
Abdessamad Derraz 37aadbd4e0 fix: write the verify excerpt whole
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.
2026-11-12 18:56:41 +01:00
Abdessamad Derraz 16b452bf3c feat: write the verify excerpt from a real run
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).
2026-11-12 17:19:13 +01:00
Abdessamad Derraz c61cc21d88 fix: take the repository hold in the test scratch
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.
2026-11-12 16:29:58 +01:00
Abdessamad Derraz abbfebff3e feat: run the CI suite as parallel processes
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.
2026-11-12 15:36:46 +01:00
Abdessamad Derraz fb33ee58e1 feat: find a file stored inside others by crc32
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/.
2026-11-12 13:56:46 +01:00
Abdessamad Derraz bdfa2be849 chore: merge the dependency updates 2026-11-12 13:49:49 +01:00
Abdessamad Derraz 754b1c29d2 chore: merge the expert installer options 2026-11-12 13:49:49 +01:00
Abdessamad Derraz b0c311fb06 feat: run the test suite as parallel processes
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.
2026-11-12 13:47:13 +01:00
Abdessamad Derraz 10bd70bca4 feat: look files up by hash in Software Heritage
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/.
2026-11-12 13:47:13 +01:00
Abdessamad Derraz 8e125e1d18 chore: move the type check to mypy 2.4.1
mypy 2 checks against Python 3.10 at the oldest, so the target moves
there; install.py's 3.8 floor stays held by vermin. Of the errors it
reports, three were new rather than reworded. A list of links reused the
name of the page list in the same function, a tuple key was spelled with
a star unpack mypy 2.4 misreads, and torrentzip's Sink took bytes where a
bytearray is passed. The baseline is synced to the new wording.
2026-11-12 12:35:38 +01:00
Abdessamad Derraz 750a6eb8e6 chore: merge the expert installer options 2026-11-12 11:05:07 +01:00
Abdessamad Derraz f3d5ab2f36 chore: group --misplaced in the options glance 2026-11-12 11:03:24 +01:00
Abdessamad Derraz 56df7ec1ec refactor: add the truth list beside the manifest
generate_manifest is one build again, so the gap report runs once per
build. generate_install_list adds the --source truth build and the
standalone layouts, and --manifest writes through it. The schema check
test skips without jsonschema.
2026-11-12 11:03:24 +01:00
Abdessamad Derraz ef67119bc7 fix: publish no standalone layout on the site
The layouts are fetched from the repository like the lists, and the
site's API copies would be the only documents without a commit.
2026-11-12 11:03:24 +01:00
Abdessamad Derraz a35b75304b fix: name exit code 4 in the agents guide 2026-11-12 11:03:24 +01:00
Abdessamad Derraz 7d6efc3522 feat: lead with dArkOS, which replaced ArkOS
ArkOS was archived on 30 December 2025 and points its users to dArkOS,
and JELOS has reached its end of life. The handheld guide lists dArkOS
first with the devices of its latest release, and marks ArkOS and JELOS
as no longer updated, citing each project's own page. A card read from
a computer is called dArkOS or ArkOS, since both write the same EASYROMS
tree. The demos are recorded on dArkOS.
2026-11-12 07:28:22 +01:00
Abdessamad Derraz 180aca1c63 fix: close the expert option review findings
Change offers Standalone version of it only without a region, core or
system choice, and a later such choice turns it off in one line.
--find refuses --pack, --add-app, --standalone-copies, --romm-firmware
and --from. Every --find --json match carries every key, null where
absent, and a hash with no one file ends on code 4. A slot claim that
is no object, and a truth-only omission, are checked at the boundary.
truth_files: null reads as no list. Each name a group gives a file is
looked up apart (slot also), and --installed-cores ranks a slot by the
cores found.
2026-11-12 07:12:20 +01:00
Abdessamad Derraz c710069b65 fix: list --misplaced in the options glance 2026-11-12 06:49:23 +01:00
Abdessamad Derraz 62abea3ed4 chore: type the standalone layout check 2026-11-12 05:01:09 +01:00
Abdessamad Derraz 9cb9fec49e refactor: keep standalone layouts in a file apart
The layouts every list carried grew the download of each run by up
to 30% for an option few use. They now live in
install/standalone/<platform>.json, written by the same --manifest run
and fetched only by a run given --standalone, beside --manifest first.
The list names the builds (standalone_builds). A missing, unreachable
or invalid file stops --standalone on one line, code 1.
2026-11-12 04:41:22 +01:00
Abdessamad Derraz 2060673b44 feat: add expert narrowing to the installer
--one-per-slot, --emulator NAME --standalone, --source truth and
--find HASH (with --json), each replaying the pack builder's option of
the same name from the list. Change offers One BIOS per console and
region and Standalone version of it. A combination the builder refuses,
or a list without the fields, is refused. Parity against the real packs
of every registered platform in tests/test_install_expert.py.
2026-11-12 04:03:46 +01:00
Abdessamad Derraz 3b2157d981 feat: record slots and truth in install lists
Each entry a slot decides carries its groups and the claims of every
emulator at each lookup key, so the installer replays --one-per-slot
on any board. The full list marks what the --source truth list lacks
and carries what only it holds, and records per emulator the files of
its standalone build. slot.py keeps the claims unmerged beside the
index it builds from them.
2026-11-12 04:03:36 +01:00
Abdessamad Derraz 4e50d4edf8 chore: merge origin/main 2026-11-11 23:03:14 +01:00
Abdessamad Derraz 8d87f28cdc fix: name the platforms' neo geo on the site
snk-neogeo and neogeo now resolve to the Neo Geo section: their own
names and parents, or the site stops on a system with no name. The Neo
Geo rows of AmberELEC and Batocera name every emulator that reads the
set, and their page ceilings follow (1,311 words, 546,385 and 1,396,380
bytes).
2026-11-11 22:20:19 +01:00
Abdessamad Derraz 0441237dd6 fix: let the platforms' neo geo reach its cores
Platforms file their one Neo Geo system as snk-neogeo (RetroDECK as
neogeo), and once FB Alpha 2012 used snk-neogeo-mvs no profile met it.
Both spellings are now aliases of snk-neogeo-mvs: every Neo Geo core
keeps the system, and a --target board with FBNeo or MAME keeps its
files. Manifests and games index regenerated.
2026-11-11 22:02:16 +01:00
Abdessamad Derraz ac71be8644 chore: merge the site test fix 2026-11-11 21:31:22 +01:00
Abdessamad Derraz 411874ac44 fix: read a one-of group as one start file
PicoDrive's Mega CD names became required members of one group on
2026-11-09, and the start line named each beside the bios_CD_E.bin every
other emulator reads. A group's members are one requirement: the line
names the member most emulators require, the search order breaking a tie.
2026-11-11 21:31:00 +01:00
Abdessamad Derraz 733b059712 chore: merge origin/main
# Conflicts:
#	install.ps1
#	install.sh
#	install/launchers/index.json
#	wiki/testing-guide.md
2026-11-11 19:35:01 +01:00
Abdessamad Derraz f05a9a2889 fix: type the board choices for mypy 2026-11-11 17:43:21 +01:00
Abdessamad Derraz 2e1f70af1e docs: describe making a pack 2026-11-11 17:22:51 +01:00
Abdessamad Derraz 209dc1b662 chore: pin the installer and write the pack event 2026-11-11 17:22:51 +01:00
Abdessamad Derraz f218998f59 chore: merge the removal and backups from main 2026-11-11 15:35:44 +01:00
Abdessamad Derraz a51f3d7f43 fix: name the removal options on the site
The options glance gains a Remove and put back group, the testing guide names test_install_removal, install.py declares _REPARSE_POINT once, and the type baseline drops three errors this change resolved.
2026-11-11 15:34:48 +01:00
Abdessamad Derraz 3bebf75da5 chore: merge the last MAME fixes 2026-11-11 15:23:57 +01:00
Abdessamad Derraz bad9a7f601 feat: follow a clone to its parent set
MAME's search path for a set is the set and every ancestor
(src/emu/driver.cpp:31-38, src/emu/romload.cpp:67-84 at mame0289), so
a clone reads the ROMs it shares with its parent from the parent's
archive. games/arcade/<profile>.json now records, under parents, each
parent game set with ROMs and the clones whose romof chain reaches it
before any BIOS set, and rom_search_sets adds them to what a command
reads. The installer's index leaves them out, as it does the sources.

arcade_parent_importer --all is re-run: every profile gains parents,
and mame0258, mame0278, mame2010, mame2015, mame2016 and fbneo also
gain the sources their committed files lacked.

Manifests, EmuDeck and RetroDECK only: videopac.zip reaches
roms/odyssey2 beside i8244.zip, electron.zip roms/electron, and the 35 parent
sets the profile holds (a7800, apple2e, intv, videopac and others)
reach arcade, consolearcade and mame, the folders whose command starts
any machine. verify --all keeps its severity and status counts.
2026-11-11 15:21:10 +01:00
Abdessamad Derraz 114afee41b feat: move a config read at the pin with it
A profile following the branch tip (pin_follows) can carry a
config_reads entry read at the build a platform installs, which is
the pin itself: advmame's retropie entry reads advmame.rc at 96237a5.
bump_commit now advances such a revision with source_commit, and
leaves every other revision (another platform's build) alone.
2026-11-11 14:59:37 +01:00
Abdessamad Derraz 88dff3af82 fix: keep the space between two tags in MDX pages
MDX reads a line of tags alone as JSX and drops the space between
them: the RetroDECK page, written as MDX for its tabs, read
"2007/2008Coverage". mdx_safe writes that space as {" "}, which MDX
keeps. Checked against satteri's mdxToHast, not on a built site.
2026-11-11 14:58:10 +01:00
Abdessamad Derraz cb7700a594 fix: read AdvanceMAME's dir_rom list on RetroPie
RetroPie writes dir_rom $romdir/mame-advmame:$romdir/arcade into the
rc of each AdvanceMAME build (advmame.sh:100, configure_advmame being
called by the 1.4 and 0.94 modules too). _search_list_in_roms split
every list on ';', so the line was dropped and the sets landed at the
BIOS root, where no build reads them.

Each program's separator is now read from its own code: AdvanceMAME
strtoks dir_rom on file_dir_separator(), ':' on Linux, in the three
builds RetroPie ships (advance/linux/file.c:138-141, advance/osd/
fileio.c:696-699 at 96237a5, 685-688 at advancemame-1.4, 640-643 in
advancemame-0.94.0). MAME splits on ';' (src/emu/fileio.cpp:56, 64,
112 at mame0289). RetroPie is rescraped at 427e762: the three
passes_path records are its only change.

advmame, advmame-1.4 and advmame-0.94 carry a retropie config_reads
for dir_rom, read at the build RetroPie installs (96237a5, the tag
advancemame-1.4 its tarball matches, the 0.94.0 tarball). The 1.4 and
0.94 profiles gain the dir_rom pool and a path for each set, and 0.94
a pin_build on rp_module_repo.

Manifests: on RetroPie 55 sets of the three builds move from the BIOS
root to roms/mame-advmame, the first folder of the list, which every
game started from either folder reads. Seven archives other cores
share stay at the root for them. No other platform changes. verify
--all keeps its severity and status counts.
2026-11-11 14:57:12 +01:00