Commit Graph
1019 Commits
Author SHA1 Message Date
Abdessamad Derraz b5cfa9179f refactor: drop the unused deterministic zip writer 2026-11-21 05:59:58 +01:00
Abdessamad Derraz 5af8936ef8 docs: list the scraper network tests 2026-11-20 20:35:43 +01:00
Abdessamad Derraz 200f785f67 docs: name the listxml and line index tests 2026-11-20 20:03:20 +01:00
Abdessamad Derraz 7cd499531d refactor: share scraper and launcher helpers
BaseScraper reads JSON once (_fetch_json, json_object), every scraper files its requirements through systems_from_requirements, and the batocera-systems readers (Batocera, KNULLI, AmberELEC, EmuELEC) inherit CheckBiosScraper. Launcher modules share one Launcher record, one LauncherPatternMissing and one link_record. DAT importers build provenance entries from LogiqxDat.
2026-11-20 18:28:33 +01:00
Abdessamad Derraz c6bd6db563 docs: list the Switch NCA test in the guide 2026-11-20 08:17:08 +01:00
Abdessamad Derraz e1cbf79415 feat: collect the Switch firmware NCAs
The yuzu family reads its firmware from nand/system/Contents/registered/,
which EmuDeck links from bios/<emulator>/firmware and RetroBat places in
the emulator folder. The 229 NCAs of the held firmware zip are now kept
loose under that tail, so the directory entries resolve and the packs
and install lists carry them. Each NCA is named after the first 16 bytes
of its SHA-256, the comparison the firmware install runs, and a test
holds every committed NCA to it. The NCAs are committed, so the entries
no longer claim release storage.
2026-11-20 05:36:15 +01:00
Abdessamad Derraz 7623ead3db feat: rank search pages by clicks lost
Search Console rows are merged across page anchors. The expected click
rate is the site's own rate at each rounded position, so a search is
flagged when clicked less than half of it. A by-page table ranks pages
by clicks lost, with changes against the period before. Each section
states its period, and release downloads show the change since the
snapshot the previous run left in .cache/insights/.
2026-11-19 16:51:32 +01:00
Abdessamad Derraz 022591a67e fix: settle three validation checks
The retrodeck games fallback is computed from the manifests and went
stale with the data tree manifest change. Two docstrings carried clause
semicolons. The install run test read bytes_done as the sum of finished
files, but it counts every byte arrived, a file still in transfer
included, as progress does; the test now checks that bound and the doc
says it.
2026-11-19 16:11:49 +01:00
Abdessamad Derraz ff69210b18 feat: pin forge data trees, follow nightly ones
A data tree whose source names a revision is fetched at the commit its
branch points to and listed at that commit, whose bytes never change.
A source with no revision (the buildbot's nightly assets) is marked
rolling: the installer writes each listed file as the source serves it,
checked against its ZIP CRC-32, as RetroArch's own downloader does, and
the install record keeps it in place on the next run. The PPSSPP list
refused 49 of 169 files after each buildbot rebuild.
2026-11-19 08:59:42 +01:00
Abdessamad Derraz a9c0dcac3c fix: ship the archive covering a twin md5 pin
RetroDECK pins bios/cdibios.zip and bios/stvbios.zip twice, the older
MAME set for its mame component and the full set for the RetroArch
core. The first pin in system order shipped the smaller set, which
current MAME rejects (cdi.cpp:922 needs the slave MCU ROM). The archive
whose members cover the other now ships: it serves both readers.
2026-11-19 06:33:17 +01:00
Abdessamad Derraz e9181d6ce2 docs: name every scripts package in the tree 2026-11-19 03:09:58 +01:00
Abdessamad Derraz 39e10db75c docs: name the functions by their public names 2026-11-18 22:59:51 +01:00
Abdessamad Derraz 88581cf95d docs: name the unattended package 2026-11-18 21:32:47 +01:00
Abdessamad Derraz 7ae6996133 docs: name the release and installer packages
The scripts/ tree of the architecture page lists the three packages the
release, installer build and repository check tools now live in.
2026-11-18 20:44:20 +01:00
Abdessamad Derraz fa408c4299 docs: name the probe modules where they live 2026-11-18 20:38:29 +01:00
Abdessamad Derraz 3bfd72ba7f refactor: name the recipe package romrecipes 2026-11-18 20:20:46 +01:00
Abdessamad Derraz 959ffd6fdd docs: name the recipes and acquire packages 2026-11-18 19:58:21 +01:00
Abdessamad Derraz dc4fb652a6 docs: point the site build and pages at sitegen 2026-11-18 19:31:28 +01:00
Abdessamad Derraz 1f8e106974 docs: name the packs modules 2026-11-18 13:47:56 +01:00
Abdessamad Derraz 6465bd99b1 docs: name the shared scraper and export modules 2026-11-18 13:38:44 +01:00
Abdessamad Derraz c2f8daf0f4 docs: name the profiling package in tools 2026-11-18 12:49:28 +01:00
Abdessamad Derraz b688f41a5a docs: name the modules that replaced common.py
The wiki, the platforms README and two comments named common.py, and
the installer's region table named scripts/region.py. tools.md lists
core/, model/ and resolve/ where it listed common.py, and the testing
guide names test_layers. install.py is rebuilt from installer/ and its
pins rewritten.
2026-11-18 11:43:36 +01:00
Abdessamad Derraz c764d9abf1 refactor: split the leaf modules libraries use
model.region holds the region vocabulary, resolve.regions the selection
that needs the cores a platform runs. The libraries behind identity.py,
retired_files.py and torrentzip.py move to resolve.identity,
model.retired and core.torrentzip, with their long docstrings; the
commands stay where they are run from. The source_ref parts that cite a
config or feature file move from scraper.shell_launchers to
resolve.launcherrefs, so resolve no longer imports the scraper package.
2026-11-18 11:39:47 +01:00
Abdessamad Derraz c784aef883 refactor: move leaf modules into packages
core: hashing, artifacts, ziptools, deterministic_zip, romdir, sect233r1,
crypto_verify, paths (REPO_ROOT). model: safeparse (needs yaml),
dumpcatalog, largefiles, alternatives. resolve: nativemode, validation,
launchers, slot, truth, gamedata, and exporter/baseline.py and
exporter/candidates.py as resolve/reconcile.py and resolve/categories.py,
which truth and gamedata read.

Every importer follows. Modules one level deeper read the repository
root from core.paths instead of __file__.
2026-11-18 10:50:45 +01:00
Abdessamad Derraz 23d8a770f1 docs: map the installer modules by concern
wiki/architecture.md groups the modules of installer/, and a test holds the table to the package and each module to a one-line docstring.
2026-11-18 02:55:56 +01:00
Abdessamad Derraz 9b0c7a390c docs: word the installer build line for the site 2026-11-18 02:29:34 +01:00
Abdessamad Derraz e10c14935a docs: say install.py is built from installer/
The installer page, the tool list, the testing guide and the
architecture tree name the package, the build script and its check.
2026-11-18 01:37:38 +01:00
Abdessamad Derraz 8f1b88bb7e chore: lint with ruff in CI, drop mypy baseline
The code now carries no type error and no ruff finding. CI runs mypy
bare and ruff with the rule set of pyproject.toml; pr_checks.py and
the contribution guide list both. The baseline and its tooling go.
2026-11-17 15:28:11 +01:00
Abdessamad Derraz aada55e656 chore: regenerate data for the amiga files 2026-11-13 15:59:33 +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 d6c61e9959 fix: prove three launcher reads from code
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.
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 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 865f56b539 chore: write manifests and games index again
The manifests, the games-on-card fallback lists and the README follow
the database with the six Amiga Forever ROMs and the 73 openMSX ROMs.
2026-11-12 16:53:35 +01:00
Abdessamad Derraz 68cd495fdc feat: add six Amiga ROMs from Amiga Forever
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.
2026-11-12 16:29:58 +01:00
Abdessamad Derraz 3e218b15df fix: record the collection after the nms8245 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.
2026-11-12 15:36:46 +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 750a6eb8e6 chore: merge the expert installer options 2026-11-12 11:05:07 +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 9361900771 docs: quote the current verify and release output
The RetroDECK verify excerpt in reading-reports.md predated the
launcher and placement counts, and release-process.md quoted v2026.10.10
sizes, so both checks skipped where they should have run. The two
Launcher lines get their shapes and a sentence on what they count.
2026-11-12 05:21:06 +01:00
Abdessamad Derraz 07dd93604d chore: merge origin/main
Takes --remove --misplaced. The pins are written again for the merged
install.py, the launcher index and installer doc regenerated.
2026-11-12 04:42:27 +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 058c3a1152 feat: remove misplaced copies of installed files
--remove --misplaced deletes a copy only under the name of a file the
installer placed and still holds: beside it in another case, or at the
top of a folder the list fills for a file below. Renamed copies, game
data, links, second names and folders without an installed file stay.
Another setup whose list cannot be read stops the removal.
2026-11-12 04:32:56 +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 26f11bbb3f docs: say what a pack would hold
"would go in", said three times about --dry-run, put the installer page above which-pack for "where do bios files go" in the search check.
2026-11-12 00:38: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 b6495f3d59 docs: describe how a pack takes its name 2026-11-11 18:06:16 +01:00
Abdessamad Derraz 2e1f70af1e docs: describe making a pack 2026-11-11 17:22:51 +01:00
Abdessamad Derraz a004e56220 chore: regenerate data for the release 2026-11-11 16:47:26 +01:00
Abdessamad Derraz f218998f59 chore: merge the removal and backups from main 2026-11-11 15:35:44 +01:00