mirror of
https://github.com/Abdess/retroarch_system.git
synced 2026-11-22 17:47:48 -06:00
fix: keep every md5 retrodeck manifests declare
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.
This commit is contained in:
1 parent
c68a63b7ca
commit
e8704a793e
5 files changed
+905
-122
No files matched your search
+328
-93
@@ -7,7 +7,7 @@
|
||||
"platform": "retrodeck",
|
||||
"display_name": "RetroDECK",
|
||||
"version": "0.10.10b",
|
||||
"generated": "2026-11-13T11:31:17Z",
|
||||
"generated": "2026-11-20T03:39:07Z",
|
||||
"base_destination": "",
|
||||
"detect": [
|
||||
{
|
||||
@@ -2365,10 +2365,10 @@
|
||||
}
|
||||
}
|
||||
],
|
||||
"total_files": 12197,
|
||||
"total_size": 10572282384,
|
||||
"pack_files": 16110,
|
||||
"pack_size": 10688969670,
|
||||
"total_files": 12216,
|
||||
"total_size": 10573616128,
|
||||
"pack_files": 16129,
|
||||
"pack_size": 10690303414,
|
||||
"total_omitted": 340,
|
||||
"omitted_files": [
|
||||
{
|
||||
@@ -7898,7 +7898,8 @@
|
||||
"pc8800"
|
||||
],
|
||||
"nec-pc-98": [
|
||||
"pc98"
|
||||
"pc98",
|
||||
"pc9800"
|
||||
],
|
||||
"nec-pc-engine": [
|
||||
"pcengine",
|
||||
@@ -14717,29 +14718,6 @@
|
||||
],
|
||||
"truth": false
|
||||
},
|
||||
{
|
||||
"dest": "bios/decocass.zip",
|
||||
"sha1": "5c5f300f3ab2bd10e2adf4dd96baa78317578d8d",
|
||||
"sha256": "fb7051f8864f10d5a1079bd63fe3ceab88cd8c394024b69fc773eb709bc3493a",
|
||||
"size": 13225,
|
||||
"repo_path": "bios/Arcade/Arcade/.variants/decocass.zip.5c5f300f",
|
||||
"cores": null,
|
||||
"systems": [
|
||||
"arcade"
|
||||
],
|
||||
"alternatives": [
|
||||
{
|
||||
"sha1": "1b33cf0e730a6cde96479b0face108b6931d433e",
|
||||
"sha256": "bd86d293abab2e816d307626cdd793e2da2ed69c4124bf92f7e7eca69f9a5096",
|
||||
"size": 22379,
|
||||
"repo_path": "bios/Arcade/Arcade/decocass.zip",
|
||||
"cores": [
|
||||
"fbalpha2019"
|
||||
]
|
||||
}
|
||||
],
|
||||
"truth": false
|
||||
},
|
||||
{
|
||||
"dest": "bios/dectalk_isa.zip",
|
||||
"sha1": "c0c4ee9868d14ddf234a0639bd389f8a568931a7",
|
||||
@@ -23450,29 +23428,6 @@
|
||||
],
|
||||
"truth": false
|
||||
},
|
||||
{
|
||||
"dest": "bios/skns.zip",
|
||||
"sha1": "44bc8180dca3dfdf1b461268919da8efb2e3fb07",
|
||||
"sha256": "43e0385c53f004a8eb08a2075957b28a852883c29917ba88ecefc68c11753400",
|
||||
"size": 783788,
|
||||
"repo_path": "bios/Arcade/Arcade/.variants/skns.zip.44bc8180",
|
||||
"cores": null,
|
||||
"systems": [
|
||||
"arcade"
|
||||
],
|
||||
"alternatives": [
|
||||
{
|
||||
"sha1": "4257bd14b541fafbd555cb98ba079a3416a45934",
|
||||
"sha256": "6edf22c68e70be06c9b32741e0d1df1aa38cf6fc162c1027c15d6c1d882f621b",
|
||||
"size": 924762,
|
||||
"repo_path": "bios/Arcade/Arcade/skns.zip",
|
||||
"cores": [
|
||||
"fbalpha2019"
|
||||
]
|
||||
}
|
||||
],
|
||||
"truth": false
|
||||
},
|
||||
{
|
||||
"dest": "bios/sms_diypaddle.zip",
|
||||
"sha1": "bc9f567b606b8e88cfd88564c8f02f832ea0016a",
|
||||
@@ -26427,6 +26382,51 @@
|
||||
],
|
||||
"truth": false
|
||||
},
|
||||
{
|
||||
"dest": "bios/decocass.zip",
|
||||
"sha1": "30b97b2670b79d0de41cba190324c504846c6fa1",
|
||||
"sha256": "ff29929e3e094459f6358a5a3ca4d2dabe64f64e2cade0faa407969d83e096bf",
|
||||
"size": 16107,
|
||||
"repo_path": "bios/Arcade/Arcade/.variants/decocass.zip.30b97b26",
|
||||
"cores": null,
|
||||
"systems": [
|
||||
"arcade"
|
||||
],
|
||||
"alternatives": [
|
||||
{
|
||||
"sha1": "1b33cf0e730a6cde96479b0face108b6931d433e",
|
||||
"sha256": "bd86d293abab2e816d307626cdd793e2da2ed69c4124bf92f7e7eca69f9a5096",
|
||||
"size": 22379,
|
||||
"repo_path": "bios/Arcade/Arcade/decocass.zip",
|
||||
"cores": [
|
||||
"fbalpha2019"
|
||||
]
|
||||
}
|
||||
],
|
||||
"truth": false
|
||||
},
|
||||
{
|
||||
"dest": "bios/skns.zip",
|
||||
"sha1": "4257bd14b541fafbd555cb98ba079a3416a45934",
|
||||
"sha256": "6edf22c68e70be06c9b32741e0d1df1aa38cf6fc162c1027c15d6c1d882f621b",
|
||||
"size": 924762,
|
||||
"repo_path": "bios/Arcade/Arcade/skns.zip",
|
||||
"cores": null,
|
||||
"systems": [
|
||||
"arcade"
|
||||
],
|
||||
"alternatives": [
|
||||
{
|
||||
"sha1": "4257bd14b541fafbd555cb98ba079a3416a45934",
|
||||
"sha256": "6edf22c68e70be06c9b32741e0d1df1aa38cf6fc162c1027c15d6c1d882f621b",
|
||||
"size": 924762,
|
||||
"repo_path": "bios/Arcade/Arcade/skns.zip",
|
||||
"cores": [
|
||||
"fbalpha2019"
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"dest": "bios/coleco.zip",
|
||||
"sha1": "db2190922f359f19b47f8270fa87a7c1b38f5b2b",
|
||||
@@ -28843,7 +28843,28 @@
|
||||
"repo_path": "bios/Microsoft/MSX/DISK.ROM",
|
||||
"cores": null,
|
||||
"systems": [
|
||||
"microsoft-msx"
|
||||
"microsoft-msx",
|
||||
"nec-pc-88"
|
||||
],
|
||||
"declared_choices": [
|
||||
{
|
||||
"sha1": "032cb1c1c75b9a191fa1230978971698d9d2a17f",
|
||||
"sha256": "31740a761447d7590c304338d389b0ae114546a8b9f79c9ffd5e374f80b7d354",
|
||||
"size": 16384,
|
||||
"repo_path": "bios/Microsoft/MSX/DISK.ROM",
|
||||
"systems": [
|
||||
"microsoft-msx"
|
||||
]
|
||||
},
|
||||
{
|
||||
"sha1": "bb7103a0818850a039c67ff666a31ce49a8d516f",
|
||||
"sha256": "9dc63118728a171ce2ed437ad38ef280b8b7bcf4a5a95fedf18946501b010456",
|
||||
"size": 2048,
|
||||
"repo_path": "bios/NEC/PC-88/N88SUB.ROM",
|
||||
"systems": [
|
||||
"nec-pc-88"
|
||||
]
|
||||
}
|
||||
],
|
||||
"alternatives": [
|
||||
{
|
||||
@@ -29169,6 +29190,18 @@
|
||||
],
|
||||
"truth": false
|
||||
},
|
||||
{
|
||||
"dest": "bios/FMPAC.rom",
|
||||
"sha1": "9d789166e3caf28e4742fe933d962e99618c633d",
|
||||
"sha256": "3cfe44646b69a622656b96305f1b975f48ca018839f7946895f7a1352d9720aa",
|
||||
"size": 65536,
|
||||
"repo_path": "bios/Microsoft/MSX/FMPAC.ROM",
|
||||
"cores": null,
|
||||
"systems": [
|
||||
"microsoft-msx"
|
||||
],
|
||||
"truth": false
|
||||
},
|
||||
{
|
||||
"dest": "bios/GCVMX80.ROM",
|
||||
"sha1": "977fed1135b6cc73e765b47f51570fc00acd5b79",
|
||||
@@ -29193,6 +29226,18 @@
|
||||
],
|
||||
"truth": false
|
||||
},
|
||||
{
|
||||
"dest": "bios/KANJI.rom",
|
||||
"sha1": "5aff2d9b6efc723bc395b0f96f0adfa83cc54a49",
|
||||
"sha256": "d87ce758a7171870a2a3e7893e09cbba2bd68ee70b4d0f0e49dd2ecd60aafdd1",
|
||||
"size": 262144,
|
||||
"repo_path": "bios/Microsoft/MSX/openmsx/fs-a1wsx_kanjifont.rom",
|
||||
"cores": null,
|
||||
"systems": [
|
||||
"microsoft-msx"
|
||||
],
|
||||
"truth": false
|
||||
},
|
||||
{
|
||||
"dest": "bios/MICROSOLDISK.ROM",
|
||||
"sha1": "f59d33311c95edc0168445f74eddd8a6772aa6a0",
|
||||
@@ -29265,6 +29310,18 @@
|
||||
],
|
||||
"truth": false
|
||||
},
|
||||
{
|
||||
"dest": "bios/MSX2EXT.rom",
|
||||
"sha1": "5c1f9c7fb655e43d38e5dd1fcc6b942b2ff68b02",
|
||||
"sha256": "6c6f421a10c428d960b7ecc990f99af1c638147f747bddca7b0bf0e2ab738300",
|
||||
"size": 16384,
|
||||
"repo_path": "bios/Microsoft/MSX/MSX2EXT.ROM",
|
||||
"cores": null,
|
||||
"systems": [
|
||||
"microsoft-msx"
|
||||
],
|
||||
"truth": false
|
||||
},
|
||||
{
|
||||
"dest": "bios/MSX2FREXT.rom",
|
||||
"sha1": "792e6b2814ab783d06c7576c1e3ccd6a9bbac34a",
|
||||
@@ -29373,6 +29430,18 @@
|
||||
],
|
||||
"truth": false
|
||||
},
|
||||
{
|
||||
"dest": "bios/MSX2PEXT.rom",
|
||||
"sha1": "fe0254cbfc11405b79e7c86c7769bd6322b04995",
|
||||
"sha256": "36000685128f95ff515a128973f8d439116c1a1a8e38c1777293a428894434a2",
|
||||
"size": 16384,
|
||||
"repo_path": "bios/Microsoft/MSX/MSX2PEXT.ROM",
|
||||
"cores": null,
|
||||
"systems": [
|
||||
"microsoft-msx"
|
||||
],
|
||||
"truth": false
|
||||
},
|
||||
{
|
||||
"dest": "bios/MSX2PMUS.rom",
|
||||
"sha1": "6354ccc5c100b1c558c9395fa8c00784d2e9b0a3",
|
||||
@@ -29385,6 +29454,18 @@
|
||||
],
|
||||
"truth": false
|
||||
},
|
||||
{
|
||||
"dest": "bios/MSX2P.rom",
|
||||
"sha1": "e90f80a61d94c617850c415e12ad70ac41e66bb7",
|
||||
"sha256": "ca45b50d49a8199a2b8f74300556367a776df1bb28bf8af24d33e65f0fe37a99",
|
||||
"size": 32768,
|
||||
"repo_path": "bios/Other/msx-emu/Machines/Shared Roms/MSX2P.rom",
|
||||
"cores": null,
|
||||
"systems": [
|
||||
"microsoft-msx"
|
||||
],
|
||||
"truth": false
|
||||
},
|
||||
{
|
||||
"dest": "bios/MSX2R2.ROM",
|
||||
"sha1": "04990aa1c3a3fc7294ec884b81deaa89832df614",
|
||||
@@ -29409,6 +29490,18 @@
|
||||
],
|
||||
"truth": false
|
||||
},
|
||||
{
|
||||
"dest": "bios/MSX2.rom",
|
||||
"sha1": "6103b39f1e38d1aa2d84b1c3219c44f1abb5436e",
|
||||
"sha256": "4bc4ae85ca5f28246cd3e7b7e017d298ddd375603657f84ef2c7954bc2d9b919",
|
||||
"size": 32768,
|
||||
"repo_path": "bios/Microsoft/MSX/MSX2.ROM",
|
||||
"cores": null,
|
||||
"systems": [
|
||||
"microsoft-msx"
|
||||
],
|
||||
"truth": false
|
||||
},
|
||||
{
|
||||
"dest": "bios/MSX2R.rom",
|
||||
"sha1": "0f851ee7a1cf79819f61cc89e9948ee72a413802",
|
||||
@@ -29577,6 +29670,18 @@
|
||||
],
|
||||
"truth": false
|
||||
},
|
||||
{
|
||||
"dest": "bios/MSX.rom",
|
||||
"sha1": "e998f0c441f4f1800ef44e42cd1659150206cf79",
|
||||
"sha256": "1c85dac5536fa3ba6f2cb70deba02ff680b34ac6cc787d2977258bd663a99555",
|
||||
"size": 32768,
|
||||
"repo_path": "bios/Microsoft/MSX/MSX_8020-20bios.rom",
|
||||
"cores": null,
|
||||
"systems": [
|
||||
"microsoft-msx"
|
||||
],
|
||||
"truth": false
|
||||
},
|
||||
{
|
||||
"dest": "bios/MSXR.rom",
|
||||
"sha1": "4f3114e96d7b892911e3dccf1eece712be26f396",
|
||||
@@ -29793,6 +29898,18 @@
|
||||
],
|
||||
"truth": false
|
||||
},
|
||||
{
|
||||
"dest": "bios/fmpac.rom",
|
||||
"sha1": "9d789166e3caf28e4742fe933d962e99618c633d",
|
||||
"sha256": "3cfe44646b69a622656b96305f1b975f48ca018839f7946895f7a1352d9720aa",
|
||||
"size": 65536,
|
||||
"repo_path": "bios/Microsoft/MSX/FMPAC.ROM",
|
||||
"cores": null,
|
||||
"systems": [
|
||||
"microsoft-msx"
|
||||
],
|
||||
"truth": false
|
||||
},
|
||||
{
|
||||
"dest": "bios/phc-70fd2_basickun.rom",
|
||||
"sha1": "22b3191d865010264001b9d896186a9818478a6b",
|
||||
@@ -30078,6 +30195,18 @@
|
||||
],
|
||||
"truth": false
|
||||
},
|
||||
{
|
||||
"dest": "bios/N88.ROM",
|
||||
"sha1": "3b31fc68fa7f47b21c1a1cb027b86b9e87afbfff",
|
||||
"sha256": "cf0b48f5541f5efd54a006d1a6042dd7ce613ccc69e13f2f41ca678569b5d650",
|
||||
"size": 32768,
|
||||
"repo_path": "bios/NEC/PC-88/.variants/N88.ROM.3b31fc68",
|
||||
"cores": null,
|
||||
"systems": [
|
||||
"nec-pc-88"
|
||||
],
|
||||
"truth": false
|
||||
},
|
||||
{
|
||||
"dest": "bios/N88SUB.ROM",
|
||||
"sha1": "bb7103a0818850a039c67ff666a31ce49a8d516f",
|
||||
@@ -30090,6 +30219,18 @@
|
||||
],
|
||||
"truth": false
|
||||
},
|
||||
{
|
||||
"dest": "bios/N88N.ROM",
|
||||
"sha1": "5b922ed9de07d2a729bdf1da7b57c50ddf08809a",
|
||||
"sha256": "11c3c727d7d12d0c7e044dd02ce154a5715bd7a2b8a9007132645962c7803881",
|
||||
"size": 32768,
|
||||
"repo_path": "bios/NEC/PC-88/.variants/N88N.ROM.5b922ed9",
|
||||
"cores": null,
|
||||
"systems": [
|
||||
"nec-pc-88"
|
||||
],
|
||||
"truth": false
|
||||
},
|
||||
{
|
||||
"dest": "bios/N80.ROM",
|
||||
"sha1": "5b922ed9de07d2a729bdf1da7b57c50ddf08809a",
|
||||
@@ -30114,6 +30255,18 @@
|
||||
],
|
||||
"truth": false
|
||||
},
|
||||
{
|
||||
"dest": "bios/N88_0.ROM",
|
||||
"sha1": "d239c26ad7ac5efac6e947b0e9549b1534aa970d",
|
||||
"sha256": "290286a513c39af02581481958b8f1291c0ee8409b3940ae808352e0c3a2e2f8",
|
||||
"size": 8192,
|
||||
"repo_path": "bios/NEC/PC-88/N88EXT0.ROM",
|
||||
"cores": null,
|
||||
"systems": [
|
||||
"nec-pc-88"
|
||||
],
|
||||
"truth": false
|
||||
},
|
||||
{
|
||||
"dest": "bios/N88EXT1.ROM",
|
||||
"sha1": "8528eef7946edf6501a6ccb1f416b60c64efac7c",
|
||||
@@ -30126,6 +30279,18 @@
|
||||
],
|
||||
"truth": false
|
||||
},
|
||||
{
|
||||
"dest": "bios/N88_1.ROM",
|
||||
"sha1": "8528eef7946edf6501a6ccb1f416b60c64efac7c",
|
||||
"sha256": "bbb6283a0810eb4468909a364ccbc6d9cec51024aa0a2afa2e72a7af6d23049b",
|
||||
"size": 8192,
|
||||
"repo_path": "bios/NEC/PC-88/N88EXT1.ROM",
|
||||
"cores": null,
|
||||
"systems": [
|
||||
"nec-pc-88"
|
||||
],
|
||||
"truth": false
|
||||
},
|
||||
{
|
||||
"dest": "bios/N88EXT2.ROM",
|
||||
"sha1": "b7c8bcea219b77d9cc3ee0efafe343cc307425d1",
|
||||
@@ -30138,6 +30303,18 @@
|
||||
],
|
||||
"truth": false
|
||||
},
|
||||
{
|
||||
"dest": "bios/N88_2.ROM",
|
||||
"sha1": "b7c8bcea219b77d9cc3ee0efafe343cc307425d1",
|
||||
"sha256": "ad0f26064f44718eedd0103fde3d41bd29e60317680611e784dc9c1943e7574b",
|
||||
"size": 8192,
|
||||
"repo_path": "bios/NEC/PC-88/N88EXT2.ROM",
|
||||
"cores": null,
|
||||
"systems": [
|
||||
"nec-pc-88"
|
||||
],
|
||||
"truth": false
|
||||
},
|
||||
{
|
||||
"dest": "bios/N88EXT3.ROM",
|
||||
"sha1": "efce0b51cab9f0da6cf68507757f1245a2867a72",
|
||||
@@ -30150,6 +30327,30 @@
|
||||
],
|
||||
"truth": false
|
||||
},
|
||||
{
|
||||
"dest": "bios/N88_3.ROM",
|
||||
"sha1": "efce0b51cab9f0da6cf68507757f1245a2867a72",
|
||||
"sha256": "8580fecc6574b40a082aaf227afc3c1dbd06f333ba7549278ff73647b02b2303",
|
||||
"size": 8192,
|
||||
"repo_path": "bios/NEC/PC-88/N88EXT3.ROM",
|
||||
"cores": null,
|
||||
"systems": [
|
||||
"nec-pc-88"
|
||||
],
|
||||
"truth": false
|
||||
},
|
||||
{
|
||||
"dest": "bios/N88KNJ1.ROM",
|
||||
"sha1": "82e11a177af6a5091dd67f50a2f4bafda84d6556",
|
||||
"sha256": "7608040cffb1951e5cc567abb63f75b5746777a1ba96196c1b75606b793bb4bb",
|
||||
"size": 131072,
|
||||
"repo_path": "bios/NEC/PC-88/KANJI1.ROM",
|
||||
"cores": null,
|
||||
"systems": [
|
||||
"nec-pc-88"
|
||||
],
|
||||
"truth": false
|
||||
},
|
||||
{
|
||||
"dest": "bios/KANJI1.ROM",
|
||||
"sha1": "82e11a177af6a5091dd67f50a2f4bafda84d6556",
|
||||
@@ -30354,6 +30555,54 @@
|
||||
],
|
||||
"truth": false
|
||||
},
|
||||
{
|
||||
"dest": "bios/font.rom",
|
||||
"sha1": "78ba9960f135372825ab7244b5e4e73a810002ff",
|
||||
"sha256": "8db165d567e13bce3f50ee495975671faa5a0ff332dcb08e187aa91125c81ec6",
|
||||
"size": 288768,
|
||||
"repo_path": "bios/NEC/PC-98/font.rom",
|
||||
"cores": null,
|
||||
"systems": [
|
||||
"nec-pc-98"
|
||||
],
|
||||
"truth": false
|
||||
},
|
||||
{
|
||||
"dest": "bios/BIOS.ROM",
|
||||
"sha1": "910fae6763c0cd59b3957b6cde479c72e21f33c1",
|
||||
"sha256": "2c2684d21ca44ab022d294a42709083ebe53f678e66b96c0ddd48f06aa5c869d",
|
||||
"size": 98304,
|
||||
"repo_path": "bios/NEC/PC-98/.variants/BIOS.ROM.910fae67",
|
||||
"cores": null,
|
||||
"systems": [
|
||||
"nec-pc-98"
|
||||
],
|
||||
"truth": false
|
||||
},
|
||||
{
|
||||
"dest": "bios/SOUND.ROM",
|
||||
"sha1": "34137c287c39c44300b04ee97c1e6459bb826b60",
|
||||
"sha256": "4db8274393f8267db83665bbb70be8efb83201818dff3ad76c11f451be96a803",
|
||||
"size": 16384,
|
||||
"repo_path": "bios/NEC/PC-98/.variants/SOUND.ROM.34137c28",
|
||||
"cores": null,
|
||||
"systems": [
|
||||
"nec-pc-98"
|
||||
],
|
||||
"truth": false
|
||||
},
|
||||
{
|
||||
"dest": "bios/ITF.ROM",
|
||||
"sha1": "9bca7d5116788776ed0f297bccb4dfc485379b41",
|
||||
"sha256": "2ca3ee3c7d5a6b6304a0205fec3cd7eaeb4e1e197e5db740cff0665006498076",
|
||||
"size": 32768,
|
||||
"repo_path": "bios/NEC/PC-98/.variants/ITF.ROM.9bca7d51",
|
||||
"cores": null,
|
||||
"systems": [
|
||||
"nec-pc-98"
|
||||
],
|
||||
"truth": false
|
||||
},
|
||||
{
|
||||
"dest": "bios/syscard3.pce",
|
||||
"sha1": "79f5ff55dd10187c7fd7b8daab0b3ffbd1f56a2c",
|
||||
@@ -120081,19 +120330,6 @@
|
||||
"microsoft-msx"
|
||||
]
|
||||
},
|
||||
{
|
||||
"dest": "bios/openmsx/share/systemroms/fmpac.rom",
|
||||
"sha1": "9d789166e3caf28e4742fe933d962e99618c633d",
|
||||
"sha256": "3cfe44646b69a622656b96305f1b975f48ca018839f7946895f7a1352d9720aa",
|
||||
"size": 65536,
|
||||
"repo_path": "bios/Microsoft/MSX/FMPAC.ROM",
|
||||
"cores": [
|
||||
"openmsx-libretro"
|
||||
],
|
||||
"systems": [
|
||||
"microsoft-msx"
|
||||
]
|
||||
},
|
||||
{
|
||||
"dest": "bios/openmsx/share/systemroms/novaxis.rom",
|
||||
"sha1": "352ec8c99fe1397a88ecb3aee6dbb4d121c818e9",
|
||||
@@ -138055,19 +138291,6 @@
|
||||
"nec-pc-88"
|
||||
]
|
||||
},
|
||||
{
|
||||
"dest": "bios/quasi88/font.rom",
|
||||
"sha1": "84b90f69671d4b72e8f219e1fe7cd667e976cf7f",
|
||||
"sha256": "3227087599afd9304f260cdeb3bf1533e39e425cf444ceb3c24f55f561e71a0c",
|
||||
"size": 2048,
|
||||
"repo_path": "bios/NEC/PC-88/font.rom",
|
||||
"cores": [
|
||||
"quasi88"
|
||||
],
|
||||
"systems": [
|
||||
"nec-pc-88"
|
||||
]
|
||||
},
|
||||
{
|
||||
"dest": "bios/quasi88/font2.rom",
|
||||
"sha1": "0a056b6d28b4b9e29a2d255bdaa25c24f176cf1e",
|
||||
@@ -178565,6 +178788,19 @@
|
||||
"microsoft-msx"
|
||||
]
|
||||
},
|
||||
{
|
||||
"dest": "bios/openmsx/share/systemroms/fmpac.rom",
|
||||
"sha1": "9d789166e3caf28e4742fe933d962e99618c633d",
|
||||
"sha256": "3cfe44646b69a622656b96305f1b975f48ca018839f7946895f7a1352d9720aa",
|
||||
"size": 65536,
|
||||
"repo_path": "bios/Microsoft/MSX/FMPAC.ROM",
|
||||
"cores": [
|
||||
"openmsx-libretro"
|
||||
],
|
||||
"systems": [
|
||||
"microsoft-msx"
|
||||
]
|
||||
},
|
||||
{
|
||||
"dest": "bios/GBA/gba_bios.bin",
|
||||
"sha1": "300c20df6731a33952ded8c436f7f186d25d3492",
|
||||
@@ -178816,6 +179052,19 @@
|
||||
"nec-pc-88"
|
||||
]
|
||||
},
|
||||
{
|
||||
"dest": "bios/quasi88/font.rom",
|
||||
"sha1": "84b90f69671d4b72e8f219e1fe7cd667e976cf7f",
|
||||
"sha256": "3227087599afd9304f260cdeb3bf1533e39e425cf444ceb3c24f55f561e71a0c",
|
||||
"size": 2048,
|
||||
"repo_path": "bios/NEC/PC-88/font.rom",
|
||||
"cores": [
|
||||
"quasi88"
|
||||
],
|
||||
"systems": [
|
||||
"nec-pc-88"
|
||||
]
|
||||
},
|
||||
{
|
||||
"dest": "bios/flash.bin",
|
||||
"sha1": "94d44d7f9529ec1642ba3771ed3c5f756d5bc872",
|
||||
@@ -198301,20 +198550,6 @@
|
||||
"arcade"
|
||||
]
|
||||
},
|
||||
{
|
||||
"dest": "bios/skns.zip",
|
||||
"sha1": "4257bd14b541fafbd555cb98ba079a3416a45934",
|
||||
"sha256": "6edf22c68e70be06c9b32741e0d1df1aa38cf6fc162c1027c15d6c1d882f621b",
|
||||
"size": 924762,
|
||||
"repo_path": "bios/Arcade/Arcade/skns.zip",
|
||||
"cores": [
|
||||
"fbneo",
|
||||
"fbalpha2019"
|
||||
],
|
||||
"systems": [
|
||||
"arcade"
|
||||
]
|
||||
},
|
||||
{
|
||||
"dest": "bios/ssio.zip",
|
||||
"sha1": "54275c9833e497f71f76ab239030cc386c863991",
|
||||
|
||||
@@ -12110,6 +12110,67 @@ systems:
|
||||
component: retroarch
|
||||
description: Neo Geo CDZ BIOS
|
||||
required_label: Required
|
||||
- name: decocass.zip
|
||||
destination: bios/decocass.zip
|
||||
required: true
|
||||
md5: b7e1189b341bf6a8e270017c096d21b0
|
||||
native_system: fbneo
|
||||
component: retroarch
|
||||
description: DECO Cassette System BIOS
|
||||
required_label: Required
|
||||
- name: pgm.zip
|
||||
destination: bios/pgm.zip
|
||||
required: true
|
||||
md5: 87cc944eef4c671aa2629a8ba48a08e0
|
||||
native_system: fbneo
|
||||
component: retroarch
|
||||
description: PGM System BIOS
|
||||
required_label: Required
|
||||
- name: skns.zip
|
||||
destination: bios/skns.zip
|
||||
required: true
|
||||
md5: 3f956c4e7008804cb47cbde49bd5b908
|
||||
native_system: fbneo
|
||||
component: retroarch
|
||||
description: Super Kaneko Nova System BIOS
|
||||
required_label: Required
|
||||
- name: ym2608.zip
|
||||
destination: bios/ym2608.zip
|
||||
required: true
|
||||
md5: 79ae0d2bb1901b7e606b6dc339b79a97
|
||||
native_system: fbneo
|
||||
component: retroarch
|
||||
description: YM2608 FM synthesis chip ROM
|
||||
required_label: Required
|
||||
- name: bubsys.zip
|
||||
destination: bios/bubsys.zip
|
||||
required: true
|
||||
md5: f81298afd68a1a24a49a1a2d9f087964
|
||||
native_system: fbneo
|
||||
component: retroarch
|
||||
description: Bubble System BIOS
|
||||
required_label: Required
|
||||
- name: namcoc69.zip
|
||||
destination: bios/namcoc69.zip
|
||||
required: true
|
||||
native_system: fbneo
|
||||
component: retroarch
|
||||
description: Namco C69 BIOS
|
||||
required_label: Required
|
||||
- name: namcoc70.zip
|
||||
destination: bios/namcoc70.zip
|
||||
required: true
|
||||
native_system: fbneo
|
||||
component: retroarch
|
||||
description: Namco C70 BIOS
|
||||
required_label: Required
|
||||
- name: namcoc75.zip
|
||||
destination: bios/namcoc75.zip
|
||||
required: true
|
||||
native_system: fbneo
|
||||
component: retroarch
|
||||
description: Namco C75 BIOS
|
||||
required_label: Required
|
||||
- name: coleco.zip
|
||||
destination: bios/coleco.zip
|
||||
required: true
|
||||
@@ -13601,6 +13662,13 @@ systems:
|
||||
native_system: msx
|
||||
component: retroarch
|
||||
description: BeerIDE IDE disk ROM
|
||||
- name: FMPAC.rom
|
||||
destination: bios/FMPAC.rom
|
||||
required: false
|
||||
md5: 6f69cc8b5ed761b03afd78000dfb0e19
|
||||
native_system: msx
|
||||
component: retroarch
|
||||
description: FMPAC Music/Sound ROM for Yamaha FM-PAC interface
|
||||
- name: GCVMX80.ROM
|
||||
destination: bios/GCVMX80.ROM
|
||||
required: false
|
||||
@@ -13616,6 +13684,14 @@ systems:
|
||||
component: retroarch
|
||||
description: Hangul language ROM
|
||||
required_label: Required for some Korean games.
|
||||
- name: KANJI.rom
|
||||
destination: bios/KANJI.rom
|
||||
required: true
|
||||
md5: acf53887c2d2783dc059a9b442c86b90
|
||||
native_system: msx
|
||||
component: retroarch
|
||||
description: Kanji font ROM for MSX
|
||||
required_label: Required for some Japanese games.
|
||||
- name: MICROSOLDISK.ROM
|
||||
destination: bios/MICROSOLDISK.ROM
|
||||
required: false
|
||||
@@ -13659,6 +13735,13 @@ systems:
|
||||
native_system: msx
|
||||
component: retroarch
|
||||
description: MSX2B ROM
|
||||
- name: MSX2EXT.rom
|
||||
destination: bios/MSX2EXT.rom
|
||||
required: false
|
||||
md5: 2183c2aff17cf4297bdb496de78c2e8a
|
||||
native_system: msx
|
||||
component: retroarch
|
||||
description: MSX2 Extended ROM
|
||||
- name: MSX2FREXT.rom
|
||||
destination: bios/MSX2FREXT.rom
|
||||
required: true
|
||||
@@ -13728,6 +13811,13 @@ systems:
|
||||
native_system: msx
|
||||
component: retroarch
|
||||
description: MSX2 Korean ROM
|
||||
- name: MSX2PEXT.rom
|
||||
destination: bios/MSX2PEXT.rom
|
||||
required: false
|
||||
md5: 7c8243c71d8f143b2531f01afa6a05dc
|
||||
native_system: msx
|
||||
component: retroarch
|
||||
description: MSX2+ Extended ROM
|
||||
- name: MSX2PMUS.rom
|
||||
destination: bios/MSX2PMUS.rom
|
||||
required: false
|
||||
@@ -13735,6 +13825,13 @@ systems:
|
||||
native_system: msx
|
||||
component: retroarch
|
||||
description: MSX2+ Music extension ROM
|
||||
- name: MSX2P.rom
|
||||
destination: bios/MSX2P.rom
|
||||
required: false
|
||||
md5: 847cc025ffae665487940ff2639540e5
|
||||
native_system: msx
|
||||
component: retroarch
|
||||
description: MSX2+ BIOS
|
||||
- name: MSX2R2.ROM
|
||||
destination: bios/MSX2R2.ROM
|
||||
required: false
|
||||
@@ -13749,6 +13846,13 @@ systems:
|
||||
native_system: msx
|
||||
component: retroarch
|
||||
description: MSX2 R Extended ROMn
|
||||
- name: MSX2.rom
|
||||
destination: bios/MSX2.rom
|
||||
required: false
|
||||
md5: ec3a01c91f24fbddcbcab0ad301bc9ef
|
||||
native_system: msx
|
||||
component: retroarch
|
||||
description: MSX2 BIOS
|
||||
- name: MSX2R.rom
|
||||
destination: bios/MSX2R.rom
|
||||
required: false
|
||||
@@ -13849,6 +13953,13 @@ systems:
|
||||
native_system: msx
|
||||
component: retroarch
|
||||
description: MSX R2 ROM
|
||||
- name: MSX.rom
|
||||
destination: bios/MSX.rom
|
||||
required: false
|
||||
md5: 364a1a579fe5cb8dba54519bcfcdac0d,aa95aea2563cd5ec0a0919b44cc17d47
|
||||
native_system: msx
|
||||
component: retroarch
|
||||
description: MSX1 BIOS ROM
|
||||
- name: MSXR.rom
|
||||
destination: bios/MSXR.rom
|
||||
required: false
|
||||
@@ -13933,6 +14044,13 @@ systems:
|
||||
native_system: msx
|
||||
component: retroarch
|
||||
description: Philips Disk ROM
|
||||
- name: RS232.ROM
|
||||
destination: bios/RS232.ROM
|
||||
required: false
|
||||
md5: 55cca200bbbdd0a1ec5c9d70966c05c0
|
||||
native_system: msx
|
||||
component: retroarch
|
||||
description: RS232 Serial ROM
|
||||
- name: SUNRISEIDE.rom
|
||||
destination: bios/SUNRISEIDE.rom
|
||||
required: false
|
||||
@@ -13975,6 +14093,13 @@ systems:
|
||||
native_system: msx
|
||||
component: retroarch
|
||||
description: MSX2 Sub BIOS for NMS8250
|
||||
- name: fmpac.rom
|
||||
destination: bios/fmpac.rom
|
||||
required: false
|
||||
md5: 6f69cc8b5ed761b03afd78000dfb0e19
|
||||
native_system: msx
|
||||
component: retroarch
|
||||
description: FMPAC Music/Sound ROM for Yamaha FM-PAC
|
||||
- name: phc-70fd2_basickun.rom
|
||||
destination: bios/phc-70fd2_basickun.rom
|
||||
required: false
|
||||
@@ -14195,6 +14320,77 @@ systems:
|
||||
component: retroarch
|
||||
description: NEC PC-9800 series BIOS
|
||||
required_label: Required
|
||||
- name: font.rom
|
||||
destination: bios/font.rom
|
||||
required: true
|
||||
md5: 38d32748ae49d1815b0614970849fd40
|
||||
native_system: pc98
|
||||
component: retroarch
|
||||
description: NEC PC-9800 font ROM
|
||||
required_label: Required
|
||||
- name: 2608_BD.WAV
|
||||
destination: bios/2608_BD.WAV
|
||||
required: false
|
||||
md5: 29aad51cd243c8e449d311d14613f0b1
|
||||
native_system: pc9800
|
||||
component: retroarch
|
||||
description: Bass drum waveform for PC-9800
|
||||
- name: 2608_HH.WAV
|
||||
destination: bios/2608_HH.WAV
|
||||
required: false
|
||||
md5: 59a009ee444318bd57d99a19068731e4
|
||||
native_system: pc9800
|
||||
component: retroarch
|
||||
description: Hi-hat waveform for PC-9800
|
||||
- name: 2608_RIM.WAV
|
||||
destination: bios/2608_RIM.WAV
|
||||
required: false
|
||||
md5: 943290d1c5c6ae6295bd02be4411c7c0
|
||||
native_system: pc9800
|
||||
component: retroarch
|
||||
description: Rimshot waveform for PC-9800
|
||||
- name: 2608_SD.WAV
|
||||
destination: bios/2608_SD.WAV
|
||||
required: false
|
||||
md5: c99156118789b6cba662c864ebadc62e
|
||||
native_system: pc9800
|
||||
component: retroarch
|
||||
description: Snare drum waveform for PC-9800
|
||||
- name: 2608_TOM.WAV
|
||||
destination: bios/2608_TOM.WAV
|
||||
required: false
|
||||
md5: c321a6835b26ad125b2eb78be56394a4
|
||||
native_system: pc9800
|
||||
component: retroarch
|
||||
description: Tom-tom drum waveform for PC-9800
|
||||
- name: 2608_TOP.WAV
|
||||
destination: bios/2608_TOP.WAV
|
||||
required: false
|
||||
md5: 9e73ff2345236ebe72f7a937e477f0bd
|
||||
native_system: pc9800
|
||||
component: retroarch
|
||||
description: Top cymbal waveform for PC-9800
|
||||
- name: BIOS.ROM
|
||||
destination: bios/BIOS.ROM
|
||||
required: false
|
||||
md5: e246140dec5124c5e404869a84caefce
|
||||
native_system: pc9800
|
||||
component: retroarch
|
||||
description: Main BIOS for PC-9800
|
||||
- name: SOUND.ROM
|
||||
destination: bios/SOUND.ROM
|
||||
required: false
|
||||
md5: caf90f22197aed6f14c471c21e64658d
|
||||
native_system: pc9800
|
||||
component: retroarch
|
||||
description: Sound ROM for PC-9800
|
||||
- name: ITF.ROM
|
||||
destination: bios/ITF.ROM
|
||||
required: false
|
||||
md5: e9fc3890963b12cf15d0a2eea5815b72
|
||||
native_system: pc9800
|
||||
component: retroarch
|
||||
description: Interface ROM for PC-9800
|
||||
nec-pc-88:
|
||||
files:
|
||||
- name: n88.rom
|
||||
@@ -14260,6 +14456,13 @@ systems:
|
||||
component: retroarch
|
||||
description: "PC-88 BIOS extension (variant 3)"
|
||||
required_label: Optional
|
||||
- name: N88.ROM
|
||||
destination: bios/N88.ROM
|
||||
required: false
|
||||
md5: 4f984e04a99d56c4cfe36115415d6eb8
|
||||
native_system: pc8800
|
||||
component: retroarch
|
||||
description: Main PC-8800 system BIOS
|
||||
- name: N88SUB.ROM
|
||||
destination: bios/N88SUB.ROM
|
||||
required: false
|
||||
@@ -14267,6 +14470,20 @@ systems:
|
||||
native_system: pc8800
|
||||
component: retroarch
|
||||
description: PC-8800 disk controller BIOS
|
||||
- name: DISK.ROM
|
||||
destination: bios/DISK.ROM
|
||||
required: false
|
||||
md5: 793f86784e5608352a5d7f03f03e0858
|
||||
native_system: pc8800
|
||||
component: retroarch
|
||||
description: Alternate name for N88SUB.ROM
|
||||
- name: N88N.ROM
|
||||
destination: bios/N88N.ROM
|
||||
required: false
|
||||
md5: 2ff07b8769367321128e03924af668a0
|
||||
native_system: pc8800
|
||||
component: retroarch
|
||||
description: PC-8800 N80 BIOS
|
||||
- name: N80.ROM
|
||||
destination: bios/N80.ROM
|
||||
required: false
|
||||
@@ -14281,6 +14498,13 @@ systems:
|
||||
native_system: pc8800
|
||||
component: retroarch
|
||||
description: PC-8800 extension ROM 0
|
||||
- name: N88_0.ROM
|
||||
destination: bios/N88_0.ROM
|
||||
required: false
|
||||
md5: d675a2ca186c6efcd6277b835de4c7e5
|
||||
native_system: pc8800
|
||||
component: retroarch
|
||||
description: Alternate name for N88EXT0.ROM
|
||||
- name: N88EXT1.ROM
|
||||
destination: bios/N88EXT1.ROM
|
||||
required: false
|
||||
@@ -14288,6 +14512,13 @@ systems:
|
||||
native_system: pc8800
|
||||
component: retroarch
|
||||
description: PC-8800 extension ROM 1
|
||||
- name: N88_1.ROM
|
||||
destination: bios/N88_1.ROM
|
||||
required: false
|
||||
md5: e844534dfe5744b381444dbe61ef1b66
|
||||
native_system: pc8800
|
||||
component: retroarch
|
||||
description: Alternate name for N88EXT1.ROM
|
||||
- name: N88EXT2.ROM
|
||||
destination: bios/N88EXT2.ROM
|
||||
required: false
|
||||
@@ -14295,6 +14526,13 @@ systems:
|
||||
native_system: pc8800
|
||||
component: retroarch
|
||||
description: PC-8800 extension ROM 2
|
||||
- name: N88_2.ROM
|
||||
destination: bios/N88_2.ROM
|
||||
required: false
|
||||
md5: 6548fa45061274dee1ea8ae1e9e93910
|
||||
native_system: pc8800
|
||||
component: retroarch
|
||||
description: Alternate name for N88EXT2.ROM
|
||||
- name: N88EXT3.ROM
|
||||
destination: bios/N88EXT3.ROM
|
||||
required: false
|
||||
@@ -14302,6 +14540,20 @@ systems:
|
||||
native_system: pc8800
|
||||
component: retroarch
|
||||
description: PC-8800 extension ROM 3
|
||||
- name: N88_3.ROM
|
||||
destination: bios/N88_3.ROM
|
||||
required: false
|
||||
md5: fc4b76a402ba501e6ba6de4b3e8b4273
|
||||
native_system: pc8800
|
||||
component: retroarch
|
||||
description: Alternate name for N88EXT3.ROM
|
||||
- name: N88KNJ1.ROM
|
||||
destination: bios/N88KNJ1.ROM
|
||||
required: false
|
||||
md5: d81c6d5d7ad1a4bbbd6ae22a01257603
|
||||
native_system: pc8800
|
||||
component: retroarch
|
||||
description: PC-8800 Kanji font ROM 1
|
||||
- name: KANJI1.ROM
|
||||
destination: bios/KANJI1.ROM
|
||||
required: false
|
||||
@@ -15341,6 +15593,22 @@ systems:
|
||||
component: retroarch
|
||||
description: Nintendo 64 64DD IPL BIOS - Japan
|
||||
required_label: At least one
|
||||
- name: 64DD_IPL.bin
|
||||
destination: bios/64DD_IPL.bin
|
||||
required: true
|
||||
md5: aad37b1492886b892f1821f37fd3ae34
|
||||
native_system: n64dd
|
||||
component: retroarch
|
||||
description: Nintendo 64 64DD IPL BIOS - Japan Dev
|
||||
required_label: At least one
|
||||
- name: 64DD_IPL.bin
|
||||
destination: bios/64DD_IPL.bin
|
||||
required: true
|
||||
md5: 37c36e4286d36892a9fc70eafe4104be
|
||||
native_system: n64dd
|
||||
component: retroarch
|
||||
description: Nintendo 64 64DD IPL BIOS - USA
|
||||
required_label: At least one
|
||||
nintendo-snes:
|
||||
files:
|
||||
- name: BS-X.bin
|
||||
@@ -15423,6 +15691,14 @@ systems:
|
||||
component: retroarch
|
||||
description: Super Game Boy BIOS - Alternative name SGB2.sfc
|
||||
required_label: Optional, for boot logo
|
||||
- name: sgb_bios.bin
|
||||
destination: bios/sgb_bios.bin
|
||||
required: true
|
||||
md5: e0430bca9925fb9882148fd2dc2418c1
|
||||
native_system: snes
|
||||
component: retroarch
|
||||
description: Super Game Boy BIOS
|
||||
required_label: Optional, for boot logo
|
||||
- name: sgb2_boot.bin
|
||||
destination: bios/sgb2_boot.bin
|
||||
required: true
|
||||
|
||||
@@ -21,6 +21,8 @@ Entries with no paths key default to bios/ (RetroDECK's default BIOS dir).
|
||||
|
||||
Verification logic (api_data_processing.sh:289-405):
|
||||
- md5sum per file, compared against known_md5 (comma-separated list)
|
||||
- one result per manifest entry: a file two entries declare with other
|
||||
md5 lists is checked against each list on its own
|
||||
- envsubst resolves path tokens at runtime
|
||||
- Multi-threaded on system_cpu_max_threads
|
||||
"""
|
||||
@@ -363,26 +365,25 @@ def _entry_requirement(entry: dict, comp_key: str, default_system: object) -> Bi
|
||||
)
|
||||
|
||||
|
||||
def _md5_conflict(
|
||||
requirements: list[BiosRequirement], key: tuple[str, str], req: BiosRequirement
|
||||
) -> str | None:
|
||||
"""Why *req* is left out: an earlier component declares the same file
|
||||
with another MD5. None for a plain repeat."""
|
||||
existing = next(
|
||||
(
|
||||
r
|
||||
for r in requirements
|
||||
if (r.system, r.name.lower()) == key
|
||||
),
|
||||
None,
|
||||
def _repeat_key(req: BiosRequirement) -> tuple[object, ...]:
|
||||
"""What makes two manifest entries one declaration.
|
||||
|
||||
RetroDECK checks every entry of every manifest on its own: one result
|
||||
row per entry, the md5 of the file found under that exact basename
|
||||
tested against that entry's list alone (api_data_processing.sh:304-313,
|
||||
322-339 and 350-361 at RetroDECK 0.10.10b). Two entries that differ in
|
||||
their hashes are two verdicts on the file (decocass.zip for MAME and for
|
||||
FBNeo, the three 64DD_IPL.bin revisions), and two spellings are two files
|
||||
on its Linux filesystem (MSX.ROM and MSX.rom). Only the same name at the
|
||||
same place with the same hashes repeats a declaration.
|
||||
"""
|
||||
return (
|
||||
req.system,
|
||||
req.name,
|
||||
req.destination,
|
||||
frozenset(parse_hash_list(req.md5)),
|
||||
req.sha256 or "",
|
||||
)
|
||||
md5 = req.md5
|
||||
if existing and md5 and existing.md5 and md5 != existing.md5:
|
||||
return (
|
||||
f"{req.name} ({req.system}): MD5 conflict "
|
||||
f"({existing.md5[:12]}... vs {md5[:12]}... in {req.native['component']})"
|
||||
)
|
||||
return None
|
||||
|
||||
|
||||
class Scraper(BaseScraper):
|
||||
@@ -481,7 +482,7 @@ class Scraper(BaseScraper):
|
||||
manifests = self._get_manifests()
|
||||
|
||||
requirements: list[BiosRequirement] = []
|
||||
seen: set[tuple[str, str]] = set()
|
||||
seen: set[tuple[object, ...]] = set()
|
||||
|
||||
for _comp_name, manifest in manifests:
|
||||
for comp_key, comp_val in manifest.items():
|
||||
@@ -496,11 +497,8 @@ class Scraper(BaseScraper):
|
||||
req = _entry_requirement(entry, comp_key, default_system)
|
||||
if req is None:
|
||||
continue
|
||||
key = (req.system, req.name.lower())
|
||||
key = _repeat_key(req)
|
||||
if key in seen:
|
||||
conflict = _md5_conflict(requirements, key, req)
|
||||
if conflict:
|
||||
self.dropped.append(conflict)
|
||||
continue
|
||||
seen.add(key)
|
||||
requirements.append(req)
|
||||
|
||||
@@ -0,0 +1,273 @@
|
||||
"""A file RetroDECK declares in several manifest entries, through scrape,
|
||||
verify and export.
|
||||
|
||||
RetroDECK checks each entry of each component manifest on its own: one
|
||||
result row per entry, the md5 of the file found under that exact basename
|
||||
tested against that entry's list only (functions/api_data_processing.sh
|
||||
304-313, 322-339 and 350-361 at 0.10.10b). The scraper kept the first
|
||||
entry per system and case-folded name, so 22 entries left the platform
|
||||
file: decocass.zip for FBNeo beside MAME's, the second and third
|
||||
64DD_IPL.bin revisions, and MSX.rom, a second file beside MSX.ROM on
|
||||
RetroDECK's Linux filesystem whose md5 list is a prefix of MSX.ROM's.
|
||||
"""
|
||||
|
||||
from __future__ import annotations
|
||||
|
||||
import tests
|
||||
|
||||
import hashlib
|
||||
import json
|
||||
import os
|
||||
import shutil
|
||||
import tempfile
|
||||
import unittest
|
||||
from collections import OrderedDict
|
||||
from pathlib import Path
|
||||
|
||||
from exporter import discover_exporters
|
||||
from packs.coverage import verify_platform
|
||||
from resolve.reconcile import build_native_model
|
||||
from scraper.base_scraper import systems_from_requirements
|
||||
from scripts.scraper import retrodeck_scraper
|
||||
|
||||
MAME_DECO = b"mame decocass" * 4
|
||||
FBNEO_DECO = b"fbneo decocass" * 4
|
||||
IPL = [b"64dd retail", b"64dd dev", b"64dd other"]
|
||||
|
||||
|
||||
def md5(data: bytes) -> str:
|
||||
return hashlib.md5(data).hexdigest()
|
||||
|
||||
|
||||
MANIFESTS: dict[str, dict] = {
|
||||
"mame": {"mame": {"name": "MAME", "system": "mame", "bios": [
|
||||
{"filename": "decocass.zip", "system": "mame", "md5": md5(MAME_DECO),
|
||||
"required": "Required"},
|
||||
]}},
|
||||
"retroarch": {"retroarch": {"name": "RetroArch", "cores": {"bios": [
|
||||
{"filename": "decocass.zip", "system": "fbneo", "md5": md5(FBNEO_DECO),
|
||||
"required": "Required"},
|
||||
*({"filename": "64DD_IPL.bin", "system": "n64dd", "md5": md5(data),
|
||||
"required": "At least one"} for data in IPL),
|
||||
{"filename": "MSX.ROM", "system": "msx", "md5": ["a" * 32, "b" * 32],
|
||||
"required": "Required"},
|
||||
{"filename": "MSX.rom", "system": "msx", "md5": "a" * 32},
|
||||
{"filename": "scph5501.bin", "system": "psx", "md5": "c" * 32,
|
||||
"required": "Required"},
|
||||
]}}},
|
||||
"duckstation": {"duckstation": {"name": "DuckStation", "system": "psx", "bios": [
|
||||
{"filename": "scph5501.bin", "system": "psx", "md5": "c" * 32,
|
||||
"required": "Required"},
|
||||
]}},
|
||||
}
|
||||
|
||||
|
||||
def _scrape(root: Path) -> retrodeck_scraper.Scraper:
|
||||
for component, manifest in MANIFESTS.items():
|
||||
folder = root / "manifests" / component
|
||||
folder.mkdir(parents=True)
|
||||
(folder / "component_manifest.json").write_text(json.dumps(manifest))
|
||||
return retrodeck_scraper.Scraper(manifests_dir=str(root / "manifests"))
|
||||
|
||||
|
||||
class ScrapeKeepsEveryDeclaration(unittest.TestCase):
|
||||
def setUp(self) -> None:
|
||||
self.root = Path(tempfile.mkdtemp())
|
||||
self.addCleanup(shutil.rmtree, self.root, True)
|
||||
self.scraper = _scrape(self.root)
|
||||
self.reqs = self.scraper.fetch_requirements()
|
||||
|
||||
def _md5s(self, name: str) -> list[str]:
|
||||
return [r.md5 or "" for r in self.reqs if r.name == name]
|
||||
|
||||
def test_nothing_is_dropped(self) -> None:
|
||||
self.assertEqual(self.scraper.dropped, [])
|
||||
|
||||
def test_each_component_keeps_its_own_md5(self) -> None:
|
||||
deco = [(r.native["component"], r.native_id, r.md5)
|
||||
for r in self.reqs if r.name == "decocass.zip"]
|
||||
self.assertEqual(deco, [("mame", "mame", md5(MAME_DECO)),
|
||||
("retroarch", "fbneo", md5(FBNEO_DECO))])
|
||||
|
||||
def test_revisions_under_one_name_are_each_kept(self) -> None:
|
||||
self.assertEqual(self._md5s("64DD_IPL.bin"), [md5(data) for data in IPL])
|
||||
|
||||
def test_two_spellings_are_two_files(self) -> None:
|
||||
"""MSX.rom's single md5 is the first of MSX.ROM's two: the dry run
|
||||
printed "847cc025ffae... vs 847cc025ffae..." for a list against its
|
||||
first item."""
|
||||
self.assertEqual(self._md5s("MSX.ROM"), [f"{'a' * 32},{'b' * 32}"])
|
||||
self.assertEqual(self._md5s("MSX.rom"), ["a" * 32])
|
||||
self.assertEqual(
|
||||
{r.destination for r in self.reqs if r.name.lower() == "msx.rom"},
|
||||
{"bios/MSX.ROM", "bios/MSX.rom"},
|
||||
)
|
||||
|
||||
def test_a_plain_repeat_is_one_entry(self) -> None:
|
||||
self.assertEqual(self._md5s("scph5501.bin"), ["c" * 32])
|
||||
|
||||
|
||||
class VerifyJudgesEachDeclaration(unittest.TestCase):
|
||||
"""The pack holds one file at bios/decocass.zip: MAME's declaration is
|
||||
met, FBNeo's is reported against the file that holds the path."""
|
||||
|
||||
def setUp(self) -> None:
|
||||
from model.profiles import emulator_profiles_cache
|
||||
|
||||
emulator_profiles_cache.clear()
|
||||
self.root = Path(tempfile.mkdtemp())
|
||||
self.addCleanup(shutil.rmtree, self.root, True)
|
||||
reqs = _scrape(self.root).fetch_requirements()
|
||||
previous = os.getcwd()
|
||||
os.chdir(self.root)
|
||||
self.addCleanup(os.chdir, previous)
|
||||
self.db: dict = {"files": {}, "indexes": {
|
||||
"by_md5": {}, "by_name": {}, "by_crc32": {}, "by_path_suffix": {}}}
|
||||
for rel, data in (("bios/Arcade/MAME/decocass.zip", MAME_DECO),
|
||||
("bios/Nintendo/Nintendo 64DD/64DD_IPL.bin", IPL[0])):
|
||||
Path(rel).parent.mkdir(parents=True, exist_ok=True)
|
||||
Path(rel).write_bytes(data)
|
||||
sha1 = hashlib.sha1(data).hexdigest()
|
||||
name = rel.rsplit("/", 1)[1]
|
||||
self.db["files"][sha1] = {"path": rel, "name": name, "size": len(data),
|
||||
"md5": md5(data), "crc32": ""}
|
||||
self.db["indexes"]["by_md5"][md5(data)] = sha1
|
||||
self.db["indexes"]["by_name"][name] = [sha1]
|
||||
Path("emulators").mkdir()
|
||||
self.config = {
|
||||
"platform": "RetroDECK", "verification_mode": "md5", "hash_type": "md5",
|
||||
"base_destination": "",
|
||||
"systems": systems_from_requirements(
|
||||
[r for r in reqs if r.name in ("decocass.zip", "64DD_IPL.bin")]
|
||||
),
|
||||
}
|
||||
|
||||
def _details(self, name: str) -> list[dict]:
|
||||
result = verify_platform(self.config, self.db, "emulators", emu_profiles={})
|
||||
return [d for d in result["details"] if d.get("name") == name]
|
||||
|
||||
def test_the_held_declaration_is_met_and_the_other_reported(self) -> None:
|
||||
details = self._details("decocass.zip")
|
||||
self.assertEqual(len(details), 2)
|
||||
met = [d for d in details if d["status"] == "ok"]
|
||||
unmet = [d for d in details if d.get("settled_by")]
|
||||
self.assertEqual(len(met), 1)
|
||||
self.assertEqual(len(unmet), 1)
|
||||
message = unmet[0]["discrepancy"]
|
||||
self.assertIn("arcade (fbneo)", message)
|
||||
self.assertIn("arcade (mame)", message)
|
||||
self.assertIn(md5(FBNEO_DECO), message)
|
||||
|
||||
def test_revisions_name_the_hash_the_path_holds(self) -> None:
|
||||
details = self._details("64DD_IPL.bin")
|
||||
self.assertEqual(len(details), 3)
|
||||
unmet = [d for d in details if d.get("settled_by")]
|
||||
self.assertEqual(len(unmet), 2)
|
||||
for detail in unmet:
|
||||
self.assertIn(f"file (md5 {md5(IPL[0])})", detail["discrepancy"])
|
||||
|
||||
|
||||
class ExportWritesEachComponentsOwnMd5(unittest.TestCase):
|
||||
def setUp(self) -> None:
|
||||
self.root = Path(tempfile.mkdtemp())
|
||||
self.addCleanup(shutil.rmtree, self.root, True)
|
||||
reqs = _scrape(self.root).fetch_requirements()
|
||||
self.scraped = {"systems": systems_from_requirements(reqs)}
|
||||
self.originals = {
|
||||
f"{component}/component_manifest.json": json.dumps(manifest, indent=2)
|
||||
for component, manifest in MANIFESTS.items()
|
||||
}
|
||||
self.exporter = discover_exporters()["retrodeck"]()
|
||||
|
||||
@staticmethod
|
||||
def _bios(produced: dict[str, str], component: str) -> list[dict]:
|
||||
manifest = json.loads(produced[f"{component}/component_manifest.json"])
|
||||
value = manifest[component]
|
||||
return value["bios"] if "bios" in value else value["cores"]["bios"]
|
||||
|
||||
def test_every_declaration_reads_back_as_written(self) -> None:
|
||||
"""Each entry of the platform file renders to the manifest entry it
|
||||
came from: name, native system and md5 list."""
|
||||
systems, _report = build_native_model({"systems": {}}, self.scraped)
|
||||
|
||||
def key(entry: dict) -> tuple[str, str, tuple[str, ...]]:
|
||||
listed = entry["md5"]
|
||||
return (entry["filename"], entry["system"],
|
||||
tuple(listed if isinstance(listed, list) else [listed]))
|
||||
|
||||
rendered: dict[str, set] = {}
|
||||
for system in systems.values():
|
||||
for fe in system.files:
|
||||
component = str(fe.native("component"))
|
||||
rendered.setdefault(component, set()).add(key(self.exporter._entry(fe)))
|
||||
for component, manifest in MANIFESTS.items():
|
||||
value = manifest[component]
|
||||
declared = value["bios"] if "bios" in value else value["cores"]["bios"]
|
||||
expected = {key(e) for e in declared}
|
||||
if component == "retroarch":
|
||||
# A repeat of duckstation's scph5501.bin, the same name, path
|
||||
# and md5: transcribed once, under the first component read.
|
||||
expected.discard(("scph5501.bin", "psx", ("c" * 32,)))
|
||||
with self.subTest(component=component):
|
||||
self.assertEqual(rendered[component], expected)
|
||||
|
||||
def test_a_correction_lands_on_its_own_revision(self) -> None:
|
||||
"""The truth accepts a second dump for the dev 64DD IPL: that entry
|
||||
alone takes it, the two other revisions keep their own md5. Keyed by
|
||||
name and system, the first entry of ours answered for all three and
|
||||
the dev entry's correction was written nowhere."""
|
||||
dev, extra = md5(IPL[1]), "d" * 32
|
||||
truth = {"systems": {"nintendo-64dd": {"files": [
|
||||
{"name": "64DD_IPL.bin", "path": "64DD_IPL.bin", "md5": f"{dev},{extra}",
|
||||
"required": True, "_cores": ["parallel_n64"]},
|
||||
]}}}
|
||||
systems, report = build_native_model(truth, self.scraped)
|
||||
produced = self.exporter.render(systems, report, self.originals, self.scraped)
|
||||
ipl = [e for e in self._bios(produced, "retroarch") if e["filename"] == "64DD_IPL.bin"]
|
||||
self.assertEqual([e["md5"] for e in ipl],
|
||||
[md5(IPL[0]), [dev, extra], md5(IPL[2])])
|
||||
self.assertEqual(self.exporter._appended, set())
|
||||
|
||||
def test_an_unchanged_model_writes_the_manifests_back(self) -> None:
|
||||
systems, report = build_native_model({"systems": {}}, self.scraped)
|
||||
produced = self.exporter.render(systems, report, self.originals, self.scraped)
|
||||
for path, text in produced.items():
|
||||
with self.subTest(manifest=path):
|
||||
self.assertEqual(text, self.originals[path])
|
||||
|
||||
def test_merge_pairs_each_revision_by_hash(self) -> None:
|
||||
a, b, c = "a" * 32, "b" * 32, "c" * 32
|
||||
existing = [{"filename": "64DD_IPL.bin", "system": "n64dd", "md5": m} for m in (a, b)]
|
||||
ours = [OrderedDict(filename="64DD_IPL.bin", system="n64dd", md5=m, required=r)
|
||||
for m, r in ((b, "Optional"), (a, "Required"), (c, "Required"))]
|
||||
appended: set = set()
|
||||
merged = self.exporter._merge(existing, ours, None, appended)
|
||||
self.assertEqual([(e["md5"], e.get("required")) for e in merged],
|
||||
[(a, "Required"), (b, "Optional"), (c, "Required")])
|
||||
self.assertEqual(appended, {("64DD_IPL.bin", "n64dd")})
|
||||
|
||||
|
||||
class PlatformFileCarriesTheDeclarations(unittest.TestCase):
|
||||
"""The committed transcription holds each md5 the dry run used to drop."""
|
||||
|
||||
def test_retrodeck_yml_keeps_both_sides(self) -> None:
|
||||
from model.platforms import load_platform_config
|
||||
|
||||
root = Path(__file__).resolve().parents[1]
|
||||
config = load_platform_config("retrodeck", str(root / "platforms"))
|
||||
files = [f for s in config["systems"].values() for f in s.get("files", [])]
|
||||
|
||||
def md5s(name: str) -> set[str]:
|
||||
return {f.get("md5", "") for f in files if f["name"] == name}
|
||||
|
||||
self.assertEqual(
|
||||
md5s("decocass.zip"),
|
||||
{"2b268f2f8960e5124f9a8cc6cfe86773", "b7e1189b341bf6a8e270017c096d21b0"},
|
||||
)
|
||||
self.assertEqual(len(md5s("64DD_IPL.bin")), 3)
|
||||
self.assertEqual(md5s("MSX.rom"),
|
||||
{"364a1a579fe5cb8dba54519bcfcdac0d,aa95aea2563cd5ec0a0919b44cc17d47"})
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
unittest.main()
|
||||
@@ -29,7 +29,9 @@ def _manifest(md5: str) -> dict:
|
||||
|
||||
|
||||
class RetrodeckConflicts(unittest.TestCase):
|
||||
def test_a_conflicting_md5_is_recorded(self) -> None:
|
||||
def test_a_second_components_md5_is_kept_not_dropped(self) -> None:
|
||||
"""RetroDECK checks each manifest entry against its own md5 list
|
||||
(api_data_processing.sh:350-361): both are transcribed."""
|
||||
with tempfile.TemporaryDirectory() as tmp:
|
||||
for name, md5 in (("np2kai", "a" * 32), ("xm6", "b" * 32)):
|
||||
folder = Path(tmp) / name
|
||||
@@ -37,10 +39,9 @@ class RetrodeckConflicts(unittest.TestCase):
|
||||
(folder / "component_manifest.json").write_text(json.dumps({name: _manifest(md5)}))
|
||||
scraper = retrodeck_scraper.Scraper(manifests_dir=tmp)
|
||||
reqs = scraper.fetch_requirements()
|
||||
self.assertEqual([r.md5 for r in reqs], ["a" * 32])
|
||||
self.assertEqual(len(scraper.dropped), 1)
|
||||
self.assertIn("MD5 conflict", scraper.dropped[0])
|
||||
self.assertIn("xm6", scraper.dropped[0])
|
||||
self.assertEqual([(r.md5, r.native["component"]) for r in reqs],
|
||||
[("a" * 32, "np2kai"), ("b" * 32, "xm6")])
|
||||
self.assertEqual(scraper.dropped, [])
|
||||
|
||||
def test_a_plain_repeat_is_not_a_drop(self) -> None:
|
||||
with tempfile.TemporaryDirectory() as tmp:
|
||||
|
||||
Reference in new issue
Block a user