mirror of
https://github.com/Abdess/retroarch_system.git
synced 2026-10-10 13:33:24 -05:00
A destination can be declared by more than one system, bare in one and hash-constrained in another. generate_pack resolves that with _preferred_entries so the constrained sibling claims the destination; generate_manifest never did, and named whatever answered to the name. RetroDECK's bios/d2fdc.zip is the case: declared with an md5 in the arcade system and bare under apple-ii. The pack carried the right archive, 262 bytes reached through the MAME clone map, while the manifest sent install.py to a 256-byte Apple II ROM. Downloading the ZIP and running the installer gave different files. A test now hashes every manifest entry a platform pins and compares it against what the platform declares: 3295 entries, on the platforms whose frontend reads the bytes. It accepts any of several declarations for one destination, the member-composite MD5 Recalbox pins for arcade archives, and Batocera's 29-character prefixes. Reinstating the old manifest entry fails it.