RetroDECK checks each manifest entry against its own md5 list, one row
per entry, the file found under its exact basename
(api_data_processing.sh:304-313, 322-339, 350-361 at 0.10.10b). The
scraper kept the first entry per system and case-folded name and
dropped 22: FBNeo's decocass.zip, pgm.zip, skns.zip beside MAME's, two
64DD_IPL.bin revisions, and the lowercase MSX, PC-98 and PC-88 files
that are other files on its Linux filesystem (MSX2P.rom's one md5 is
the first of MSX2P.ROM's list). Only the same name, path and hashes is
a repeat now. Rescraped at components fcd0d729, manifest regenerated.
A name and system held one entry of ours: the first of the three
64DD_IPL.bin revisions answered for all, and a correction to another
revision was written nowhere. Each platform entry now takes the entry of
ours sharing its hash, and an appended revision is known by identity.
Two declarations of one system on one path (RetroDECK's decocass.zip
for MAME and for FBNeo, both arcade) read "declared for arcade and for
arcade". The message names each side by the platform's own system, and
by the hash the path holds when that is the same too.
dedup ranked copies by path_priority (variant, MAME, Arcade, length) while the scan picked the primary by _takes_primary (variant, emulator tree, walk order). Given sms.rom under bios/Other/zesarux/ and bios/Sega/Master System/, dedup removed the indexed copy and kept the foreign-tree one the resolver sets aside. Both now read collection.scan.primary_rank. The rank reproduces every primary of the current database.json, so the index does not move; dedup's tie-break follows the walk order instead of MAME and path length.
data_directory_members printed a warning and filled a process-wide set
that the pack, the manifest and the step 5 comparison all fed. It now
reports each uncached tree through uncached_out. The platform pack and
the manifest print the warning and add the tree to the run's account,
as the emulator pack already did with data_dir_notices, and
generate_pack names what it wrote: a --manifest run no longer ends on
'packs written without data directories'.
The provenance CSV rebuilt the catalog report and refiltered derivable
dumps on its own. The site builds the report once, wanted_dumps takes the
derivable dumps out without mutating it, and the page, its CSV and the
gaps page read that one result. Rows checked identical on the real data
(2,302 before and after).
The badge refiltered coverage details for missing required firmware and
ignored hle_fallback: a required file the core replaces by HLE is INFO in
verify and passes --strict, yet showed as a red required gap. The count
now comes from severity_counts through packs.verdicts.blocking_missing.
RomM skipped an unmapped IGDB slug and RetroDECK a second component's
conflicting MD5 with a stderr warning only: the rescrape exited 0, the
rewritten file showed no diff and check_freshness said OK.
An unmapped slug now fails the RomM scrape. A deliberate drop goes in
BaseScraper.dropped, scraper_cli prints it under DROPPED_PREFIX, and the
freshness rescrape reports an otherwise unchanged platform UNKNOWN.
fetch_pack refilled one fbneo-dats folder for whatever revision was
asked, and the offline arcade import rebuilt its paths by hand: a parent
map labelled with the profile's pin could be read from another commit's
DATs. The folder is now fbneo-dats/<sha>, and cached_pack() next to
fetch_pack is the offline read, raising NotCached.
find_bios_sets keyed each BDF_BOARDROM set by its driver name, so the
15 console entries (msx.zip, coleco.zip, gba.zip...) never matched the
hash cache. The archive is now what GetZipName opens, through one
zip_name() that arcade_parent_importer shares. The RomDesc comes from
the struct's RomInfo field and decimal sizes are read: ngp, isgsm,
midssio, channelf, ym2608 and the five DSP sets had no ROM.
collect_all_aliases opened platforms/ and emulators/ from paths fixed to
the working directory while declarations took them as parameters, so a
build walked every YAML twice. read_declarations now reads both once,
reports unreadable sources, and hands the alias pass and the proven-name
index their entries. generate_db gains --platforms-dir and
--emulators-dir and refuses a missing one.
preserve_large_file_entries mixed the keep-or-drop rule with a download,
a write into bios/ and a SystemExit. The rule is now surviving_entries,
the restore a separate step that receives offline, and read_database
raises DatabaseUnreadable that the build turns into exit 1. generate_db
gains --offline, which pipeline --offline passes to step 1.
probes.content holds where test games live (content_root, the main
checkout's .cache/test-content) and that a game is checked against its
identity.json before it runs (ready_folder). campaign, pack_probe and
region_check all go through it. region_check ran a game without the
identity check and looked for games and cores in the current tree,
which a linked worktree does not have.
packprobe looked the main checkout up at import, running git: the
content root and core cache are now computed when a run needs them.
system_titles read the site's installed sections, loaded from the repository's database.json and profiles, so a manifest built with --db and --emulators-dir titled its systems from another collection. The lookup now takes the console sections, and the manifest builds them from its own db, bios folder and profiles.
build_target_cores_cache printed its INFO notes itself, so expected_pack_names wrote notes about platforms nobody asked for. The notes come back with the cache and target_scope, the command-line wrapper, prints them.
resolve_platform_cores and offer_boards read the RetroArch and platform
targets under the repository, whatever --platforms-dir a run was given,
behind a process-long cache. load_platform_config now records the
directory it read (_platforms_dir), the resolver reads targets from it,
the cache is keyed on that directory, and downloadable_on takes it from
its callers. The key is kept out of the published registry export.
without_profile_blind and platforms_with_systems printed and exited from
the resolve layer. Under verify --all --region --json the left-out notice
went to stdout ahead of the document, which no longer parsed. Both now
return a RunScope, and packs/runscope.py prints the notices where the
command asks (stderr under --json) and ends a refused run with exit 1.
The site permalinks read only source and upstream, so a profile whose
forge is gone (yuzu answers 451) linked nothing although profile_sync
judged it through its source_mirror. declared_repositories, pin_field
and the declared pin now live in model.profilerepos, read by both.
dump_setup moves next to scrape_setup, so readers of the setup format
no longer import the command. base_scraper names its dumper
PlatformDumper, and the command writes through write_if_changed.
rp_registerModule sources the script: the id, section, flags and repo
are top-level assignments, the last one wins. The platform, target,
launcher, rom folder and export readers each kept their own pattern;
they now share module_fields. Same ids and flags over the 287
scriptmodules at 427e7621.
check_buildbot_system --update ran scripts/refresh_data_dirs.py by a
relative path and without --registry: the refresh read the default
registry, and outside the repository root the child was not found and
every updated entry was reported failed. The command now refreshes in
process through packs.datadirs.refresh_keys with the registry it
checked; buildbot_system keeps the check and its selectors.