Commit Graph
5302 Commits
Author SHA1 Message Date
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 afeebc71b0 fix: describe every slot field in the schemas 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 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 62abea3ed4 chore: type the standalone layout check 2026-11-12 05:01:09 +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 5b023493b2 chore: move standalone layouts out of the lists
From two equal runs of generate_pack.py --all --manifest with every
release asset on disk. Files and omissions are unchanged.
2026-11-12 04:41:23 +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 03f80eb570 chore: add slot and truth fields to install lists
Taken from two equal runs of generate_pack.py --all --manifest with
every release asset on disk. Files and omissions are unchanged.
2026-11-12 04:04:10 +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 0cfab18899 docs: record release v2026.11.11 v2026.11.11 2026-11-12 03:15:21 +01:00
Abdessamad Derraz b1ff6c762e chore: fail a launcher test that leaves a process
A launcher left behind by a test kept running into the modules after it,
and once for two days after the run that started it. Each simulated
device now waits 6 s after its other cleanups for anything carrying its
FAKE_STATE, kills what is left and fails the test naming it.
2026-11-12 02:25:00 +01:00
Abdessamad Derraz 106d13add1 chore: merge the termux folder fix 2026-11-12 00:39:08 +01:00
Abdessamad Derraz 06aeace091 fix: skip emulator folders closed to this user
Termux on Android 11 cannot look into another app's Android/data
folder. The standalone-copy probes called Path.is_dir() there, and
PermissionError stopped the run after the install. Closed folders now
count as absent, and --standalone-copies names them as skipped.
2026-11-12 00:38:30 +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 4e50d4edf8 chore: merge origin/main 2026-11-11 23:03:14 +01:00
Abdessamad Derraz c6a0bd3f35 docs: count the neo geo aes and mvs apart
ares now lists snk-neogeo-aes and snk-neogeo-mvs: the README counts 521
systems, as list_systems does.
2026-11-11 23:02:36 +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 da223cd5ed fix: let the site tests read mdx pages
Pages with tabs are written as MDX. The tests read .md alone and skipped
eleven checks in silence on the SNK, Sega and Nintendo pages, which hid
the two defects above. The ares Neo Geo check follows its profile: ares
reads neogeo.zip itself (desktop-ui/emulator/arcade.cpp:456-464).
2026-11-11 21:31:00 +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 9691b55ef4 fix: name the neo geo sets by their canonical ids
ares filed aes.zip and neogeo.zip under neo-geo, an id no other profile
uses: the site found no section for the sets, and nine neogeo.zip cards
sat on the Arcade pages. FB Alpha 2012 wrote neogeo, the only profiles a
platform's snk-neogeo matched: with --target, a board without them lost
the platform's Neo Geo files whatever FBNeo or MAME it carries. Both now
use snk-neogeo-aes and snk-neogeo-mvs. Manifests and games index regenerated.
2026-11-11 21:30:55 +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 3234f071fa chore: merge making a pack 2026-11-11 18:40:54 +01:00
Abdessamad Derraz 35fce543c1 chore: merge the bubblewrap retry from main 2026-11-11 18:40:17 +01:00
Abdessamad Derraz 3a42791f25 chore: retry bubblewrap and run fetches after it
No Ubuntu mirror resolved on two runs: the bubblewrap step failed, and
setup-node, npm ci and both fetches were skipped, so the suite failed on
missing data trees and astro. apt now retries each file and the whole
install once more after 30 s, and the four steps that do not need the
sandbox run unless the job is cancelled. The sandbox step still fails
the job, and its tests already skip naming the missing bwrap.
2026-11-11 18:27:15 +01:00
Abdessamad Derraz b6495f3d59 docs: describe how a pack takes its name 2026-11-11 18:06:16 +01:00
Abdessamad Derraz ba2df77698 fix: swap a pack in whole and name its platform
The earlier pack of the name is set aside while the new files take their names and put back if one cannot, so the folder never holds a mix of parts. A scratch file that cannot be deleted is named, and a cleanup that fails keeps a written pack at exit 0. Only a file whose marker or manifest names the pack is removed, each one said. Each member is deflated at level 9 and the ZIP is read back with testzip. The space check counts the largest data tree archive. A pack name that spells another platform is refused, and the reader trusts the platform the manifest names.
2026-11-11 18:06:16 +01:00
Abdessamad Derraz d1615e3f61 chore: count the new MSX and ScummVM refs 2026-11-11 17:58:42 +01:00
Abdessamad Derraz 5dc714a353 chore: raise two page budgets for MAME readers 2026-11-11 17:53:25 +01:00
Abdessamad Derraz 9648755729 chore: record the source trees of new pins 2026-11-11 17:43:21 +01:00
Abdessamad Derraz 9d53b24eab chore: link namco-na1 and sega-model1 in tests 2026-11-11 17:43:21 +01:00
Abdessamad Derraz f05a9a2889 fix: type the board choices for mypy 2026-11-11 17:43:21 +01:00
Abdessamad Derraz 139c087bd7 docs: describe the offered_boards fields 2026-11-11 17:43:21 +01:00
Abdessamad Derraz e090894511 fix: write advancemame's version as describe does 2026-11-11 17:43:21 +01:00
Abdessamad Derraz 475b6acf83 fix: keep case variants and types in a pack run 2026-11-11 17:41:53 +01:00
Abdessamad Derraz c8bbf900a6 chore: merge the install.py spacing from main 2026-11-11 17:39:01 +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 6e1df7b694 chore: merge origin/main 2026-11-11 17:17:52 +01:00
Abdessamad Derraz 92462effc6 feat: make a pack from the installer
--pack downloads the narrowed choice into a pack ZIP laid out as --from-pack reads it, the list narrowed to the choice inside. Every member is checked against its SHA-1 before the ZIP is closed, and a failure leaves no file behind. --split writes parts that are each a whole ZIP, and a pack past 4 GB on a FAT32 drive is split by itself. More on the plan holds Make a pack, its plan and its result. Event pack.
2026-11-11 17:17:42 +01:00
Abdessamad Derraz 85bcfca125 chore: keep two blank lines before _is_link
e38764627 left three blank lines after the record function, and
test_install_tui's two-blank-lines check failed Validation. The pins of
install.sh and install.ps1 and the launcher index follow the new hash.
2026-11-11 17:08:13 +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
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