mirror of
https://github.com/Abdess/retroarch_system.git
synced 2026-12-03 06:48:52 -06:00
Compare commits
21
Commits
9ffbedbb12
...
6d7f81d010
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
6d7f81d010 | ||
|
|
1561af6a4a | ||
|
|
036a6ebf29 | ||
|
|
32a4ca1fa1 | ||
|
|
b8fe881327 | ||
|
|
15f913d0ba | ||
|
|
4d62c56730 | ||
|
|
7bc02025dc | ||
|
|
6f510be49a | ||
|
|
872ffc7cc6 | ||
|
|
b6bd585ee4 | ||
|
|
3518e1c53c | ||
|
|
74fcdd2bc5 | ||
|
|
331f244aac | ||
|
|
4acfd8f763 | ||
|
|
8a8fa71fbc | ||
|
|
526d7f09c7 | ||
|
|
02969dda06 | ||
|
|
ea68e85c06 | ||
|
|
71776198e9 | ||
|
|
780d40fb7b |
No files matched your search
@@ -50,10 +50,12 @@ on:
|
||||
- "scripts/model/dumpcatalog.py"
|
||||
- "scripts/model/guides.py"
|
||||
- "scripts/model/largefiles.py"
|
||||
- "scripts/model/mamerelease.py"
|
||||
- "scripts/model/measurements.py"
|
||||
- "scripts/model/nodedup.py"
|
||||
- "scripts/model/platforms.py"
|
||||
- "scripts/model/profiles.py"
|
||||
- "scripts/model/profilekinds.py"
|
||||
- "scripts/model/region.py"
|
||||
- "scripts/model/registry.py"
|
||||
- "scripts/model/releaserecord.py"
|
||||
|
||||
@@ -109,15 +109,16 @@ files:
|
||||
min_size: 143105
|
||||
max_size: 143364
|
||||
validation: [size]
|
||||
size: 143360
|
||||
size: [143360, 143403, 143488]
|
||||
md5: ee44560f34033efa3bb47b3e0aac1772
|
||||
sha1: 7b03befac4fbcef8c649048fa3ff5d095fd48dd3
|
||||
source_ref: "source src/core/Asset.cpp:20, 25-39, 97-112, source src/apple2/peripherals/disk/formats/SectorDiskImage.cpp:57-60, 71-74, source CMakeLists.txt:1325-1337"
|
||||
note: >
|
||||
asset_find_master_disk warns and returns false when no search path
|
||||
holds the file, and the emulator starts with an empty drive. The sector
|
||||
image driver also takes 143403 and 143488 bytes. No hash or content
|
||||
check is performed at run time. The hashes are those of res/Master.dsk,
|
||||
image driver takes 143105 to 143364 bytes, 143403 or 143488, and reads
|
||||
the first 143360 as the image. No hash or content check is performed
|
||||
at run time. The hashes are those of res/Master.dsk,
|
||||
which a build test pins. LinApple and Batocera ship different images
|
||||
under this name, both 143360 bytes.
|
||||
Shipped in share/linapple/ of the v3.0-beta-3 archives and .deb.
|
||||
|
||||
@@ -393,7 +393,7 @@ files:
|
||||
min_size: 32768
|
||||
validation: [size]
|
||||
sha256: "27cfdb99f7e4252bf3740d420147b63c4c88616883bc5e7fe43f2f30bf8c8cbb,a49827b45ff9ac9cf5b4658190e1428e59251bc82d8a63d8e9e0f71e439f008f,3ce321496edc5d77038de2034eb3fb354d7724afd0bc7fd0319f3eb5d57b984d,77d94d64d745014bf8b51280a4204056cdeb9d41ea30eae80dbc006675bebef8"
|
||||
note: "BS-X application cartridge ROM, mandatory for .bs Satellaview files. Core accepts any file of 32 KB or more. The known dumps are 1 MB (Japan/English, with and without DRM)."
|
||||
note: "BS-X application cartridge ROM, mandatory for .bs Satellaview files. Core accepts any file of 32 KB or more. The known dumps are 1 MB (Japan/English, with and without DRM), the only size the standalone firmware prompt imports (UI/Utilities/FirmwareHelper.cs:61-77)."
|
||||
source_ref: "source Core/SNES/BaseCartridge.cpp:60-64, source Core/Shared/FirmwareHelper.h:81-92, 172-188, upstream UI/Interop/FirmwareTypeExtensions.cs:23-31"
|
||||
|
||||
- name: "SufamiTurbo.sfc"
|
||||
|
||||
+216
-7
@@ -6,11 +6,11 @@
|
||||
"files": [
|
||||
"batocera-systems"
|
||||
],
|
||||
"summary": "692 kept, 153 files added, 4 hashes updated to the emulator source",
|
||||
"summary": "692 kept, 172 files added, 4 hashes updated to the emulator source",
|
||||
"counts": {
|
||||
"kept": 692,
|
||||
"added": 153,
|
||||
"not_added": 2574,
|
||||
"added": 172,
|
||||
"not_added": 2554,
|
||||
"not_kept": 0
|
||||
},
|
||||
"changes": [
|
||||
@@ -402,6 +402,215 @@
|
||||
"md5": "48d38fc3fcf2ad7bca5ec5191d02e451"
|
||||
}
|
||||
},
|
||||
{
|
||||
"kind": "added",
|
||||
"system": "amiga500",
|
||||
"name": "xpkmaster.library",
|
||||
"destination": "whdboot/Libs/xpkmaster.library",
|
||||
"field": null,
|
||||
"old": null,
|
||||
"new": {
|
||||
"md5": "94bf2832dc8588e4b1b96da05c90d495"
|
||||
}
|
||||
},
|
||||
{
|
||||
"kind": "added",
|
||||
"system": "amiga500",
|
||||
"name": "Compressors/xpkCBR0.library",
|
||||
"destination": "whdboot/Libs/Compressors/xpkCBR0.library",
|
||||
"field": null,
|
||||
"old": null,
|
||||
"new": {
|
||||
"md5": "2461c65dcd95124cc98327324d9bb184"
|
||||
}
|
||||
},
|
||||
{
|
||||
"kind": "added",
|
||||
"system": "amiga500",
|
||||
"name": "Compressors/xpkDLTA.library",
|
||||
"destination": "whdboot/Libs/Compressors/xpkDLTA.library",
|
||||
"field": null,
|
||||
"old": null,
|
||||
"new": {
|
||||
"md5": "d7474dd89a09009fa84937b01e742171"
|
||||
}
|
||||
},
|
||||
{
|
||||
"kind": "added",
|
||||
"system": "amiga500",
|
||||
"name": "Compressors/xpkDUKE.library",
|
||||
"destination": "whdboot/Libs/Compressors/xpkDUKE.library",
|
||||
"field": null,
|
||||
"old": null,
|
||||
"new": {
|
||||
"md5": "d6a9aafb790d40423c4ed0acbc6e85c3"
|
||||
}
|
||||
},
|
||||
{
|
||||
"kind": "added",
|
||||
"system": "amiga500",
|
||||
"name": "Compressors/xpkFAST.library",
|
||||
"destination": "whdboot/Libs/Compressors/xpkFAST.library",
|
||||
"field": null,
|
||||
"old": null,
|
||||
"new": {
|
||||
"md5": "7e4ad7cdd26cb6badc571ce79ab91693"
|
||||
}
|
||||
},
|
||||
{
|
||||
"kind": "added",
|
||||
"system": "amiga500",
|
||||
"name": "Compressors/xpkFRLE.library",
|
||||
"destination": "whdboot/Libs/Compressors/xpkFRLE.library",
|
||||
"field": null,
|
||||
"old": null,
|
||||
"new": {
|
||||
"md5": "7a2c0a4eb36241ca6ed9303a13da9821"
|
||||
}
|
||||
},
|
||||
{
|
||||
"kind": "added",
|
||||
"system": "amiga500",
|
||||
"name": "Compressors/xpkHFMN.library",
|
||||
"destination": "whdboot/Libs/Compressors/xpkHFMN.library",
|
||||
"field": null,
|
||||
"old": null,
|
||||
"new": {
|
||||
"md5": "4d600301435d442f59068e52265cc9f2"
|
||||
}
|
||||
},
|
||||
{
|
||||
"kind": "added",
|
||||
"system": "amiga500",
|
||||
"name": "Compressors/xpkHUFF.library",
|
||||
"destination": "whdboot/Libs/Compressors/xpkHUFF.library",
|
||||
"field": null,
|
||||
"old": null,
|
||||
"new": {
|
||||
"md5": "0b752081f321d324f47c9ec7440531d0"
|
||||
}
|
||||
},
|
||||
{
|
||||
"kind": "added",
|
||||
"system": "amiga500",
|
||||
"name": "Compressors/xpkIMPL.library",
|
||||
"destination": "whdboot/Libs/Compressors/xpkIMPL.library",
|
||||
"field": null,
|
||||
"old": null,
|
||||
"new": {
|
||||
"md5": "6aa281fa42b10e3ff01be01d2f3bbf22"
|
||||
}
|
||||
},
|
||||
{
|
||||
"kind": "added",
|
||||
"system": "amiga500",
|
||||
"name": "Compressors/xpkMASH.library",
|
||||
"destination": "whdboot/Libs/Compressors/xpkMASH.library",
|
||||
"field": null,
|
||||
"old": null,
|
||||
"new": {
|
||||
"md5": "1527b4f331464f3013ba90ca44a91e54"
|
||||
}
|
||||
},
|
||||
{
|
||||
"kind": "added",
|
||||
"system": "amiga500",
|
||||
"name": "Compressors/xpkNONE.library",
|
||||
"destination": "whdboot/Libs/Compressors/xpkNONE.library",
|
||||
"field": null,
|
||||
"old": null,
|
||||
"new": {
|
||||
"md5": "2e98fd5760fb158d697c3c183eb16827"
|
||||
}
|
||||
},
|
||||
{
|
||||
"kind": "added",
|
||||
"system": "amiga500",
|
||||
"name": "Compressors/xpkNUKE.library",
|
||||
"destination": "whdboot/Libs/Compressors/xpkNUKE.library",
|
||||
"field": null,
|
||||
"old": null,
|
||||
"new": {
|
||||
"md5": "d644cfccffa44a284bc6e4050e2f2029"
|
||||
}
|
||||
},
|
||||
{
|
||||
"kind": "added",
|
||||
"system": "amiga500",
|
||||
"name": "Compressors/xpkRAKE.library",
|
||||
"destination": "whdboot/Libs/Compressors/xpkRAKE.library",
|
||||
"field": null,
|
||||
"old": null,
|
||||
"new": {
|
||||
"md5": "c1c5d4aad555f1ce3049127bfb911cea"
|
||||
}
|
||||
},
|
||||
{
|
||||
"kind": "added",
|
||||
"system": "amiga500",
|
||||
"name": "Compressors/xpkRLEN.library",
|
||||
"destination": "whdboot/Libs/Compressors/xpkRLEN.library",
|
||||
"field": null,
|
||||
"old": null,
|
||||
"new": {
|
||||
"md5": "91531faa9caaff395ba3b5bbdd7996c2"
|
||||
}
|
||||
},
|
||||
{
|
||||
"kind": "added",
|
||||
"system": "amiga500",
|
||||
"name": "Compressors/xpkSHRI.library",
|
||||
"destination": "whdboot/Libs/Compressors/xpkSHRI.library",
|
||||
"field": null,
|
||||
"old": null,
|
||||
"new": {
|
||||
"md5": "0807f616ba364d5e1151de505a4845d4"
|
||||
}
|
||||
},
|
||||
{
|
||||
"kind": "added",
|
||||
"system": "amiga500",
|
||||
"name": "Compressors/xpkSMPL.library",
|
||||
"destination": "whdboot/Libs/Compressors/xpkSMPL.library",
|
||||
"field": null,
|
||||
"old": null,
|
||||
"new": {
|
||||
"md5": "069b09e57a18c0f24a72564eaa15199e"
|
||||
}
|
||||
},
|
||||
{
|
||||
"kind": "added",
|
||||
"system": "amiga500",
|
||||
"name": "Compressors/xpkSQSH.library",
|
||||
"destination": "whdboot/Libs/Compressors/xpkSQSH.library",
|
||||
"field": null,
|
||||
"old": null,
|
||||
"new": {
|
||||
"md5": "0545456a27a23c3ee10686ab525ade94"
|
||||
}
|
||||
},
|
||||
{
|
||||
"kind": "added",
|
||||
"system": "amiga500",
|
||||
"name": "explode.library",
|
||||
"destination": "whdboot/Libs/explode.library",
|
||||
"field": null,
|
||||
"old": null,
|
||||
"new": {
|
||||
"md5": "a3a6c7fa59ef63b0b432d32f98efa09e"
|
||||
}
|
||||
},
|
||||
{
|
||||
"kind": "added",
|
||||
"system": "amiga500",
|
||||
"name": "medplayer.library",
|
||||
"destination": "whdboot/Libs/medplayer.library",
|
||||
"field": null,
|
||||
"old": null,
|
||||
"new": {
|
||||
"md5": "57c19c020dafc309ff6f238ae6934cb9"
|
||||
}
|
||||
},
|
||||
{
|
||||
"kind": "added",
|
||||
"system": "amiga500",
|
||||
@@ -432,7 +641,7 @@
|
||||
"field": null,
|
||||
"old": null,
|
||||
"new": {
|
||||
"md5": "a491e6bc79db7e968d35577cee2769a5"
|
||||
"md5": "9a42e69421e3148c69be679b18b9444e"
|
||||
}
|
||||
},
|
||||
{
|
||||
@@ -443,7 +652,7 @@
|
||||
"field": null,
|
||||
"old": null,
|
||||
"new": {
|
||||
"md5": "28b7fd41cd5d1b345324aa2571fb1c5d"
|
||||
"md5": "3f04bc22c0ac3e2aa1611c3ced93ae74"
|
||||
}
|
||||
},
|
||||
{
|
||||
@@ -454,7 +663,7 @@
|
||||
"field": null,
|
||||
"old": null,
|
||||
"new": {
|
||||
"md5": "51d44cd24e16fbb395b1bfefbaacd375"
|
||||
"md5": "932a2c1b886e6daf87f0e72ed7533146"
|
||||
}
|
||||
},
|
||||
{
|
||||
@@ -1746,7 +1955,7 @@
|
||||
"hashes_cleared": [],
|
||||
"required_aligned": 0,
|
||||
"withheld": [],
|
||||
"found_by_content": 477,
|
||||
"found_by_content": 481,
|
||||
"unattributed": [],
|
||||
"removal_candidates": [
|
||||
{
|
||||
|
||||
@@ -251,11 +251,30 @@ systems = {
|
||||
{ "md5": "e40a5dfb3d017ba8779faba30cbd1c8e", "file": "bios/amiga/amiga-os-310-a600.rom" },
|
||||
{ "md5": "d2ce6748e8e42222662e14359f68dad5", "file": "bios/aros-ext.bin", "emulator": "libretro", "core": "amiberry" },
|
||||
{ "md5": "48d38fc3fcf2ad7bca5ec5191d02e451", "file": "bios/aros-rom.bin", "emulator": "libretro", "core": "amiberry" },
|
||||
{ "md5": "94bf2832dc8588e4b1b96da05c90d495", "file": "bios/whdboot/Libs/xpkmaster.library", "emulator": "libretro", "core": "amiberry" },
|
||||
{ "md5": "2461c65dcd95124cc98327324d9bb184", "file": "bios/whdboot/Libs/Compressors/xpkCBR0.library", "emulator": "libretro", "core": "amiberry" },
|
||||
{ "md5": "d7474dd89a09009fa84937b01e742171", "file": "bios/whdboot/Libs/Compressors/xpkDLTA.library", "emulator": "libretro", "core": "amiberry" },
|
||||
{ "md5": "d6a9aafb790d40423c4ed0acbc6e85c3", "file": "bios/whdboot/Libs/Compressors/xpkDUKE.library", "emulator": "libretro", "core": "amiberry" },
|
||||
{ "md5": "7e4ad7cdd26cb6badc571ce79ab91693", "file": "bios/whdboot/Libs/Compressors/xpkFAST.library", "emulator": "libretro", "core": "amiberry" },
|
||||
{ "md5": "7a2c0a4eb36241ca6ed9303a13da9821", "file": "bios/whdboot/Libs/Compressors/xpkFRLE.library", "emulator": "libretro", "core": "amiberry" },
|
||||
{ "md5": "4d600301435d442f59068e52265cc9f2", "file": "bios/whdboot/Libs/Compressors/xpkHFMN.library", "emulator": "libretro", "core": "amiberry" },
|
||||
{ "md5": "0b752081f321d324f47c9ec7440531d0", "file": "bios/whdboot/Libs/Compressors/xpkHUFF.library", "emulator": "libretro", "core": "amiberry" },
|
||||
{ "md5": "6aa281fa42b10e3ff01be01d2f3bbf22", "file": "bios/whdboot/Libs/Compressors/xpkIMPL.library", "emulator": "libretro", "core": "amiberry" },
|
||||
{ "md5": "1527b4f331464f3013ba90ca44a91e54", "file": "bios/whdboot/Libs/Compressors/xpkMASH.library", "emulator": "libretro", "core": "amiberry" },
|
||||
{ "md5": "2e98fd5760fb158d697c3c183eb16827", "file": "bios/whdboot/Libs/Compressors/xpkNONE.library", "emulator": "libretro", "core": "amiberry" },
|
||||
{ "md5": "d644cfccffa44a284bc6e4050e2f2029", "file": "bios/whdboot/Libs/Compressors/xpkNUKE.library", "emulator": "libretro", "core": "amiberry" },
|
||||
{ "md5": "c1c5d4aad555f1ce3049127bfb911cea", "file": "bios/whdboot/Libs/Compressors/xpkRAKE.library", "emulator": "libretro", "core": "amiberry" },
|
||||
{ "md5": "91531faa9caaff395ba3b5bbdd7996c2", "file": "bios/whdboot/Libs/Compressors/xpkRLEN.library", "emulator": "libretro", "core": "amiberry" },
|
||||
{ "md5": "0807f616ba364d5e1151de505a4845d4", "file": "bios/whdboot/Libs/Compressors/xpkSHRI.library", "emulator": "libretro", "core": "amiberry" },
|
||||
{ "md5": "069b09e57a18c0f24a72564eaa15199e", "file": "bios/whdboot/Libs/Compressors/xpkSMPL.library", "emulator": "libretro", "core": "amiberry" },
|
||||
{ "md5": "0545456a27a23c3ee10686ab525ade94", "file": "bios/whdboot/Libs/Compressors/xpkSQSH.library", "emulator": "libretro", "core": "amiberry" },
|
||||
{ "md5": "a3a6c7fa59ef63b0b432d32f98efa09e", "file": "bios/whdboot/Libs/explode.library", "emulator": "libretro", "core": "amiberry" },
|
||||
{ "md5": "57c19c020dafc309ff6f238ae6934cb9", "file": "bios/whdboot/Libs/medplayer.library", "emulator": "libretro", "core": "amiberry" },
|
||||
{ "md5": "5d06f5972b95f55549dfbfa8e45ae090", "file": "bios/whdboot/WHDLoad", "emulator": "libretro", "core": "amiberry" },
|
||||
{ "md5": "2a3a61bbd7c351751506e22a4354b76a", "file": "bios/whdboot/JST", "emulator": "libretro", "core": "amiberry" },
|
||||
{ "md5": "a491e6bc79db7e968d35577cee2769a5", "file": "bios/whdboot/host-quit", "emulator": "libretro", "core": "amiberry" },
|
||||
{ "md5": "28b7fd41cd5d1b345324aa2571fb1c5d", "file": "bios/whdboot/boot-data.zip", "emulator": "libretro", "core": "amiberry" },
|
||||
{ "md5": "51d44cd24e16fbb395b1bfefbaacd375", "file": "bios/whdboot/game-data/whdload_db.json", "emulator": "libretro", "core": "amiberry" },
|
||||
{ "md5": "9a42e69421e3148c69be679b18b9444e", "file": "bios/whdboot/host-quit", "emulator": "libretro", "core": "amiberry" },
|
||||
{ "md5": "3f04bc22c0ac3e2aa1611c3ced93ae74", "file": "bios/whdboot/boot-data.zip", "emulator": "libretro", "core": "amiberry" },
|
||||
{ "md5": "932a2c1b886e6daf87f0e72ed7533146", "file": "bios/whdboot/game-data/whdload_db.json", "emulator": "libretro", "core": "amiberry" },
|
||||
{ "md5": "c993feb1eeddec1d2e687aa514231028", "file": "bios/whdboot/save-data/Kickstarts/kick33180.A500.RTB", "emulator": "libretro", "core": "amiberry" },
|
||||
{ "md5": "7eb13d974af0992d672b67c317a7e0a1", "file": "bios/whdboot/save-data/Kickstarts/kick34005.A500.RTB", "emulator": "libretro", "core": "amiberry" },
|
||||
{ "md5": "e057054449b5e21591ce27d2eb9ac720", "file": "bios/whdboot/save-data/Kickstarts/kick37175.A500.RTB", "emulator": "libretro", "core": "amiberry" },
|
||||
|
||||
@@ -10,7 +10,7 @@
|
||||
"counts": {
|
||||
"kept": 170,
|
||||
"added": 0,
|
||||
"not_added": 2332,
|
||||
"not_added": 2334,
|
||||
"not_kept": 0
|
||||
},
|
||||
"changes": [],
|
||||
@@ -21,7 +21,7 @@
|
||||
"hashes_cleared": [],
|
||||
"required_aligned": 0,
|
||||
"withheld": [],
|
||||
"found_by_content": 301,
|
||||
"found_by_content": 299,
|
||||
"unattributed": [],
|
||||
"removal_candidates": [
|
||||
{
|
||||
|
||||
+785
-15
@@ -6,11 +6,11 @@
|
||||
"files": [
|
||||
"System.dat"
|
||||
],
|
||||
"summary": "519 kept, 147 files added, 76 hashes updated to the emulator source, 23 sizes updated to the emulator source, 1 size removed, 2 hashes removed",
|
||||
"summary": "519 kept, 202 files added, 76 hashes updated to the emulator source, 23 sizes updated to the emulator source, 1 size removed, 2 hashes removed",
|
||||
"counts": {
|
||||
"kept": 519,
|
||||
"added": 147,
|
||||
"not_added": 1854,
|
||||
"added": 202,
|
||||
"not_added": 1799,
|
||||
"not_kept": 0
|
||||
},
|
||||
"changes": [
|
||||
@@ -292,6 +292,272 @@
|
||||
"size": 524288
|
||||
}
|
||||
},
|
||||
{
|
||||
"kind": "added",
|
||||
"system": "Commodore - Amiga",
|
||||
"name": "xpkmaster.library",
|
||||
"destination": "whdboot/Libs/xpkmaster.library",
|
||||
"field": null,
|
||||
"old": null,
|
||||
"new": {
|
||||
"sha1": "5bd19f9503b59c5d19bfe1c6a6e3b6e7c0e9eae2",
|
||||
"md5": "94bf2832dc8588e4b1b96da05c90d495",
|
||||
"crc32": "c59aab67",
|
||||
"size": 16496
|
||||
}
|
||||
},
|
||||
{
|
||||
"kind": "added",
|
||||
"system": "Commodore - Amiga",
|
||||
"name": "Compressors/xpkCBR0.library",
|
||||
"destination": "whdboot/Libs/Compressors/xpkCBR0.library",
|
||||
"field": null,
|
||||
"old": null,
|
||||
"new": {
|
||||
"sha1": "a2a76c10cb06315e51990911fa050669cc89830d",
|
||||
"md5": "2461c65dcd95124cc98327324d9bb184",
|
||||
"crc32": "f86d3c50",
|
||||
"size": 1300
|
||||
}
|
||||
},
|
||||
{
|
||||
"kind": "added",
|
||||
"system": "Commodore - Amiga",
|
||||
"name": "Compressors/xpkDLTA.library",
|
||||
"destination": "whdboot/Libs/Compressors/xpkDLTA.library",
|
||||
"field": null,
|
||||
"old": null,
|
||||
"new": {
|
||||
"sha1": "ca64f89919c2869cb6fd75346b9a21245a6d04a8",
|
||||
"md5": "d7474dd89a09009fa84937b01e742171",
|
||||
"crc32": "7035bf8e",
|
||||
"size": 960
|
||||
}
|
||||
},
|
||||
{
|
||||
"kind": "added",
|
||||
"system": "Commodore - Amiga",
|
||||
"name": "Compressors/xpkDUKE.library",
|
||||
"destination": "whdboot/Libs/Compressors/xpkDUKE.library",
|
||||
"field": null,
|
||||
"old": null,
|
||||
"new": {
|
||||
"sha1": "8102d77ae0a3d64496436ee56a9c577c84b11992",
|
||||
"md5": "d6a9aafb790d40423c4ed0acbc6e85c3",
|
||||
"crc32": "db24e9df",
|
||||
"size": 3280
|
||||
}
|
||||
},
|
||||
{
|
||||
"kind": "added",
|
||||
"system": "Commodore - Amiga",
|
||||
"name": "Compressors/xpkFAST.library",
|
||||
"destination": "whdboot/Libs/Compressors/xpkFAST.library",
|
||||
"field": null,
|
||||
"old": null,
|
||||
"new": {
|
||||
"sha1": "4599430f3baa302635a85b26a7b70a4116dc5f09",
|
||||
"md5": "7e4ad7cdd26cb6badc571ce79ab91693",
|
||||
"crc32": "14e639c6",
|
||||
"size": 2136
|
||||
}
|
||||
},
|
||||
{
|
||||
"kind": "added",
|
||||
"system": "Commodore - Amiga",
|
||||
"name": "Compressors/xpkFRLE.library",
|
||||
"destination": "whdboot/Libs/Compressors/xpkFRLE.library",
|
||||
"field": null,
|
||||
"old": null,
|
||||
"new": {
|
||||
"sha1": "d0746429187ab38e886a47820203315f734e8d89",
|
||||
"md5": "7a2c0a4eb36241ca6ed9303a13da9821",
|
||||
"crc32": "8e52f98c",
|
||||
"size": 1124
|
||||
}
|
||||
},
|
||||
{
|
||||
"kind": "added",
|
||||
"system": "Commodore - Amiga",
|
||||
"name": "Compressors/xpkHFMN.library",
|
||||
"destination": "whdboot/Libs/Compressors/xpkHFMN.library",
|
||||
"field": null,
|
||||
"old": null,
|
||||
"new": {
|
||||
"sha1": "f4a8dbe69e386d87d9ab8cbaf7fc3881b358fdb2",
|
||||
"md5": "4d600301435d442f59068e52265cc9f2",
|
||||
"crc32": "482e44a6",
|
||||
"size": 2124
|
||||
}
|
||||
},
|
||||
{
|
||||
"kind": "added",
|
||||
"system": "Commodore - Amiga",
|
||||
"name": "Compressors/xpkHUFF.library",
|
||||
"destination": "whdboot/Libs/Compressors/xpkHUFF.library",
|
||||
"field": null,
|
||||
"old": null,
|
||||
"new": {
|
||||
"sha1": "f22d099b81d2d039c4fbb3fea47cc9700b01fecf",
|
||||
"md5": "0b752081f321d324f47c9ec7440531d0",
|
||||
"crc32": "71bcf51a",
|
||||
"size": 2284
|
||||
}
|
||||
},
|
||||
{
|
||||
"kind": "added",
|
||||
"system": "Commodore - Amiga",
|
||||
"name": "Compressors/xpkIMPL.library",
|
||||
"destination": "whdboot/Libs/Compressors/xpkIMPL.library",
|
||||
"field": null,
|
||||
"old": null,
|
||||
"new": {
|
||||
"sha1": "0e00bc18aec757d86f9831131c2236a704c175db",
|
||||
"md5": "6aa281fa42b10e3ff01be01d2f3bbf22",
|
||||
"crc32": "8c2ca755",
|
||||
"size": 4048
|
||||
}
|
||||
},
|
||||
{
|
||||
"kind": "added",
|
||||
"system": "Commodore - Amiga",
|
||||
"name": "Compressors/xpkMASH.library",
|
||||
"destination": "whdboot/Libs/Compressors/xpkMASH.library",
|
||||
"field": null,
|
||||
"old": null,
|
||||
"new": {
|
||||
"sha1": "1093133a17cb635c21c5532ae26ded83b6d359ce",
|
||||
"md5": "1527b4f331464f3013ba90ca44a91e54",
|
||||
"crc32": "4ef3bab9",
|
||||
"size": 2816
|
||||
}
|
||||
},
|
||||
{
|
||||
"kind": "added",
|
||||
"system": "Commodore - Amiga",
|
||||
"name": "Compressors/xpkNONE.library",
|
||||
"destination": "whdboot/Libs/Compressors/xpkNONE.library",
|
||||
"field": null,
|
||||
"old": null,
|
||||
"new": {
|
||||
"sha1": "46dca6e2ff2176f7a12c52ea992a7a49ae5ef269",
|
||||
"md5": "2e98fd5760fb158d697c3c183eb16827",
|
||||
"crc32": "bfa564e8",
|
||||
"size": 812
|
||||
}
|
||||
},
|
||||
{
|
||||
"kind": "added",
|
||||
"system": "Commodore - Amiga",
|
||||
"name": "Compressors/xpkNUKE.library",
|
||||
"destination": "whdboot/Libs/Compressors/xpkNUKE.library",
|
||||
"field": null,
|
||||
"old": null,
|
||||
"new": {
|
||||
"sha1": "168bee97805be1f85b65f615e6931c4942caf4e4",
|
||||
"md5": "d644cfccffa44a284bc6e4050e2f2029",
|
||||
"crc32": "b73c89a4",
|
||||
"size": 2900
|
||||
}
|
||||
},
|
||||
{
|
||||
"kind": "added",
|
||||
"system": "Commodore - Amiga",
|
||||
"name": "Compressors/xpkRAKE.library",
|
||||
"destination": "whdboot/Libs/Compressors/xpkRAKE.library",
|
||||
"field": null,
|
||||
"old": null,
|
||||
"new": {
|
||||
"sha1": "50cd2a19bee1ebd6b54b31c5b9461d5a81a2e910",
|
||||
"md5": "c1c5d4aad555f1ce3049127bfb911cea",
|
||||
"crc32": "9a908635",
|
||||
"size": 6604
|
||||
}
|
||||
},
|
||||
{
|
||||
"kind": "added",
|
||||
"system": "Commodore - Amiga",
|
||||
"name": "Compressors/xpkRLEN.library",
|
||||
"destination": "whdboot/Libs/Compressors/xpkRLEN.library",
|
||||
"field": null,
|
||||
"old": null,
|
||||
"new": {
|
||||
"sha1": "c81cf6d99de56faa6154cc81a9876517c2a8efc0",
|
||||
"md5": "91531faa9caaff395ba3b5bbdd7996c2",
|
||||
"crc32": "12b10dea",
|
||||
"size": 1008
|
||||
}
|
||||
},
|
||||
{
|
||||
"kind": "added",
|
||||
"system": "Commodore - Amiga",
|
||||
"name": "Compressors/xpkSHRI.library",
|
||||
"destination": "whdboot/Libs/Compressors/xpkSHRI.library",
|
||||
"field": null,
|
||||
"old": null,
|
||||
"new": {
|
||||
"sha1": "fc96d367e7b3409074841c7f145ab6daef0a6a4d",
|
||||
"md5": "0807f616ba364d5e1151de505a4845d4",
|
||||
"crc32": "8e29d45a",
|
||||
"size": 9272
|
||||
}
|
||||
},
|
||||
{
|
||||
"kind": "added",
|
||||
"system": "Commodore - Amiga",
|
||||
"name": "Compressors/xpkSMPL.library",
|
||||
"destination": "whdboot/Libs/Compressors/xpkSMPL.library",
|
||||
"field": null,
|
||||
"old": null,
|
||||
"new": {
|
||||
"sha1": "d140b4e87a2ff76cf94616d97fe7b127d128d973",
|
||||
"md5": "069b09e57a18c0f24a72564eaa15199e",
|
||||
"crc32": "53543641",
|
||||
"size": 1740
|
||||
}
|
||||
},
|
||||
{
|
||||
"kind": "added",
|
||||
"system": "Commodore - Amiga",
|
||||
"name": "Compressors/xpkSQSH.library",
|
||||
"destination": "whdboot/Libs/Compressors/xpkSQSH.library",
|
||||
"field": null,
|
||||
"old": null,
|
||||
"new": {
|
||||
"sha1": "2191b616abd4b2fb34c89ae243c35feea2b71104",
|
||||
"md5": "0545456a27a23c3ee10686ab525ade94",
|
||||
"crc32": "87c5de68",
|
||||
"size": 2936
|
||||
}
|
||||
},
|
||||
{
|
||||
"kind": "added",
|
||||
"system": "Commodore - Amiga",
|
||||
"name": "explode.library",
|
||||
"destination": "whdboot/Libs/explode.library",
|
||||
"field": null,
|
||||
"old": null,
|
||||
"new": {
|
||||
"sha1": "c29ac7a92db4837703049af91d0d35b2a592f03d",
|
||||
"md5": "a3a6c7fa59ef63b0b432d32f98efa09e",
|
||||
"crc32": "c1e31c87",
|
||||
"size": 1784
|
||||
}
|
||||
},
|
||||
{
|
||||
"kind": "added",
|
||||
"system": "Commodore - Amiga",
|
||||
"name": "medplayer.library",
|
||||
"destination": "whdboot/Libs/medplayer.library",
|
||||
"field": null,
|
||||
"old": null,
|
||||
"new": {
|
||||
"sha1": "4313334a01dd02eaf60ea7eb95dee72c97835645",
|
||||
"md5": "57c19c020dafc309ff6f238ae6934cb9",
|
||||
"crc32": "39919294",
|
||||
"size": 15340
|
||||
}
|
||||
},
|
||||
{
|
||||
"kind": "added",
|
||||
"system": "Commodore - Amiga",
|
||||
@@ -300,10 +566,10 @@
|
||||
"field": null,
|
||||
"old": null,
|
||||
"new": {
|
||||
"sha1": "3ae8939c8f1cdd721eabd7d73c2d6277a038672a",
|
||||
"md5": "a491e6bc79db7e968d35577cee2769a5",
|
||||
"crc32": "8ef13553",
|
||||
"size": 3180
|
||||
"sha1": "f717cb754078a350908e2839b3095843ccd90fa7",
|
||||
"md5": "9a42e69421e3148c69be679b18b9444e",
|
||||
"crc32": "3069c8f9",
|
||||
"size": 1736
|
||||
}
|
||||
},
|
||||
{
|
||||
@@ -314,10 +580,10 @@
|
||||
"field": null,
|
||||
"old": null,
|
||||
"new": {
|
||||
"sha1": "bce26f64e0ad02a1f7ccc4a8ff43ef6ecd635f86",
|
||||
"md5": "28b7fd41cd5d1b345324aa2571fb1c5d",
|
||||
"crc32": "0ea2cf94",
|
||||
"size": 297373
|
||||
"sha1": "b1e841768bf18b0d7d0ffbbe7f7788742b641677",
|
||||
"md5": "3f04bc22c0ac3e2aa1611c3ced93ae74",
|
||||
"crc32": "c79884ee",
|
||||
"size": 187033
|
||||
}
|
||||
},
|
||||
{
|
||||
@@ -328,10 +594,10 @@
|
||||
"field": null,
|
||||
"old": null,
|
||||
"new": {
|
||||
"sha1": "6540ae1a35080e3dbeacfba5139e4781eb74ca86",
|
||||
"md5": "51d44cd24e16fbb395b1bfefbaacd375",
|
||||
"crc32": "d50e6275",
|
||||
"size": 6741053
|
||||
"sha1": "7554061aa6f928bd41acdbcafe2d20322a0e188c",
|
||||
"md5": "932a2c1b886e6daf87f0e72ed7533146",
|
||||
"crc32": "b2267d3c",
|
||||
"size": 6750282
|
||||
}
|
||||
},
|
||||
{
|
||||
@@ -880,6 +1146,398 @@
|
||||
"size": 65536
|
||||
}
|
||||
},
|
||||
{
|
||||
"kind": "added",
|
||||
"system": "DOS",
|
||||
"name": "awe32.raw",
|
||||
"destination": "awe32.raw",
|
||||
"field": null,
|
||||
"old": null,
|
||||
"new": {
|
||||
"sha1": "6ac3c1317c1acb83902397d7767763cca4de357a",
|
||||
"md5": "30b76c45ca0712418239d2b15c65881a",
|
||||
"crc32": "ceb2787e",
|
||||
"size": 1048576
|
||||
}
|
||||
},
|
||||
{
|
||||
"kind": "added",
|
||||
"system": "DOS",
|
||||
"name": "sc55-roms/mk1-v1.21/rom1.bin",
|
||||
"destination": "sc55-roms/mk1-v1.21/rom1.bin",
|
||||
"field": null,
|
||||
"old": null,
|
||||
"new": {
|
||||
"sha1": "dd01ec54027751c2f2f2e47bbb7a0bf3d1ca8ae2",
|
||||
"md5": "462cb3a2ce9e54f4e54a52f643931ffd",
|
||||
"crc32": "4ed0d171",
|
||||
"size": 32768
|
||||
}
|
||||
},
|
||||
{
|
||||
"kind": "added",
|
||||
"system": "DOS",
|
||||
"name": "sc55-roms/mk1-v1.21/rom2.bin",
|
||||
"destination": "sc55-roms/mk1-v1.21/rom2.bin",
|
||||
"field": null,
|
||||
"old": null,
|
||||
"new": {
|
||||
"sha1": "9c17f85e784dc1549ac1f98d457b353393331f6b",
|
||||
"md5": "6b61186953b50d900e430ae6a996bda7",
|
||||
"crc32": "2dc58549",
|
||||
"size": 262144
|
||||
}
|
||||
},
|
||||
{
|
||||
"kind": "added",
|
||||
"system": "DOS",
|
||||
"name": "sc55-roms/mk1-v1.21/wave1.bin",
|
||||
"destination": "sc55-roms/mk1-v1.21/wave1.bin",
|
||||
"field": null,
|
||||
"old": null,
|
||||
"new": {
|
||||
"sha1": "8cc3c0d7ec0993df81d4ca1970e01a4b0d8d3775",
|
||||
"md5": "5f40d5297f47358ddea43b8d225874cc",
|
||||
"crc32": "1ac774d3",
|
||||
"size": 1048576
|
||||
}
|
||||
},
|
||||
{
|
||||
"kind": "added",
|
||||
"system": "DOS",
|
||||
"name": "sc55-roms/mk1-v1.21/wave2.bin",
|
||||
"destination": "sc55-roms/mk1-v1.21/wave2.bin",
|
||||
"field": null,
|
||||
"old": null,
|
||||
"new": {
|
||||
"sha1": "80e6eb130c18c09955551563f78906163c55cc11",
|
||||
"md5": "f78fb079a7d8c5f1eb04e0fd5aedbc9e",
|
||||
"crc32": "8dcc592a",
|
||||
"size": 1048576
|
||||
}
|
||||
},
|
||||
{
|
||||
"kind": "added",
|
||||
"system": "DOS",
|
||||
"name": "sc55-roms/mk1-v1.21/wave3.bin",
|
||||
"destination": "sc55-roms/mk1-v1.21/wave3.bin",
|
||||
"field": null,
|
||||
"old": null,
|
||||
"new": {
|
||||
"sha1": "7454b817778179806f3f9d1985b3a2ef67ace76f",
|
||||
"md5": "53c013d4bad0337385cfda2631e5b78e",
|
||||
"crc32": "e21ebc04",
|
||||
"size": 1048576
|
||||
}
|
||||
},
|
||||
{
|
||||
"kind": "added",
|
||||
"system": "DOS",
|
||||
"name": "sc55-roms/mk1-v1.00/rom1.bin",
|
||||
"destination": "sc55-roms/mk1-v1.00/rom1.bin",
|
||||
"field": null,
|
||||
"old": null,
|
||||
"new": {
|
||||
"sha1": "675ea03634429c49fdeebf14849953bc1dd844aa",
|
||||
"md5": "c4e923344906aa630ab1b950720db386",
|
||||
"crc32": "d072c251",
|
||||
"size": 32768
|
||||
}
|
||||
},
|
||||
{
|
||||
"kind": "added",
|
||||
"system": "DOS",
|
||||
"name": "sc55-roms/mk1-v1.00/rom2.bin",
|
||||
"destination": "sc55-roms/mk1-v1.00/rom2.bin",
|
||||
"field": null,
|
||||
"old": null,
|
||||
"new": {
|
||||
"sha1": "f7f8ac018d24be8de6cc37ed4a3b3bfc0953510a",
|
||||
"md5": "7e90b34c777e2c5e1277ae559d959c26",
|
||||
"crc32": "dbaaae8f",
|
||||
"size": 262144
|
||||
}
|
||||
},
|
||||
{
|
||||
"kind": "added",
|
||||
"system": "DOS",
|
||||
"name": "sc55-roms/mk1-v1.10/rom1.bin",
|
||||
"destination": "sc55-roms/mk1-v1.10/rom1.bin",
|
||||
"field": null,
|
||||
"old": null,
|
||||
"new": {
|
||||
"sha1": "1af0102664883ce17ea3a978e5a9a7113c040542",
|
||||
"md5": "b301bfdaac9650ac97322f533396fdfb",
|
||||
"crc32": "c450da76",
|
||||
"size": 32768
|
||||
}
|
||||
},
|
||||
{
|
||||
"kind": "added",
|
||||
"system": "DOS",
|
||||
"name": "sc55-roms/mk1-v1.10/rom2.bin",
|
||||
"destination": "sc55-roms/mk1-v1.10/rom2.bin",
|
||||
"field": null,
|
||||
"old": null,
|
||||
"new": {
|
||||
"sha1": "6bc23a354ecd2e61c705b6191b49196db35f3d2d",
|
||||
"md5": "c0f0c8c2ffcfaf9a56c7e0d2dd440857",
|
||||
"crc32": "15f0aedb",
|
||||
"size": 262144
|
||||
}
|
||||
},
|
||||
{
|
||||
"kind": "added",
|
||||
"system": "DOS",
|
||||
"name": "sc55-roms/mk1-v1.20/rom1.bin",
|
||||
"destination": "sc55-roms/mk1-v1.20/rom1.bin",
|
||||
"field": null,
|
||||
"old": null,
|
||||
"new": {
|
||||
"sha1": "dd01ec54027751c2f2f2e47bbb7a0bf3d1ca8ae2",
|
||||
"md5": "462cb3a2ce9e54f4e54a52f643931ffd",
|
||||
"crc32": "4ed0d171",
|
||||
"size": 32768
|
||||
}
|
||||
},
|
||||
{
|
||||
"kind": "added",
|
||||
"system": "DOS",
|
||||
"name": "sc55-roms/mk1-v1.20/rom2.bin",
|
||||
"destination": "sc55-roms/mk1-v1.20/rom2.bin",
|
||||
"field": null,
|
||||
"old": null,
|
||||
"new": {
|
||||
"sha1": "ffa8e3d5b3ec45485de4c13029bb4406c08ac9c3",
|
||||
"md5": "181b86f1c5a81caa65b6cebbf7c2678b",
|
||||
"crc32": "ebd488fd",
|
||||
"size": 262144
|
||||
}
|
||||
},
|
||||
{
|
||||
"kind": "added",
|
||||
"system": "DOS",
|
||||
"name": "sc55-roms/mk1-v2.00/rom1.bin",
|
||||
"destination": "sc55-roms/mk1-v2.00/rom1.bin",
|
||||
"field": null,
|
||||
"old": null,
|
||||
"new": {
|
||||
"sha1": "76f646bc03f66dbee7606f2181d4ea76f05ece7d",
|
||||
"md5": "6b74988a79c2a48239809f07a54175b3",
|
||||
"crc32": "a160da90",
|
||||
"size": 32768
|
||||
}
|
||||
},
|
||||
{
|
||||
"kind": "added",
|
||||
"system": "DOS",
|
||||
"name": "sc55-roms/mk1-v2.00/rom2.bin",
|
||||
"destination": "sc55-roms/mk1-v2.00/rom2.bin",
|
||||
"field": null,
|
||||
"old": null,
|
||||
"new": {
|
||||
"sha1": "6d6346b35c2379e9e6adc182214580e3d164b0c7",
|
||||
"md5": "d79cf9c9aa88416372cb0fd318f79beb",
|
||||
"crc32": "1768cc18",
|
||||
"size": 262144
|
||||
}
|
||||
},
|
||||
{
|
||||
"kind": "added",
|
||||
"system": "DOS",
|
||||
"name": "sc55-roms/mk2-v1.01/rom1.bin",
|
||||
"destination": "sc55-roms/mk2-v1.01/rom1.bin",
|
||||
"field": null,
|
||||
"old": null,
|
||||
"new": {
|
||||
"sha1": "b91bb1d9dccffe831b7cfde7800a3fe32b2fbda6",
|
||||
"md5": "4ca058f7db05f51e97bb30a162e9610a",
|
||||
"crc32": "9b66631f",
|
||||
"size": 32768
|
||||
}
|
||||
},
|
||||
{
|
||||
"kind": "added",
|
||||
"system": "DOS",
|
||||
"name": "sc55-roms/mk2-v1.01/rom2.bin",
|
||||
"destination": "sc55-roms/mk2-v1.01/rom2.bin",
|
||||
"field": null,
|
||||
"old": null,
|
||||
"new": {
|
||||
"sha1": "078cb5feea05e80bb9a1bb857a2163ee434fd053",
|
||||
"md5": "63b24c7193ce34afefce9cec32ac39f0",
|
||||
"crc32": "fcee1e8e",
|
||||
"size": 524288
|
||||
}
|
||||
},
|
||||
{
|
||||
"kind": "added",
|
||||
"system": "DOS",
|
||||
"name": "sc55-roms/mk2-v1.01/smrom.bin",
|
||||
"destination": "sc55-roms/mk2-v1.01/smrom.bin",
|
||||
"field": null,
|
||||
"old": null,
|
||||
"new": {
|
||||
"sha1": "4d48578d811a762a8e7bfaf18989bcac70ae1ba4",
|
||||
"md5": "4e39dcfc30352a33caf1f4d81a7f13e4",
|
||||
"crc32": "702c0a82",
|
||||
"size": 4096
|
||||
}
|
||||
},
|
||||
{
|
||||
"kind": "added",
|
||||
"system": "DOS",
|
||||
"name": "sc55-roms/mk2-v1.01/wave1.bin",
|
||||
"destination": "sc55-roms/mk2-v1.01/wave1.bin",
|
||||
"field": null,
|
||||
"old": null,
|
||||
"new": {
|
||||
"sha1": "96708cb21381c2fd03de4babbf7aea301c7594a6",
|
||||
"md5": "30df645acf7f1b621d5f2891ea53e00b",
|
||||
"crc32": "1519d3b3",
|
||||
"size": 2097152
|
||||
}
|
||||
},
|
||||
{
|
||||
"kind": "added",
|
||||
"system": "DOS",
|
||||
"name": "sc55-roms/mk2-v1.01/wave2.bin",
|
||||
"destination": "sc55-roms/mk2-v1.01/wave2.bin",
|
||||
"field": null,
|
||||
"old": null,
|
||||
"new": {
|
||||
"sha1": "4d91cdeaed048d653dbf846a221003c3a3f08279",
|
||||
"md5": "f86e0433a11707a048a8a79e8d98a3be",
|
||||
"crc32": "0f826c7f",
|
||||
"size": 1048576
|
||||
}
|
||||
},
|
||||
{
|
||||
"kind": "added",
|
||||
"system": "DOS",
|
||||
"name": "sc55-roms/sc155-rev1/rom2.bin",
|
||||
"destination": "sc55-roms/sc155-rev1/rom2.bin",
|
||||
"field": null,
|
||||
"old": null,
|
||||
"new": {
|
||||
"sha1": "e9e1bb1bc2691145ffe17f01a48d6614c9f22225",
|
||||
"md5": "5c7c6ab34ef6da079b05a36fd23c9c91",
|
||||
"crc32": "e19d4a52",
|
||||
"size": 262144
|
||||
}
|
||||
},
|
||||
{
|
||||
"kind": "added",
|
||||
"system": "DOS",
|
||||
"name": "sc55-roms/cm300-v1.30/rom1.bin",
|
||||
"destination": "sc55-roms/cm300-v1.30/rom1.bin",
|
||||
"field": null,
|
||||
"old": null,
|
||||
"new": {
|
||||
"sha1": "30b788af86b97f84a4acf0e51bdfc864ed05d530",
|
||||
"md5": "c40042f1469eec55870391f131c96230",
|
||||
"crc32": "4b9e6eae",
|
||||
"size": 32768
|
||||
}
|
||||
},
|
||||
{
|
||||
"kind": "added",
|
||||
"system": "DOS",
|
||||
"name": "sc55-roms/cm300-v1.30/rom2.bin",
|
||||
"destination": "sc55-roms/cm300-v1.30/rom2.bin",
|
||||
"field": null,
|
||||
"old": null,
|
||||
"new": {
|
||||
"sha1": "8f744c7b9eadd4056f4611c9f703f7d6bdcbbd62",
|
||||
"md5": "cfbd838e3fe6bcfb92f2587fafee048e",
|
||||
"crc32": "baaab31a",
|
||||
"size": 262144
|
||||
}
|
||||
},
|
||||
{
|
||||
"kind": "added",
|
||||
"system": "DOS",
|
||||
"name": "sc55-roms/cm300-v1.30/wave1.bin",
|
||||
"destination": "sc55-roms/cm300-v1.30/wave1.bin",
|
||||
"field": null,
|
||||
"old": null,
|
||||
"new": {
|
||||
"sha1": "891cf2ac5ca64f453b370b9076f9fb2b4ebc5dcf",
|
||||
"md5": "1e8c539412480c3c261d82e049a8bb10",
|
||||
"crc32": "b1b31a41",
|
||||
"size": 1048576
|
||||
}
|
||||
},
|
||||
{
|
||||
"kind": "added",
|
||||
"system": "DOS",
|
||||
"name": "sc55-roms/cm300-v1.30/wave2.bin",
|
||||
"destination": "sc55-roms/cm300-v1.30/wave2.bin",
|
||||
"field": null,
|
||||
"old": null,
|
||||
"new": {
|
||||
"sha1": "49f38f181b444fc39ad86c4ddab3b25bf839d0b4",
|
||||
"md5": "fb28743cef3fa73542554f68a8e2297f",
|
||||
"crc32": "359edfb2",
|
||||
"size": 1048576
|
||||
}
|
||||
},
|
||||
{
|
||||
"kind": "added",
|
||||
"system": "DOS",
|
||||
"name": "sc55-roms/st-v1.01/rom2.bin",
|
||||
"destination": "sc55-roms/st-v1.01/rom2.bin",
|
||||
"field": null,
|
||||
"old": null,
|
||||
"new": {
|
||||
"sha1": "950f2ae1c2f44e8d92f4f267bac09565a17e540c",
|
||||
"md5": "fe2ba2027fa06dca43f2379f18b24a4d",
|
||||
"crc32": "8f51dd3c",
|
||||
"size": 262144
|
||||
}
|
||||
},
|
||||
{
|
||||
"kind": "added",
|
||||
"system": "DOS",
|
||||
"name": "sc55-roms/cm300-v1.10/rom2.bin",
|
||||
"destination": "sc55-roms/cm300-v1.10/rom2.bin",
|
||||
"field": null,
|
||||
"old": null,
|
||||
"new": {
|
||||
"sha1": "32e76286a626cf960b6665792e53dce3d51170d1",
|
||||
"md5": "b2c215cdf5325ec84ecde86a5d3d1eb8",
|
||||
"crc32": "94d96954",
|
||||
"size": 262144
|
||||
}
|
||||
},
|
||||
{
|
||||
"kind": "added",
|
||||
"system": "DOS",
|
||||
"name": "sc55-roms/cm300-v1.20/rom2.bin",
|
||||
"destination": "sc55-roms/cm300-v1.20/rom2.bin",
|
||||
"field": null,
|
||||
"old": null,
|
||||
"new": {
|
||||
"sha1": "b288cef2aa2df60cbaa2c084a77a68b298de9567",
|
||||
"md5": "437d9575678bdcc30c2f0e1a32765027",
|
||||
"crc32": "546542ab",
|
||||
"size": 262144
|
||||
}
|
||||
},
|
||||
{
|
||||
"kind": "added",
|
||||
"system": "DOS",
|
||||
"name": "sc55-roms/scb55-v2.00/rom2.bin",
|
||||
"destination": "sc55-roms/scb55-v2.00/rom2.bin",
|
||||
"field": null,
|
||||
"old": null,
|
||||
"new": {
|
||||
"sha1": "84d063df8afd13b88498eafb96c7346049d379bc",
|
||||
"md5": "89d8263a413326249c042da8bcd0fda1",
|
||||
"crc32": "a61270ca",
|
||||
"size": 262144
|
||||
}
|
||||
},
|
||||
{
|
||||
"kind": "added",
|
||||
"system": "Microsoft - MSX",
|
||||
@@ -990,6 +1648,104 @@
|
||||
"old": "3d64d498",
|
||||
"new": "bae84f6c"
|
||||
},
|
||||
{
|
||||
"kind": "added",
|
||||
"system": "Nintendo - Nintendo Entertainment System",
|
||||
"name": "ymf288_adpcm_rom.bin",
|
||||
"destination": "ymf288_adpcm_rom.bin",
|
||||
"field": null,
|
||||
"old": null,
|
||||
"new": {
|
||||
"sha1": "50b6c3e288eaa12ad275d4f323267bb72b0445df",
|
||||
"md5": "8740932cda05e518a9955f1d08d6786f",
|
||||
"crc32": "23c9e0d8",
|
||||
"size": 8192
|
||||
}
|
||||
},
|
||||
{
|
||||
"kind": "added",
|
||||
"system": "Nintendo - Nintendo Entertainment System",
|
||||
"name": "MesenNesDB.txt",
|
||||
"destination": "MesenNesDB.txt",
|
||||
"field": null,
|
||||
"old": null,
|
||||
"new": {
|
||||
"sha1": "946098931db8c6f963ec9ea2f40d88e96dec40dc",
|
||||
"md5": "b68d6d68a7e8069fb83da97956fe43dd",
|
||||
"crc32": "b5ae7e32",
|
||||
"size": 548608
|
||||
}
|
||||
},
|
||||
{
|
||||
"kind": "added",
|
||||
"system": "Nintendo - Satellaview",
|
||||
"name": "BSX0120-0.bin",
|
||||
"destination": "Satellaview/BSX0120-0.bin",
|
||||
"field": null,
|
||||
"old": null,
|
||||
"new": {
|
||||
"sha1": "f51c52bb26f2546fb167ab1084a56457475ff0a0",
|
||||
"md5": "f958ecd1e15f518c57e6ad45d8fa785e",
|
||||
"crc32": "f677f548",
|
||||
"size": 34
|
||||
}
|
||||
},
|
||||
{
|
||||
"kind": "added",
|
||||
"system": "Nintendo - Satellaview",
|
||||
"name": "BSX0121-0.bin",
|
||||
"destination": "Satellaview/BSX0121-0.bin",
|
||||
"field": null,
|
||||
"old": null,
|
||||
"new": {
|
||||
"sha1": "20c81ded0f31e236de0d38cf0a50538960851213",
|
||||
"md5": "6f38b9f4553bc2caa5968caeb513375b",
|
||||
"crc32": "6e72890c",
|
||||
"size": 34
|
||||
}
|
||||
},
|
||||
{
|
||||
"kind": "added",
|
||||
"system": "Nintendo - Satellaview",
|
||||
"name": "BSX0122-0.bin",
|
||||
"destination": "Satellaview/BSX0122-0.bin",
|
||||
"field": null,
|
||||
"old": null,
|
||||
"new": {
|
||||
"sha1": "88d83a7bcf705e9eccfbaebb35f150c2c69bf803",
|
||||
"md5": "01a6effc102c3004f8958c9d02630afa",
|
||||
"crc32": "af2f6415",
|
||||
"size": 1031
|
||||
}
|
||||
},
|
||||
{
|
||||
"kind": "added",
|
||||
"system": "Nintendo - Satellaview",
|
||||
"name": "BSX0123-0.bin",
|
||||
"destination": "Satellaview/BSX0123-0.bin",
|
||||
"field": null,
|
||||
"old": null,
|
||||
"new": {
|
||||
"sha1": "32ef39d22eeccd9f3128e92e62b28bed6d3bc930",
|
||||
"md5": "6c730e9aef2789bf2544bbc92111786f",
|
||||
"crc32": "b3655ba5",
|
||||
"size": 16
|
||||
}
|
||||
},
|
||||
{
|
||||
"kind": "added",
|
||||
"system": "Nintendo - Satellaview",
|
||||
"name": "BSX0124-0.bin",
|
||||
"destination": "Satellaview/BSX0124-0.bin",
|
||||
"field": null,
|
||||
"old": null,
|
||||
"new": {
|
||||
"sha1": "fcc541ea293ec759dc183c98c9ce45602c7198dc",
|
||||
"md5": "fc703df4222db23dbda27cbe30f30904",
|
||||
"crc32": "3d78292a",
|
||||
"size": 97
|
||||
}
|
||||
},
|
||||
{
|
||||
"kind": "added",
|
||||
"system": "Nintendo - Super Game Boy",
|
||||
@@ -1018,6 +1774,20 @@
|
||||
"size": 256
|
||||
}
|
||||
},
|
||||
{
|
||||
"kind": "added",
|
||||
"system": "Nintendo - Super Nintendo Entertainment System",
|
||||
"name": "dsp1b.rom",
|
||||
"destination": "dsp1b.rom",
|
||||
"field": null,
|
||||
"old": null,
|
||||
"new": {
|
||||
"sha1": "78b724811f5f18d8c67669d9390397eb1a47a5e2",
|
||||
"md5": "332273cc0df5775d3803f2fd88e95d18",
|
||||
"crc32": "465c4e1c",
|
||||
"size": 8192
|
||||
}
|
||||
},
|
||||
{
|
||||
"kind": "hash_updated",
|
||||
"system": "SNK - NeoGeo CD",
|
||||
|
||||
@@ -120,9 +120,28 @@ game (
|
||||
rom ( name kick12.rom size 262144 crc A6CE1636 md5 85ad74194e87c08904327de1a9443b7a sha1 11f9e62cf299f72184835b7b2a70a16333fc0d88 )
|
||||
rom ( name kick20.rom size 524288 crc C3BDB240 md5 dc10d7bdd1b6f450773dfb558477c230 sha1 c5839f5cb98a7a8947065c3ed2f14f5f42e334a1 )
|
||||
rom ( name kick205.rom size 524288 crc 43B0DF7B md5 465646c9b6729f77eea5314d1f057951 sha1 02843c4253bbd29aba535b0aa3bd9a85034ecde4 )
|
||||
rom ( name whdboot/host-quit size 3180 crc 8EF13553 md5 a491e6bc79db7e968d35577cee2769a5 sha1 3ae8939c8f1cdd721eabd7d73c2d6277a038672a )
|
||||
rom ( name whdboot/boot-data.zip size 297373 crc 0EA2CF94 md5 28b7fd41cd5d1b345324aa2571fb1c5d sha1 bce26f64e0ad02a1f7ccc4a8ff43ef6ecd635f86 )
|
||||
rom ( name whdboot/game-data/whdload_db.json size 6741053 crc D50E6275 md5 51d44cd24e16fbb395b1bfefbaacd375 sha1 6540ae1a35080e3dbeacfba5139e4781eb74ca86 )
|
||||
rom ( name whdboot/Libs/xpkmaster.library size 16496 crc C59AAB67 md5 94bf2832dc8588e4b1b96da05c90d495 sha1 5bd19f9503b59c5d19bfe1c6a6e3b6e7c0e9eae2 )
|
||||
rom ( name whdboot/Libs/Compressors/xpkCBR0.library size 1300 crc F86D3C50 md5 2461c65dcd95124cc98327324d9bb184 sha1 a2a76c10cb06315e51990911fa050669cc89830d )
|
||||
rom ( name whdboot/Libs/Compressors/xpkDLTA.library size 960 crc 7035BF8E md5 d7474dd89a09009fa84937b01e742171 sha1 ca64f89919c2869cb6fd75346b9a21245a6d04a8 )
|
||||
rom ( name whdboot/Libs/Compressors/xpkDUKE.library size 3280 crc DB24E9DF md5 d6a9aafb790d40423c4ed0acbc6e85c3 sha1 8102d77ae0a3d64496436ee56a9c577c84b11992 )
|
||||
rom ( name whdboot/Libs/Compressors/xpkFAST.library size 2136 crc 14E639C6 md5 7e4ad7cdd26cb6badc571ce79ab91693 sha1 4599430f3baa302635a85b26a7b70a4116dc5f09 )
|
||||
rom ( name whdboot/Libs/Compressors/xpkFRLE.library size 1124 crc 8E52F98C md5 7a2c0a4eb36241ca6ed9303a13da9821 sha1 d0746429187ab38e886a47820203315f734e8d89 )
|
||||
rom ( name whdboot/Libs/Compressors/xpkHFMN.library size 2124 crc 482E44A6 md5 4d600301435d442f59068e52265cc9f2 sha1 f4a8dbe69e386d87d9ab8cbaf7fc3881b358fdb2 )
|
||||
rom ( name whdboot/Libs/Compressors/xpkHUFF.library size 2284 crc 71BCF51A md5 0b752081f321d324f47c9ec7440531d0 sha1 f22d099b81d2d039c4fbb3fea47cc9700b01fecf )
|
||||
rom ( name whdboot/Libs/Compressors/xpkIMPL.library size 4048 crc 8C2CA755 md5 6aa281fa42b10e3ff01be01d2f3bbf22 sha1 0e00bc18aec757d86f9831131c2236a704c175db )
|
||||
rom ( name whdboot/Libs/Compressors/xpkMASH.library size 2816 crc 4EF3BAB9 md5 1527b4f331464f3013ba90ca44a91e54 sha1 1093133a17cb635c21c5532ae26ded83b6d359ce )
|
||||
rom ( name whdboot/Libs/Compressors/xpkNONE.library size 812 crc BFA564E8 md5 2e98fd5760fb158d697c3c183eb16827 sha1 46dca6e2ff2176f7a12c52ea992a7a49ae5ef269 )
|
||||
rom ( name whdboot/Libs/Compressors/xpkNUKE.library size 2900 crc B73C89A4 md5 d644cfccffa44a284bc6e4050e2f2029 sha1 168bee97805be1f85b65f615e6931c4942caf4e4 )
|
||||
rom ( name whdboot/Libs/Compressors/xpkRAKE.library size 6604 crc 9A908635 md5 c1c5d4aad555f1ce3049127bfb911cea sha1 50cd2a19bee1ebd6b54b31c5b9461d5a81a2e910 )
|
||||
rom ( name whdboot/Libs/Compressors/xpkRLEN.library size 1008 crc 12B10DEA md5 91531faa9caaff395ba3b5bbdd7996c2 sha1 c81cf6d99de56faa6154cc81a9876517c2a8efc0 )
|
||||
rom ( name whdboot/Libs/Compressors/xpkSHRI.library size 9272 crc 8E29D45A md5 0807f616ba364d5e1151de505a4845d4 sha1 fc96d367e7b3409074841c7f145ab6daef0a6a4d )
|
||||
rom ( name whdboot/Libs/Compressors/xpkSMPL.library size 1740 crc 53543641 md5 069b09e57a18c0f24a72564eaa15199e sha1 d140b4e87a2ff76cf94616d97fe7b127d128d973 )
|
||||
rom ( name whdboot/Libs/Compressors/xpkSQSH.library size 2936 crc 87C5DE68 md5 0545456a27a23c3ee10686ab525ade94 sha1 2191b616abd4b2fb34c89ae243c35feea2b71104 )
|
||||
rom ( name whdboot/Libs/explode.library size 1784 crc C1E31C87 md5 a3a6c7fa59ef63b0b432d32f98efa09e sha1 c29ac7a92db4837703049af91d0d35b2a592f03d )
|
||||
rom ( name whdboot/Libs/medplayer.library size 15340 crc 39919294 md5 57c19c020dafc309ff6f238ae6934cb9 sha1 4313334a01dd02eaf60ea7eb95dee72c97835645 )
|
||||
rom ( name whdboot/host-quit size 1736 crc 3069C8F9 md5 9a42e69421e3148c69be679b18b9444e sha1 f717cb754078a350908e2839b3095843ccd90fa7 )
|
||||
rom ( name whdboot/boot-data.zip size 187033 crc C79884EE md5 3f04bc22c0ac3e2aa1611c3ced93ae74 sha1 b1e841768bf18b0d7d0ffbbe7f7788742b641677 )
|
||||
rom ( name whdboot/game-data/whdload_db.json size 6750282 crc B2267D3C md5 932a2c1b886e6daf87f0e72ed7533146 sha1 7554061aa6f928bd41acdbcafe2d20322a0e188c )
|
||||
rom ( name whdboot/save-data/Kickstarts/kick33180.A500.RTB size 3882 crc C61D5663 md5 c993feb1eeddec1d2e687aa514231028 sha1 1d1c557f4a0f5ea88aeb96d68b09f41990340f70 )
|
||||
rom ( name whdboot/save-data/Kickstarts/kick34005.A500.RTB size 4020 crc AE7A9AC7 md5 7eb13d974af0992d672b67c317a7e0a1 sha1 209c109855f94c935439b60950d049527d2f2484 )
|
||||
rom ( name whdboot/save-data/Kickstarts/kick37175.A500.RTB size 5576 crc 17F51321 md5 e057054449b5e21591ce27d2eb9ac720 sha1 7c1cf9a97b044a0344648709c187a3505bce7b5a )
|
||||
@@ -186,6 +205,34 @@ game (
|
||||
rom ( name libbassmidi.dylib size 519808 crc E5D1E180 md5 ea143b23779d01152633442abb1e0c67 sha1 efa4fdedfac60c98c53f3aec10fb44b324a35835 )
|
||||
rom ( name libbassmidi.so size 142080 crc 0A8E277A md5 3a48c08c224c32f2f4829b960e95f73b sha1 77d07d7518104896e0acfee24073356f1a6bd51b )
|
||||
rom ( name CM32LN_CONTROL.ROM size 65536 crc 4A3BB4EF md5 88f459121acf32923b1d85742c67e9c9 sha1 dc1c5b1b90a4646d00f7daf3679733c7badc7077 )
|
||||
rom ( name awe32.raw size 1048576 crc CEB2787E md5 30b76c45ca0712418239d2b15c65881a sha1 6ac3c1317c1acb83902397d7767763cca4de357a )
|
||||
rom ( name sc55-roms/mk1-v1.21/rom1.bin size 32768 crc 4ED0D171 md5 462cb3a2ce9e54f4e54a52f643931ffd sha1 dd01ec54027751c2f2f2e47bbb7a0bf3d1ca8ae2 )
|
||||
rom ( name sc55-roms/mk1-v1.21/rom2.bin size 262144 crc 2DC58549 md5 6b61186953b50d900e430ae6a996bda7 sha1 9c17f85e784dc1549ac1f98d457b353393331f6b )
|
||||
rom ( name sc55-roms/mk1-v1.21/wave1.bin size 1048576 crc 1AC774D3 md5 5f40d5297f47358ddea43b8d225874cc sha1 8cc3c0d7ec0993df81d4ca1970e01a4b0d8d3775 )
|
||||
rom ( name sc55-roms/mk1-v1.21/wave2.bin size 1048576 crc 8DCC592A md5 f78fb079a7d8c5f1eb04e0fd5aedbc9e sha1 80e6eb130c18c09955551563f78906163c55cc11 )
|
||||
rom ( name sc55-roms/mk1-v1.21/wave3.bin size 1048576 crc E21EBC04 md5 53c013d4bad0337385cfda2631e5b78e sha1 7454b817778179806f3f9d1985b3a2ef67ace76f )
|
||||
rom ( name sc55-roms/mk1-v1.00/rom1.bin size 32768 crc D072C251 md5 c4e923344906aa630ab1b950720db386 sha1 675ea03634429c49fdeebf14849953bc1dd844aa )
|
||||
rom ( name sc55-roms/mk1-v1.00/rom2.bin size 262144 crc DBAAAE8F md5 7e90b34c777e2c5e1277ae559d959c26 sha1 f7f8ac018d24be8de6cc37ed4a3b3bfc0953510a )
|
||||
rom ( name sc55-roms/mk1-v1.10/rom1.bin size 32768 crc C450DA76 md5 b301bfdaac9650ac97322f533396fdfb sha1 1af0102664883ce17ea3a978e5a9a7113c040542 )
|
||||
rom ( name sc55-roms/mk1-v1.10/rom2.bin size 262144 crc 15F0AEDB md5 c0f0c8c2ffcfaf9a56c7e0d2dd440857 sha1 6bc23a354ecd2e61c705b6191b49196db35f3d2d )
|
||||
rom ( name sc55-roms/mk1-v1.20/rom1.bin size 32768 crc 4ED0D171 md5 462cb3a2ce9e54f4e54a52f643931ffd sha1 dd01ec54027751c2f2f2e47bbb7a0bf3d1ca8ae2 )
|
||||
rom ( name sc55-roms/mk1-v1.20/rom2.bin size 262144 crc EBD488FD md5 181b86f1c5a81caa65b6cebbf7c2678b sha1 ffa8e3d5b3ec45485de4c13029bb4406c08ac9c3 )
|
||||
rom ( name sc55-roms/mk1-v2.00/rom1.bin size 32768 crc A160DA90 md5 6b74988a79c2a48239809f07a54175b3 sha1 76f646bc03f66dbee7606f2181d4ea76f05ece7d )
|
||||
rom ( name sc55-roms/mk1-v2.00/rom2.bin size 262144 crc 1768CC18 md5 d79cf9c9aa88416372cb0fd318f79beb sha1 6d6346b35c2379e9e6adc182214580e3d164b0c7 )
|
||||
rom ( name sc55-roms/mk2-v1.01/rom1.bin size 32768 crc 9B66631F md5 4ca058f7db05f51e97bb30a162e9610a sha1 b91bb1d9dccffe831b7cfde7800a3fe32b2fbda6 )
|
||||
rom ( name sc55-roms/mk2-v1.01/rom2.bin size 524288 crc FCEE1E8E md5 63b24c7193ce34afefce9cec32ac39f0 sha1 078cb5feea05e80bb9a1bb857a2163ee434fd053 )
|
||||
rom ( name sc55-roms/mk2-v1.01/smrom.bin size 4096 crc 702C0A82 md5 4e39dcfc30352a33caf1f4d81a7f13e4 sha1 4d48578d811a762a8e7bfaf18989bcac70ae1ba4 )
|
||||
rom ( name sc55-roms/mk2-v1.01/wave1.bin size 2097152 crc 1519D3B3 md5 30df645acf7f1b621d5f2891ea53e00b sha1 96708cb21381c2fd03de4babbf7aea301c7594a6 )
|
||||
rom ( name sc55-roms/mk2-v1.01/wave2.bin size 1048576 crc 0F826C7F md5 f86e0433a11707a048a8a79e8d98a3be sha1 4d91cdeaed048d653dbf846a221003c3a3f08279 )
|
||||
rom ( name sc55-roms/sc155-rev1/rom2.bin size 262144 crc E19D4A52 md5 5c7c6ab34ef6da079b05a36fd23c9c91 sha1 e9e1bb1bc2691145ffe17f01a48d6614c9f22225 )
|
||||
rom ( name sc55-roms/cm300-v1.30/rom1.bin size 32768 crc 4B9E6EAE md5 c40042f1469eec55870391f131c96230 sha1 30b788af86b97f84a4acf0e51bdfc864ed05d530 )
|
||||
rom ( name sc55-roms/cm300-v1.30/rom2.bin size 262144 crc BAAAB31A md5 cfbd838e3fe6bcfb92f2587fafee048e sha1 8f744c7b9eadd4056f4611c9f703f7d6bdcbbd62 )
|
||||
rom ( name sc55-roms/cm300-v1.30/wave1.bin size 1048576 crc B1B31A41 md5 1e8c539412480c3c261d82e049a8bb10 sha1 891cf2ac5ca64f453b370b9076f9fb2b4ebc5dcf )
|
||||
rom ( name sc55-roms/cm300-v1.30/wave2.bin size 1048576 crc 359EDFB2 md5 fb28743cef3fa73542554f68a8e2297f sha1 49f38f181b444fc39ad86c4ddab3b25bf839d0b4 )
|
||||
rom ( name sc55-roms/st-v1.01/rom2.bin size 262144 crc 8F51DD3C md5 fe2ba2027fa06dca43f2379f18b24a4d sha1 950f2ae1c2f44e8d92f4f267bac09565a17e540c )
|
||||
rom ( name sc55-roms/cm300-v1.10/rom2.bin size 262144 crc 94D96954 md5 b2c215cdf5325ec84ecde86a5d3d1eb8 sha1 32e76286a626cf960b6665792e53dce3d51170d1 )
|
||||
rom ( name sc55-roms/cm300-v1.20/rom2.bin size 262144 crc 546542AB md5 437d9575678bdcc30c2f0e1a32765027 sha1 b288cef2aa2df60cbaa2c084a77a68b298de9567 )
|
||||
rom ( name sc55-roms/scb55-v2.00/rom2.bin size 262144 crc A61270CA md5 89d8263a413326249c042da8bcd0fda1 sha1 84d063df8afd13b88498eafb96c7346049d379bc )
|
||||
|
||||
comment "Elektronika - BK-0010/BK-0011(M)"
|
||||
rom ( name bk/B11M_BOS.ROM size 8192 crc 8FFD5EFA md5 fe4627d1e3a1535874085050733263e7 sha1 7e9a30e38d7b78981999821640a68a201bb6df01 )
|
||||
@@ -368,6 +415,8 @@ game (
|
||||
|
||||
comment "Nintendo - Nintendo Entertainment System"
|
||||
rom ( name NstDatabase.xml size 1009534 crc EBB2196C md5 7bfe8c0540ed4bd6a0f1e2a0f0118ced sha1 26322f182540211e9b5e3647675b7c593706ae2b )
|
||||
rom ( name ymf288_adpcm_rom.bin size 8192 crc 23C9E0D8 md5 8740932cda05e518a9955f1d08d6786f sha1 50b6c3e288eaa12ad275d4f323267bb72b0445df )
|
||||
rom ( name MesenNesDB.txt size 548608 crc B5AE7E32 md5 b68d6d68a7e8069fb83da97956fe43dd sha1 946098931db8c6f963ec9ea2f40d88e96dec40dc )
|
||||
|
||||
comment "Nintendo - Pokemon Mini"
|
||||
rom ( name bios.min size 4096 crc AED3C14D md5 1e4fb124a3a886865acb574f388c803d sha1 daad4113713ed776fbd47727762bca81ba74915f )
|
||||
@@ -376,6 +425,11 @@ game (
|
||||
rom ( name BS-X.bin size 1048576 crc F51F07A0 md5 fed4d8242cfbed61343d53d48432aced sha1 604556b2e62860af18db5a77f2956ebc75450020 )
|
||||
rom ( name "BS-X (En).bin" size 1048576 crc 347E1C4E md5 33b62505da6ca4525e3839db4e1a7bca sha1 f3cdff70de5d0f5c52ca3a8f46588b863d48b8ec )
|
||||
rom ( name "BS-X (En) (DRM-Free).bin" size 1048576 crc 8C573C7E md5 4ed9648505ab33a4daec93707b16caba sha1 7996bd1c01b99800e0d5d34beff93db283784864 )
|
||||
rom ( name Satellaview/BSX0120-0.bin size 34 crc F677F548 md5 f958ecd1e15f518c57e6ad45d8fa785e sha1 f51c52bb26f2546fb167ab1084a56457475ff0a0 )
|
||||
rom ( name Satellaview/BSX0121-0.bin size 34 crc 6E72890C md5 6f38b9f4553bc2caa5968caeb513375b sha1 20c81ded0f31e236de0d38cf0a50538960851213 )
|
||||
rom ( name Satellaview/BSX0122-0.bin size 1031 crc AF2F6415 md5 01a6effc102c3004f8958c9d02630afa sha1 88d83a7bcf705e9eccfbaebb35f150c2c69bf803 )
|
||||
rom ( name Satellaview/BSX0123-0.bin size 16 crc B3655BA5 md5 6c730e9aef2789bf2544bbc92111786f sha1 32ef39d22eeccd9f3128e92e62b28bed6d3bc930 )
|
||||
rom ( name Satellaview/BSX0124-0.bin size 97 crc 3D78292A md5 fc703df4222db23dbda27cbe30f30904 sha1 fcc541ea293ec759dc183c98c9ce45602c7198dc )
|
||||
|
||||
comment "Nintendo - SuFami Turbo"
|
||||
rom ( name STBIOS.bin size 262144 crc 9B4CA911 md5 d3a44ba7d42a74d3ac58cb9c14c6a5ca sha1 ef86ea192eed03d5c413fdbbfd46043be1d7a127 )
|
||||
@@ -415,6 +469,7 @@ game (
|
||||
rom ( name st011.program.rom size 49152 crc A741E9FB md5 95222ebf1c0c2990bcf25db43743f032 sha1 375eca92592621e83881f3a9d7fd5ea3e5b306dc )
|
||||
rom ( name st018.data.rom size 32768 crc B5255459 md5 49c898b60d0f15e90d0ba780dd12f366 sha1 b19c0f8f207d62fdabf4bf71442826063bccc626 )
|
||||
rom ( name st018.program.rom size 131072 crc F73D5E10 md5 dda40ccd57390c96e49d30a041f9a9e7 sha1 388e3721b94cd074d6ba0eca8616523d2118a6c3 )
|
||||
rom ( name dsp1b.rom size 8192 crc 465C4E1C md5 332273cc0df5775d3803f2fd88e95d18 sha1 78b724811f5f18d8c67669d9390397eb1a47a5e2 )
|
||||
|
||||
comment "Phillips - Videopac+"
|
||||
rom ( name c52.bin size 1024 crc A318E8D6 md5 f1071cdb0b6b10dde94d3bc8a6146387 sha1 a6120aed50831c9c0d95dbdf707820f601d9452e )
|
||||
|
||||
+115
-3
@@ -7,7 +7,7 @@
|
||||
"files": [
|
||||
"es_bios.xml"
|
||||
],
|
||||
"summary": "357 kept, 90 files added, 2 hashes updated to the emulator source, 129 required flags aligned with the code, 1 md5 list written, any listed value passes",
|
||||
"summary": "357 kept, 90 files added, 2 hashes updated to the emulator source, 131 required flags aligned with the code, 1 md5 list written, any listed value passes",
|
||||
"counts": {
|
||||
"kept": 357,
|
||||
"added": 90,
|
||||
@@ -15,6 +15,15 @@
|
||||
"not_kept": 0
|
||||
},
|
||||
"changes": [
|
||||
{
|
||||
"kind": "required_aligned",
|
||||
"system": "amiga600",
|
||||
"name": "kick33180.A500",
|
||||
"destination": "amiga/bios/kick33180.A500",
|
||||
"field": "required",
|
||||
"old": true,
|
||||
"new": false
|
||||
},
|
||||
{
|
||||
"kind": "required_aligned",
|
||||
"system": "amiga600",
|
||||
@@ -333,6 +342,15 @@
|
||||
"required": false
|
||||
}
|
||||
},
|
||||
{
|
||||
"kind": "required_aligned",
|
||||
"system": "amiga1200",
|
||||
"name": "kick39106.A1200",
|
||||
"destination": "amiga/bios/kick39106.A1200",
|
||||
"field": "required",
|
||||
"old": true,
|
||||
"new": false
|
||||
},
|
||||
{
|
||||
"kind": "required_aligned",
|
||||
"system": "amiga1200",
|
||||
@@ -2288,9 +2306,9 @@
|
||||
"sizes_updated": [],
|
||||
"sizes_removed": [],
|
||||
"hashes_cleared": [],
|
||||
"required_aligned": 129,
|
||||
"required_aligned": 131,
|
||||
"withheld": [],
|
||||
"found_by_content": 370,
|
||||
"found_by_content": 374,
|
||||
"unattributed": [],
|
||||
"removal_candidates": [
|
||||
{
|
||||
@@ -2352,6 +2370,100 @@
|
||||
"rice_gles2"
|
||||
]
|
||||
},
|
||||
{
|
||||
"system": "spectravideo",
|
||||
"name": "svi806.rom",
|
||||
"destination": "Machines/SVI - Spectravideo SVI-328 80 Column/svi806.rom",
|
||||
"verdict": "undetermined",
|
||||
"reason": "a core the platform names has no profile yet",
|
||||
"cores_examined": [
|
||||
"bluemsx"
|
||||
],
|
||||
"unresolved_cores": [
|
||||
"glide64mk2",
|
||||
"gliden64",
|
||||
"gliden64_20",
|
||||
"n64_gles2",
|
||||
"rice",
|
||||
"rice_gles2"
|
||||
]
|
||||
},
|
||||
{
|
||||
"system": "spectravideo",
|
||||
"name": "svi806se.rom",
|
||||
"destination": "Machines/SVI - Spectravideo SVI-328 80 Swedish/svi806se.rom",
|
||||
"verdict": "undetermined",
|
||||
"reason": "a core the platform names has no profile yet",
|
||||
"cores_examined": [
|
||||
"bluemsx"
|
||||
],
|
||||
"unresolved_cores": [
|
||||
"glide64mk2",
|
||||
"gliden64",
|
||||
"gliden64_20",
|
||||
"n64_gles2",
|
||||
"rice",
|
||||
"rice_gles2"
|
||||
]
|
||||
},
|
||||
{
|
||||
"system": "spectravideo",
|
||||
"name": "svi806.rom",
|
||||
"destination": "Machines/SVI - Spectravideo SVI-328 MK2/svi806.rom",
|
||||
"verdict": "undetermined",
|
||||
"reason": "a core the platform names has no profile yet",
|
||||
"cores_examined": [
|
||||
"bluemsx"
|
||||
],
|
||||
"unresolved_cores": [
|
||||
"glide64mk2",
|
||||
"gliden64",
|
||||
"gliden64_20",
|
||||
"n64_gles2",
|
||||
"rice",
|
||||
"rice_gles2"
|
||||
]
|
||||
},
|
||||
{
|
||||
"system": "colecovision",
|
||||
"name": "czz50-1.rom",
|
||||
"destination": "Machines/COL - Bit Corporation Dina/czz50-1.rom",
|
||||
"verdict": "undetermined",
|
||||
"reason": "a core the platform names has no profile yet",
|
||||
"cores_examined": [
|
||||
"bluemsx",
|
||||
"fbneo",
|
||||
"gearcoleco"
|
||||
],
|
||||
"unresolved_cores": [
|
||||
"glide64mk2",
|
||||
"gliden64",
|
||||
"gliden64_20",
|
||||
"n64_gles2",
|
||||
"rice",
|
||||
"rice_gles2"
|
||||
]
|
||||
},
|
||||
{
|
||||
"system": "colecovision",
|
||||
"name": "czz50-2.rom",
|
||||
"destination": "Machines/COL - Bit Corporation Dina/czz50-2.rom",
|
||||
"verdict": "undetermined",
|
||||
"reason": "a core the platform names has no profile yet",
|
||||
"cores_examined": [
|
||||
"bluemsx",
|
||||
"fbneo",
|
||||
"gearcoleco"
|
||||
],
|
||||
"unresolved_cores": [
|
||||
"glide64mk2",
|
||||
"gliden64",
|
||||
"gliden64_20",
|
||||
"n64_gles2",
|
||||
"rice",
|
||||
"rice_gles2"
|
||||
]
|
||||
},
|
||||
{
|
||||
"system": "gb",
|
||||
"name": "mgb_boot.bin",
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<biosList xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="es_bios.xsd">
|
||||
<system fullname="Amiga 600 (ECS/OCS)" platform="amiga600">
|
||||
<bios path="amiga/bios/kick33180.A500" md5="85ad74194e87c08904327de1a9443b7a" core="amiberry" />
|
||||
<bios path="amiga/bios/kick33180.A500" md5="85ad74194e87c08904327de1a9443b7a" core="amiberry" mandatory="false" />
|
||||
<bios path="amiga/bios/kick34005.A500" md5="82a21c1890cae844b3df741f2762d48d" core="amiberry,libretro/amiberry,libretro/uae,libretro/uae4arm,libretro/uae4all" />
|
||||
<bios path="amiga/bios/kick37175.A500" md5="dc10d7bdd1b6f450773dfb558477c230" core="amiberry,libretro/uae" mandatory="false" />
|
||||
<bios path="amiga/bios/kick40063.A600" md5="e40a5dfb3d017ba8779faba30cbd1c8e" mandatory="false" core="amiberry,libretro/amiberry,libretro/uae,libretro/uae4arm" />
|
||||
@@ -34,7 +34,7 @@
|
||||
<bios path="uae_data/drive_snatch_LOUD.wav" md5="40cdf89f35b68cfefd4df5fb0256e02f" core="libretro/puae,libretro/puae2021" mandatory="false" />
|
||||
</system>
|
||||
<system fullname="Amiga 1200 (AGA)" platform="amiga1200">
|
||||
<bios path="amiga/bios/kick39106.A1200" md5="b7cc148386aa631136f510cd29e42fc3" core="amiberry" />
|
||||
<bios path="amiga/bios/kick39106.A1200" md5="b7cc148386aa631136f510cd29e42fc3" core="amiberry" mandatory="false" />
|
||||
<bios path="amiga/bios/kick40068.A1200" md5="646773759326fbac3b2311fd8c8793ee" core="amiberry,libretro/amiberry,libretro/uae,libretro/uae4arm" />
|
||||
<bios path="amiga/bios/kick40068.A4000" md5="9bdedde6a4f33555b4a270c8ca53297d" core="amiberry,libretro/amiberry,libretro/uae" note="This bios is required only for A4000 emulation" mandatory="false" />
|
||||
</system>
|
||||
|
||||
+785
-15
@@ -6,11 +6,11 @@
|
||||
"files": [
|
||||
"System.dat"
|
||||
],
|
||||
"summary": "519 kept, 158 files added, 76 hashes updated to the emulator source, 23 sizes updated to the emulator source, 1 size removed, 2 hashes removed",
|
||||
"summary": "519 kept, 213 files added, 76 hashes updated to the emulator source, 23 sizes updated to the emulator source, 1 size removed, 2 hashes removed",
|
||||
"counts": {
|
||||
"kept": 519,
|
||||
"added": 158,
|
||||
"not_added": 1861,
|
||||
"added": 213,
|
||||
"not_added": 1806,
|
||||
"not_kept": 0
|
||||
},
|
||||
"changes": [
|
||||
@@ -306,6 +306,272 @@
|
||||
"size": 524288
|
||||
}
|
||||
},
|
||||
{
|
||||
"kind": "added",
|
||||
"system": "Commodore - Amiga",
|
||||
"name": "xpkmaster.library",
|
||||
"destination": "whdboot/Libs/xpkmaster.library",
|
||||
"field": null,
|
||||
"old": null,
|
||||
"new": {
|
||||
"sha1": "5bd19f9503b59c5d19bfe1c6a6e3b6e7c0e9eae2",
|
||||
"md5": "94bf2832dc8588e4b1b96da05c90d495",
|
||||
"crc32": "c59aab67",
|
||||
"size": 16496
|
||||
}
|
||||
},
|
||||
{
|
||||
"kind": "added",
|
||||
"system": "Commodore - Amiga",
|
||||
"name": "Compressors/xpkCBR0.library",
|
||||
"destination": "whdboot/Libs/Compressors/xpkCBR0.library",
|
||||
"field": null,
|
||||
"old": null,
|
||||
"new": {
|
||||
"sha1": "a2a76c10cb06315e51990911fa050669cc89830d",
|
||||
"md5": "2461c65dcd95124cc98327324d9bb184",
|
||||
"crc32": "f86d3c50",
|
||||
"size": 1300
|
||||
}
|
||||
},
|
||||
{
|
||||
"kind": "added",
|
||||
"system": "Commodore - Amiga",
|
||||
"name": "Compressors/xpkDLTA.library",
|
||||
"destination": "whdboot/Libs/Compressors/xpkDLTA.library",
|
||||
"field": null,
|
||||
"old": null,
|
||||
"new": {
|
||||
"sha1": "ca64f89919c2869cb6fd75346b9a21245a6d04a8",
|
||||
"md5": "d7474dd89a09009fa84937b01e742171",
|
||||
"crc32": "7035bf8e",
|
||||
"size": 960
|
||||
}
|
||||
},
|
||||
{
|
||||
"kind": "added",
|
||||
"system": "Commodore - Amiga",
|
||||
"name": "Compressors/xpkDUKE.library",
|
||||
"destination": "whdboot/Libs/Compressors/xpkDUKE.library",
|
||||
"field": null,
|
||||
"old": null,
|
||||
"new": {
|
||||
"sha1": "8102d77ae0a3d64496436ee56a9c577c84b11992",
|
||||
"md5": "d6a9aafb790d40423c4ed0acbc6e85c3",
|
||||
"crc32": "db24e9df",
|
||||
"size": 3280
|
||||
}
|
||||
},
|
||||
{
|
||||
"kind": "added",
|
||||
"system": "Commodore - Amiga",
|
||||
"name": "Compressors/xpkFAST.library",
|
||||
"destination": "whdboot/Libs/Compressors/xpkFAST.library",
|
||||
"field": null,
|
||||
"old": null,
|
||||
"new": {
|
||||
"sha1": "4599430f3baa302635a85b26a7b70a4116dc5f09",
|
||||
"md5": "7e4ad7cdd26cb6badc571ce79ab91693",
|
||||
"crc32": "14e639c6",
|
||||
"size": 2136
|
||||
}
|
||||
},
|
||||
{
|
||||
"kind": "added",
|
||||
"system": "Commodore - Amiga",
|
||||
"name": "Compressors/xpkFRLE.library",
|
||||
"destination": "whdboot/Libs/Compressors/xpkFRLE.library",
|
||||
"field": null,
|
||||
"old": null,
|
||||
"new": {
|
||||
"sha1": "d0746429187ab38e886a47820203315f734e8d89",
|
||||
"md5": "7a2c0a4eb36241ca6ed9303a13da9821",
|
||||
"crc32": "8e52f98c",
|
||||
"size": 1124
|
||||
}
|
||||
},
|
||||
{
|
||||
"kind": "added",
|
||||
"system": "Commodore - Amiga",
|
||||
"name": "Compressors/xpkHFMN.library",
|
||||
"destination": "whdboot/Libs/Compressors/xpkHFMN.library",
|
||||
"field": null,
|
||||
"old": null,
|
||||
"new": {
|
||||
"sha1": "f4a8dbe69e386d87d9ab8cbaf7fc3881b358fdb2",
|
||||
"md5": "4d600301435d442f59068e52265cc9f2",
|
||||
"crc32": "482e44a6",
|
||||
"size": 2124
|
||||
}
|
||||
},
|
||||
{
|
||||
"kind": "added",
|
||||
"system": "Commodore - Amiga",
|
||||
"name": "Compressors/xpkHUFF.library",
|
||||
"destination": "whdboot/Libs/Compressors/xpkHUFF.library",
|
||||
"field": null,
|
||||
"old": null,
|
||||
"new": {
|
||||
"sha1": "f22d099b81d2d039c4fbb3fea47cc9700b01fecf",
|
||||
"md5": "0b752081f321d324f47c9ec7440531d0",
|
||||
"crc32": "71bcf51a",
|
||||
"size": 2284
|
||||
}
|
||||
},
|
||||
{
|
||||
"kind": "added",
|
||||
"system": "Commodore - Amiga",
|
||||
"name": "Compressors/xpkIMPL.library",
|
||||
"destination": "whdboot/Libs/Compressors/xpkIMPL.library",
|
||||
"field": null,
|
||||
"old": null,
|
||||
"new": {
|
||||
"sha1": "0e00bc18aec757d86f9831131c2236a704c175db",
|
||||
"md5": "6aa281fa42b10e3ff01be01d2f3bbf22",
|
||||
"crc32": "8c2ca755",
|
||||
"size": 4048
|
||||
}
|
||||
},
|
||||
{
|
||||
"kind": "added",
|
||||
"system": "Commodore - Amiga",
|
||||
"name": "Compressors/xpkMASH.library",
|
||||
"destination": "whdboot/Libs/Compressors/xpkMASH.library",
|
||||
"field": null,
|
||||
"old": null,
|
||||
"new": {
|
||||
"sha1": "1093133a17cb635c21c5532ae26ded83b6d359ce",
|
||||
"md5": "1527b4f331464f3013ba90ca44a91e54",
|
||||
"crc32": "4ef3bab9",
|
||||
"size": 2816
|
||||
}
|
||||
},
|
||||
{
|
||||
"kind": "added",
|
||||
"system": "Commodore - Amiga",
|
||||
"name": "Compressors/xpkNONE.library",
|
||||
"destination": "whdboot/Libs/Compressors/xpkNONE.library",
|
||||
"field": null,
|
||||
"old": null,
|
||||
"new": {
|
||||
"sha1": "46dca6e2ff2176f7a12c52ea992a7a49ae5ef269",
|
||||
"md5": "2e98fd5760fb158d697c3c183eb16827",
|
||||
"crc32": "bfa564e8",
|
||||
"size": 812
|
||||
}
|
||||
},
|
||||
{
|
||||
"kind": "added",
|
||||
"system": "Commodore - Amiga",
|
||||
"name": "Compressors/xpkNUKE.library",
|
||||
"destination": "whdboot/Libs/Compressors/xpkNUKE.library",
|
||||
"field": null,
|
||||
"old": null,
|
||||
"new": {
|
||||
"sha1": "168bee97805be1f85b65f615e6931c4942caf4e4",
|
||||
"md5": "d644cfccffa44a284bc6e4050e2f2029",
|
||||
"crc32": "b73c89a4",
|
||||
"size": 2900
|
||||
}
|
||||
},
|
||||
{
|
||||
"kind": "added",
|
||||
"system": "Commodore - Amiga",
|
||||
"name": "Compressors/xpkRAKE.library",
|
||||
"destination": "whdboot/Libs/Compressors/xpkRAKE.library",
|
||||
"field": null,
|
||||
"old": null,
|
||||
"new": {
|
||||
"sha1": "50cd2a19bee1ebd6b54b31c5b9461d5a81a2e910",
|
||||
"md5": "c1c5d4aad555f1ce3049127bfb911cea",
|
||||
"crc32": "9a908635",
|
||||
"size": 6604
|
||||
}
|
||||
},
|
||||
{
|
||||
"kind": "added",
|
||||
"system": "Commodore - Amiga",
|
||||
"name": "Compressors/xpkRLEN.library",
|
||||
"destination": "whdboot/Libs/Compressors/xpkRLEN.library",
|
||||
"field": null,
|
||||
"old": null,
|
||||
"new": {
|
||||
"sha1": "c81cf6d99de56faa6154cc81a9876517c2a8efc0",
|
||||
"md5": "91531faa9caaff395ba3b5bbdd7996c2",
|
||||
"crc32": "12b10dea",
|
||||
"size": 1008
|
||||
}
|
||||
},
|
||||
{
|
||||
"kind": "added",
|
||||
"system": "Commodore - Amiga",
|
||||
"name": "Compressors/xpkSHRI.library",
|
||||
"destination": "whdboot/Libs/Compressors/xpkSHRI.library",
|
||||
"field": null,
|
||||
"old": null,
|
||||
"new": {
|
||||
"sha1": "fc96d367e7b3409074841c7f145ab6daef0a6a4d",
|
||||
"md5": "0807f616ba364d5e1151de505a4845d4",
|
||||
"crc32": "8e29d45a",
|
||||
"size": 9272
|
||||
}
|
||||
},
|
||||
{
|
||||
"kind": "added",
|
||||
"system": "Commodore - Amiga",
|
||||
"name": "Compressors/xpkSMPL.library",
|
||||
"destination": "whdboot/Libs/Compressors/xpkSMPL.library",
|
||||
"field": null,
|
||||
"old": null,
|
||||
"new": {
|
||||
"sha1": "d140b4e87a2ff76cf94616d97fe7b127d128d973",
|
||||
"md5": "069b09e57a18c0f24a72564eaa15199e",
|
||||
"crc32": "53543641",
|
||||
"size": 1740
|
||||
}
|
||||
},
|
||||
{
|
||||
"kind": "added",
|
||||
"system": "Commodore - Amiga",
|
||||
"name": "Compressors/xpkSQSH.library",
|
||||
"destination": "whdboot/Libs/Compressors/xpkSQSH.library",
|
||||
"field": null,
|
||||
"old": null,
|
||||
"new": {
|
||||
"sha1": "2191b616abd4b2fb34c89ae243c35feea2b71104",
|
||||
"md5": "0545456a27a23c3ee10686ab525ade94",
|
||||
"crc32": "87c5de68",
|
||||
"size": 2936
|
||||
}
|
||||
},
|
||||
{
|
||||
"kind": "added",
|
||||
"system": "Commodore - Amiga",
|
||||
"name": "explode.library",
|
||||
"destination": "whdboot/Libs/explode.library",
|
||||
"field": null,
|
||||
"old": null,
|
||||
"new": {
|
||||
"sha1": "c29ac7a92db4837703049af91d0d35b2a592f03d",
|
||||
"md5": "a3a6c7fa59ef63b0b432d32f98efa09e",
|
||||
"crc32": "c1e31c87",
|
||||
"size": 1784
|
||||
}
|
||||
},
|
||||
{
|
||||
"kind": "added",
|
||||
"system": "Commodore - Amiga",
|
||||
"name": "medplayer.library",
|
||||
"destination": "whdboot/Libs/medplayer.library",
|
||||
"field": null,
|
||||
"old": null,
|
||||
"new": {
|
||||
"sha1": "4313334a01dd02eaf60ea7eb95dee72c97835645",
|
||||
"md5": "57c19c020dafc309ff6f238ae6934cb9",
|
||||
"crc32": "39919294",
|
||||
"size": 15340
|
||||
}
|
||||
},
|
||||
{
|
||||
"kind": "added",
|
||||
"system": "Commodore - Amiga",
|
||||
@@ -314,10 +580,10 @@
|
||||
"field": null,
|
||||
"old": null,
|
||||
"new": {
|
||||
"sha1": "3ae8939c8f1cdd721eabd7d73c2d6277a038672a",
|
||||
"md5": "a491e6bc79db7e968d35577cee2769a5",
|
||||
"crc32": "8ef13553",
|
||||
"size": 3180
|
||||
"sha1": "f717cb754078a350908e2839b3095843ccd90fa7",
|
||||
"md5": "9a42e69421e3148c69be679b18b9444e",
|
||||
"crc32": "3069c8f9",
|
||||
"size": 1736
|
||||
}
|
||||
},
|
||||
{
|
||||
@@ -328,10 +594,10 @@
|
||||
"field": null,
|
||||
"old": null,
|
||||
"new": {
|
||||
"sha1": "bce26f64e0ad02a1f7ccc4a8ff43ef6ecd635f86",
|
||||
"md5": "28b7fd41cd5d1b345324aa2571fb1c5d",
|
||||
"crc32": "0ea2cf94",
|
||||
"size": 297373
|
||||
"sha1": "b1e841768bf18b0d7d0ffbbe7f7788742b641677",
|
||||
"md5": "3f04bc22c0ac3e2aa1611c3ced93ae74",
|
||||
"crc32": "c79884ee",
|
||||
"size": 187033
|
||||
}
|
||||
},
|
||||
{
|
||||
@@ -342,10 +608,10 @@
|
||||
"field": null,
|
||||
"old": null,
|
||||
"new": {
|
||||
"sha1": "6540ae1a35080e3dbeacfba5139e4781eb74ca86",
|
||||
"md5": "51d44cd24e16fbb395b1bfefbaacd375",
|
||||
"crc32": "d50e6275",
|
||||
"size": 6741053
|
||||
"sha1": "7554061aa6f928bd41acdbcafe2d20322a0e188c",
|
||||
"md5": "932a2c1b886e6daf87f0e72ed7533146",
|
||||
"crc32": "b2267d3c",
|
||||
"size": 6750282
|
||||
}
|
||||
},
|
||||
{
|
||||
@@ -894,6 +1160,398 @@
|
||||
"size": 65536
|
||||
}
|
||||
},
|
||||
{
|
||||
"kind": "added",
|
||||
"system": "DOS",
|
||||
"name": "awe32.raw",
|
||||
"destination": "awe32.raw",
|
||||
"field": null,
|
||||
"old": null,
|
||||
"new": {
|
||||
"sha1": "6ac3c1317c1acb83902397d7767763cca4de357a",
|
||||
"md5": "30b76c45ca0712418239d2b15c65881a",
|
||||
"crc32": "ceb2787e",
|
||||
"size": 1048576
|
||||
}
|
||||
},
|
||||
{
|
||||
"kind": "added",
|
||||
"system": "DOS",
|
||||
"name": "sc55-roms/mk1-v1.21/rom1.bin",
|
||||
"destination": "sc55-roms/mk1-v1.21/rom1.bin",
|
||||
"field": null,
|
||||
"old": null,
|
||||
"new": {
|
||||
"sha1": "dd01ec54027751c2f2f2e47bbb7a0bf3d1ca8ae2",
|
||||
"md5": "462cb3a2ce9e54f4e54a52f643931ffd",
|
||||
"crc32": "4ed0d171",
|
||||
"size": 32768
|
||||
}
|
||||
},
|
||||
{
|
||||
"kind": "added",
|
||||
"system": "DOS",
|
||||
"name": "sc55-roms/mk1-v1.21/rom2.bin",
|
||||
"destination": "sc55-roms/mk1-v1.21/rom2.bin",
|
||||
"field": null,
|
||||
"old": null,
|
||||
"new": {
|
||||
"sha1": "9c17f85e784dc1549ac1f98d457b353393331f6b",
|
||||
"md5": "6b61186953b50d900e430ae6a996bda7",
|
||||
"crc32": "2dc58549",
|
||||
"size": 262144
|
||||
}
|
||||
},
|
||||
{
|
||||
"kind": "added",
|
||||
"system": "DOS",
|
||||
"name": "sc55-roms/mk1-v1.21/wave1.bin",
|
||||
"destination": "sc55-roms/mk1-v1.21/wave1.bin",
|
||||
"field": null,
|
||||
"old": null,
|
||||
"new": {
|
||||
"sha1": "8cc3c0d7ec0993df81d4ca1970e01a4b0d8d3775",
|
||||
"md5": "5f40d5297f47358ddea43b8d225874cc",
|
||||
"crc32": "1ac774d3",
|
||||
"size": 1048576
|
||||
}
|
||||
},
|
||||
{
|
||||
"kind": "added",
|
||||
"system": "DOS",
|
||||
"name": "sc55-roms/mk1-v1.21/wave2.bin",
|
||||
"destination": "sc55-roms/mk1-v1.21/wave2.bin",
|
||||
"field": null,
|
||||
"old": null,
|
||||
"new": {
|
||||
"sha1": "80e6eb130c18c09955551563f78906163c55cc11",
|
||||
"md5": "f78fb079a7d8c5f1eb04e0fd5aedbc9e",
|
||||
"crc32": "8dcc592a",
|
||||
"size": 1048576
|
||||
}
|
||||
},
|
||||
{
|
||||
"kind": "added",
|
||||
"system": "DOS",
|
||||
"name": "sc55-roms/mk1-v1.21/wave3.bin",
|
||||
"destination": "sc55-roms/mk1-v1.21/wave3.bin",
|
||||
"field": null,
|
||||
"old": null,
|
||||
"new": {
|
||||
"sha1": "7454b817778179806f3f9d1985b3a2ef67ace76f",
|
||||
"md5": "53c013d4bad0337385cfda2631e5b78e",
|
||||
"crc32": "e21ebc04",
|
||||
"size": 1048576
|
||||
}
|
||||
},
|
||||
{
|
||||
"kind": "added",
|
||||
"system": "DOS",
|
||||
"name": "sc55-roms/mk1-v1.00/rom1.bin",
|
||||
"destination": "sc55-roms/mk1-v1.00/rom1.bin",
|
||||
"field": null,
|
||||
"old": null,
|
||||
"new": {
|
||||
"sha1": "675ea03634429c49fdeebf14849953bc1dd844aa",
|
||||
"md5": "c4e923344906aa630ab1b950720db386",
|
||||
"crc32": "d072c251",
|
||||
"size": 32768
|
||||
}
|
||||
},
|
||||
{
|
||||
"kind": "added",
|
||||
"system": "DOS",
|
||||
"name": "sc55-roms/mk1-v1.00/rom2.bin",
|
||||
"destination": "sc55-roms/mk1-v1.00/rom2.bin",
|
||||
"field": null,
|
||||
"old": null,
|
||||
"new": {
|
||||
"sha1": "f7f8ac018d24be8de6cc37ed4a3b3bfc0953510a",
|
||||
"md5": "7e90b34c777e2c5e1277ae559d959c26",
|
||||
"crc32": "dbaaae8f",
|
||||
"size": 262144
|
||||
}
|
||||
},
|
||||
{
|
||||
"kind": "added",
|
||||
"system": "DOS",
|
||||
"name": "sc55-roms/mk1-v1.10/rom1.bin",
|
||||
"destination": "sc55-roms/mk1-v1.10/rom1.bin",
|
||||
"field": null,
|
||||
"old": null,
|
||||
"new": {
|
||||
"sha1": "1af0102664883ce17ea3a978e5a9a7113c040542",
|
||||
"md5": "b301bfdaac9650ac97322f533396fdfb",
|
||||
"crc32": "c450da76",
|
||||
"size": 32768
|
||||
}
|
||||
},
|
||||
{
|
||||
"kind": "added",
|
||||
"system": "DOS",
|
||||
"name": "sc55-roms/mk1-v1.10/rom2.bin",
|
||||
"destination": "sc55-roms/mk1-v1.10/rom2.bin",
|
||||
"field": null,
|
||||
"old": null,
|
||||
"new": {
|
||||
"sha1": "6bc23a354ecd2e61c705b6191b49196db35f3d2d",
|
||||
"md5": "c0f0c8c2ffcfaf9a56c7e0d2dd440857",
|
||||
"crc32": "15f0aedb",
|
||||
"size": 262144
|
||||
}
|
||||
},
|
||||
{
|
||||
"kind": "added",
|
||||
"system": "DOS",
|
||||
"name": "sc55-roms/mk1-v1.20/rom1.bin",
|
||||
"destination": "sc55-roms/mk1-v1.20/rom1.bin",
|
||||
"field": null,
|
||||
"old": null,
|
||||
"new": {
|
||||
"sha1": "dd01ec54027751c2f2f2e47bbb7a0bf3d1ca8ae2",
|
||||
"md5": "462cb3a2ce9e54f4e54a52f643931ffd",
|
||||
"crc32": "4ed0d171",
|
||||
"size": 32768
|
||||
}
|
||||
},
|
||||
{
|
||||
"kind": "added",
|
||||
"system": "DOS",
|
||||
"name": "sc55-roms/mk1-v1.20/rom2.bin",
|
||||
"destination": "sc55-roms/mk1-v1.20/rom2.bin",
|
||||
"field": null,
|
||||
"old": null,
|
||||
"new": {
|
||||
"sha1": "ffa8e3d5b3ec45485de4c13029bb4406c08ac9c3",
|
||||
"md5": "181b86f1c5a81caa65b6cebbf7c2678b",
|
||||
"crc32": "ebd488fd",
|
||||
"size": 262144
|
||||
}
|
||||
},
|
||||
{
|
||||
"kind": "added",
|
||||
"system": "DOS",
|
||||
"name": "sc55-roms/mk1-v2.00/rom1.bin",
|
||||
"destination": "sc55-roms/mk1-v2.00/rom1.bin",
|
||||
"field": null,
|
||||
"old": null,
|
||||
"new": {
|
||||
"sha1": "76f646bc03f66dbee7606f2181d4ea76f05ece7d",
|
||||
"md5": "6b74988a79c2a48239809f07a54175b3",
|
||||
"crc32": "a160da90",
|
||||
"size": 32768
|
||||
}
|
||||
},
|
||||
{
|
||||
"kind": "added",
|
||||
"system": "DOS",
|
||||
"name": "sc55-roms/mk1-v2.00/rom2.bin",
|
||||
"destination": "sc55-roms/mk1-v2.00/rom2.bin",
|
||||
"field": null,
|
||||
"old": null,
|
||||
"new": {
|
||||
"sha1": "6d6346b35c2379e9e6adc182214580e3d164b0c7",
|
||||
"md5": "d79cf9c9aa88416372cb0fd318f79beb",
|
||||
"crc32": "1768cc18",
|
||||
"size": 262144
|
||||
}
|
||||
},
|
||||
{
|
||||
"kind": "added",
|
||||
"system": "DOS",
|
||||
"name": "sc55-roms/mk2-v1.01/rom1.bin",
|
||||
"destination": "sc55-roms/mk2-v1.01/rom1.bin",
|
||||
"field": null,
|
||||
"old": null,
|
||||
"new": {
|
||||
"sha1": "b91bb1d9dccffe831b7cfde7800a3fe32b2fbda6",
|
||||
"md5": "4ca058f7db05f51e97bb30a162e9610a",
|
||||
"crc32": "9b66631f",
|
||||
"size": 32768
|
||||
}
|
||||
},
|
||||
{
|
||||
"kind": "added",
|
||||
"system": "DOS",
|
||||
"name": "sc55-roms/mk2-v1.01/rom2.bin",
|
||||
"destination": "sc55-roms/mk2-v1.01/rom2.bin",
|
||||
"field": null,
|
||||
"old": null,
|
||||
"new": {
|
||||
"sha1": "078cb5feea05e80bb9a1bb857a2163ee434fd053",
|
||||
"md5": "63b24c7193ce34afefce9cec32ac39f0",
|
||||
"crc32": "fcee1e8e",
|
||||
"size": 524288
|
||||
}
|
||||
},
|
||||
{
|
||||
"kind": "added",
|
||||
"system": "DOS",
|
||||
"name": "sc55-roms/mk2-v1.01/smrom.bin",
|
||||
"destination": "sc55-roms/mk2-v1.01/smrom.bin",
|
||||
"field": null,
|
||||
"old": null,
|
||||
"new": {
|
||||
"sha1": "4d48578d811a762a8e7bfaf18989bcac70ae1ba4",
|
||||
"md5": "4e39dcfc30352a33caf1f4d81a7f13e4",
|
||||
"crc32": "702c0a82",
|
||||
"size": 4096
|
||||
}
|
||||
},
|
||||
{
|
||||
"kind": "added",
|
||||
"system": "DOS",
|
||||
"name": "sc55-roms/mk2-v1.01/wave1.bin",
|
||||
"destination": "sc55-roms/mk2-v1.01/wave1.bin",
|
||||
"field": null,
|
||||
"old": null,
|
||||
"new": {
|
||||
"sha1": "96708cb21381c2fd03de4babbf7aea301c7594a6",
|
||||
"md5": "30df645acf7f1b621d5f2891ea53e00b",
|
||||
"crc32": "1519d3b3",
|
||||
"size": 2097152
|
||||
}
|
||||
},
|
||||
{
|
||||
"kind": "added",
|
||||
"system": "DOS",
|
||||
"name": "sc55-roms/mk2-v1.01/wave2.bin",
|
||||
"destination": "sc55-roms/mk2-v1.01/wave2.bin",
|
||||
"field": null,
|
||||
"old": null,
|
||||
"new": {
|
||||
"sha1": "4d91cdeaed048d653dbf846a221003c3a3f08279",
|
||||
"md5": "f86e0433a11707a048a8a79e8d98a3be",
|
||||
"crc32": "0f826c7f",
|
||||
"size": 1048576
|
||||
}
|
||||
},
|
||||
{
|
||||
"kind": "added",
|
||||
"system": "DOS",
|
||||
"name": "sc55-roms/sc155-rev1/rom2.bin",
|
||||
"destination": "sc55-roms/sc155-rev1/rom2.bin",
|
||||
"field": null,
|
||||
"old": null,
|
||||
"new": {
|
||||
"sha1": "e9e1bb1bc2691145ffe17f01a48d6614c9f22225",
|
||||
"md5": "5c7c6ab34ef6da079b05a36fd23c9c91",
|
||||
"crc32": "e19d4a52",
|
||||
"size": 262144
|
||||
}
|
||||
},
|
||||
{
|
||||
"kind": "added",
|
||||
"system": "DOS",
|
||||
"name": "sc55-roms/cm300-v1.30/rom1.bin",
|
||||
"destination": "sc55-roms/cm300-v1.30/rom1.bin",
|
||||
"field": null,
|
||||
"old": null,
|
||||
"new": {
|
||||
"sha1": "30b788af86b97f84a4acf0e51bdfc864ed05d530",
|
||||
"md5": "c40042f1469eec55870391f131c96230",
|
||||
"crc32": "4b9e6eae",
|
||||
"size": 32768
|
||||
}
|
||||
},
|
||||
{
|
||||
"kind": "added",
|
||||
"system": "DOS",
|
||||
"name": "sc55-roms/cm300-v1.30/rom2.bin",
|
||||
"destination": "sc55-roms/cm300-v1.30/rom2.bin",
|
||||
"field": null,
|
||||
"old": null,
|
||||
"new": {
|
||||
"sha1": "8f744c7b9eadd4056f4611c9f703f7d6bdcbbd62",
|
||||
"md5": "cfbd838e3fe6bcfb92f2587fafee048e",
|
||||
"crc32": "baaab31a",
|
||||
"size": 262144
|
||||
}
|
||||
},
|
||||
{
|
||||
"kind": "added",
|
||||
"system": "DOS",
|
||||
"name": "sc55-roms/cm300-v1.30/wave1.bin",
|
||||
"destination": "sc55-roms/cm300-v1.30/wave1.bin",
|
||||
"field": null,
|
||||
"old": null,
|
||||
"new": {
|
||||
"sha1": "891cf2ac5ca64f453b370b9076f9fb2b4ebc5dcf",
|
||||
"md5": "1e8c539412480c3c261d82e049a8bb10",
|
||||
"crc32": "b1b31a41",
|
||||
"size": 1048576
|
||||
}
|
||||
},
|
||||
{
|
||||
"kind": "added",
|
||||
"system": "DOS",
|
||||
"name": "sc55-roms/cm300-v1.30/wave2.bin",
|
||||
"destination": "sc55-roms/cm300-v1.30/wave2.bin",
|
||||
"field": null,
|
||||
"old": null,
|
||||
"new": {
|
||||
"sha1": "49f38f181b444fc39ad86c4ddab3b25bf839d0b4",
|
||||
"md5": "fb28743cef3fa73542554f68a8e2297f",
|
||||
"crc32": "359edfb2",
|
||||
"size": 1048576
|
||||
}
|
||||
},
|
||||
{
|
||||
"kind": "added",
|
||||
"system": "DOS",
|
||||
"name": "sc55-roms/st-v1.01/rom2.bin",
|
||||
"destination": "sc55-roms/st-v1.01/rom2.bin",
|
||||
"field": null,
|
||||
"old": null,
|
||||
"new": {
|
||||
"sha1": "950f2ae1c2f44e8d92f4f267bac09565a17e540c",
|
||||
"md5": "fe2ba2027fa06dca43f2379f18b24a4d",
|
||||
"crc32": "8f51dd3c",
|
||||
"size": 262144
|
||||
}
|
||||
},
|
||||
{
|
||||
"kind": "added",
|
||||
"system": "DOS",
|
||||
"name": "sc55-roms/cm300-v1.10/rom2.bin",
|
||||
"destination": "sc55-roms/cm300-v1.10/rom2.bin",
|
||||
"field": null,
|
||||
"old": null,
|
||||
"new": {
|
||||
"sha1": "32e76286a626cf960b6665792e53dce3d51170d1",
|
||||
"md5": "b2c215cdf5325ec84ecde86a5d3d1eb8",
|
||||
"crc32": "94d96954",
|
||||
"size": 262144
|
||||
}
|
||||
},
|
||||
{
|
||||
"kind": "added",
|
||||
"system": "DOS",
|
||||
"name": "sc55-roms/cm300-v1.20/rom2.bin",
|
||||
"destination": "sc55-roms/cm300-v1.20/rom2.bin",
|
||||
"field": null,
|
||||
"old": null,
|
||||
"new": {
|
||||
"sha1": "b288cef2aa2df60cbaa2c084a77a68b298de9567",
|
||||
"md5": "437d9575678bdcc30c2f0e1a32765027",
|
||||
"crc32": "546542ab",
|
||||
"size": 262144
|
||||
}
|
||||
},
|
||||
{
|
||||
"kind": "added",
|
||||
"system": "DOS",
|
||||
"name": "sc55-roms/scb55-v2.00/rom2.bin",
|
||||
"destination": "sc55-roms/scb55-v2.00/rom2.bin",
|
||||
"field": null,
|
||||
"old": null,
|
||||
"new": {
|
||||
"sha1": "84d063df8afd13b88498eafb96c7346049d379bc",
|
||||
"md5": "89d8263a413326249c042da8bcd0fda1",
|
||||
"crc32": "a61270ca",
|
||||
"size": 262144
|
||||
}
|
||||
},
|
||||
{
|
||||
"kind": "added",
|
||||
"system": "Microsoft - MSX",
|
||||
@@ -1004,6 +1662,104 @@
|
||||
"old": "3d64d498",
|
||||
"new": "bae84f6c"
|
||||
},
|
||||
{
|
||||
"kind": "added",
|
||||
"system": "Nintendo - Nintendo Entertainment System",
|
||||
"name": "ymf288_adpcm_rom.bin",
|
||||
"destination": "ymf288_adpcm_rom.bin",
|
||||
"field": null,
|
||||
"old": null,
|
||||
"new": {
|
||||
"sha1": "50b6c3e288eaa12ad275d4f323267bb72b0445df",
|
||||
"md5": "8740932cda05e518a9955f1d08d6786f",
|
||||
"crc32": "23c9e0d8",
|
||||
"size": 8192
|
||||
}
|
||||
},
|
||||
{
|
||||
"kind": "added",
|
||||
"system": "Nintendo - Nintendo Entertainment System",
|
||||
"name": "MesenNesDB.txt",
|
||||
"destination": "MesenNesDB.txt",
|
||||
"field": null,
|
||||
"old": null,
|
||||
"new": {
|
||||
"sha1": "946098931db8c6f963ec9ea2f40d88e96dec40dc",
|
||||
"md5": "b68d6d68a7e8069fb83da97956fe43dd",
|
||||
"crc32": "b5ae7e32",
|
||||
"size": 548608
|
||||
}
|
||||
},
|
||||
{
|
||||
"kind": "added",
|
||||
"system": "Nintendo - Satellaview",
|
||||
"name": "BSX0120-0.bin",
|
||||
"destination": "Satellaview/BSX0120-0.bin",
|
||||
"field": null,
|
||||
"old": null,
|
||||
"new": {
|
||||
"sha1": "f51c52bb26f2546fb167ab1084a56457475ff0a0",
|
||||
"md5": "f958ecd1e15f518c57e6ad45d8fa785e",
|
||||
"crc32": "f677f548",
|
||||
"size": 34
|
||||
}
|
||||
},
|
||||
{
|
||||
"kind": "added",
|
||||
"system": "Nintendo - Satellaview",
|
||||
"name": "BSX0121-0.bin",
|
||||
"destination": "Satellaview/BSX0121-0.bin",
|
||||
"field": null,
|
||||
"old": null,
|
||||
"new": {
|
||||
"sha1": "20c81ded0f31e236de0d38cf0a50538960851213",
|
||||
"md5": "6f38b9f4553bc2caa5968caeb513375b",
|
||||
"crc32": "6e72890c",
|
||||
"size": 34
|
||||
}
|
||||
},
|
||||
{
|
||||
"kind": "added",
|
||||
"system": "Nintendo - Satellaview",
|
||||
"name": "BSX0122-0.bin",
|
||||
"destination": "Satellaview/BSX0122-0.bin",
|
||||
"field": null,
|
||||
"old": null,
|
||||
"new": {
|
||||
"sha1": "88d83a7bcf705e9eccfbaebb35f150c2c69bf803",
|
||||
"md5": "01a6effc102c3004f8958c9d02630afa",
|
||||
"crc32": "af2f6415",
|
||||
"size": 1031
|
||||
}
|
||||
},
|
||||
{
|
||||
"kind": "added",
|
||||
"system": "Nintendo - Satellaview",
|
||||
"name": "BSX0123-0.bin",
|
||||
"destination": "Satellaview/BSX0123-0.bin",
|
||||
"field": null,
|
||||
"old": null,
|
||||
"new": {
|
||||
"sha1": "32ef39d22eeccd9f3128e92e62b28bed6d3bc930",
|
||||
"md5": "6c730e9aef2789bf2544bbc92111786f",
|
||||
"crc32": "b3655ba5",
|
||||
"size": 16
|
||||
}
|
||||
},
|
||||
{
|
||||
"kind": "added",
|
||||
"system": "Nintendo - Satellaview",
|
||||
"name": "BSX0124-0.bin",
|
||||
"destination": "Satellaview/BSX0124-0.bin",
|
||||
"field": null,
|
||||
"old": null,
|
||||
"new": {
|
||||
"sha1": "fcc541ea293ec759dc183c98c9ce45602c7198dc",
|
||||
"md5": "fc703df4222db23dbda27cbe30f30904",
|
||||
"crc32": "3d78292a",
|
||||
"size": 97
|
||||
}
|
||||
},
|
||||
{
|
||||
"kind": "added",
|
||||
"system": "Nintendo - Super Game Boy",
|
||||
@@ -1032,6 +1788,20 @@
|
||||
"size": 256
|
||||
}
|
||||
},
|
||||
{
|
||||
"kind": "added",
|
||||
"system": "Nintendo - Super Nintendo Entertainment System",
|
||||
"name": "dsp1b.rom",
|
||||
"destination": "dsp1b.rom",
|
||||
"field": null,
|
||||
"old": null,
|
||||
"new": {
|
||||
"sha1": "78b724811f5f18d8c67669d9390397eb1a47a5e2",
|
||||
"md5": "332273cc0df5775d3803f2fd88e95d18",
|
||||
"crc32": "465c4e1c",
|
||||
"size": 8192
|
||||
}
|
||||
},
|
||||
{
|
||||
"kind": "hash_updated",
|
||||
"system": "SNK - NeoGeo CD",
|
||||
|
||||
@@ -121,9 +121,28 @@ game (
|
||||
rom ( name kick12.rom size 262144 crc A6CE1636 md5 85ad74194e87c08904327de1a9443b7a sha1 11f9e62cf299f72184835b7b2a70a16333fc0d88 )
|
||||
rom ( name kick20.rom size 524288 crc C3BDB240 md5 dc10d7bdd1b6f450773dfb558477c230 sha1 c5839f5cb98a7a8947065c3ed2f14f5f42e334a1 )
|
||||
rom ( name kick205.rom size 524288 crc 43B0DF7B md5 465646c9b6729f77eea5314d1f057951 sha1 02843c4253bbd29aba535b0aa3bd9a85034ecde4 )
|
||||
rom ( name whdboot/host-quit size 3180 crc 8EF13553 md5 a491e6bc79db7e968d35577cee2769a5 sha1 3ae8939c8f1cdd721eabd7d73c2d6277a038672a )
|
||||
rom ( name whdboot/boot-data.zip size 297373 crc 0EA2CF94 md5 28b7fd41cd5d1b345324aa2571fb1c5d sha1 bce26f64e0ad02a1f7ccc4a8ff43ef6ecd635f86 )
|
||||
rom ( name whdboot/game-data/whdload_db.json size 6741053 crc D50E6275 md5 51d44cd24e16fbb395b1bfefbaacd375 sha1 6540ae1a35080e3dbeacfba5139e4781eb74ca86 )
|
||||
rom ( name whdboot/Libs/xpkmaster.library size 16496 crc C59AAB67 md5 94bf2832dc8588e4b1b96da05c90d495 sha1 5bd19f9503b59c5d19bfe1c6a6e3b6e7c0e9eae2 )
|
||||
rom ( name whdboot/Libs/Compressors/xpkCBR0.library size 1300 crc F86D3C50 md5 2461c65dcd95124cc98327324d9bb184 sha1 a2a76c10cb06315e51990911fa050669cc89830d )
|
||||
rom ( name whdboot/Libs/Compressors/xpkDLTA.library size 960 crc 7035BF8E md5 d7474dd89a09009fa84937b01e742171 sha1 ca64f89919c2869cb6fd75346b9a21245a6d04a8 )
|
||||
rom ( name whdboot/Libs/Compressors/xpkDUKE.library size 3280 crc DB24E9DF md5 d6a9aafb790d40423c4ed0acbc6e85c3 sha1 8102d77ae0a3d64496436ee56a9c577c84b11992 )
|
||||
rom ( name whdboot/Libs/Compressors/xpkFAST.library size 2136 crc 14E639C6 md5 7e4ad7cdd26cb6badc571ce79ab91693 sha1 4599430f3baa302635a85b26a7b70a4116dc5f09 )
|
||||
rom ( name whdboot/Libs/Compressors/xpkFRLE.library size 1124 crc 8E52F98C md5 7a2c0a4eb36241ca6ed9303a13da9821 sha1 d0746429187ab38e886a47820203315f734e8d89 )
|
||||
rom ( name whdboot/Libs/Compressors/xpkHFMN.library size 2124 crc 482E44A6 md5 4d600301435d442f59068e52265cc9f2 sha1 f4a8dbe69e386d87d9ab8cbaf7fc3881b358fdb2 )
|
||||
rom ( name whdboot/Libs/Compressors/xpkHUFF.library size 2284 crc 71BCF51A md5 0b752081f321d324f47c9ec7440531d0 sha1 f22d099b81d2d039c4fbb3fea47cc9700b01fecf )
|
||||
rom ( name whdboot/Libs/Compressors/xpkIMPL.library size 4048 crc 8C2CA755 md5 6aa281fa42b10e3ff01be01d2f3bbf22 sha1 0e00bc18aec757d86f9831131c2236a704c175db )
|
||||
rom ( name whdboot/Libs/Compressors/xpkMASH.library size 2816 crc 4EF3BAB9 md5 1527b4f331464f3013ba90ca44a91e54 sha1 1093133a17cb635c21c5532ae26ded83b6d359ce )
|
||||
rom ( name whdboot/Libs/Compressors/xpkNONE.library size 812 crc BFA564E8 md5 2e98fd5760fb158d697c3c183eb16827 sha1 46dca6e2ff2176f7a12c52ea992a7a49ae5ef269 )
|
||||
rom ( name whdboot/Libs/Compressors/xpkNUKE.library size 2900 crc B73C89A4 md5 d644cfccffa44a284bc6e4050e2f2029 sha1 168bee97805be1f85b65f615e6931c4942caf4e4 )
|
||||
rom ( name whdboot/Libs/Compressors/xpkRAKE.library size 6604 crc 9A908635 md5 c1c5d4aad555f1ce3049127bfb911cea sha1 50cd2a19bee1ebd6b54b31c5b9461d5a81a2e910 )
|
||||
rom ( name whdboot/Libs/Compressors/xpkRLEN.library size 1008 crc 12B10DEA md5 91531faa9caaff395ba3b5bbdd7996c2 sha1 c81cf6d99de56faa6154cc81a9876517c2a8efc0 )
|
||||
rom ( name whdboot/Libs/Compressors/xpkSHRI.library size 9272 crc 8E29D45A md5 0807f616ba364d5e1151de505a4845d4 sha1 fc96d367e7b3409074841c7f145ab6daef0a6a4d )
|
||||
rom ( name whdboot/Libs/Compressors/xpkSMPL.library size 1740 crc 53543641 md5 069b09e57a18c0f24a72564eaa15199e sha1 d140b4e87a2ff76cf94616d97fe7b127d128d973 )
|
||||
rom ( name whdboot/Libs/Compressors/xpkSQSH.library size 2936 crc 87C5DE68 md5 0545456a27a23c3ee10686ab525ade94 sha1 2191b616abd4b2fb34c89ae243c35feea2b71104 )
|
||||
rom ( name whdboot/Libs/explode.library size 1784 crc C1E31C87 md5 a3a6c7fa59ef63b0b432d32f98efa09e sha1 c29ac7a92db4837703049af91d0d35b2a592f03d )
|
||||
rom ( name whdboot/Libs/medplayer.library size 15340 crc 39919294 md5 57c19c020dafc309ff6f238ae6934cb9 sha1 4313334a01dd02eaf60ea7eb95dee72c97835645 )
|
||||
rom ( name whdboot/host-quit size 1736 crc 3069C8F9 md5 9a42e69421e3148c69be679b18b9444e sha1 f717cb754078a350908e2839b3095843ccd90fa7 )
|
||||
rom ( name whdboot/boot-data.zip size 187033 crc C79884EE md5 3f04bc22c0ac3e2aa1611c3ced93ae74 sha1 b1e841768bf18b0d7d0ffbbe7f7788742b641677 )
|
||||
rom ( name whdboot/game-data/whdload_db.json size 6750282 crc B2267D3C md5 932a2c1b886e6daf87f0e72ed7533146 sha1 7554061aa6f928bd41acdbcafe2d20322a0e188c )
|
||||
rom ( name whdboot/save-data/Kickstarts/kick33180.A500.RTB size 3882 crc C61D5663 md5 c993feb1eeddec1d2e687aa514231028 sha1 1d1c557f4a0f5ea88aeb96d68b09f41990340f70 )
|
||||
rom ( name whdboot/save-data/Kickstarts/kick34005.A500.RTB size 4020 crc AE7A9AC7 md5 7eb13d974af0992d672b67c317a7e0a1 sha1 209c109855f94c935439b60950d049527d2f2484 )
|
||||
rom ( name whdboot/save-data/Kickstarts/kick37175.A500.RTB size 5576 crc 17F51321 md5 e057054449b5e21591ce27d2eb9ac720 sha1 7c1cf9a97b044a0344648709c187a3505bce7b5a )
|
||||
@@ -187,6 +206,34 @@ game (
|
||||
rom ( name libbassmidi.dylib size 519808 crc E5D1E180 md5 ea143b23779d01152633442abb1e0c67 sha1 efa4fdedfac60c98c53f3aec10fb44b324a35835 )
|
||||
rom ( name libbassmidi.so size 142080 crc 0A8E277A md5 3a48c08c224c32f2f4829b960e95f73b sha1 77d07d7518104896e0acfee24073356f1a6bd51b )
|
||||
rom ( name CM32LN_CONTROL.ROM size 65536 crc 4A3BB4EF md5 88f459121acf32923b1d85742c67e9c9 sha1 dc1c5b1b90a4646d00f7daf3679733c7badc7077 )
|
||||
rom ( name awe32.raw size 1048576 crc CEB2787E md5 30b76c45ca0712418239d2b15c65881a sha1 6ac3c1317c1acb83902397d7767763cca4de357a )
|
||||
rom ( name sc55-roms/mk1-v1.21/rom1.bin size 32768 crc 4ED0D171 md5 462cb3a2ce9e54f4e54a52f643931ffd sha1 dd01ec54027751c2f2f2e47bbb7a0bf3d1ca8ae2 )
|
||||
rom ( name sc55-roms/mk1-v1.21/rom2.bin size 262144 crc 2DC58549 md5 6b61186953b50d900e430ae6a996bda7 sha1 9c17f85e784dc1549ac1f98d457b353393331f6b )
|
||||
rom ( name sc55-roms/mk1-v1.21/wave1.bin size 1048576 crc 1AC774D3 md5 5f40d5297f47358ddea43b8d225874cc sha1 8cc3c0d7ec0993df81d4ca1970e01a4b0d8d3775 )
|
||||
rom ( name sc55-roms/mk1-v1.21/wave2.bin size 1048576 crc 8DCC592A md5 f78fb079a7d8c5f1eb04e0fd5aedbc9e sha1 80e6eb130c18c09955551563f78906163c55cc11 )
|
||||
rom ( name sc55-roms/mk1-v1.21/wave3.bin size 1048576 crc E21EBC04 md5 53c013d4bad0337385cfda2631e5b78e sha1 7454b817778179806f3f9d1985b3a2ef67ace76f )
|
||||
rom ( name sc55-roms/mk1-v1.00/rom1.bin size 32768 crc D072C251 md5 c4e923344906aa630ab1b950720db386 sha1 675ea03634429c49fdeebf14849953bc1dd844aa )
|
||||
rom ( name sc55-roms/mk1-v1.00/rom2.bin size 262144 crc DBAAAE8F md5 7e90b34c777e2c5e1277ae559d959c26 sha1 f7f8ac018d24be8de6cc37ed4a3b3bfc0953510a )
|
||||
rom ( name sc55-roms/mk1-v1.10/rom1.bin size 32768 crc C450DA76 md5 b301bfdaac9650ac97322f533396fdfb sha1 1af0102664883ce17ea3a978e5a9a7113c040542 )
|
||||
rom ( name sc55-roms/mk1-v1.10/rom2.bin size 262144 crc 15F0AEDB md5 c0f0c8c2ffcfaf9a56c7e0d2dd440857 sha1 6bc23a354ecd2e61c705b6191b49196db35f3d2d )
|
||||
rom ( name sc55-roms/mk1-v1.20/rom1.bin size 32768 crc 4ED0D171 md5 462cb3a2ce9e54f4e54a52f643931ffd sha1 dd01ec54027751c2f2f2e47bbb7a0bf3d1ca8ae2 )
|
||||
rom ( name sc55-roms/mk1-v1.20/rom2.bin size 262144 crc EBD488FD md5 181b86f1c5a81caa65b6cebbf7c2678b sha1 ffa8e3d5b3ec45485de4c13029bb4406c08ac9c3 )
|
||||
rom ( name sc55-roms/mk1-v2.00/rom1.bin size 32768 crc A160DA90 md5 6b74988a79c2a48239809f07a54175b3 sha1 76f646bc03f66dbee7606f2181d4ea76f05ece7d )
|
||||
rom ( name sc55-roms/mk1-v2.00/rom2.bin size 262144 crc 1768CC18 md5 d79cf9c9aa88416372cb0fd318f79beb sha1 6d6346b35c2379e9e6adc182214580e3d164b0c7 )
|
||||
rom ( name sc55-roms/mk2-v1.01/rom1.bin size 32768 crc 9B66631F md5 4ca058f7db05f51e97bb30a162e9610a sha1 b91bb1d9dccffe831b7cfde7800a3fe32b2fbda6 )
|
||||
rom ( name sc55-roms/mk2-v1.01/rom2.bin size 524288 crc FCEE1E8E md5 63b24c7193ce34afefce9cec32ac39f0 sha1 078cb5feea05e80bb9a1bb857a2163ee434fd053 )
|
||||
rom ( name sc55-roms/mk2-v1.01/smrom.bin size 4096 crc 702C0A82 md5 4e39dcfc30352a33caf1f4d81a7f13e4 sha1 4d48578d811a762a8e7bfaf18989bcac70ae1ba4 )
|
||||
rom ( name sc55-roms/mk2-v1.01/wave1.bin size 2097152 crc 1519D3B3 md5 30df645acf7f1b621d5f2891ea53e00b sha1 96708cb21381c2fd03de4babbf7aea301c7594a6 )
|
||||
rom ( name sc55-roms/mk2-v1.01/wave2.bin size 1048576 crc 0F826C7F md5 f86e0433a11707a048a8a79e8d98a3be sha1 4d91cdeaed048d653dbf846a221003c3a3f08279 )
|
||||
rom ( name sc55-roms/sc155-rev1/rom2.bin size 262144 crc E19D4A52 md5 5c7c6ab34ef6da079b05a36fd23c9c91 sha1 e9e1bb1bc2691145ffe17f01a48d6614c9f22225 )
|
||||
rom ( name sc55-roms/cm300-v1.30/rom1.bin size 32768 crc 4B9E6EAE md5 c40042f1469eec55870391f131c96230 sha1 30b788af86b97f84a4acf0e51bdfc864ed05d530 )
|
||||
rom ( name sc55-roms/cm300-v1.30/rom2.bin size 262144 crc BAAAB31A md5 cfbd838e3fe6bcfb92f2587fafee048e sha1 8f744c7b9eadd4056f4611c9f703f7d6bdcbbd62 )
|
||||
rom ( name sc55-roms/cm300-v1.30/wave1.bin size 1048576 crc B1B31A41 md5 1e8c539412480c3c261d82e049a8bb10 sha1 891cf2ac5ca64f453b370b9076f9fb2b4ebc5dcf )
|
||||
rom ( name sc55-roms/cm300-v1.30/wave2.bin size 1048576 crc 359EDFB2 md5 fb28743cef3fa73542554f68a8e2297f sha1 49f38f181b444fc39ad86c4ddab3b25bf839d0b4 )
|
||||
rom ( name sc55-roms/st-v1.01/rom2.bin size 262144 crc 8F51DD3C md5 fe2ba2027fa06dca43f2379f18b24a4d sha1 950f2ae1c2f44e8d92f4f267bac09565a17e540c )
|
||||
rom ( name sc55-roms/cm300-v1.10/rom2.bin size 262144 crc 94D96954 md5 b2c215cdf5325ec84ecde86a5d3d1eb8 sha1 32e76286a626cf960b6665792e53dce3d51170d1 )
|
||||
rom ( name sc55-roms/cm300-v1.20/rom2.bin size 262144 crc 546542AB md5 437d9575678bdcc30c2f0e1a32765027 sha1 b288cef2aa2df60cbaa2c084a77a68b298de9567 )
|
||||
rom ( name sc55-roms/scb55-v2.00/rom2.bin size 262144 crc A61270CA md5 89d8263a413326249c042da8bcd0fda1 sha1 84d063df8afd13b88498eafb96c7346049d379bc )
|
||||
|
||||
comment "Elektronika - BK-0010/BK-0011(M)"
|
||||
rom ( name bk/B11M_BOS.ROM size 8192 crc 8FFD5EFA md5 fe4627d1e3a1535874085050733263e7 sha1 7e9a30e38d7b78981999821640a68a201bb6df01 )
|
||||
@@ -369,6 +416,8 @@ game (
|
||||
|
||||
comment "Nintendo - Nintendo Entertainment System"
|
||||
rom ( name NstDatabase.xml size 1009534 crc EBB2196C md5 7bfe8c0540ed4bd6a0f1e2a0f0118ced sha1 26322f182540211e9b5e3647675b7c593706ae2b )
|
||||
rom ( name ymf288_adpcm_rom.bin size 8192 crc 23C9E0D8 md5 8740932cda05e518a9955f1d08d6786f sha1 50b6c3e288eaa12ad275d4f323267bb72b0445df )
|
||||
rom ( name MesenNesDB.txt size 548608 crc B5AE7E32 md5 b68d6d68a7e8069fb83da97956fe43dd sha1 946098931db8c6f963ec9ea2f40d88e96dec40dc )
|
||||
|
||||
comment "Nintendo - Pokemon Mini"
|
||||
rom ( name bios.min size 4096 crc AED3C14D md5 1e4fb124a3a886865acb574f388c803d sha1 daad4113713ed776fbd47727762bca81ba74915f )
|
||||
@@ -377,6 +426,11 @@ game (
|
||||
rom ( name BS-X.bin size 1048576 crc F51F07A0 md5 fed4d8242cfbed61343d53d48432aced sha1 604556b2e62860af18db5a77f2956ebc75450020 )
|
||||
rom ( name "BS-X (En).bin" size 1048576 crc 347E1C4E md5 33b62505da6ca4525e3839db4e1a7bca sha1 f3cdff70de5d0f5c52ca3a8f46588b863d48b8ec )
|
||||
rom ( name "BS-X (En) (DRM-Free).bin" size 1048576 crc 8C573C7E md5 4ed9648505ab33a4daec93707b16caba sha1 7996bd1c01b99800e0d5d34beff93db283784864 )
|
||||
rom ( name Satellaview/BSX0120-0.bin size 34 crc F677F548 md5 f958ecd1e15f518c57e6ad45d8fa785e sha1 f51c52bb26f2546fb167ab1084a56457475ff0a0 )
|
||||
rom ( name Satellaview/BSX0121-0.bin size 34 crc 6E72890C md5 6f38b9f4553bc2caa5968caeb513375b sha1 20c81ded0f31e236de0d38cf0a50538960851213 )
|
||||
rom ( name Satellaview/BSX0122-0.bin size 1031 crc AF2F6415 md5 01a6effc102c3004f8958c9d02630afa sha1 88d83a7bcf705e9eccfbaebb35f150c2c69bf803 )
|
||||
rom ( name Satellaview/BSX0123-0.bin size 16 crc B3655BA5 md5 6c730e9aef2789bf2544bbc92111786f sha1 32ef39d22eeccd9f3128e92e62b28bed6d3bc930 )
|
||||
rom ( name Satellaview/BSX0124-0.bin size 97 crc 3D78292A md5 fc703df4222db23dbda27cbe30f30904 sha1 fcc541ea293ec759dc183c98c9ce45602c7198dc )
|
||||
|
||||
comment "Nintendo - SuFami Turbo"
|
||||
rom ( name STBIOS.bin size 262144 crc 9B4CA911 md5 d3a44ba7d42a74d3ac58cb9c14c6a5ca sha1 ef86ea192eed03d5c413fdbbfd46043be1d7a127 )
|
||||
@@ -416,6 +470,7 @@ game (
|
||||
rom ( name st011.program.rom size 49152 crc A741E9FB md5 95222ebf1c0c2990bcf25db43743f032 sha1 375eca92592621e83881f3a9d7fd5ea3e5b306dc )
|
||||
rom ( name st018.data.rom size 32768 crc B5255459 md5 49c898b60d0f15e90d0ba780dd12f366 sha1 b19c0f8f207d62fdabf4bf71442826063bccc626 )
|
||||
rom ( name st018.program.rom size 131072 crc F73D5E10 md5 dda40ccd57390c96e49d30a041f9a9e7 sha1 388e3721b94cd074d6ba0eca8616523d2118a6c3 )
|
||||
rom ( name dsp1b.rom size 8192 crc 465C4E1C md5 332273cc0df5775d3803f2fd88e95d18 sha1 78b724811f5f18d8c67669d9390397eb1a47a5e2 )
|
||||
|
||||
comment "Phillips - Videopac+"
|
||||
rom ( name c52.bin size 1024 crc A318E8D6 md5 f1071cdb0b6b10dde94d3bc8a6146387 sha1 a6120aed50831c9c0d95dbdf707820f601d9452e )
|
||||
|
||||
+77
-4
@@ -6,11 +6,11 @@
|
||||
"files": [
|
||||
"batocera-systems.json"
|
||||
],
|
||||
"summary": "362 kept, 47 files added, 1 hash updated to the emulator source, 5 hashes added to an existing entry",
|
||||
"summary": "362 kept, 50 files added, 1 hash updated to the emulator source, 9 hashes added to an existing entry",
|
||||
"counts": {
|
||||
"kept": 362,
|
||||
"added": 47,
|
||||
"not_added": 1937,
|
||||
"added": 50,
|
||||
"not_added": 1931,
|
||||
"not_kept": 0
|
||||
},
|
||||
"changes": [
|
||||
@@ -157,6 +157,42 @@
|
||||
"md5": "4fe4f6800076ea3d897d4285653447bd"
|
||||
}
|
||||
},
|
||||
{
|
||||
"kind": "hash_filled",
|
||||
"system": "apple2",
|
||||
"name": "disk2-13boot.rom",
|
||||
"destination": "disk2-13boot.rom",
|
||||
"field": "md5",
|
||||
"old": null,
|
||||
"new": "4f80448507cf43ab40c17ac08d89e278"
|
||||
},
|
||||
{
|
||||
"kind": "hash_filled",
|
||||
"system": "apple2",
|
||||
"name": "disk2-13seq.rom",
|
||||
"destination": "disk2-13seq.rom",
|
||||
"field": "md5",
|
||||
"old": null,
|
||||
"new": "008568a8a28a79f795ad73a4b064de1e"
|
||||
},
|
||||
{
|
||||
"kind": "hash_filled",
|
||||
"system": "apple2",
|
||||
"name": "disk2-16boot.rom",
|
||||
"destination": "disk2-16boot.rom",
|
||||
"field": "md5",
|
||||
"old": null,
|
||||
"new": "2020aa1413ff77fe29353f3ee72dc295"
|
||||
},
|
||||
{
|
||||
"kind": "hash_filled",
|
||||
"system": "apple2",
|
||||
"name": "disk2-16seq.rom",
|
||||
"destination": "disk2-16seq.rom",
|
||||
"field": "md5",
|
||||
"old": null,
|
||||
"new": "5f1be0c1cdff26f5956eef9643911886"
|
||||
},
|
||||
{
|
||||
"kind": "added",
|
||||
"system": "atarist",
|
||||
@@ -541,6 +577,39 @@
|
||||
"md5": "81bbe60ba7a3d1cea1d48c14cbcc647b"
|
||||
}
|
||||
},
|
||||
{
|
||||
"kind": "added",
|
||||
"system": "saturn",
|
||||
"name": "sega1003.bin",
|
||||
"destination": "sega1003.bin",
|
||||
"field": null,
|
||||
"old": null,
|
||||
"new": {
|
||||
"md5": "74570fed4d44b2682b560c8cd44b8b6a"
|
||||
}
|
||||
},
|
||||
{
|
||||
"kind": "added",
|
||||
"system": "saturn",
|
||||
"name": "sega_100.bin",
|
||||
"destination": "sega_100.bin",
|
||||
"field": null,
|
||||
"old": null,
|
||||
"new": {
|
||||
"md5": "af5828fdff51384f99b3c4926be27762"
|
||||
}
|
||||
},
|
||||
{
|
||||
"kind": "added",
|
||||
"system": "saturn",
|
||||
"name": "sega_100a.bin",
|
||||
"destination": "sega_100a.bin",
|
||||
"field": null,
|
||||
"old": null,
|
||||
"new": {
|
||||
"md5": "f273555d7d91e8a5a6bfd9bcf066331c"
|
||||
}
|
||||
},
|
||||
{
|
||||
"kind": "added",
|
||||
"system": "scummvm",
|
||||
@@ -590,6 +659,10 @@
|
||||
"dragon32/d64_1.rom md5"
|
||||
],
|
||||
"hashes_filled": [
|
||||
"apple2/disk2-13boot.rom md5",
|
||||
"apple2/disk2-13seq.rom md5",
|
||||
"apple2/disk2-16boot.rom md5",
|
||||
"apple2/disk2-16seq.rom md5",
|
||||
"chihiro/chihiro_xbox_bios.bin md5",
|
||||
"nds/dsi_bios9.bin md5",
|
||||
"nds/dsi_bios7.bin md5",
|
||||
@@ -601,7 +674,7 @@
|
||||
"hashes_cleared": [],
|
||||
"required_aligned": 0,
|
||||
"withheld": [],
|
||||
"found_by_content": 614,
|
||||
"found_by_content": 615,
|
||||
"unattributed": [
|
||||
"commodore-amiga/kick13.rom",
|
||||
"commodore-amiga/kick12.rom",
|
||||
|
||||
@@ -253,19 +253,19 @@
|
||||
"file": "bios/apple2-asoft-auto.rom"
|
||||
},
|
||||
{
|
||||
"md5": "",
|
||||
"md5": "4f80448507cf43ab40c17ac08d89e278",
|
||||
"file": "bios/disk2-13boot.rom"
|
||||
},
|
||||
{
|
||||
"md5": "",
|
||||
"md5": "008568a8a28a79f795ad73a4b064de1e",
|
||||
"file": "bios/disk2-13seq.rom"
|
||||
},
|
||||
{
|
||||
"md5": "",
|
||||
"md5": "2020aa1413ff77fe29353f3ee72dc295",
|
||||
"file": "bios/disk2-16boot.rom"
|
||||
},
|
||||
{
|
||||
"md5": "",
|
||||
"md5": "5f1be0c1cdff26f5956eef9643911886",
|
||||
"file": "bios/disk2-16seq.rom"
|
||||
},
|
||||
{
|
||||
@@ -1935,6 +1935,18 @@
|
||||
{
|
||||
"md5": "af5828fdff51384f99b3c4926be27762",
|
||||
"file": "bios/kronos/saturn_bios.bin"
|
||||
},
|
||||
{
|
||||
"md5": "74570fed4d44b2682b560c8cd44b8b6a",
|
||||
"file": "bios/sega1003.bin"
|
||||
},
|
||||
{
|
||||
"md5": "af5828fdff51384f99b3c4926be27762",
|
||||
"file": "bios/sega_100.bin"
|
||||
},
|
||||
{
|
||||
"md5": "f273555d7d91e8a5a6bfd9bcf066331c",
|
||||
"file": "bios/sega_100a.bin"
|
||||
}
|
||||
]
|
||||
},
|
||||
|
||||
+61
-2
@@ -24,7 +24,7 @@
|
||||
"xemu/component_manifest.json",
|
||||
"xroar/component_manifest.json"
|
||||
],
|
||||
"summary": "2021 kept, 77 files added, 40 required flags aligned with the code, 113 hashes added to an existing entry",
|
||||
"summary": "2021 kept, 77 files added, 41 required flags aligned with the code, 118 hashes added to an existing entry",
|
||||
"counts": {
|
||||
"kept": 2021,
|
||||
"added": 77,
|
||||
@@ -332,6 +332,51 @@
|
||||
"required": false
|
||||
}
|
||||
},
|
||||
{
|
||||
"kind": "hash_filled",
|
||||
"system": "ps2",
|
||||
"name": "ps2-0100j-20000117.bin",
|
||||
"destination": "bios/ps2-0100j-20000117.bin",
|
||||
"field": "sha256",
|
||||
"old": null,
|
||||
"new": "c4dad3b5c6ad58bce70a47fc332602880f041c0338ac6be89061c928f6919ab1"
|
||||
},
|
||||
{
|
||||
"kind": "hash_filled",
|
||||
"system": "ps2",
|
||||
"name": "ps2-0200j-20040614.bin",
|
||||
"destination": "bios/ps2-0200j-20040614.bin",
|
||||
"field": "sha256",
|
||||
"old": null,
|
||||
"new": "3b377ce5f7bb8d880260851867a5452b59149aeb8bb189c5df41e3bace7b8e09"
|
||||
},
|
||||
{
|
||||
"kind": "hash_filled",
|
||||
"system": "ps2",
|
||||
"name": "ps2-0160a-20020207.bin",
|
||||
"destination": "bios/ps2-0160a-20020207.bin",
|
||||
"field": "sha256",
|
||||
"old": null,
|
||||
"new": "f4c948e61a291d4b3f92a141e550cf8357204287a31ff784caccbedaef910c9d"
|
||||
},
|
||||
{
|
||||
"kind": "hash_filled",
|
||||
"system": "ps2",
|
||||
"name": "ps2-0160e-20020319.bin",
|
||||
"destination": "bios/ps2-0160e-20020319.bin",
|
||||
"field": "sha256",
|
||||
"old": null,
|
||||
"new": "5b7cfc4dfdcf556d70ea975b754da6ec26542f6a0e3dfa43a6fcef2902e8f60d"
|
||||
},
|
||||
{
|
||||
"kind": "hash_filled",
|
||||
"system": "ps2",
|
||||
"name": "ps2-0200e-20040614.bin",
|
||||
"destination": "bios/ps2-0200e-20040614.bin",
|
||||
"field": "sha256",
|
||||
"old": null,
|
||||
"new": "d6653f4e93be2f6f9e9d690a934f26cf0f6ad4e348b69f41ef736732c3a6685b"
|
||||
},
|
||||
{
|
||||
"kind": "added",
|
||||
"system": "ps2",
|
||||
@@ -702,6 +747,15 @@
|
||||
"old": true,
|
||||
"new": false
|
||||
},
|
||||
{
|
||||
"kind": "required_aligned",
|
||||
"system": "atari5200",
|
||||
"name": "ATARIOSB.ROM",
|
||||
"destination": "bios/ATARIOSB.ROM",
|
||||
"field": "required",
|
||||
"old": true,
|
||||
"new": false
|
||||
},
|
||||
{
|
||||
"kind": "added",
|
||||
"system": "apple2gs",
|
||||
@@ -2290,6 +2344,11 @@
|
||||
"psx/scph102B.bin sha256",
|
||||
"psx/scph3000.bin sha256",
|
||||
"psx/scph3500.bin sha256",
|
||||
"ps2/ps2-0100j-20000117.bin sha256",
|
||||
"ps2/ps2-0200j-20040614.bin sha256",
|
||||
"ps2/ps2-0160a-20020207.bin sha256",
|
||||
"ps2/ps2-0160e-20020319.bin sha256",
|
||||
"ps2/ps2-0200e-20040614.bin sha256",
|
||||
"pico8/pico8 md5",
|
||||
"pico8/pico8 sha256",
|
||||
"pico8/pico8.dat md5",
|
||||
@@ -2394,7 +2453,7 @@
|
||||
"sizes_updated": [],
|
||||
"sizes_removed": [],
|
||||
"hashes_cleared": [],
|
||||
"required_aligned": 40,
|
||||
"required_aligned": 41,
|
||||
"withheld": [],
|
||||
"found_by_content": 384,
|
||||
"unattributed": [
|
||||
|
||||
@@ -120,7 +120,8 @@
|
||||
"md5": "acf4730ceb38ac9d8c7d8e21f2614600",
|
||||
"system": "ps2",
|
||||
"description": "PlayStation 2 BIOS - Japan",
|
||||
"required": "At least one BIOS file required"
|
||||
"required": "At least one BIOS file required",
|
||||
"sha256": "c4dad3b5c6ad58bce70a47fc332602880f041c0338ac6be89061c928f6919ab1"
|
||||
},
|
||||
{
|
||||
"filename": "ps2-0101j-20000217.bin",
|
||||
@@ -169,7 +170,8 @@
|
||||
"md5": "0eee5d1c779aa50e94edd168b4ebf42e",
|
||||
"system": "ps2",
|
||||
"description": "PlayStation 2 BIOS - Japan",
|
||||
"required": "At least one BIOS file required"
|
||||
"required": "At least one BIOS file required",
|
||||
"sha256": "3b377ce5f7bb8d880260851867a5452b59149aeb8bb189c5df41e3bace7b8e09"
|
||||
},
|
||||
{
|
||||
"filename": "ps2-0210j-20040917.bin",
|
||||
@@ -225,7 +227,8 @@
|
||||
"md5": "d5ce2c7d119f563ce04bc04dbc3a323e",
|
||||
"system": "ps2",
|
||||
"description": "PlayStation 2 BIOS - USA",
|
||||
"required": "At least one BIOS file required"
|
||||
"required": "At least one BIOS file required",
|
||||
"sha256": "f4c948e61a291d4b3f92a141e550cf8357204287a31ff784caccbedaef910c9d"
|
||||
},
|
||||
{
|
||||
"filename": "ps2-0170a-20030325.bin",
|
||||
@@ -309,7 +312,8 @@
|
||||
"md5": "0d2228e6fd4fb639c9c39d077a9ec10c",
|
||||
"system": "ps2",
|
||||
"description": "PlayStation 2 BIOS - EUROPE",
|
||||
"required": "At least one BIOS file required"
|
||||
"required": "At least one BIOS file required",
|
||||
"sha256": "5b7cfc4dfdcf556d70ea975b754da6ec26542f6a0e3dfa43a6fcef2902e8f60d"
|
||||
},
|
||||
{
|
||||
"filename": "ps2-0170e-20030227.bin",
|
||||
@@ -330,7 +334,8 @@
|
||||
"md5": "dc752f160044f2ed5fc1f4964db2a095",
|
||||
"system": "ps2",
|
||||
"description": "PlayStation 2 BIOS - EUROPE",
|
||||
"required": "At least one BIOS file required"
|
||||
"required": "At least one BIOS file required",
|
||||
"sha256": "d6653f4e93be2f6f9e9d690a934f26cf0f6ad4e348b69f41ef736732c3a6685b"
|
||||
},
|
||||
{
|
||||
"filename": "ps2-0220e-20050620.bin",
|
||||
|
||||
@@ -1708,7 +1708,7 @@
|
||||
],
|
||||
"system": "atari5200",
|
||||
"description": "Atari 400/800 NTSC BIOS",
|
||||
"required": "Required"
|
||||
"required": "Optional"
|
||||
},
|
||||
{
|
||||
"filename": "tos.img",
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
"scriptmodules/emulators/quasi88.sh",
|
||||
"scriptmodules/libretrocores/lr-flycast.sh"
|
||||
],
|
||||
"summary": "3 packages updated. Left as is: amiberry, dgen, gpsp, lr-freechaf and 2 more, which no profiled core matches. Left as is: lr-fbneo, lr-flycast-dev, lr-fmsx, pifba, whose help text lists no files of that system to add to. Left as is: xm7, whose help text names a file no profile documents yet (dicrom.rom, extsub.rom, fbasic30.rom, fddseek.wav, initiate.rom, relay_on.wav, relayoff.wav, subsys_a.rom, subsys_b.rom, subsys_c.rom, subsyscg.rom). Left as is: sdltrs, whose help text names a file no profile documents yet (level3.rom, level4.rom, level4p.rom). Left as is: lr-opera, whose help text names a file no profile documents yet (panazf10.bin)",
|
||||
"summary": "3 packages updated. Left as is: dgen, gpsp, lr-freechaf, openmsx and 1 more, which no profiled core matches. Left as is: lr-fbneo, lr-flycast-dev, lr-fmsx, pifba, whose help text lists no files of that system to add to. Left as is: xm7, whose help text names a file no profile documents yet (dicrom.rom, extsub.rom, fbasic30.rom, fddseek.wav, initiate.rom, relay_on.wav, relayoff.wav, subsys_a.rom, subsys_b.rom, subsys_c.rom, subsyscg.rom). Left as is: sdltrs, whose help text names a file no profile documents yet (level3.rom, level4.rom, level4p.rom). Left as is: lr-opera, whose help text names a file no profile documents yet (panazf10.bin)",
|
||||
"counts": null,
|
||||
"changes": [
|
||||
{
|
||||
|
||||
+37
-4
@@ -7,11 +7,11 @@
|
||||
"files": [
|
||||
"rocknix-systems"
|
||||
],
|
||||
"summary": "38 kept, 3 files added, 2 hashes updated to the emulator source",
|
||||
"summary": "38 kept, 6 files added, 2 hashes updated to the emulator source",
|
||||
"counts": {
|
||||
"kept": 38,
|
||||
"added": 3,
|
||||
"not_added": 1855,
|
||||
"added": 6,
|
||||
"not_added": 1853,
|
||||
"not_kept": 0
|
||||
},
|
||||
"changes": [
|
||||
@@ -44,6 +44,39 @@
|
||||
"old": "87b665fce118f76251271c3732532777",
|
||||
"new": "23031f25602a52c2df32c39554b0c55e"
|
||||
},
|
||||
{
|
||||
"kind": "added",
|
||||
"system": "saturn",
|
||||
"name": "sega1003.bin",
|
||||
"destination": "sega1003.bin",
|
||||
"field": null,
|
||||
"old": null,
|
||||
"new": {
|
||||
"md5": "74570fed4d44b2682b560c8cd44b8b6a"
|
||||
}
|
||||
},
|
||||
{
|
||||
"kind": "added",
|
||||
"system": "saturn",
|
||||
"name": "sega_100.bin",
|
||||
"destination": "sega_100.bin",
|
||||
"field": null,
|
||||
"old": null,
|
||||
"new": {
|
||||
"md5": "af5828fdff51384f99b3c4926be27762"
|
||||
}
|
||||
},
|
||||
{
|
||||
"kind": "added",
|
||||
"system": "saturn",
|
||||
"name": "sega_100a.bin",
|
||||
"destination": "sega_100a.bin",
|
||||
"field": null,
|
||||
"old": null,
|
||||
"new": {
|
||||
"md5": "f273555d7d91e8a5a6bfd9bcf066331c"
|
||||
}
|
||||
},
|
||||
{
|
||||
"kind": "added",
|
||||
"system": "psx",
|
||||
@@ -77,7 +110,7 @@
|
||||
"hashes_cleared": [],
|
||||
"required_aligned": 0,
|
||||
"withheld": [],
|
||||
"found_by_content": 377,
|
||||
"found_by_content": 373,
|
||||
"unattributed": [],
|
||||
"removal_candidates": [
|
||||
{
|
||||
|
||||
@@ -51,7 +51,10 @@ systems = {
|
||||
{ "md5": "3240872c70984b6cbfda1586cab68dbe", "file": "bios/mpr-17933.bin" },
|
||||
{ "md5": "255113ba943c92a54facd25a10fd780c", "file": "bios/mpr-18811-mx.ic1" },
|
||||
{ "md5": "1cd19988d1d72a3e7caa0b73234c96b4", "file": "bios/mpr-19367-mx.ic1" },
|
||||
{ "md5": "af5828fdff51384f99b3c4926be27762", "file": "bios/saturn_bios.bin" } ] },
|
||||
{ "md5": "af5828fdff51384f99b3c4926be27762", "file": "bios/saturn_bios.bin" },
|
||||
{ "md5": "74570fed4d44b2682b560c8cd44b8b6a", "file": "bios/sega1003.bin", "emulator": "mednafen", "core": "gb" },
|
||||
{ "md5": "af5828fdff51384f99b3c4926be27762", "file": "bios/sega_100.bin", "emulator": "mednafen", "core": "gb" },
|
||||
{ "md5": "f273555d7d91e8a5a6bfd9bcf066331c", "file": "bios/sega_100a.bin", "emulator": "mednafen", "core": "gb" } ] },
|
||||
|
||||
# ---------- Sony ---------- #
|
||||
"psx": { "name": "PSX", "biosFiles": [ { "md5": "c53ca5908936d412331790f4426c6c33", "file": "bios/psxonpsp660.bin" },
|
||||
|
||||
+1
-40
@@ -1348,7 +1348,7 @@
|
||||
"hashes_cleared": [],
|
||||
"required_aligned": 0,
|
||||
"withheld": [],
|
||||
"found_by_content": 2,
|
||||
"found_by_content": 4,
|
||||
"unattributed": [
|
||||
"microsoft-msx/msx.zip"
|
||||
],
|
||||
@@ -2704,19 +2704,6 @@
|
||||
],
|
||||
"unresolved_cores": []
|
||||
},
|
||||
{
|
||||
"system": "ps2",
|
||||
"name": "ps2-0100j-20000117.bin",
|
||||
"destination": "ps2/ps2-0100j-20000117.bin",
|
||||
"verdict": "candidate",
|
||||
"reason": "no profile of a core the platform runs names it",
|
||||
"cores_examined": [
|
||||
"lrps2",
|
||||
"pcsx2",
|
||||
"play"
|
||||
],
|
||||
"unresolved_cores": []
|
||||
},
|
||||
{
|
||||
"system": "ps2",
|
||||
"name": "ps2-0101jd-20000217.bin",
|
||||
@@ -3029,32 +3016,6 @@
|
||||
],
|
||||
"unresolved_cores": []
|
||||
},
|
||||
{
|
||||
"system": "ps2",
|
||||
"name": "ps2-0160a-20020207.bin",
|
||||
"destination": "ps2/ps2-0160a-20020207.bin",
|
||||
"verdict": "candidate",
|
||||
"reason": "no profile of a core the platform runs names it",
|
||||
"cores_examined": [
|
||||
"lrps2",
|
||||
"pcsx2",
|
||||
"play"
|
||||
],
|
||||
"unresolved_cores": []
|
||||
},
|
||||
{
|
||||
"system": "ps2",
|
||||
"name": "ps2-0160e-20020319.bin",
|
||||
"destination": "ps2/ps2-0160e-20020319.bin",
|
||||
"verdict": "candidate",
|
||||
"reason": "no profile of a core the platform runs names it",
|
||||
"cores_examined": [
|
||||
"lrps2",
|
||||
"pcsx2",
|
||||
"play"
|
||||
],
|
||||
"unresolved_cores": []
|
||||
},
|
||||
{
|
||||
"system": "ps2",
|
||||
"name": "ps2-0160j-20020426.bin",
|
||||
|
||||
+97
-97
@@ -7,7 +7,7 @@
|
||||
"platform": "knulli",
|
||||
"display_name": "KNULLI",
|
||||
"version": "20260511",
|
||||
"generated": "2026-11-13T11:31:17Z",
|
||||
"generated": "2026-11-20T03:39:07Z",
|
||||
"base_destination": "bios",
|
||||
"detect": [
|
||||
{
|
||||
@@ -33,7 +33,7 @@
|
||||
"total_files": 10763,
|
||||
"total_size": 9218213541,
|
||||
"pack_files": 14381,
|
||||
"pack_size": 9230363613,
|
||||
"pack_size": 9230405709,
|
||||
"total_omitted": 221,
|
||||
"omitted_files": [
|
||||
{
|
||||
@@ -176517,8 +176517,8 @@
|
||||
"size": 32420
|
||||
},
|
||||
"compat.ini": {
|
||||
"sha1": "298b14b73c9a378842dcd77fb4483c00f6bd804f",
|
||||
"size": 56375
|
||||
"sha1": "9236381e2a75fbf9206f2caaff0c95246c3d92d7",
|
||||
"size": 58120
|
||||
},
|
||||
"sfx_select.wav": {
|
||||
"sha1": "0bd3eabc432b6119507e4fc43354113b68bdbf66",
|
||||
@@ -176769,192 +176769,192 @@
|
||||
"size": 27664
|
||||
},
|
||||
"lang/hu_HU.ini": {
|
||||
"sha1": "23299d0005840a37e557a7be21563ad794261d0b",
|
||||
"size": 98981
|
||||
"sha1": "2a4e9479611a7545f214e82c2d4d69e827a100b8",
|
||||
"size": 99892
|
||||
},
|
||||
"lang/cz_CZ.ini": {
|
||||
"sha1": "ce743b9d821f54a6057e8ad73e28aaa28e612dfe",
|
||||
"size": 107185
|
||||
"sha1": "e840e87031a658f3b4cd09782bc3f4f872b25f8a",
|
||||
"size": 108035
|
||||
},
|
||||
"lang/pl_PL.ini": {
|
||||
"sha1": "f12f94eca55f329292c1e0c9b6a26f470c772d83",
|
||||
"size": 94392
|
||||
"sha1": "6d9cc266e5ced2c7674af662fdc066028d500451",
|
||||
"size": 95254
|
||||
},
|
||||
"lang/pt_PT.ini": {
|
||||
"sha1": "3b528019dbb1a6518c7002b9179856746ee675ef",
|
||||
"size": 97261
|
||||
"sha1": "98c2346cd56f363c6e69ccd1fa84dd04065afb2e",
|
||||
"size": 98190
|
||||
},
|
||||
"lang/bg_BG.ini": {
|
||||
"sha1": "9effd78d996dafe5375b7d98b7246565ac478c17",
|
||||
"size": 142958
|
||||
"sha1": "3e8f42215874ebc1b72c6470c87e0ad1e477089a",
|
||||
"size": 144124
|
||||
},
|
||||
"lang/nl_NL.ini": {
|
||||
"sha1": "399740e9e33bb06cdf0f7d0a3940c3c5dfea0fb2",
|
||||
"size": 103383
|
||||
"sha1": "7618697f1fc77f14acb910dd2a9edd70378534ab",
|
||||
"size": 104211
|
||||
},
|
||||
"lang/lo_LA.ini": {
|
||||
"sha1": "b46184ba98e891401408aefa7057eacfc14ec7cf",
|
||||
"size": 98671
|
||||
"sha1": "41030986b0acadcbad5b1d79fd39ed94c053afd2",
|
||||
"size": 99284
|
||||
},
|
||||
"lang/jv_ID.ini": {
|
||||
"sha1": "6aed880790e1e9288539935912eeb27e9e22a8ca",
|
||||
"size": 79793
|
||||
"sha1": "0fb62d184cea44d0217bd9a8cd734f5e9f605a07",
|
||||
"size": 80406
|
||||
},
|
||||
"lang/pt_BR.ini": {
|
||||
"sha1": "1655d9b7663c885161e64827781009b9fee924de",
|
||||
"size": 89645
|
||||
"sha1": "64b8636fba51bcff594306dcc242f9603decab45",
|
||||
"size": 90539
|
||||
},
|
||||
"lang/es_ES.ini": {
|
||||
"sha1": "7275516fd94d808970eea082a49b926617c7cc2c",
|
||||
"size": 95596
|
||||
"sha1": "1009cbd0d4c2cbae518988c8f2fea2e8a74ea7af",
|
||||
"size": 96497
|
||||
},
|
||||
"lang/es_LA.ini": {
|
||||
"sha1": "f70a443879634e902a820880551ffca9bc112d50",
|
||||
"size": 97449
|
||||
"sha1": "bb2d12de9bc13ccb8fadf1a946a924219614a2e4",
|
||||
"size": 98341
|
||||
},
|
||||
"lang/lt-LT.ini": {
|
||||
"sha1": "3cb0b1cc2520711f5087facda11dceac0bcbba2e",
|
||||
"size": 113180
|
||||
"sha1": "f74359f9c4844886703062806c0e641a8ed93f78",
|
||||
"size": 114030
|
||||
},
|
||||
"lang/ms_MY.ini": {
|
||||
"sha1": "24cdab2ae9d1e5bc8094dc7c55a3777b90d7f673",
|
||||
"size": 90630
|
||||
"sha1": "f32113b8ccffc91632333c547e5e7f697bee34f2",
|
||||
"size": 91453
|
||||
},
|
||||
"lang/sv_SE.ini": {
|
||||
"sha1": "10d8cbb64daa48ca377dea9d6efa02dab44fcb1a",
|
||||
"size": 89571
|
||||
"sha1": "5cd0e7da0054e27241287136092196b5f6d00dc6",
|
||||
"size": 90413
|
||||
},
|
||||
"lang/th_TH.ini": {
|
||||
"sha1": "ef6669b91170201a7802ce504b37fbcbf5ef735d",
|
||||
"size": 166720
|
||||
"sha1": "2e057d817c88e1aeaf953ab184d17898b62b74c2",
|
||||
"size": 168018
|
||||
},
|
||||
"lang/README.md": {
|
||||
"sha1": "5105feaabb525902ecc92eb6cb4bc969943926d5",
|
||||
"size": 1060
|
||||
},
|
||||
"lang/be_BY.ini": {
|
||||
"sha1": "43cb7fefe0d6d34f86171936a758f2211e425408",
|
||||
"size": 137233
|
||||
"sha1": "82e0629ce33d85ff5d2f80da10f664da5a7948b1",
|
||||
"size": 138305
|
||||
},
|
||||
"lang/fr_FR.ini": {
|
||||
"sha1": "923c3f9ac096e22af97ff72f56e6b219bcc7e48a",
|
||||
"size": 100548
|
||||
"sha1": "a69c2f5d5d17596c6ea19d017019224082bd8911",
|
||||
"size": 101497
|
||||
},
|
||||
"lang/ja_JP.ini": {
|
||||
"sha1": "e30061075a2be3b10d274566e1d2e32214d683c1",
|
||||
"size": 111250
|
||||
"sha1": "fd08524b7d3b8784ea4200a21fb941ee098afbf7",
|
||||
"size": 112232
|
||||
},
|
||||
"lang/tg_PH.ini": {
|
||||
"sha1": "145c3ff9d022d4086c058f325470f9e9804e9b81",
|
||||
"size": 101721
|
||||
"sha1": "544cb4c095f655411d2cfdf8f5b858aaf43fd1ea",
|
||||
"size": 102494
|
||||
},
|
||||
"lang/da_DK.ini": {
|
||||
"sha1": "db739dfd5f9515bf272ab2305140ebe243832a2d",
|
||||
"size": 103232
|
||||
"sha1": "8d9434b47273e3c417579163273ba47f20f14932",
|
||||
"size": 104029
|
||||
},
|
||||
"lang/ko_KR.ini": {
|
||||
"sha1": "cd8594a16eb576727cbe2dc9f2b605a17636d5e4",
|
||||
"size": 96462
|
||||
"sha1": "1acf5b9b255b294f9df3a2e4c4a3011a663a0984",
|
||||
"size": 97372
|
||||
},
|
||||
"lang/he_IL.ini": {
|
||||
"sha1": "d3fd4b6303992d3796f34b2a7ab315d1f4c8f1e2",
|
||||
"size": 122601
|
||||
"sha1": "aa234b2cd3ea3ad4a706d075003c1300330022c7",
|
||||
"size": 123575
|
||||
},
|
||||
"lang/zh_CN.ini": {
|
||||
"sha1": "f41b757a11ca704b077f80466392aece78447c8c",
|
||||
"size": 83161
|
||||
"sha1": "f5f862da053f6b0599171d74fce89b899ff6df8b",
|
||||
"size": 83974
|
||||
},
|
||||
"lang/zh_TW.ini": {
|
||||
"sha1": "343c3617905828ad9e7755dcf2cca189146182c5",
|
||||
"size": 84386
|
||||
"sha1": "f13db5fb5344cd73754c30f4e6eab1f19544ad94",
|
||||
"size": 85190
|
||||
},
|
||||
"lang/tr_TR.ini": {
|
||||
"sha1": "43c2d498fb8fe3fbf1b035d759208f5910bf64fd",
|
||||
"size": 92112
|
||||
"sha1": "289fdea2a9ebf5905db781b3113b534e9bd8fb54",
|
||||
"size": 92980
|
||||
},
|
||||
"lang/it_IT.ini": {
|
||||
"sha1": "49b490a293529af74d4edc3bfdb64a8e9c43ea42",
|
||||
"size": 94699
|
||||
"sha1": "9540588ef00b0e148e6c13dbdbd2bde96916912d",
|
||||
"size": 95612
|
||||
},
|
||||
"lang/en_US.ini": {
|
||||
"sha1": "a79298188d69676d2bbdc48b8274c84e8482479c",
|
||||
"size": 78596
|
||||
"sha1": "363d6ab83f5c403e00e78ef8ba865ca7a7fc444a",
|
||||
"size": 79173
|
||||
},
|
||||
"lang/fi_FI.ini": {
|
||||
"sha1": "3e49a7260ec8733ada532a67144844cff8c6c38f",
|
||||
"size": 99125
|
||||
"sha1": "ab58992523216c6500e012ad4e77ddf149cd76c2",
|
||||
"size": 99988
|
||||
},
|
||||
"lang/id_ID.ini": {
|
||||
"sha1": "811ad5f36fc03f60c94d7ce6699ff0fd34157b31",
|
||||
"size": 90957
|
||||
"sha1": "c90dfc24bd7fdf184b2714d669a4e5482e23b07f",
|
||||
"size": 91745
|
||||
},
|
||||
"lang/dr_ID.ini": {
|
||||
"sha1": "ed21f83afbac95c217df05bacbfeae6a9a04004f",
|
||||
"size": 78768
|
||||
"sha1": "3984f0d383d49eb879024daf9b22c4822ea065ad",
|
||||
"size": 79381
|
||||
},
|
||||
"lang/no_NO.ini": {
|
||||
"sha1": "823192c4a8d49354ef83f79ead8378c577b8e18c",
|
||||
"size": 90138
|
||||
"sha1": "8be818cdbc972c91a281b485dec1148c1237b030",
|
||||
"size": 90973
|
||||
},
|
||||
"lang/nn_NO.ini": {
|
||||
"sha1": "ee8cfb5baa8550ad6ac74b23fd854932a98aa3af",
|
||||
"size": 88897
|
||||
"sha1": "feaed9beda89760a9b8d51569b2527013f554f82",
|
||||
"size": 89730
|
||||
},
|
||||
"lang/fa_IR.ini": {
|
||||
"sha1": "6cfe0f52a41a56e2d7b334455054a164a1ef8a74",
|
||||
"size": 128989
|
||||
"sha1": "2ee6cb25ff8425b05c24fa2d04d0b3bf4823d59c",
|
||||
"size": 130067
|
||||
},
|
||||
"lang/km_KH.ini": {
|
||||
"sha1": "2732fa472e2536aa26800fecd380e30d1776d3a0",
|
||||
"size": 135267
|
||||
"sha1": "99a4eace0ad04346b1dab201932099235e2aa71e",
|
||||
"size": 135880
|
||||
},
|
||||
"lang/ru_RU.ini": {
|
||||
"sha1": "398dc8de180f9b0b36364d4e32e4a0f375fc5b94",
|
||||
"size": 125283
|
||||
"sha1": "55798073ea677f0f2f09880d7dedcfc274b42d72",
|
||||
"size": 126349
|
||||
},
|
||||
"lang/gl_ES.ini": {
|
||||
"sha1": "4b062f1ee3ccd10d62f4518b1fd5615af193799d",
|
||||
"size": 109416
|
||||
"sha1": "051d8994108648c68caa4d216feac28f057de9ab",
|
||||
"size": 110292
|
||||
},
|
||||
"lang/az_AZ.ini": {
|
||||
"sha1": "d3db726d9a3c53862d9409ef9fc6cc46b6204e0c",
|
||||
"size": 94566
|
||||
"sha1": "673e05dc7df271a786963515f0b33e98c6ec3c28",
|
||||
"size": 95367
|
||||
},
|
||||
"lang/ar_AE.ini": {
|
||||
"sha1": "cc1edcc51f2c46bee6a49b81e828e292b0a8508d",
|
||||
"size": 123787
|
||||
"sha1": "0fbd00fca8567bf284bedd65ba4cc899ed56d1ff",
|
||||
"size": 124801
|
||||
},
|
||||
"lang/ca_ES.ini": {
|
||||
"sha1": "4461823bc71d29536e915baa72e48088429c61c7",
|
||||
"size": 108062
|
||||
"sha1": "20a7453d30cbd8e6695a60c69f42f5fb568cd08f",
|
||||
"size": 108965
|
||||
},
|
||||
"lang/uk_UA.ini": {
|
||||
"sha1": "bde6179d760bacd3778a5842a68fb8f428805e27",
|
||||
"size": 127678
|
||||
"sha1": "3dfeb0532ba7fcc1607e9a31aa767b202421fc2e",
|
||||
"size": 128741
|
||||
},
|
||||
"lang/hr_HR.ini": {
|
||||
"sha1": "c7639a4b1b50c976f6aa9005e26ae08263365dbf",
|
||||
"size": 103351
|
||||
"sha1": "e57478e2b783243f19dd0c2f8206d73060626bca",
|
||||
"size": 104194
|
||||
},
|
||||
"lang/gr_EL.ini": {
|
||||
"sha1": "5e927fb5104382d60161e727a816e9353d0a6752",
|
||||
"size": 148081
|
||||
"sha1": "f00dcc9abe99dcd321e43c16ee145e6b8e92fd1d",
|
||||
"size": 149309
|
||||
},
|
||||
"lang/ro_RO.ini": {
|
||||
"sha1": "bcc8c29e21245cf310ce413ea8b99b11a44e857b",
|
||||
"size": 109944
|
||||
"sha1": "df494e29c8343faf58d98a4931f8be43e7d066ea",
|
||||
"size": 110835
|
||||
},
|
||||
"lang/vi_VN.ini": {
|
||||
"sha1": "f9b72f47a08992e2f0eb1a815a41e4edd31e2513",
|
||||
"size": 112766
|
||||
"sha1": "83729a2de2b3cc0da12ff7f42a1fd9416b4ca6b5",
|
||||
"size": 113678
|
||||
},
|
||||
"lang/ku_SO.ini": {
|
||||
"sha1": "08a71246878f910ff91176bfc47688066e7e3606",
|
||||
"size": 84313
|
||||
"sha1": "9f42da441579e6d5c088fd4142abb74a360b36d7",
|
||||
"size": 84926
|
||||
},
|
||||
"lang/de_DE.ini": {
|
||||
"sha1": "0b88d89b4a3a609b9c24a5f751c7f11c46572f45",
|
||||
"size": 93635
|
||||
"sha1": "1fde4ca37bfae0bf967f02faa5c5902652e13d82",
|
||||
"size": 94449
|
||||
},
|
||||
"shaders/naturalA.vsh": {
|
||||
"sha1": "f758f44549d685db9e9fb386b2f8bb14c3cee9c6",
|
||||
@@ -177174,7 +177174,7 @@
|
||||
}
|
||||
},
|
||||
"strip_components": 1,
|
||||
"archive_size": 9893234,
|
||||
"archive_size": 9904919,
|
||||
"rolling": true,
|
||||
"cores": [
|
||||
"ppsspp"
|
||||
|
||||
+97
-97
@@ -7,7 +7,7 @@
|
||||
"platform": "retroarch",
|
||||
"display_name": "RetroArch",
|
||||
"version": "v1.22.2",
|
||||
"generated": "2026-11-13T11:31:17Z",
|
||||
"generated": "2026-11-20T03:39:07Z",
|
||||
"base_destination": "system",
|
||||
"detect": [
|
||||
{
|
||||
@@ -2748,7 +2748,7 @@
|
||||
"total_files": 8502,
|
||||
"total_size": 7929476772,
|
||||
"pack_files": 15086,
|
||||
"pack_size": 8071703195,
|
||||
"pack_size": 8071745291,
|
||||
"total_omitted": 346,
|
||||
"omitted_files": [
|
||||
{
|
||||
@@ -155934,8 +155934,8 @@
|
||||
"size": 32420
|
||||
},
|
||||
"compat.ini": {
|
||||
"sha1": "298b14b73c9a378842dcd77fb4483c00f6bd804f",
|
||||
"size": 56375
|
||||
"sha1": "9236381e2a75fbf9206f2caaff0c95246c3d92d7",
|
||||
"size": 58120
|
||||
},
|
||||
"sfx_select.wav": {
|
||||
"sha1": "0bd3eabc432b6119507e4fc43354113b68bdbf66",
|
||||
@@ -156186,192 +156186,192 @@
|
||||
"size": 27664
|
||||
},
|
||||
"lang/hu_HU.ini": {
|
||||
"sha1": "23299d0005840a37e557a7be21563ad794261d0b",
|
||||
"size": 98981
|
||||
"sha1": "2a4e9479611a7545f214e82c2d4d69e827a100b8",
|
||||
"size": 99892
|
||||
},
|
||||
"lang/cz_CZ.ini": {
|
||||
"sha1": "ce743b9d821f54a6057e8ad73e28aaa28e612dfe",
|
||||
"size": 107185
|
||||
"sha1": "e840e87031a658f3b4cd09782bc3f4f872b25f8a",
|
||||
"size": 108035
|
||||
},
|
||||
"lang/pl_PL.ini": {
|
||||
"sha1": "f12f94eca55f329292c1e0c9b6a26f470c772d83",
|
||||
"size": 94392
|
||||
"sha1": "6d9cc266e5ced2c7674af662fdc066028d500451",
|
||||
"size": 95254
|
||||
},
|
||||
"lang/pt_PT.ini": {
|
||||
"sha1": "3b528019dbb1a6518c7002b9179856746ee675ef",
|
||||
"size": 97261
|
||||
"sha1": "98c2346cd56f363c6e69ccd1fa84dd04065afb2e",
|
||||
"size": 98190
|
||||
},
|
||||
"lang/bg_BG.ini": {
|
||||
"sha1": "9effd78d996dafe5375b7d98b7246565ac478c17",
|
||||
"size": 142958
|
||||
"sha1": "3e8f42215874ebc1b72c6470c87e0ad1e477089a",
|
||||
"size": 144124
|
||||
},
|
||||
"lang/nl_NL.ini": {
|
||||
"sha1": "399740e9e33bb06cdf0f7d0a3940c3c5dfea0fb2",
|
||||
"size": 103383
|
||||
"sha1": "7618697f1fc77f14acb910dd2a9edd70378534ab",
|
||||
"size": 104211
|
||||
},
|
||||
"lang/lo_LA.ini": {
|
||||
"sha1": "b46184ba98e891401408aefa7057eacfc14ec7cf",
|
||||
"size": 98671
|
||||
"sha1": "41030986b0acadcbad5b1d79fd39ed94c053afd2",
|
||||
"size": 99284
|
||||
},
|
||||
"lang/jv_ID.ini": {
|
||||
"sha1": "6aed880790e1e9288539935912eeb27e9e22a8ca",
|
||||
"size": 79793
|
||||
"sha1": "0fb62d184cea44d0217bd9a8cd734f5e9f605a07",
|
||||
"size": 80406
|
||||
},
|
||||
"lang/pt_BR.ini": {
|
||||
"sha1": "1655d9b7663c885161e64827781009b9fee924de",
|
||||
"size": 89645
|
||||
"sha1": "64b8636fba51bcff594306dcc242f9603decab45",
|
||||
"size": 90539
|
||||
},
|
||||
"lang/es_ES.ini": {
|
||||
"sha1": "7275516fd94d808970eea082a49b926617c7cc2c",
|
||||
"size": 95596
|
||||
"sha1": "1009cbd0d4c2cbae518988c8f2fea2e8a74ea7af",
|
||||
"size": 96497
|
||||
},
|
||||
"lang/es_LA.ini": {
|
||||
"sha1": "f70a443879634e902a820880551ffca9bc112d50",
|
||||
"size": 97449
|
||||
"sha1": "bb2d12de9bc13ccb8fadf1a946a924219614a2e4",
|
||||
"size": 98341
|
||||
},
|
||||
"lang/lt-LT.ini": {
|
||||
"sha1": "3cb0b1cc2520711f5087facda11dceac0bcbba2e",
|
||||
"size": 113180
|
||||
"sha1": "f74359f9c4844886703062806c0e641a8ed93f78",
|
||||
"size": 114030
|
||||
},
|
||||
"lang/ms_MY.ini": {
|
||||
"sha1": "24cdab2ae9d1e5bc8094dc7c55a3777b90d7f673",
|
||||
"size": 90630
|
||||
"sha1": "f32113b8ccffc91632333c547e5e7f697bee34f2",
|
||||
"size": 91453
|
||||
},
|
||||
"lang/sv_SE.ini": {
|
||||
"sha1": "10d8cbb64daa48ca377dea9d6efa02dab44fcb1a",
|
||||
"size": 89571
|
||||
"sha1": "5cd0e7da0054e27241287136092196b5f6d00dc6",
|
||||
"size": 90413
|
||||
},
|
||||
"lang/th_TH.ini": {
|
||||
"sha1": "ef6669b91170201a7802ce504b37fbcbf5ef735d",
|
||||
"size": 166720
|
||||
"sha1": "2e057d817c88e1aeaf953ab184d17898b62b74c2",
|
||||
"size": 168018
|
||||
},
|
||||
"lang/README.md": {
|
||||
"sha1": "5105feaabb525902ecc92eb6cb4bc969943926d5",
|
||||
"size": 1060
|
||||
},
|
||||
"lang/be_BY.ini": {
|
||||
"sha1": "43cb7fefe0d6d34f86171936a758f2211e425408",
|
||||
"size": 137233
|
||||
"sha1": "82e0629ce33d85ff5d2f80da10f664da5a7948b1",
|
||||
"size": 138305
|
||||
},
|
||||
"lang/fr_FR.ini": {
|
||||
"sha1": "923c3f9ac096e22af97ff72f56e6b219bcc7e48a",
|
||||
"size": 100548
|
||||
"sha1": "a69c2f5d5d17596c6ea19d017019224082bd8911",
|
||||
"size": 101497
|
||||
},
|
||||
"lang/ja_JP.ini": {
|
||||
"sha1": "e30061075a2be3b10d274566e1d2e32214d683c1",
|
||||
"size": 111250
|
||||
"sha1": "fd08524b7d3b8784ea4200a21fb941ee098afbf7",
|
||||
"size": 112232
|
||||
},
|
||||
"lang/tg_PH.ini": {
|
||||
"sha1": "145c3ff9d022d4086c058f325470f9e9804e9b81",
|
||||
"size": 101721
|
||||
"sha1": "544cb4c095f655411d2cfdf8f5b858aaf43fd1ea",
|
||||
"size": 102494
|
||||
},
|
||||
"lang/da_DK.ini": {
|
||||
"sha1": "db739dfd5f9515bf272ab2305140ebe243832a2d",
|
||||
"size": 103232
|
||||
"sha1": "8d9434b47273e3c417579163273ba47f20f14932",
|
||||
"size": 104029
|
||||
},
|
||||
"lang/ko_KR.ini": {
|
||||
"sha1": "cd8594a16eb576727cbe2dc9f2b605a17636d5e4",
|
||||
"size": 96462
|
||||
"sha1": "1acf5b9b255b294f9df3a2e4c4a3011a663a0984",
|
||||
"size": 97372
|
||||
},
|
||||
"lang/he_IL.ini": {
|
||||
"sha1": "d3fd4b6303992d3796f34b2a7ab315d1f4c8f1e2",
|
||||
"size": 122601
|
||||
"sha1": "aa234b2cd3ea3ad4a706d075003c1300330022c7",
|
||||
"size": 123575
|
||||
},
|
||||
"lang/zh_CN.ini": {
|
||||
"sha1": "f41b757a11ca704b077f80466392aece78447c8c",
|
||||
"size": 83161
|
||||
"sha1": "f5f862da053f6b0599171d74fce89b899ff6df8b",
|
||||
"size": 83974
|
||||
},
|
||||
"lang/zh_TW.ini": {
|
||||
"sha1": "343c3617905828ad9e7755dcf2cca189146182c5",
|
||||
"size": 84386
|
||||
"sha1": "f13db5fb5344cd73754c30f4e6eab1f19544ad94",
|
||||
"size": 85190
|
||||
},
|
||||
"lang/tr_TR.ini": {
|
||||
"sha1": "43c2d498fb8fe3fbf1b035d759208f5910bf64fd",
|
||||
"size": 92112
|
||||
"sha1": "289fdea2a9ebf5905db781b3113b534e9bd8fb54",
|
||||
"size": 92980
|
||||
},
|
||||
"lang/it_IT.ini": {
|
||||
"sha1": "49b490a293529af74d4edc3bfdb64a8e9c43ea42",
|
||||
"size": 94699
|
||||
"sha1": "9540588ef00b0e148e6c13dbdbd2bde96916912d",
|
||||
"size": 95612
|
||||
},
|
||||
"lang/en_US.ini": {
|
||||
"sha1": "a79298188d69676d2bbdc48b8274c84e8482479c",
|
||||
"size": 78596
|
||||
"sha1": "363d6ab83f5c403e00e78ef8ba865ca7a7fc444a",
|
||||
"size": 79173
|
||||
},
|
||||
"lang/fi_FI.ini": {
|
||||
"sha1": "3e49a7260ec8733ada532a67144844cff8c6c38f",
|
||||
"size": 99125
|
||||
"sha1": "ab58992523216c6500e012ad4e77ddf149cd76c2",
|
||||
"size": 99988
|
||||
},
|
||||
"lang/id_ID.ini": {
|
||||
"sha1": "811ad5f36fc03f60c94d7ce6699ff0fd34157b31",
|
||||
"size": 90957
|
||||
"sha1": "c90dfc24bd7fdf184b2714d669a4e5482e23b07f",
|
||||
"size": 91745
|
||||
},
|
||||
"lang/dr_ID.ini": {
|
||||
"sha1": "ed21f83afbac95c217df05bacbfeae6a9a04004f",
|
||||
"size": 78768
|
||||
"sha1": "3984f0d383d49eb879024daf9b22c4822ea065ad",
|
||||
"size": 79381
|
||||
},
|
||||
"lang/no_NO.ini": {
|
||||
"sha1": "823192c4a8d49354ef83f79ead8378c577b8e18c",
|
||||
"size": 90138
|
||||
"sha1": "8be818cdbc972c91a281b485dec1148c1237b030",
|
||||
"size": 90973
|
||||
},
|
||||
"lang/nn_NO.ini": {
|
||||
"sha1": "ee8cfb5baa8550ad6ac74b23fd854932a98aa3af",
|
||||
"size": 88897
|
||||
"sha1": "feaed9beda89760a9b8d51569b2527013f554f82",
|
||||
"size": 89730
|
||||
},
|
||||
"lang/fa_IR.ini": {
|
||||
"sha1": "6cfe0f52a41a56e2d7b334455054a164a1ef8a74",
|
||||
"size": 128989
|
||||
"sha1": "2ee6cb25ff8425b05c24fa2d04d0b3bf4823d59c",
|
||||
"size": 130067
|
||||
},
|
||||
"lang/km_KH.ini": {
|
||||
"sha1": "2732fa472e2536aa26800fecd380e30d1776d3a0",
|
||||
"size": 135267
|
||||
"sha1": "99a4eace0ad04346b1dab201932099235e2aa71e",
|
||||
"size": 135880
|
||||
},
|
||||
"lang/ru_RU.ini": {
|
||||
"sha1": "398dc8de180f9b0b36364d4e32e4a0f375fc5b94",
|
||||
"size": 125283
|
||||
"sha1": "55798073ea677f0f2f09880d7dedcfc274b42d72",
|
||||
"size": 126349
|
||||
},
|
||||
"lang/gl_ES.ini": {
|
||||
"sha1": "4b062f1ee3ccd10d62f4518b1fd5615af193799d",
|
||||
"size": 109416
|
||||
"sha1": "051d8994108648c68caa4d216feac28f057de9ab",
|
||||
"size": 110292
|
||||
},
|
||||
"lang/az_AZ.ini": {
|
||||
"sha1": "d3db726d9a3c53862d9409ef9fc6cc46b6204e0c",
|
||||
"size": 94566
|
||||
"sha1": "673e05dc7df271a786963515f0b33e98c6ec3c28",
|
||||
"size": 95367
|
||||
},
|
||||
"lang/ar_AE.ini": {
|
||||
"sha1": "cc1edcc51f2c46bee6a49b81e828e292b0a8508d",
|
||||
"size": 123787
|
||||
"sha1": "0fbd00fca8567bf284bedd65ba4cc899ed56d1ff",
|
||||
"size": 124801
|
||||
},
|
||||
"lang/ca_ES.ini": {
|
||||
"sha1": "4461823bc71d29536e915baa72e48088429c61c7",
|
||||
"size": 108062
|
||||
"sha1": "20a7453d30cbd8e6695a60c69f42f5fb568cd08f",
|
||||
"size": 108965
|
||||
},
|
||||
"lang/uk_UA.ini": {
|
||||
"sha1": "bde6179d760bacd3778a5842a68fb8f428805e27",
|
||||
"size": 127678
|
||||
"sha1": "3dfeb0532ba7fcc1607e9a31aa767b202421fc2e",
|
||||
"size": 128741
|
||||
},
|
||||
"lang/hr_HR.ini": {
|
||||
"sha1": "c7639a4b1b50c976f6aa9005e26ae08263365dbf",
|
||||
"size": 103351
|
||||
"sha1": "e57478e2b783243f19dd0c2f8206d73060626bca",
|
||||
"size": 104194
|
||||
},
|
||||
"lang/gr_EL.ini": {
|
||||
"sha1": "5e927fb5104382d60161e727a816e9353d0a6752",
|
||||
"size": 148081
|
||||
"sha1": "f00dcc9abe99dcd321e43c16ee145e6b8e92fd1d",
|
||||
"size": 149309
|
||||
},
|
||||
"lang/ro_RO.ini": {
|
||||
"sha1": "bcc8c29e21245cf310ce413ea8b99b11a44e857b",
|
||||
"size": 109944
|
||||
"sha1": "df494e29c8343faf58d98a4931f8be43e7d066ea",
|
||||
"size": 110835
|
||||
},
|
||||
"lang/vi_VN.ini": {
|
||||
"sha1": "f9b72f47a08992e2f0eb1a815a41e4edd31e2513",
|
||||
"size": 112766
|
||||
"sha1": "83729a2de2b3cc0da12ff7f42a1fd9416b4ca6b5",
|
||||
"size": 113678
|
||||
},
|
||||
"lang/ku_SO.ini": {
|
||||
"sha1": "08a71246878f910ff91176bfc47688066e7e3606",
|
||||
"size": 84313
|
||||
"sha1": "9f42da441579e6d5c088fd4142abb74a360b36d7",
|
||||
"size": 84926
|
||||
},
|
||||
"lang/de_DE.ini": {
|
||||
"sha1": "0b88d89b4a3a609b9c24a5f751c7f11c46572f45",
|
||||
"size": 93635
|
||||
"sha1": "1fde4ca37bfae0bf967f02faa5c5902652e13d82",
|
||||
"size": 94449
|
||||
},
|
||||
"shaders/naturalA.vsh": {
|
||||
"sha1": "f758f44549d685db9e9fb386b2f8bb14c3cee9c6",
|
||||
@@ -156591,7 +156591,7 @@
|
||||
}
|
||||
},
|
||||
"strip_components": 1,
|
||||
"archive_size": 9893234,
|
||||
"archive_size": 9904919,
|
||||
"rolling": true
|
||||
},
|
||||
{
|
||||
|
||||
+97
-97
@@ -7,7 +7,7 @@
|
||||
"platform": "rocknix",
|
||||
"display_name": "ROCKNIX",
|
||||
"version": "20261101",
|
||||
"generated": "2026-11-13T11:31:17Z",
|
||||
"generated": "2026-11-20T03:39:07Z",
|
||||
"base_destination": "bios",
|
||||
"detect": [
|
||||
{
|
||||
@@ -25,7 +25,7 @@
|
||||
"total_files": 4519,
|
||||
"total_size": 6612305811,
|
||||
"pack_files": 10079,
|
||||
"pack_size": 6167649701,
|
||||
"pack_size": 6167691797,
|
||||
"total_omitted": 86,
|
||||
"omitted_files": [
|
||||
{
|
||||
@@ -79030,8 +79030,8 @@
|
||||
"size": 32420
|
||||
},
|
||||
"compat.ini": {
|
||||
"sha1": "298b14b73c9a378842dcd77fb4483c00f6bd804f",
|
||||
"size": 56375
|
||||
"sha1": "9236381e2a75fbf9206f2caaff0c95246c3d92d7",
|
||||
"size": 58120
|
||||
},
|
||||
"sfx_select.wav": {
|
||||
"sha1": "0bd3eabc432b6119507e4fc43354113b68bdbf66",
|
||||
@@ -79282,192 +79282,192 @@
|
||||
"size": 27664
|
||||
},
|
||||
"lang/hu_HU.ini": {
|
||||
"sha1": "23299d0005840a37e557a7be21563ad794261d0b",
|
||||
"size": 98981
|
||||
"sha1": "2a4e9479611a7545f214e82c2d4d69e827a100b8",
|
||||
"size": 99892
|
||||
},
|
||||
"lang/cz_CZ.ini": {
|
||||
"sha1": "ce743b9d821f54a6057e8ad73e28aaa28e612dfe",
|
||||
"size": 107185
|
||||
"sha1": "e840e87031a658f3b4cd09782bc3f4f872b25f8a",
|
||||
"size": 108035
|
||||
},
|
||||
"lang/pl_PL.ini": {
|
||||
"sha1": "f12f94eca55f329292c1e0c9b6a26f470c772d83",
|
||||
"size": 94392
|
||||
"sha1": "6d9cc266e5ced2c7674af662fdc066028d500451",
|
||||
"size": 95254
|
||||
},
|
||||
"lang/pt_PT.ini": {
|
||||
"sha1": "3b528019dbb1a6518c7002b9179856746ee675ef",
|
||||
"size": 97261
|
||||
"sha1": "98c2346cd56f363c6e69ccd1fa84dd04065afb2e",
|
||||
"size": 98190
|
||||
},
|
||||
"lang/bg_BG.ini": {
|
||||
"sha1": "9effd78d996dafe5375b7d98b7246565ac478c17",
|
||||
"size": 142958
|
||||
"sha1": "3e8f42215874ebc1b72c6470c87e0ad1e477089a",
|
||||
"size": 144124
|
||||
},
|
||||
"lang/nl_NL.ini": {
|
||||
"sha1": "399740e9e33bb06cdf0f7d0a3940c3c5dfea0fb2",
|
||||
"size": 103383
|
||||
"sha1": "7618697f1fc77f14acb910dd2a9edd70378534ab",
|
||||
"size": 104211
|
||||
},
|
||||
"lang/lo_LA.ini": {
|
||||
"sha1": "b46184ba98e891401408aefa7057eacfc14ec7cf",
|
||||
"size": 98671
|
||||
"sha1": "41030986b0acadcbad5b1d79fd39ed94c053afd2",
|
||||
"size": 99284
|
||||
},
|
||||
"lang/jv_ID.ini": {
|
||||
"sha1": "6aed880790e1e9288539935912eeb27e9e22a8ca",
|
||||
"size": 79793
|
||||
"sha1": "0fb62d184cea44d0217bd9a8cd734f5e9f605a07",
|
||||
"size": 80406
|
||||
},
|
||||
"lang/pt_BR.ini": {
|
||||
"sha1": "1655d9b7663c885161e64827781009b9fee924de",
|
||||
"size": 89645
|
||||
"sha1": "64b8636fba51bcff594306dcc242f9603decab45",
|
||||
"size": 90539
|
||||
},
|
||||
"lang/es_ES.ini": {
|
||||
"sha1": "7275516fd94d808970eea082a49b926617c7cc2c",
|
||||
"size": 95596
|
||||
"sha1": "1009cbd0d4c2cbae518988c8f2fea2e8a74ea7af",
|
||||
"size": 96497
|
||||
},
|
||||
"lang/es_LA.ini": {
|
||||
"sha1": "f70a443879634e902a820880551ffca9bc112d50",
|
||||
"size": 97449
|
||||
"sha1": "bb2d12de9bc13ccb8fadf1a946a924219614a2e4",
|
||||
"size": 98341
|
||||
},
|
||||
"lang/lt-LT.ini": {
|
||||
"sha1": "3cb0b1cc2520711f5087facda11dceac0bcbba2e",
|
||||
"size": 113180
|
||||
"sha1": "f74359f9c4844886703062806c0e641a8ed93f78",
|
||||
"size": 114030
|
||||
},
|
||||
"lang/ms_MY.ini": {
|
||||
"sha1": "24cdab2ae9d1e5bc8094dc7c55a3777b90d7f673",
|
||||
"size": 90630
|
||||
"sha1": "f32113b8ccffc91632333c547e5e7f697bee34f2",
|
||||
"size": 91453
|
||||
},
|
||||
"lang/sv_SE.ini": {
|
||||
"sha1": "10d8cbb64daa48ca377dea9d6efa02dab44fcb1a",
|
||||
"size": 89571
|
||||
"sha1": "5cd0e7da0054e27241287136092196b5f6d00dc6",
|
||||
"size": 90413
|
||||
},
|
||||
"lang/th_TH.ini": {
|
||||
"sha1": "ef6669b91170201a7802ce504b37fbcbf5ef735d",
|
||||
"size": 166720
|
||||
"sha1": "2e057d817c88e1aeaf953ab184d17898b62b74c2",
|
||||
"size": 168018
|
||||
},
|
||||
"lang/README.md": {
|
||||
"sha1": "5105feaabb525902ecc92eb6cb4bc969943926d5",
|
||||
"size": 1060
|
||||
},
|
||||
"lang/be_BY.ini": {
|
||||
"sha1": "43cb7fefe0d6d34f86171936a758f2211e425408",
|
||||
"size": 137233
|
||||
"sha1": "82e0629ce33d85ff5d2f80da10f664da5a7948b1",
|
||||
"size": 138305
|
||||
},
|
||||
"lang/fr_FR.ini": {
|
||||
"sha1": "923c3f9ac096e22af97ff72f56e6b219bcc7e48a",
|
||||
"size": 100548
|
||||
"sha1": "a69c2f5d5d17596c6ea19d017019224082bd8911",
|
||||
"size": 101497
|
||||
},
|
||||
"lang/ja_JP.ini": {
|
||||
"sha1": "e30061075a2be3b10d274566e1d2e32214d683c1",
|
||||
"size": 111250
|
||||
"sha1": "fd08524b7d3b8784ea4200a21fb941ee098afbf7",
|
||||
"size": 112232
|
||||
},
|
||||
"lang/tg_PH.ini": {
|
||||
"sha1": "145c3ff9d022d4086c058f325470f9e9804e9b81",
|
||||
"size": 101721
|
||||
"sha1": "544cb4c095f655411d2cfdf8f5b858aaf43fd1ea",
|
||||
"size": 102494
|
||||
},
|
||||
"lang/da_DK.ini": {
|
||||
"sha1": "db739dfd5f9515bf272ab2305140ebe243832a2d",
|
||||
"size": 103232
|
||||
"sha1": "8d9434b47273e3c417579163273ba47f20f14932",
|
||||
"size": 104029
|
||||
},
|
||||
"lang/ko_KR.ini": {
|
||||
"sha1": "cd8594a16eb576727cbe2dc9f2b605a17636d5e4",
|
||||
"size": 96462
|
||||
"sha1": "1acf5b9b255b294f9df3a2e4c4a3011a663a0984",
|
||||
"size": 97372
|
||||
},
|
||||
"lang/he_IL.ini": {
|
||||
"sha1": "d3fd4b6303992d3796f34b2a7ab315d1f4c8f1e2",
|
||||
"size": 122601
|
||||
"sha1": "aa234b2cd3ea3ad4a706d075003c1300330022c7",
|
||||
"size": 123575
|
||||
},
|
||||
"lang/zh_CN.ini": {
|
||||
"sha1": "f41b757a11ca704b077f80466392aece78447c8c",
|
||||
"size": 83161
|
||||
"sha1": "f5f862da053f6b0599171d74fce89b899ff6df8b",
|
||||
"size": 83974
|
||||
},
|
||||
"lang/zh_TW.ini": {
|
||||
"sha1": "343c3617905828ad9e7755dcf2cca189146182c5",
|
||||
"size": 84386
|
||||
"sha1": "f13db5fb5344cd73754c30f4e6eab1f19544ad94",
|
||||
"size": 85190
|
||||
},
|
||||
"lang/tr_TR.ini": {
|
||||
"sha1": "43c2d498fb8fe3fbf1b035d759208f5910bf64fd",
|
||||
"size": 92112
|
||||
"sha1": "289fdea2a9ebf5905db781b3113b534e9bd8fb54",
|
||||
"size": 92980
|
||||
},
|
||||
"lang/it_IT.ini": {
|
||||
"sha1": "49b490a293529af74d4edc3bfdb64a8e9c43ea42",
|
||||
"size": 94699
|
||||
"sha1": "9540588ef00b0e148e6c13dbdbd2bde96916912d",
|
||||
"size": 95612
|
||||
},
|
||||
"lang/en_US.ini": {
|
||||
"sha1": "a79298188d69676d2bbdc48b8274c84e8482479c",
|
||||
"size": 78596
|
||||
"sha1": "363d6ab83f5c403e00e78ef8ba865ca7a7fc444a",
|
||||
"size": 79173
|
||||
},
|
||||
"lang/fi_FI.ini": {
|
||||
"sha1": "3e49a7260ec8733ada532a67144844cff8c6c38f",
|
||||
"size": 99125
|
||||
"sha1": "ab58992523216c6500e012ad4e77ddf149cd76c2",
|
||||
"size": 99988
|
||||
},
|
||||
"lang/id_ID.ini": {
|
||||
"sha1": "811ad5f36fc03f60c94d7ce6699ff0fd34157b31",
|
||||
"size": 90957
|
||||
"sha1": "c90dfc24bd7fdf184b2714d669a4e5482e23b07f",
|
||||
"size": 91745
|
||||
},
|
||||
"lang/dr_ID.ini": {
|
||||
"sha1": "ed21f83afbac95c217df05bacbfeae6a9a04004f",
|
||||
"size": 78768
|
||||
"sha1": "3984f0d383d49eb879024daf9b22c4822ea065ad",
|
||||
"size": 79381
|
||||
},
|
||||
"lang/no_NO.ini": {
|
||||
"sha1": "823192c4a8d49354ef83f79ead8378c577b8e18c",
|
||||
"size": 90138
|
||||
"sha1": "8be818cdbc972c91a281b485dec1148c1237b030",
|
||||
"size": 90973
|
||||
},
|
||||
"lang/nn_NO.ini": {
|
||||
"sha1": "ee8cfb5baa8550ad6ac74b23fd854932a98aa3af",
|
||||
"size": 88897
|
||||
"sha1": "feaed9beda89760a9b8d51569b2527013f554f82",
|
||||
"size": 89730
|
||||
},
|
||||
"lang/fa_IR.ini": {
|
||||
"sha1": "6cfe0f52a41a56e2d7b334455054a164a1ef8a74",
|
||||
"size": 128989
|
||||
"sha1": "2ee6cb25ff8425b05c24fa2d04d0b3bf4823d59c",
|
||||
"size": 130067
|
||||
},
|
||||
"lang/km_KH.ini": {
|
||||
"sha1": "2732fa472e2536aa26800fecd380e30d1776d3a0",
|
||||
"size": 135267
|
||||
"sha1": "99a4eace0ad04346b1dab201932099235e2aa71e",
|
||||
"size": 135880
|
||||
},
|
||||
"lang/ru_RU.ini": {
|
||||
"sha1": "398dc8de180f9b0b36364d4e32e4a0f375fc5b94",
|
||||
"size": 125283
|
||||
"sha1": "55798073ea677f0f2f09880d7dedcfc274b42d72",
|
||||
"size": 126349
|
||||
},
|
||||
"lang/gl_ES.ini": {
|
||||
"sha1": "4b062f1ee3ccd10d62f4518b1fd5615af193799d",
|
||||
"size": 109416
|
||||
"sha1": "051d8994108648c68caa4d216feac28f057de9ab",
|
||||
"size": 110292
|
||||
},
|
||||
"lang/az_AZ.ini": {
|
||||
"sha1": "d3db726d9a3c53862d9409ef9fc6cc46b6204e0c",
|
||||
"size": 94566
|
||||
"sha1": "673e05dc7df271a786963515f0b33e98c6ec3c28",
|
||||
"size": 95367
|
||||
},
|
||||
"lang/ar_AE.ini": {
|
||||
"sha1": "cc1edcc51f2c46bee6a49b81e828e292b0a8508d",
|
||||
"size": 123787
|
||||
"sha1": "0fbd00fca8567bf284bedd65ba4cc899ed56d1ff",
|
||||
"size": 124801
|
||||
},
|
||||
"lang/ca_ES.ini": {
|
||||
"sha1": "4461823bc71d29536e915baa72e48088429c61c7",
|
||||
"size": 108062
|
||||
"sha1": "20a7453d30cbd8e6695a60c69f42f5fb568cd08f",
|
||||
"size": 108965
|
||||
},
|
||||
"lang/uk_UA.ini": {
|
||||
"sha1": "bde6179d760bacd3778a5842a68fb8f428805e27",
|
||||
"size": 127678
|
||||
"sha1": "3dfeb0532ba7fcc1607e9a31aa767b202421fc2e",
|
||||
"size": 128741
|
||||
},
|
||||
"lang/hr_HR.ini": {
|
||||
"sha1": "c7639a4b1b50c976f6aa9005e26ae08263365dbf",
|
||||
"size": 103351
|
||||
"sha1": "e57478e2b783243f19dd0c2f8206d73060626bca",
|
||||
"size": 104194
|
||||
},
|
||||
"lang/gr_EL.ini": {
|
||||
"sha1": "5e927fb5104382d60161e727a816e9353d0a6752",
|
||||
"size": 148081
|
||||
"sha1": "f00dcc9abe99dcd321e43c16ee145e6b8e92fd1d",
|
||||
"size": 149309
|
||||
},
|
||||
"lang/ro_RO.ini": {
|
||||
"sha1": "bcc8c29e21245cf310ce413ea8b99b11a44e857b",
|
||||
"size": 109944
|
||||
"sha1": "df494e29c8343faf58d98a4931f8be43e7d066ea",
|
||||
"size": 110835
|
||||
},
|
||||
"lang/vi_VN.ini": {
|
||||
"sha1": "f9b72f47a08992e2f0eb1a815a41e4edd31e2513",
|
||||
"size": 112766
|
||||
"sha1": "83729a2de2b3cc0da12ff7f42a1fd9416b4ca6b5",
|
||||
"size": 113678
|
||||
},
|
||||
"lang/ku_SO.ini": {
|
||||
"sha1": "08a71246878f910ff91176bfc47688066e7e3606",
|
||||
"size": 84313
|
||||
"sha1": "9f42da441579e6d5c088fd4142abb74a360b36d7",
|
||||
"size": 84926
|
||||
},
|
||||
"lang/de_DE.ini": {
|
||||
"sha1": "0b88d89b4a3a609b9c24a5f751c7f11c46572f45",
|
||||
"size": 93635
|
||||
"sha1": "1fde4ca37bfae0bf967f02faa5c5902652e13d82",
|
||||
"size": 94449
|
||||
},
|
||||
"shaders/naturalA.vsh": {
|
||||
"sha1": "f758f44549d685db9e9fb386b2f8bb14c3cee9c6",
|
||||
@@ -79687,7 +79687,7 @@
|
||||
}
|
||||
},
|
||||
"strip_components": 1,
|
||||
"archive_size": 9893234,
|
||||
"archive_size": 9904919,
|
||||
"rolling": true,
|
||||
"cores": [
|
||||
"ppsspp"
|
||||
|
||||
@@ -114,5 +114,6 @@ max-returns = 10
|
||||
"tests/test_install_tui.py" = ["UP"]
|
||||
"tests/test_install_app.py" = ["UP"]
|
||||
"tests/test_install_selection.py" = ["UP"]
|
||||
"tests/test_install_offline.py" = ["UP"]
|
||||
# Shell fixtures inside string literals keep the tabs the real files have.
|
||||
"tests/test_launchers_*.py" = ["E101"]
|
||||
@@ -18,7 +18,7 @@ import zipfile
|
||||
from collections import defaultdict
|
||||
from collections.abc import Callable, Iterable, Sequence
|
||||
|
||||
from core.ziptools import is_archive_path
|
||||
from core.ziptools import is_archive_path, zip_members
|
||||
|
||||
# A held file larger than this is not read: no chip image is near it.
|
||||
MAX_SOURCE_SIZE = 64 * 1024 * 1024
|
||||
@@ -158,18 +158,17 @@ def _held_sources(db: dict) -> list[dict]:
|
||||
if not is_archive_path(path):
|
||||
continue
|
||||
try:
|
||||
with zipfile.ZipFile(path) as zf:
|
||||
infos = [i for i in zf.infolist() if not i.is_dir()]
|
||||
members = zip_members(path)
|
||||
except (OSError, zipfile.BadZipFile):
|
||||
continue
|
||||
sources.extend(
|
||||
{
|
||||
"path": f"{path}/{info.filename}", "archive": path,
|
||||
"member": info.filename, "size": info.file_size,
|
||||
"crc32": f"{info.CRC:08x}", "group": path,
|
||||
"path": f"{path}/{member.name}", "archive": path,
|
||||
"member": member.name, "size": member.size,
|
||||
"crc32": member.crc32, "group": path,
|
||||
}
|
||||
for info in infos
|
||||
if 0 < info.file_size <= MAX_SOURCE_SIZE
|
||||
for member in members
|
||||
if 0 < member.size <= MAX_SOURCE_SIZE
|
||||
)
|
||||
return sources
|
||||
|
||||
|
||||
@@ -12,7 +12,7 @@ import urllib.parse
|
||||
from pathlib import Path
|
||||
|
||||
from core import upstream
|
||||
from core.hashing import parse_hash_list, parse_md5_list
|
||||
from core.hashing import parse_hash_list
|
||||
from core.paths import EMULATORS_DIR, PLATFORMS_DIR, REPO_ROOT
|
||||
from resolve.localfile import held_record_for
|
||||
from resolve.review import load_platform_hashes, load_profile_hashes, placement
|
||||
@@ -293,7 +293,7 @@ def place_file(
|
||||
|
||||
values = [
|
||||
*parse_hash_list(entry.get("sha1")),
|
||||
*parse_md5_list(entry.get("md5")),
|
||||
*parse_hash_list(entry.get("md5")),
|
||||
*parse_hash_list(entry.get("sha256")),
|
||||
]
|
||||
spot = placement(
|
||||
|
||||
@@ -11,7 +11,7 @@ from pathlib import Path
|
||||
|
||||
from core.hashing import parse_hash_list
|
||||
from core.paths import REPO_ROOT
|
||||
from core.ziptools import is_archive_path
|
||||
from core.ziptools import is_archive_path, zip_members
|
||||
from resolve.content import size_fits
|
||||
|
||||
|
||||
@@ -136,12 +136,9 @@ def archive_members(db: dict) -> dict[tuple[str, int], list[tuple[str, str]]]:
|
||||
if not is_archive_path(path) or not os.path.exists(path):
|
||||
continue
|
||||
try:
|
||||
with zipfile.ZipFile(path) as archive:
|
||||
for info in archive.infolist():
|
||||
if info.is_dir():
|
||||
continue
|
||||
key = (f"{info.CRC:08x}", info.file_size)
|
||||
members.setdefault(key, []).append((path, info.filename))
|
||||
for member in zip_members(path):
|
||||
key = (member.crc32, member.size)
|
||||
members.setdefault(key, []).append((path, member.name))
|
||||
except (zipfile.BadZipFile, OSError) as exc:
|
||||
print(f" WARNING: {path}: {exc}", file=sys.stderr)
|
||||
return members
|
||||
|
||||
@@ -18,8 +18,8 @@ import logging
|
||||
import os
|
||||
import sys
|
||||
from core.cli import InputMissing
|
||||
from core.paths import DATA_DIRS_FILE
|
||||
from scraper.buildbot_system import (
|
||||
DEFAULT_REGISTRY,
|
||||
check,
|
||||
pending,
|
||||
print_report,
|
||||
@@ -44,7 +44,7 @@ def main() -> None:
|
||||
help="Machine-readable JSON output",
|
||||
)
|
||||
parser.add_argument(
|
||||
"--registry", default=DEFAULT_REGISTRY,
|
||||
"--registry", default=DATA_DIRS_FILE,
|
||||
help="the data directory registry to check (default: %(default)s)",
|
||||
)
|
||||
args = parser.parse_args()
|
||||
|
||||
+11
-19
@@ -68,14 +68,14 @@ from model.targets import apply_target_overrides, platform_overrides, read_targe
|
||||
from model.registry import list_registered_platforms, load_data_dir_registry, load_platform_registry
|
||||
from model.profiles import load_emulator_profiles, upstream_profile_index
|
||||
from core.artifacts import write_text_atomic
|
||||
from model.safeparse import yaml_load
|
||||
from model.sources import source_yaml_file
|
||||
from model.sourcerevision import scraped_revision
|
||||
from exporter import discover_exporters
|
||||
from resolve.reconcile import build_native_model
|
||||
from scripts.scraper import game_dat_importer
|
||||
from scripts.scraper.redump_dat_scraper import fetch_snapshot
|
||||
from scripts.scraper.targets import discover_target_scrapers
|
||||
from core.paths import REPO_ROOT, TRUTH_DIR
|
||||
from core.paths import DATA_DIRS_FILE, REPO_ROOT, TRUTH_DIR
|
||||
|
||||
CORE_INFO_REPO = "https://github.com/libretro/libretro-core-info"
|
||||
# The git blob of every .info as last reviewed: `--record-coreinfo` writes it.
|
||||
@@ -323,8 +323,7 @@ def _scrapable_platforms(platforms_dir: Path) -> list[tuple[str, str, Path]]:
|
||||
path = platforms_dir / f"{name}.yml"
|
||||
if not path.is_file():
|
||||
continue
|
||||
with path.open(encoding="utf-8") as fh:
|
||||
config = yaml_load(fh) or {}
|
||||
config = source_yaml_file(path) or {}
|
||||
scraper = (registry.get(name) or {}).get("scraper")
|
||||
if not scraper or (config.get("inherits") and not config.get("source")):
|
||||
continue
|
||||
@@ -356,10 +355,8 @@ def check_platforms(platforms_dir: Path, workdir: Path, jobs: int) -> list[Findi
|
||||
return Finding("platforms", name, ERROR, detail="scraper timed out")
|
||||
if error:
|
||||
return Finding("platforms", name, ERROR, detail=error)
|
||||
with path.open(encoding="utf-8") as fh:
|
||||
old = yaml_load(fh) or {}
|
||||
with fresh.open(encoding="utf-8") as fh:
|
||||
new = yaml_load(fh) or {}
|
||||
old = source_yaml_file(path) or {}
|
||||
new = source_yaml_file(fresh) or {}
|
||||
diff = diff_platform(old, new)
|
||||
status = STALE if diff.changed else OK
|
||||
return Finding(
|
||||
@@ -394,12 +391,10 @@ def check_emulatorjs(platforms_dir: Path, offline: bool) -> Finding:
|
||||
nothing to say so.
|
||||
"""
|
||||
subject = "romm emulatorjs"
|
||||
with (platforms_dir / "emulatorjs.yml").open(encoding="utf-8") as fh:
|
||||
local = str((yaml_load(fh) or {}).get("version", ""))
|
||||
local = str((source_yaml_file(platforms_dir / "emulatorjs.yml") or {}).get("version", ""))
|
||||
if offline:
|
||||
return Finding("platforms", subject, SKIPPED, local=local, detail="offline")
|
||||
with (platforms_dir / "romm.yml").open(encoding="utf-8") as fh:
|
||||
tag = str((yaml_load(fh) or {}).get("version", ""))
|
||||
tag = str((source_yaml_file(platforms_dir / "romm.yml") or {}).get("version", ""))
|
||||
for path in ROMM_DOCKERFILES:
|
||||
try:
|
||||
text = upstream.http_text(
|
||||
@@ -618,8 +613,7 @@ def check_targets(
|
||||
path = targets_dir / f"{platform}.yml"
|
||||
if not path.is_file():
|
||||
return [Finding("targets", platform, ERROR, detail="no target file")]
|
||||
with path.open(encoding="utf-8") as fh:
|
||||
old = yaml_load(fh) or {}
|
||||
old = source_yaml_file(path) or {}
|
||||
module = scrapers.get(platform)
|
||||
targets = old.get("targets") or {}
|
||||
if module is not None and offline:
|
||||
@@ -670,8 +664,7 @@ def check_targets(
|
||||
return [Finding("targets", platform, ERROR, detail="scraper timed out")]
|
||||
if error:
|
||||
return [Finding("targets", platform, ERROR, detail=error)]
|
||||
with fresh.open(encoding="utf-8") as fh:
|
||||
new = yaml_load(fh) or {}
|
||||
new = source_yaml_file(fresh) or {}
|
||||
diff = diff_targets(old, new)
|
||||
out = [
|
||||
Finding(
|
||||
@@ -748,8 +741,7 @@ def romfolder_sources(platforms_dir: Path) -> dict[str, dict]:
|
||||
"""setup -> its platforms/romfolders/_sources/<setup>.yml."""
|
||||
out = {}
|
||||
for path in sorted((platforms_dir / "romfolders" / "_sources").glob("*.yml")):
|
||||
with path.open(encoding="utf-8") as fh:
|
||||
out[path.stem] = yaml_load(fh) or {}
|
||||
out[path.stem] = source_yaml_file(path) or {}
|
||||
return out
|
||||
|
||||
|
||||
@@ -1034,7 +1026,7 @@ def _check_buildbot_system() -> Finding:
|
||||
|
||||
with contextlib.redirect_stdout(io.StringIO()):
|
||||
report = buildbot_system.check(
|
||||
str(REPO_ROOT / "platforms" / "_data_dirs.yml")
|
||||
str(REPO_ROOT / DATA_DIRS_FILE)
|
||||
)
|
||||
if report.get("error"):
|
||||
return Finding("data", "buildbot system", UNKNOWN, detail="index unreachable")
|
||||
|
||||
+8
-11
@@ -198,10 +198,16 @@ def parse_hash_list(raw: str | list | int | None) -> list[str]:
|
||||
HASH_FIELDS = ("sha1", "md5", "sha256", "crc32")
|
||||
|
||||
|
||||
def declared_hash_lists(entry: dict, fields: Iterable[str] = HASH_FIELDS) -> dict[str, list[str]]:
|
||||
"""Hash field -> the values an entry declares, in the order written, for
|
||||
each field it declares, the fields in the order given."""
|
||||
found = {f: parse_hash_list(entry.get(f)) for f in fields}
|
||||
return {f: values for f, values in found.items() if values}
|
||||
|
||||
|
||||
def declared_hashes(entry: dict, fields: Iterable[str] = HASH_FIELDS) -> dict[str, set[str]]:
|
||||
"""Hash field -> the values an entry declares, for each field it declares."""
|
||||
found = {f: set(parse_hash_list(entry.get(f))) for f in fields}
|
||||
return {f: values for f, values in found.items() if values}
|
||||
return {f: set(values) for f, values in declared_hash_lists(entry, fields).items()}
|
||||
|
||||
|
||||
def lists_hashes(entry: dict) -> bool:
|
||||
@@ -209,15 +215,6 @@ def lists_hashes(entry: dict) -> bool:
|
||||
return bool(declared_hashes(entry))
|
||||
|
||||
|
||||
def parse_md5_list(raw: str | list | None) -> list[str]:
|
||||
"""Normalize an md5 field into a lowercase list.
|
||||
|
||||
Platform YAMLs carry Recalbox multi-hash as one comma-separated string,
|
||||
emulator profiles carry a YAML list. Both reach here.
|
||||
"""
|
||||
return parse_hash_list(raw)
|
||||
|
||||
|
||||
def parse_sha256sums(text: str) -> dict[str, str]:
|
||||
"""`sha256sum` output by file name: digest, a space, then the mode
|
||||
character (space for text, `*` for binary) before the name."""
|
||||
|
||||
@@ -15,6 +15,8 @@ DB_FILE = "database.json"
|
||||
PLATFORMS_DIR = "platforms"
|
||||
EMULATORS_DIR = "emulators"
|
||||
BIOS_DIR = "bios"
|
||||
# The data directory registry refresh_data_dirs, the packs and the checks read.
|
||||
DATA_DIRS_FILE = f"{PLATFORMS_DIR}/_data_dirs.yml"
|
||||
# Where generate_truth writes its models and diff_truth and export_native read them.
|
||||
TRUTH_DIR = "dist/truth"
|
||||
|
||||
|
||||
+131
-48
@@ -24,9 +24,9 @@ import urllib.request
|
||||
from dataclasses import dataclass
|
||||
from datetime import datetime
|
||||
from pathlib import Path
|
||||
from typing import Callable, Protocol, TypeVar
|
||||
from typing import Callable, Mapping, Protocol, TypeVar
|
||||
|
||||
from core.artifacts import write_text_atomic
|
||||
from core.artifacts import atomic_scratch, write_text_atomic
|
||||
|
||||
USER_AGENT = "retrobios-profile-sync/1.0"
|
||||
# Where fetched upstream files live, shared by every reader of this cache.
|
||||
@@ -123,6 +123,12 @@ class NotCachedError(UpstreamError):
|
||||
"""
|
||||
|
||||
|
||||
class TruncatedListingError(UpstreamError):
|
||||
"""A listing the forge served in part: a page that could not be read,
|
||||
the page cap, or a tree GitHub cut short. What it holds is real, but an
|
||||
absence from it proves nothing."""
|
||||
|
||||
|
||||
class GoneError(UpstreamError):
|
||||
"""The upstream is not coming back.
|
||||
|
||||
@@ -307,17 +313,36 @@ def _resolver_answers() -> bool:
|
||||
return True
|
||||
|
||||
|
||||
class _Headers(Protocol):
|
||||
def get(self, name: str, /) -> str | None: ...
|
||||
|
||||
|
||||
def requested_wait(headers: _Headers | None) -> float | None:
|
||||
"""Seconds a 429 asks the client to wait, None when it names none.
|
||||
|
||||
Retry-After is the standard header. GoatCounter sends X-Rate-Limit-Reset
|
||||
instead, the whole seconds left in its window, so one more second is
|
||||
added: asked again on the second it names, the window is still closed.
|
||||
"""
|
||||
if not headers:
|
||||
return None
|
||||
retry_after = (headers.get("Retry-After") or "").strip()
|
||||
if retry_after.isdigit():
|
||||
return float(retry_after)
|
||||
reset = (headers.get("X-Rate-Limit-Reset") or "").strip()
|
||||
return float(reset) + 1 if reset.isdigit() else None
|
||||
|
||||
|
||||
def _rate_limit_wait(exc: urllib.error.HTTPError, waited: int) -> float | None:
|
||||
"""Seconds to wait before asking again, or None when waiting is futile.
|
||||
|
||||
GitHub's exhausted quota (403) resets on the hour. A 429 names its wait
|
||||
in Retry-After, which is followed up to a cap, else the fixed steps.
|
||||
(requested_wait), which is followed up to a cap, else the fixed steps.
|
||||
"""
|
||||
if exc.code != 429 or waited >= len(RATE_LIMIT_WAITS):
|
||||
return None
|
||||
retry_after = (exc.headers.get("Retry-After") or "").strip() if exc.headers else ""
|
||||
if retry_after.isdigit():
|
||||
delay = float(retry_after)
|
||||
delay = requested_wait(exc.headers)
|
||||
if delay is not None:
|
||||
return delay if delay <= RATE_LIMIT_WAIT_CAP else None
|
||||
return RATE_LIMIT_WAITS[waited]
|
||||
|
||||
@@ -426,12 +451,65 @@ def remote_etag(url: str, timeout: float = 30) -> str | None:
|
||||
url, method="HEAD", headers=forge_headers(url, user_agent="retrobios/1.0")
|
||||
)
|
||||
try:
|
||||
with urllib.request.urlopen(req, timeout=timeout) as resp:
|
||||
return resp.headers.get("ETag") or resp.headers.get("Last-Modified") or ""
|
||||
except (urllib.error.URLError, OSError):
|
||||
return open_retrying(
|
||||
req,
|
||||
lambda resp: resp.headers.get("ETag") or resp.headers.get("Last-Modified") or "",
|
||||
timeout,
|
||||
)
|
||||
except (urllib.error.URLError, http.client.HTTPException, OSError, UpstreamError):
|
||||
return None
|
||||
|
||||
|
||||
class _Refused(Exception):
|
||||
"""A finished download the caller's check turned down."""
|
||||
|
||||
|
||||
def download(
|
||||
url: str,
|
||||
destination: str | os.PathLike[str],
|
||||
*,
|
||||
headers: Mapping[str, str] | None = None,
|
||||
timeout: float = 300,
|
||||
max_bytes: int | None = None,
|
||||
user_agent: str = USER_AGENT,
|
||||
accept: Callable[[str], bool] | None = None,
|
||||
) -> http.client.HTTPMessage | None:
|
||||
"""Stream `url` into `destination`, whole or not at all, and return the
|
||||
response headers.
|
||||
|
||||
The body goes to a unique scratch beside the destination, renamed into
|
||||
place once complete, so a reader or an interrupted run never sees half a
|
||||
file and two runs never interleave their bytes. Each attempt of
|
||||
open_retrying starts the scratch over: a stream cut midway is retried
|
||||
like a refused connection. `headers` add to or replace forge_headers().
|
||||
A body past `max_bytes` raises ValueError. `accept` judges the finished
|
||||
scratch by its path: refused, nothing is written and None is returned.
|
||||
A failure raises as open_retrying raises it.
|
||||
"""
|
||||
request = urllib.request.Request(
|
||||
url, headers={**forge_headers(url, user_agent=user_agent), **(headers or {})}
|
||||
)
|
||||
|
||||
def save(scratch: str, resp: http.client.HTTPResponse) -> http.client.HTTPMessage:
|
||||
total = 0
|
||||
with open(scratch, "wb") as out:
|
||||
while chunk := resp.read(1 << 20):
|
||||
total += len(chunk)
|
||||
if max_bytes is not None and total > max_bytes:
|
||||
raise ValueError(f"{url}: response exceeds {max_bytes} byte limit")
|
||||
out.write(chunk)
|
||||
return resp.headers
|
||||
|
||||
try:
|
||||
with atomic_scratch(destination) as scratch:
|
||||
served = open_retrying(request, lambda resp: save(scratch, resp), timeout)
|
||||
if accept is not None and not accept(scratch):
|
||||
raise _Refused
|
||||
except _Refused:
|
||||
return None
|
||||
return served
|
||||
|
||||
|
||||
def http_json(url: str) -> object | None:
|
||||
"""Parsed JSON body of a GET, or None on 404. Replaced in tests."""
|
||||
body = fetch_body(url, accept_json=True)
|
||||
@@ -611,21 +689,28 @@ def current_slug(repo: Repo, cache_dir: str, offline: bool = False) -> str | Non
|
||||
|
||||
|
||||
def resolve_head(
|
||||
repo: Repo, cache_dir: str, offline: bool = False, branch: str | None = None,
|
||||
repo: Repo, cache_dir: str | None, offline: bool = False, branch: str | None = None,
|
||||
fresh: bool = False,
|
||||
) -> str | None:
|
||||
"""Sha of a branch tip, the default branch unless one is named.
|
||||
"""Sha of a branch tip, the default branch unless one is named. A tag
|
||||
resolves too: every forge's commit listing starts from any ref.
|
||||
|
||||
A libretro port often lives on a branch of a fork rather than on the
|
||||
default branch, so the code a profile documents can be absent from the
|
||||
tip the forge serves by default. ``fresh`` asks the forge again whatever
|
||||
the cache holds.
|
||||
the cache holds. A ``cache_dir`` of None asks the forge and keeps
|
||||
nothing: a scraper records the sha it read in its own output, and an
|
||||
answer it never reads back has no place in the profile cache.
|
||||
|
||||
Offline, a tip the cache never stored raises NotCachedError: returning
|
||||
None read as a branch the forge does not have, and profile_sync dropped
|
||||
xenios-jp/XeniOS, judging its citations against the other repository.
|
||||
"""
|
||||
url = _commits_url(repo, None, branch)
|
||||
if cache_dir is None:
|
||||
if offline:
|
||||
raise NotCachedError(f"{repo.slug}: no cache to read offline")
|
||||
return _first_sha(http_json(url))
|
||||
_require_cached(
|
||||
url, cache_dir, offline, f"{repo.slug}: tip of {branch or 'the default branch'}"
|
||||
)
|
||||
@@ -1057,17 +1142,6 @@ def gitlab_tree_entries(
|
||||
return entries, True
|
||||
|
||||
|
||||
def _gitlab_tree(
|
||||
repo: Repo, sha: str, cache_dir: str, offline: bool
|
||||
) -> tuple[list[str], bool]:
|
||||
entries, truncated = gitlab_tree_entries(repo, sha, cache_dir, offline)
|
||||
paths = [
|
||||
entry["path"] for entry in entries
|
||||
if entry.get("type") == "blob" and entry.get("path")
|
||||
]
|
||||
return paths, truncated
|
||||
|
||||
|
||||
def cache_gitlab_directory(
|
||||
repo: Repo, sha: str, directory: str, cache_dir: str, offline: bool = False
|
||||
) -> set[str] | None:
|
||||
@@ -1149,18 +1223,19 @@ def _sparse_git_files(repo: Repo, sha: str, directory: str, cache_dir: str) -> d
|
||||
shutil.rmtree(work, ignore_errors=True)
|
||||
|
||||
|
||||
def list_tree(
|
||||
repo: Repo, sha: str, cache_dir: str, offline: bool = False
|
||||
) -> tuple[list[str], bool]:
|
||||
"""Every blob path at one revision, and whether the forge truncated it."""
|
||||
def _tree_entries(
|
||||
repo: Repo, sha: str, cache_dir: str, offline: bool
|
||||
) -> tuple[list[dict], bool] | None:
|
||||
"""Every entry of the tree at one revision, and whether the forge served
|
||||
it in part. None when the forge serves no tree for it."""
|
||||
if repo.family == "gitlab":
|
||||
return _gitlab_tree(repo, sha, cache_dir, offline)
|
||||
return gitlab_tree_entries(repo, sha, cache_dir, offline)
|
||||
url = _tree_url(repo, sha)
|
||||
if url is None:
|
||||
return [], True
|
||||
return None
|
||||
payload = cached_api(url, cache_dir, offline)
|
||||
if not isinstance(payload, dict):
|
||||
return [], True
|
||||
return None
|
||||
entries = list(payload.get("tree") or [])
|
||||
truncated = bool(payload.get("truncated"))
|
||||
# Forgejo pages a recursive tree, 1000 entries at a time, and says how
|
||||
@@ -1177,10 +1252,20 @@ def list_tree(
|
||||
break
|
||||
entries.extend(more["tree"])
|
||||
truncated = len(entries) < total
|
||||
return [entry for entry in entries if isinstance(entry, dict)], truncated
|
||||
|
||||
|
||||
def list_tree(
|
||||
repo: Repo, sha: str, cache_dir: str, offline: bool = False
|
||||
) -> tuple[list[str], bool]:
|
||||
"""Every blob path at one revision, and whether the forge truncated it."""
|
||||
listing = _tree_entries(repo, sha, cache_dir, offline)
|
||||
if listing is None:
|
||||
return [], True
|
||||
entries, truncated = listing
|
||||
paths = [
|
||||
entry["path"]
|
||||
for entry in entries
|
||||
if isinstance(entry, dict) and entry.get("type") == "blob" and entry.get("path")
|
||||
entry["path"] for entry in entries
|
||||
if entry.get("type") == "blob" and entry.get("path")
|
||||
]
|
||||
return paths, truncated
|
||||
|
||||
@@ -1191,24 +1276,22 @@ def list_gitlinks(
|
||||
"""Submodule path -> the commit it points at, at one revision.
|
||||
|
||||
Read from the same tree listing as list_tree, so the call costs nothing
|
||||
once the tree is cached.
|
||||
once the tree is cached. A listing the forge served in part raises
|
||||
TruncatedListingError: a partial answer read as "no submodule there",
|
||||
and a port then lost the upstream commit its gitlink pins.
|
||||
"""
|
||||
if repo.family == "gitlab":
|
||||
entries, _truncated = gitlab_tree_entries(repo, sha, cache_dir, offline)
|
||||
return {
|
||||
entry["path"]: entry["id"]
|
||||
for entry in entries
|
||||
if entry.get("type") == "commit" and entry.get("path") and entry.get("id")
|
||||
}
|
||||
tree_url = _tree_url(repo, sha)
|
||||
payload = cached_api(tree_url, cache_dir, offline) if tree_url else None
|
||||
if not isinstance(payload, dict):
|
||||
listing = _tree_entries(repo, sha, cache_dir, offline)
|
||||
if listing is None:
|
||||
return {}
|
||||
entries, truncated = listing
|
||||
if truncated:
|
||||
raise TruncatedListingError(f"{repo.slug}@{sha[:8]}: tree listing truncated")
|
||||
# GitLab names the target commit `id`, GitHub and Forgejo `sha`.
|
||||
key = "id" if repo.family == "gitlab" else "sha"
|
||||
return {
|
||||
entry["path"]: entry["sha"]
|
||||
for entry in payload.get("tree") or []
|
||||
if isinstance(entry, dict) and entry.get("type") == "commit"
|
||||
and entry.get("path") and entry.get("sha")
|
||||
entry["path"]: entry[key]
|
||||
for entry in entries
|
||||
if entry.get("type") == "commit" and entry.get("path") and entry.get(key)
|
||||
}
|
||||
|
||||
|
||||
|
||||
+48
-30
@@ -91,46 +91,51 @@ def _read_member_md5(source: str | io.BytesIO, folded: str, hashed: bool) -> str
|
||||
return "error"
|
||||
|
||||
|
||||
@functools.lru_cache(maxsize=4096)
|
||||
def _member_crcs(path: str, mtime: float) -> frozenset[str] | None:
|
||||
try:
|
||||
with zipfile.ZipFile(path) as archive:
|
||||
return frozenset(
|
||||
format(info.CRC, "08x") for info in archive.infolist() if not info.is_dir()
|
||||
)
|
||||
except (zipfile.BadZipFile, OSError):
|
||||
return None
|
||||
@dataclass(frozen=True)
|
||||
class ZipMember:
|
||||
"""One file of an archive, as its central directory lists it."""
|
||||
|
||||
name: str
|
||||
size: int
|
||||
crc32: str
|
||||
|
||||
|
||||
@functools.lru_cache(maxsize=4096)
|
||||
def _member_names(path: str, mtime: float) -> frozenset[str]:
|
||||
try:
|
||||
with zipfile.ZipFile(path) as archive:
|
||||
return frozenset(
|
||||
info.filename.rsplit("/", 1)[-1].casefold()
|
||||
for info in archive.infolist() if not info.is_dir()
|
||||
)
|
||||
except (zipfile.BadZipFile, OSError):
|
||||
return frozenset()
|
||||
@functools.lru_cache(maxsize=8192)
|
||||
def _members(path: str, size: int, mtime_ns: int) -> tuple[ZipMember, ...]:
|
||||
with zipfile.ZipFile(path) as archive:
|
||||
return tuple(
|
||||
ZipMember(info.filename, info.file_size, format(info.CRC, "08x"))
|
||||
for info in archive.infolist() if not info.is_dir()
|
||||
)
|
||||
|
||||
|
||||
def zip_members(path: str | os.PathLike[str]) -> tuple[ZipMember, ...]:
|
||||
"""Each file member of an archive, in directory order, read once.
|
||||
|
||||
Keyed by the archive's size and mtime, so a rewritten archive is read
|
||||
again. Raises OSError or zipfile.BadZipFile for a file that is no
|
||||
readable archive, so each caller reports it in its own words.
|
||||
"""
|
||||
info = os.stat(path)
|
||||
return _members(os.fspath(path), info.st_size, info.st_mtime_ns)
|
||||
|
||||
|
||||
def zip_member_names(path: str) -> frozenset[str]:
|
||||
"""Casefolded base name of each member, read from the central directory."""
|
||||
try:
|
||||
mtime = os.path.getmtime(path)
|
||||
except OSError:
|
||||
members = zip_members(path)
|
||||
except (zipfile.BadZipFile, OSError):
|
||||
return frozenset()
|
||||
return _member_names(path, mtime)
|
||||
return frozenset(m.name.rsplit("/", 1)[-1].casefold() for m in members)
|
||||
|
||||
|
||||
def readable_zip_member_crcs(path: str) -> frozenset[str] | None:
|
||||
"""CRC-32 of each member, read from the central directory, None when
|
||||
the file is no readable archive."""
|
||||
try:
|
||||
mtime = os.path.getmtime(path)
|
||||
except OSError:
|
||||
return frozenset(m.crc32 for m in zip_members(path))
|
||||
except (zipfile.BadZipFile, OSError):
|
||||
return None
|
||||
return _member_crcs(path, mtime)
|
||||
|
||||
|
||||
def zip_member_crcs(path: str) -> frozenset[str]:
|
||||
@@ -198,15 +203,24 @@ def build_zip_contents_index(
|
||||
) -> dict:
|
||||
"""Build {inner_rom_md5: zip_file_sha1} for ROMs inside ZIP files.
|
||||
|
||||
Cached in-process, and on disk per archive sha1 when cache_path is set.
|
||||
A ``.variants/`` copy counts (``neogeo.zip.1a2b3c4d`` is an archive), and
|
||||
a member a primary archive holds answers with the primary, as the
|
||||
resolver prefers it. Cached in-process, and on disk per archive sha1
|
||||
when cache_path is set.
|
||||
"""
|
||||
global _zip_contents_cache
|
||||
|
||||
# Primaries first, then the .variants/ copies (x.zip.1a2b3c4d): a copy
|
||||
# answers only for a member no primary holds.
|
||||
zip_entries: list[tuple[str, str]] = []
|
||||
variant_entries: list[tuple[str, str]] = []
|
||||
for sha1, entry in db.get("files", {}).items():
|
||||
path = entry["path"]
|
||||
if path.endswith(".zip") and os.path.exists(path):
|
||||
zip_entries.append((path, sha1))
|
||||
if is_archive_path(path) and os.path.exists(path):
|
||||
primary = path.lower().endswith(".zip")
|
||||
(zip_entries if primary else variant_entries).append((path, sha1))
|
||||
primaries = len(zip_entries)
|
||||
zip_entries += variant_entries
|
||||
|
||||
# The bound and the sha1 each path carries are part of the answer: a
|
||||
# second call with a smaller bound got members the first one admitted,
|
||||
@@ -221,7 +235,7 @@ def build_zip_contents_index(
|
||||
cached = _read_member_cache(cache_path) if cache_path else {}
|
||||
added = False
|
||||
index: dict[str, str] = {}
|
||||
for path, sha1 in zip_entries:
|
||||
for position, (path, sha1) in enumerate(zip_entries):
|
||||
members = cached.get(sha1)
|
||||
if members is None:
|
||||
members = _members_md5(path)
|
||||
@@ -230,8 +244,12 @@ def build_zip_contents_index(
|
||||
cached[sha1] = members
|
||||
added = True
|
||||
for md5, size in members:
|
||||
if md5 is not None and size <= max_entry_size:
|
||||
if md5 is None or size > max_entry_size:
|
||||
continue
|
||||
if position < primaries:
|
||||
index[md5] = sha1
|
||||
else:
|
||||
index.setdefault(md5, sha1)
|
||||
if added and cache_path:
|
||||
_write_member_cache(cache_path, cached)
|
||||
|
||||
|
||||
@@ -671,14 +671,20 @@ def host_identity() -> dict:
|
||||
}
|
||||
|
||||
|
||||
def head_commit(root: Path = ROOT) -> str:
|
||||
"""The commit checked out at *root*. Raises OSError or CalledProcessError
|
||||
when git cannot say: each caller decides what a record holds then."""
|
||||
return subprocess.run(["git", "rev-parse", "HEAD"], cwd=root, capture_output=True,
|
||||
text=True, check=True).stdout.strip()
|
||||
|
||||
|
||||
def frontend_identity(script: Path = SCRIPT_PATH,
|
||||
label: str = "scripts/core_probe.py") -> dict:
|
||||
"""The commit a measurement came from, and whether its script differs from it."""
|
||||
commit: str | None = None
|
||||
dirty: bool | None = None
|
||||
try:
|
||||
commit = subprocess.run(["git", "rev-parse", "HEAD"], cwd=ROOT, capture_output=True,
|
||||
text=True, check=True).stdout.strip()
|
||||
commit = head_commit()
|
||||
status = subprocess.run(["git", "status", "--porcelain", "--", str(script)], cwd=ROOT,
|
||||
capture_output=True, text=True, check=True).stdout
|
||||
dirty = bool(status.strip())
|
||||
|
||||
+109
-42
@@ -8,6 +8,8 @@ Usage:
|
||||
python scripts/cross_reference.py
|
||||
python scripts/cross_reference.py --emulator dolphin
|
||||
python scripts/cross_reference.py --json
|
||||
python scripts/cross_reference.py --platform retroarch --target switch
|
||||
python scripts/cross_reference.py --all --target switch
|
||||
"""
|
||||
|
||||
from __future__ import annotations
|
||||
@@ -20,6 +22,7 @@ from dataclasses import dataclass
|
||||
|
||||
sys.path.insert(0, os.path.dirname(__file__))
|
||||
from core.cli import add_repo_inputs
|
||||
from core.text import count_text
|
||||
from model.cliargs import platform_arg, list_emulator_profiles, require_platform
|
||||
from model.profiles import ProfileSelectionError, load_emulator_profiles, select_emulator_profiles
|
||||
from model.database import load_database
|
||||
@@ -60,8 +63,7 @@ def print_launcher_unproven(rows: list[dict]) -> None:
|
||||
if not rows:
|
||||
return
|
||||
platforms = sorted({r["platform"] for r in rows})
|
||||
noun = "platform" if len(platforms) == 1 else "platforms"
|
||||
print(f"\nLauncher records unproven: {len(rows)} across {len(platforms)} {noun}")
|
||||
print(f"\nLauncher records unproven: {len(rows)} across {count_text(len(platforms), 'platform')}")
|
||||
for platform in platforms:
|
||||
print(f"\n{platform}")
|
||||
for row in (r for r in rows if r["platform"] == platform):
|
||||
@@ -79,13 +81,13 @@ def print_launcher_reads(rows: list[dict]) -> None:
|
||||
unsourceable = [r for r in rows if r.get("unsourceable")]
|
||||
rows = [r for r in rows if not r.get("unsourceable")]
|
||||
platforms = sorted({r["platform"] for r in rows})
|
||||
noun = "platform" if len(platforms) == 1 else "platforms"
|
||||
print(f"\nLauncher reads, not held: {len(rows)} names across {len(platforms)} {noun}")
|
||||
print(f"\nLauncher reads, not held: {count_text(len(rows), 'name')} "
|
||||
f"across {count_text(len(platforms), 'platform')}")
|
||||
for platform in platforms:
|
||||
print(f"\n{platform}")
|
||||
for row in (r for r in rows if r["platform"] == platform):
|
||||
first = row["readers"][0]
|
||||
more = f" (+{len(row['readers']) - 1} records)" if len(row["readers"]) > 1 else ""
|
||||
more = f" (+{count_text(len(row['readers']) - 1, 'record')})" if len(row["readers"]) > 1 else ""
|
||||
casing = f", held as {row['held_as']}" if row.get("held_as") else ""
|
||||
print(
|
||||
f" {row['name']} [{', '.join(row['emulators'])}, {first['kind']}, "
|
||||
@@ -94,10 +96,9 @@ def print_launcher_reads(rows: list[dict]) -> None:
|
||||
if not unsourceable:
|
||||
return
|
||||
platforms = sorted({r["platform"] for r in unsourceable})
|
||||
noun = "platform" if len(platforms) == 1 else "platforms"
|
||||
print(
|
||||
f"\nLauncher reads, unsourceable: {len(unsourceable)} names "
|
||||
f"across {len(platforms)} {noun}"
|
||||
f"\nLauncher reads, unsourceable: {count_text(len(unsourceable), 'name')} "
|
||||
f"across {count_text(len(platforms), 'platform')}"
|
||||
)
|
||||
for row in unsourceable:
|
||||
print(
|
||||
@@ -187,7 +188,15 @@ def _build_parser() -> argparse.ArgumentParser:
|
||||
parser.add_argument(
|
||||
"--platform", "-p", type=platform_arg, help="Restrict analysis to one platform's cores"
|
||||
)
|
||||
parser.add_argument("--target", "-t", help="Hardware target (e.g., switch, rpi4)")
|
||||
parser.add_argument(
|
||||
"--all", action="store_true",
|
||||
help="Analyze the emulators every platform runs (the default without --platform)",
|
||||
)
|
||||
parser.add_argument(
|
||||
"--target", "-t",
|
||||
help="Hardware target (e.g., switch, rpi4): with --platform, the cores built "
|
||||
"for it there, otherwise the cores each platform with the target builds for it",
|
||||
)
|
||||
parser.add_argument("--json", action="store_true", help="JSON output")
|
||||
parser.add_argument(
|
||||
"--list-emulators", action="store_true", help="List available emulators"
|
||||
@@ -229,6 +238,86 @@ def _platform_scope(args: argparse.Namespace, profiles: dict[str, dict]) -> _Pla
|
||||
)
|
||||
|
||||
|
||||
@dataclass(frozen=True)
|
||||
class _TreeScope:
|
||||
"""What a run compares: the profiles, the platforms whose lists and
|
||||
launchers they are measured against (None for every platform), and the
|
||||
standalone layout of those platforms."""
|
||||
|
||||
profiles: dict[str, dict]
|
||||
standalone_cores: set[str]
|
||||
selected: list[str] | None
|
||||
platform: _PlatformScope | None = None
|
||||
|
||||
|
||||
def _target_platforms_scope(args: argparse.Namespace, profiles: dict[str, dict]) -> _TreeScope:
|
||||
"""--target without --platform: every platform that has the target, each
|
||||
with the cores it builds for it, the way verify and generate_pack read
|
||||
--all --target. A target no platform has ends the run."""
|
||||
from model.targets import target_scope
|
||||
from resolve.cores import resolve_platform_cores
|
||||
from resolve.standalone import merged_standalone_set
|
||||
|
||||
cache, kept = target_scope(
|
||||
list_registered_platforms(args.platforms_dir), args.target, args.platforms_dir,
|
||||
is_all=True,
|
||||
)
|
||||
configs = {name: load_platform_config(name, args.platforms_dir) for name in kept}
|
||||
relevant: set[str] = set()
|
||||
for name, config in configs.items():
|
||||
relevant |= set(resolve_platform_cores(config, profiles, target_cores=cache.get(name)))
|
||||
return _TreeScope(
|
||||
{k: v for k, v in profiles.items() if k in relevant},
|
||||
merged_standalone_set(configs.values()),
|
||||
kept,
|
||||
)
|
||||
|
||||
|
||||
def _tree_scope(args: argparse.Namespace, profiles: dict[str, dict]) -> _TreeScope:
|
||||
"""The scope --platform, --target or neither asks for."""
|
||||
if args.platform:
|
||||
scope = _platform_scope(args, profiles)
|
||||
return _TreeScope(scope.profiles, scope.standalone_cores, [args.platform], scope)
|
||||
if args.target:
|
||||
return _target_platforms_scope(args, profiles)
|
||||
# The tree as every platform runs it: a profile some platform runs
|
||||
# standalone keeps its standalone entries. Laid out as libretro only,
|
||||
# eka2l1, dolphin and xenia-edge lost 133 files no platform declares.
|
||||
from resolve.standalone import merged_standalone_set
|
||||
|
||||
return _TreeScope(
|
||||
profiles,
|
||||
merged_standalone_set(
|
||||
load_platform_config(name, args.platforms_dir)
|
||||
for name in list_registered_platforms(args.platforms_dir)
|
||||
),
|
||||
None,
|
||||
)
|
||||
|
||||
|
||||
def _refuse_empty_scope(args: argparse.Namespace, emulator: str | None, tree: _TreeScope) -> None:
|
||||
"""Why the scope holds no profile, said before ending the run."""
|
||||
platform_scope = tree.platform
|
||||
if (emulator and args.target and platform_scope is not None
|
||||
and emulator in platform_scope.run_anywhere):
|
||||
raise SystemExit(
|
||||
f"ERROR: {emulator} is not built for {args.platform}'s "
|
||||
f"{args.target} target; {args.platform} runs it elsewhere "
|
||||
f"(drop --target to see its files)"
|
||||
)
|
||||
if emulator and args.platform:
|
||||
raise SystemExit(f"ERROR: {emulator} is not run by {args.platform}")
|
||||
if emulator:
|
||||
raise SystemExit(
|
||||
f"ERROR: no platform with the {args.target} target builds {emulator} "
|
||||
f"for it (drop --target to see its files)"
|
||||
)
|
||||
if args.target and not args.platform:
|
||||
print(f"No platform runs a profiled emulator on {args.target}.", file=sys.stderr)
|
||||
else:
|
||||
print(f"{args.platform or 'The tree'} runs no profiled emulator.", file=sys.stderr)
|
||||
|
||||
|
||||
def _launcher_rows(
|
||||
args: argparse.Namespace,
|
||||
selected: list[str] | None,
|
||||
@@ -274,12 +363,14 @@ def main() -> None:
|
||||
if args.list_emulators:
|
||||
ignored = [flag for flag, on in (
|
||||
("--emulator", args.emulator), ("--platform", args.platform),
|
||||
("--target", args.target), ("--json", args.json),
|
||||
("--all", args.all), ("--target", args.target), ("--json", args.json),
|
||||
) if on]
|
||||
if ignored:
|
||||
parser.error(f"--list-emulators does not apply {', '.join(ignored)}")
|
||||
list_emulator_profiles(args.emulators_dir)
|
||||
return
|
||||
if args.platform and args.all:
|
||||
parser.error("--platform and --all are mutually exclusive")
|
||||
if args.platform:
|
||||
require_platform(args.platform, args.platforms_dir)
|
||||
|
||||
@@ -308,44 +399,18 @@ def main() -> None:
|
||||
raise SystemExit(f"ERROR: {exc}") from None
|
||||
profiles = {k: v for k, v in profiles.items() if k == emulator}
|
||||
|
||||
if args.target and not args.platform:
|
||||
parser.error("--target requires --platform")
|
||||
|
||||
platform_scope: _PlatformScope | None = None
|
||||
standalone_cores: set[str] = set()
|
||||
if args.platform:
|
||||
platform_scope = _platform_scope(args, profiles)
|
||||
profiles = platform_scope.profiles
|
||||
standalone_cores = platform_scope.standalone_cores
|
||||
else:
|
||||
# The tree as every platform runs it: a profile some platform runs
|
||||
# standalone keeps its standalone entries. Laid out as libretro only,
|
||||
# eka2l1, dolphin and xenia-edge lost 133 files no platform declares.
|
||||
from resolve.standalone import merged_standalone_set
|
||||
|
||||
standalone_cores = merged_standalone_set(
|
||||
load_platform_config(name, args.platforms_dir)
|
||||
for name in list_registered_platforms(args.platforms_dir)
|
||||
)
|
||||
|
||||
tree = _tree_scope(args, profiles)
|
||||
profiles = tree.profiles
|
||||
platform_scope = tree.platform
|
||||
if not profiles:
|
||||
if (emulator and args.target and platform_scope is not None
|
||||
and emulator in platform_scope.run_anywhere):
|
||||
raise SystemExit(
|
||||
f"ERROR: {emulator} is not built for {args.platform}'s "
|
||||
f"{args.target} target; {args.platform} runs it elsewhere "
|
||||
f"(drop --target to see its files)"
|
||||
)
|
||||
if emulator:
|
||||
raise SystemExit(f"ERROR: {emulator} is not run by {args.platform}")
|
||||
print(f"{args.platform or 'The tree'} runs no profiled emulator.", file=sys.stderr)
|
||||
_refuse_empty_scope(args, emulator, tree)
|
||||
return
|
||||
|
||||
selected = [args.platform] if args.platform else None
|
||||
selected = tree.selected
|
||||
db = load_database(args.db)
|
||||
declared, global_scope = global_report_scope(
|
||||
platform_configs(args.platforms_dir, selected), db)
|
||||
global_scope["standalone_cores"] = standalone_cores
|
||||
global_scope["standalone_cores"] = tree.standalone_cores
|
||||
data_names = build_supplemental_index()
|
||||
report = cross_reference(
|
||||
profiles, declared, db, data_names, **global_scope,
|
||||
@@ -373,6 +438,8 @@ def main() -> None:
|
||||
scope = emulator
|
||||
elif args.platform:
|
||||
scope = f"the emulators {args.platform} runs"
|
||||
elif args.target:
|
||||
scope = f"the emulators built for {args.target}"
|
||||
else:
|
||||
scope = "all emulators"
|
||||
print_report(report, scope, show_clean=bool(args.emulator))
|
||||
|
||||
@@ -31,7 +31,7 @@ def _load_truth(truth_dir: str, platform: str) -> dict | None:
|
||||
path = os.path.join(truth_dir, f"{platform}.yml")
|
||||
if not os.path.exists(path):
|
||||
return None
|
||||
with open(path) as f:
|
||||
with open(path, encoding="utf-8") as f:
|
||||
return yaml_load(f) or {}
|
||||
|
||||
|
||||
|
||||
+23
-15
@@ -18,6 +18,7 @@ Usage:
|
||||
from __future__ import annotations
|
||||
|
||||
import argparse
|
||||
import http.client
|
||||
import json
|
||||
import os
|
||||
import re
|
||||
@@ -34,7 +35,8 @@ sys.path.insert(0, os.path.dirname(__file__))
|
||||
from core.hashing import compute_hashes, parse_sha256sums
|
||||
from core.paths import REPO_ROOT
|
||||
from core.sizes import size_text
|
||||
from core.upstream import forge_headers
|
||||
from core.text import count_text
|
||||
from core.upstream import UpstreamError, forge_headers, open_retrying
|
||||
from core.ziptools import safe_extract_zip
|
||||
from packs.parts import part_of
|
||||
from model.releaserecord import PACK_SUFFIX, RECORD, load_record, match_key, pack_label, recorded_pack
|
||||
@@ -104,8 +106,7 @@ def get_latest_release() -> dict:
|
||||
req = urllib.request.Request(url, headers=headers)
|
||||
|
||||
try:
|
||||
with urllib.request.urlopen(req, timeout=30) as resp:
|
||||
return json.loads(resp.read())
|
||||
return json.loads(open_retrying(req, lambda resp: resp.read(), 30))
|
||||
except urllib.error.HTTPError as e:
|
||||
if e.code == 404:
|
||||
print("No releases found. The repository may not have any releases yet.")
|
||||
@@ -182,8 +183,9 @@ def fetch_checksums(release: dict) -> dict[str, str]:
|
||||
req = urllib.request.Request(
|
||||
url, headers={"User-Agent": "retrobios-downloader/1.0"}
|
||||
)
|
||||
with urllib.request.urlopen(req, timeout=60) as resp:
|
||||
body = resp.read(MAX_CHECKSUMS_BYTES).decode("utf-8", "replace")
|
||||
body = open_retrying(
|
||||
req, lambda resp: resp.read(MAX_CHECKSUMS_BYTES), 60
|
||||
).decode("utf-8", "replace")
|
||||
# A file that is not sha256sum output refuses the download: read
|
||||
# leniently, a `*name` line matched nothing and the pack went
|
||||
# unchecked.
|
||||
@@ -197,7 +199,12 @@ def fetch_checksums(release: dict) -> dict[str, str]:
|
||||
def download_file(
|
||||
url: str, dest: Path, expected_size: int = 0, label: str = ""
|
||||
) -> None:
|
||||
"""Download a file with progress indication."""
|
||||
"""Download a file with progress indication.
|
||||
|
||||
core.upstream.open_retrying asks again after a dropped connection, a
|
||||
stream cut midway or a 5xx, and waits out a rate limit: each attempt
|
||||
writes `dest` from its first byte.
|
||||
"""
|
||||
url = _checked_url(url, "asset URL")
|
||||
req = urllib.request.Request(
|
||||
url, headers={"User-Agent": "retrobios-downloader/1.0"}
|
||||
@@ -206,19 +213,15 @@ def download_file(
|
||||
# A redrawn bar only on a terminal: written to a log, 32,768 redraws of a
|
||||
# 2 GiB part made one line of nearly 3 MB.
|
||||
live = sys.stdout.isatty() and os.environ.get("TERM") != "dumb"
|
||||
with urllib.request.urlopen(req, timeout=300) as resp:
|
||||
|
||||
def save(resp: http.client.HTTPResponse) -> int:
|
||||
total = int(resp.headers.get("Content-Length", expected_size))
|
||||
downloaded = 0
|
||||
shown = -1
|
||||
|
||||
with open(dest, "wb") as f:
|
||||
while True:
|
||||
chunk = resp.read(65536)
|
||||
if not chunk:
|
||||
break
|
||||
while chunk := resp.read(65536):
|
||||
f.write(chunk)
|
||||
downloaded += len(chunk)
|
||||
|
||||
if total > 0 and live:
|
||||
pct = downloaded * 100 // total
|
||||
if pct != shown:
|
||||
@@ -226,7 +229,9 @@ def download_file(
|
||||
columns = shutil.get_terminal_size((80, 24)).columns
|
||||
line = _progress_line(label, downloaded, total, columns)
|
||||
print(f"\r\033[K{line}", end="", flush=True)
|
||||
return downloaded
|
||||
|
||||
downloaded = open_retrying(req, save, 300)
|
||||
if live:
|
||||
print()
|
||||
else:
|
||||
@@ -333,7 +338,7 @@ def show_info(platform: str, release: dict) -> None:
|
||||
|
||||
print(f" Platform: {pack.platform}")
|
||||
print(f" File: {pack.name}")
|
||||
print(f" Parts: {len(pack.parts)} part{'s' if len(pack.parts) > 1 else ''}")
|
||||
print(f" Parts: {count_text(len(pack.parts), 'part')}")
|
||||
print(f" Size: {pack.size:,} bytes ({size_text(pack.size)})")
|
||||
for part in pack.parts:
|
||||
print(f" {part['name']} ({part.get('size', 0):,} bytes)")
|
||||
@@ -373,6 +378,8 @@ To check files already in place, use: python install.py --check
|
||||
urllib.error.URLError,
|
||||
urllib.error.HTTPError,
|
||||
OSError,
|
||||
http.client.HTTPException,
|
||||
UpstreamError,
|
||||
json.JSONDecodeError,
|
||||
) as e:
|
||||
print(f"Error: {e}", file=sys.stderr)
|
||||
@@ -384,7 +391,8 @@ To check files already in place, use: python install.py --check
|
||||
|
||||
try:
|
||||
release = get_latest_release()
|
||||
except (urllib.error.URLError, urllib.error.HTTPError, OSError) as e:
|
||||
except (urllib.error.URLError, OSError, http.client.HTTPException, UpstreamError,
|
||||
json.JSONDecodeError) as e:
|
||||
print(f"Error fetching release info: {e}", file=sys.stderr)
|
||||
sys.exit(1)
|
||||
|
||||
|
||||
@@ -11,6 +11,8 @@ from __future__ import annotations
|
||||
from abc import ABC, abstractmethod
|
||||
from typing import Generic, TypeVar, Union
|
||||
|
||||
from core.paths import EMULATORS_DIR, REPO_ROOT
|
||||
from model.profiles import core_key_index, load_emulator_profiles, platform_core_profiles
|
||||
from resolve.reconcile import NativeFile, NativeSystem, Report
|
||||
|
||||
# What a produced file holds: text for every format, bytes besides for one
|
||||
@@ -222,6 +224,24 @@ class BaseExporter(ABC, Generic[Content]):
|
||||
reads as one value the checker never compares."""
|
||||
return None
|
||||
|
||||
def core_profiles(self, name: str, mode: str | None) -> set[str]:
|
||||
"""The profiles a core name in the platform's own file stands for,
|
||||
in the build ``mode`` it names (libretro or standalone, None for
|
||||
either).
|
||||
|
||||
The platform's own build of a name is what the name means there:
|
||||
Recalbox's libretro/pcsx2 is its PCSX2 1.7 fork, not the LRPS2
|
||||
revision Batocera builds under that name, and load order picked
|
||||
either one.
|
||||
"""
|
||||
cached = getattr(self, "_core_profiles", None)
|
||||
if cached is None:
|
||||
profiles = load_emulator_profiles(str(REPO_ROOT / EMULATORS_DIR))
|
||||
cached = (profiles, core_key_index(profiles, include_aliases=True))
|
||||
self._core_profiles = cached
|
||||
profiles, index = cached
|
||||
return platform_core_profiles(index, profiles, name, self.platform_name(), mode)
|
||||
|
||||
def required_value(self, fe: NativeFile) -> bool:
|
||||
"""The requirement the render writes for an entry.
|
||||
|
||||
|
||||
@@ -18,8 +18,8 @@ sys.path.insert(0, str(Path(__file__).resolve().parent.parent))
|
||||
from resolve.archives import contents_members, holds_required_members
|
||||
from resolve.standalone import platform_layouts, standalone_set
|
||||
from resolve.cores import resolve_platform_cores
|
||||
from resolve.reconcile import HASH_FIELDS, hash_values
|
||||
from core.hashing import lists_hashes
|
||||
from core.hashing import declared_hash_lists, lists_hashes
|
||||
from model.profiles import lists_files
|
||||
from resolve.collisions import accepted_by_all, find_collisions
|
||||
from resolve.content import size_fits
|
||||
from resolve.validation import opens_by_name, outside_gap_scope
|
||||
@@ -58,11 +58,6 @@ def _reads(entry: dict, by_name: bool, local: str, db: dict) -> bool:
|
||||
return by_name and _size_fits(entry, local)
|
||||
|
||||
|
||||
def _hashes(entry: dict) -> dict[str, list[str]]:
|
||||
found = {f: hash_values(entry, f) for f in HASH_FIELDS}
|
||||
return {f: values for f, values in found.items() if values}
|
||||
|
||||
|
||||
def doubled_destinations(
|
||||
scraped: dict | None,
|
||||
profiles: dict[str, dict],
|
||||
@@ -86,7 +81,7 @@ def doubled_destinations(
|
||||
named: dict[str, list[tuple[str, dict, dict, bool]]] = {}
|
||||
for key in sorted(resolve_platform_cores(scraped, profiles)):
|
||||
profile = profiles[key]
|
||||
if profile.get("type") in ("launcher", "alias"):
|
||||
if not lists_files(profile):
|
||||
continue
|
||||
for layout, is_standalone in platform_layouts(key, profile, standalone):
|
||||
for entry in layout.get("files") or []:
|
||||
@@ -117,7 +112,7 @@ def doubled_destinations(
|
||||
"system": entry.get("native_system") or "",
|
||||
"component": entry.get("component") or "",
|
||||
"name": entry.get("name", ""),
|
||||
"hashes": _hashes(entry),
|
||||
"hashes": declared_hash_lists(entry),
|
||||
"file": local,
|
||||
"readers": readers,
|
||||
})
|
||||
|
||||
@@ -18,7 +18,8 @@ sys.path.insert(0, str(Path(__file__).resolve().parent.parent))
|
||||
from scraper.emudeck_scraper import FUNCTION_HASH_MAP, RE_FUNC, RE_LOCAL_HASHES
|
||||
|
||||
from .base_exporter import BaseExporter
|
||||
from resolve.reconcile import NativeFile, NativeSystem, Report, hash_values
|
||||
from core.hashing import parse_hash_list
|
||||
from resolve.reconcile import NativeFile, NativeSystem, Report
|
||||
|
||||
SOURCE_URL = (
|
||||
"https://raw.githubusercontent.com/dragoonDorise/EmuDeck/main"
|
||||
@@ -80,7 +81,7 @@ class Exporter(BaseExporter[str]):
|
||||
adds nothing, and the truth's extra accepted revisions are not
|
||||
appended: either would grow an array other consumers read too.
|
||||
"""
|
||||
theirs = hash_values(fe.platform or {}, "md5")
|
||||
theirs = parse_hash_list((fe.platform or {}).get("md5"))
|
||||
if not theirs:
|
||||
return []
|
||||
if "md5" in fe.corrections:
|
||||
@@ -124,7 +125,7 @@ class Exporter(BaseExporter[str]):
|
||||
if system.native_id == system_id
|
||||
for fe in system.files
|
||||
if "md5" in fe.corrections
|
||||
for value in hash_values(fe.platform or {}, "md5")
|
||||
for value in parse_hash_list((fe.platform or {}).get("md5"))
|
||||
}
|
||||
|
||||
@classmethod
|
||||
|
||||
@@ -6,7 +6,8 @@ from __future__ import annotations
|
||||
from dataclasses import dataclass, field
|
||||
|
||||
from .base_exporter import BaseExporter
|
||||
from resolve.reconcile import HASH_FIELDS, NativeFile, hash_values, single_size
|
||||
from core.hashing import parse_hash_list
|
||||
from resolve.reconcile import HASH_FIELDS, NativeFile, single_size
|
||||
|
||||
|
||||
@dataclass
|
||||
@@ -75,7 +76,7 @@ def _change(
|
||||
|
||||
|
||||
def _platform_value(entry: NativeFile, field_name: str) -> str | list[str]:
|
||||
values = hash_values(entry.platform or {}, field_name)
|
||||
values = parse_hash_list((entry.platform or {}).get(field_name))
|
||||
if (entry.platform or {}).get(f"{field_name}_list"):
|
||||
return values
|
||||
return ",".join(values)
|
||||
@@ -157,7 +158,7 @@ def landed_changes(exporter: BaseExporter, systems: dict) -> LandedChanges:
|
||||
listed is not None
|
||||
and field_name not in entry.corrections
|
||||
and field_name not in entry.filled
|
||||
and listed != hash_values(entry.platform, field_name)
|
||||
and listed != parse_hash_list(entry.platform.get(field_name))
|
||||
and exporter.states(entry, field_name)
|
||||
):
|
||||
records.append(_change(
|
||||
@@ -196,7 +197,7 @@ def landed_changes(exporter: BaseExporter, systems: dict) -> LandedChanges:
|
||||
_change("hash_cleared", entry, field_name,
|
||||
_platform_value(entry, field_name), None)
|
||||
for field_name in HASH_FIELDS
|
||||
if hash_values(entry.platform, field_name)
|
||||
if parse_hash_list(entry.platform.get(field_name))
|
||||
and not entry.hashes(field_name)
|
||||
and exporter.clears(entry, field_name)
|
||||
)
|
||||
|
||||
@@ -20,20 +20,18 @@ from xml.sax.saxutils import quoteattr
|
||||
|
||||
sys.path.insert(0, str(Path(__file__).resolve().parent.parent))
|
||||
|
||||
from model.profiles import load_emulator_profiles
|
||||
from core.hashing import parse_hash_list
|
||||
from model.safeparse import parse_untrusted_xml
|
||||
|
||||
from .base_exporter import BaseExporter
|
||||
from resolve.reconcile import (
|
||||
NativeFile, NativeSystem, Report, by_destination, by_name, hash_values,
|
||||
NativeFile, NativeSystem, Report, by_destination, by_name,
|
||||
)
|
||||
|
||||
SOURCE_URL = (
|
||||
"https://gitlab.com/recalbox/recalbox/-/raw/master/board/recalbox/fsoverlay"
|
||||
"/recalbox/share_init/system/.emulationstation/es_bios.xml"
|
||||
)
|
||||
# Resolved from the file: the profiles say which names each core answers to.
|
||||
EMULATORS_DIR = Path(__file__).resolve().parents[2] / "emulators"
|
||||
SCHEMA_URL = (
|
||||
"https://gitlab.com/recalbox/recalbox/-/raw/master/board/recalbox/fsoverlay"
|
||||
"/recalbox/share_init/system/.emulationstation/es_bios.xsd"
|
||||
@@ -83,7 +81,7 @@ def _stated(text: str) -> dict[str, str]:
|
||||
# Recalbox accepts any digest of the list (Bios.cpp:109-130): the
|
||||
# order is not content, and neogeo.zip's 24, reordered, were
|
||||
# written again.
|
||||
attrs["md5"] = ",".join(sorted(hash_values(attrs, "md5")))
|
||||
attrs["md5"] = ",".join(sorted(parse_hash_list(attrs.get("md5"))))
|
||||
return attrs
|
||||
|
||||
|
||||
@@ -184,17 +182,6 @@ class Exporter(BaseExporter[str]):
|
||||
return path
|
||||
return fe.destination or fe.name
|
||||
|
||||
def _profile_keys(self) -> dict[str, str]:
|
||||
"""Each name a core answers to, as Recalbox writes it, to its profile."""
|
||||
index = getattr(self, "_keys", None)
|
||||
if index is None:
|
||||
index = {}
|
||||
for key, profile in load_emulator_profiles(str(EMULATORS_DIR)).items():
|
||||
for name in (key, *(str(c) for c in profile.get("cores") or [])):
|
||||
index.setdefault(name.replace("-", "_").lower(), key)
|
||||
self._keys = index
|
||||
return index
|
||||
|
||||
def required_value(self, fe: NativeFile) -> bool:
|
||||
"""Whether the cores the element names need the file.
|
||||
|
||||
@@ -215,11 +202,14 @@ class Exporter(BaseExporter[str]):
|
||||
]
|
||||
if not entries:
|
||||
return fe.required
|
||||
index = self._profile_keys()
|
||||
named = {
|
||||
index.get(core.rsplit("/", 1)[-1].replace("-", "_").lower(), "")
|
||||
for core in fe.cores()
|
||||
} - {""}
|
||||
# Recalbox writes a libretro core under libretro/ and a standalone
|
||||
# emulator bare, mostly: its own list writes libretro/fba2x for
|
||||
# piFBA, a standalone binary. A name no profile of the build written
|
||||
# claims is the emulator of either build.
|
||||
named: set[str] = set()
|
||||
for core in fe.cores():
|
||||
mode, _, name = core.rpartition("/")
|
||||
named |= self.core_profiles(name, mode or "standalone") or self.core_profiles(name, None)
|
||||
readers: set[str] = set()
|
||||
requirers: set[str] = set()
|
||||
set_readers: set[str] = set()
|
||||
|
||||
@@ -13,7 +13,8 @@ import json
|
||||
from collections import OrderedDict
|
||||
|
||||
from .base_exporter import BaseExporter
|
||||
from resolve.reconcile import NativeFile, NativeSystem, Report, hash_values
|
||||
from core.hashing import parse_hash_list
|
||||
from resolve.reconcile import NativeFile, NativeSystem, Report
|
||||
|
||||
COMPONENTS_REPO = "RetroDECK/components"
|
||||
COMPONENTS_BRANCH = "main"
|
||||
@@ -250,7 +251,7 @@ class Exporter(BaseExporter[str]):
|
||||
other_revision = (
|
||||
keys
|
||||
and seen_keys.get(keys[0], 0) > 1
|
||||
and not set(hash_values(entry, "md5")) & set(hash_values(by_key[keys[0]], "md5"))
|
||||
and not set(parse_hash_list(entry.get("md5"))) & set(parse_hash_list(by_key[keys[0]].get("md5")))
|
||||
)
|
||||
if other_revision or not keys:
|
||||
merged.append(OrderedDict(entry))
|
||||
@@ -302,7 +303,7 @@ class Exporter(BaseExporter[str]):
|
||||
for field in ("md5", "sha256"):
|
||||
if field in cls.carries() and field not in own:
|
||||
combined.pop(field, None)
|
||||
if set(hash_values(entry, "md5")) == set(hash_values(combined, "md5")):
|
||||
if set(parse_hash_list(entry.get("md5"))) == set(parse_hash_list(combined.get("md5"))):
|
||||
# Their own spelling, and no key where they wrote none: an
|
||||
# equal empty set wrote "md5": null 39 times.
|
||||
if "md5" in entry:
|
||||
|
||||
@@ -19,7 +19,6 @@ from pathlib import Path
|
||||
|
||||
sys.path.insert(0, str(Path(__file__).resolve().parent.parent))
|
||||
|
||||
from model.profiles import load_emulator_profiles
|
||||
from scraper.retropie_scraper import script_members
|
||||
|
||||
from .base_exporter import BaseExporter
|
||||
@@ -29,9 +28,6 @@ SOURCE_URL = (
|
||||
"https://codeload.github.com/RetroPie/RetroPie-Setup/tar.gz/refs/heads/master"
|
||||
)
|
||||
ARCHIVE = "RetroPie-Setup.tar.gz"
|
||||
# Resolved from the file rather than the working directory: the profiles
|
||||
# are what say which files a package needs.
|
||||
EMULATORS_DIR = Path(__file__).resolve().parents[2] / "emulators"
|
||||
|
||||
# The longest list RetroPie writes is six names (lr-atari800). Past that the
|
||||
# sentence stops being something a reader uses, so the names are reported
|
||||
@@ -97,24 +93,17 @@ class Exporter(BaseExporter[str]):
|
||||
if relative.startswith("scriptmodules/") and "bios" in text.lower()
|
||||
}
|
||||
|
||||
def _core_index(self) -> dict[str, dict[str, str]]:
|
||||
"""Module id (without its lr- prefix) to the profile it stands for,
|
||||
per build.
|
||||
def _module_cores(self, module_id: str) -> frozenset[str]:
|
||||
"""The profiles a package stands for.
|
||||
|
||||
An lr- package is a libretro core and a bare one a standalone
|
||||
emulator: the standalone minivmac package matched the libretro
|
||||
profile, which reads MacII.ROM where Mini vMac 37 reads vMac.ROM.
|
||||
A build RetroPie compiles itself is what its name means there, all
|
||||
of them: the amiberry package is Amiberry 5.7.2 or 6.3.3 by board.
|
||||
"""
|
||||
index: dict[str, dict[str, str]] = {"libretro": {}, "standalone": {}}
|
||||
for key, profile in load_emulator_profiles(str(EMULATORS_DIR)).items():
|
||||
kind = str(profile.get("type", ""))
|
||||
for build in ("libretro", "standalone"):
|
||||
if build not in kind:
|
||||
continue
|
||||
index[build][key.replace("-", "_").lower()] = key
|
||||
for name in profile.get("cores", []) or []:
|
||||
index[build][str(name).replace("-", "_").lower()] = key
|
||||
return index
|
||||
build = "libretro" if module_id.startswith("lr-") else "standalone"
|
||||
return frozenset(self.core_profiles(module_id.removeprefix("lr-"), build))
|
||||
|
||||
@staticmethod
|
||||
def _files_by_core(systems: dict[str, NativeSystem]) -> dict[str, list[NativeFile]]:
|
||||
@@ -246,8 +235,8 @@ class Exporter(BaseExporter[str]):
|
||||
return kept
|
||||
|
||||
@staticmethod
|
||||
def _required_for(fe: NativeFile, core: str | None) -> bool:
|
||||
"""Whether the package's own core needs the file.
|
||||
def _required_for(fe: NativeFile, cores: frozenset[str]) -> bool:
|
||||
"""Whether the package's own cores need the file.
|
||||
|
||||
The merged `required` is true when any core needs it: pcsx_rearmed
|
||||
runs in HLE without a BIOS, yet four were proposed as required for
|
||||
@@ -257,12 +246,14 @@ class Exporter(BaseExporter[str]):
|
||||
# A file the package installs is not one to copy: gngeopi's
|
||||
# gngeo_data.zip lands in its data directory with make install.
|
||||
brought = truth.get("_brought_by")
|
||||
if brought is not None and not any(b.startswith(f"{core}:") for b in brought):
|
||||
if brought is not None and not any(
|
||||
b.startswith(f"{core}:") for b in brought for core in cores
|
||||
):
|
||||
return False
|
||||
required_by = truth.get("_required_by")
|
||||
if required_by is None:
|
||||
return fe.required
|
||||
return core in required_by
|
||||
return bool(cores.intersection(required_by))
|
||||
|
||||
@staticmethod
|
||||
def _join(names: list[str], serial: bool = False) -> str:
|
||||
@@ -316,7 +307,6 @@ class Exporter(BaseExporter[str]):
|
||||
"repository: the BIOS list is a sentence inside a shell script"
|
||||
)
|
||||
|
||||
index = self._core_index()
|
||||
# A sentence grows no longer than the longest RetroPie writes itself:
|
||||
# past that it stops reading as one, and the names are reported.
|
||||
self._longest = max(len(self._listed(help_text)) for _, help_text in modules.values())
|
||||
@@ -335,13 +325,14 @@ class Exporter(BaseExporter[str]):
|
||||
produced: dict[str, str] = {}
|
||||
|
||||
for relative, (module_id, help_text) in sorted(modules.items()):
|
||||
build = "libretro" if module_id.startswith("lr-") else "standalone"
|
||||
core = index[build].get(module_id.removeprefix("lr-").replace("-", "_").lower())
|
||||
files = by_core.get(core or "", [])
|
||||
cores = self._module_cores(module_id)
|
||||
files = list({
|
||||
id(fe): fe for core in sorted(cores) for fe in by_core.get(core, [])
|
||||
}.values())
|
||||
if not files:
|
||||
self._skip("which no profiled core matches", module_id)
|
||||
continue
|
||||
new_help = self._new_help(module_id, help_text, files, core, systems_of)
|
||||
new_help = self._new_help(module_id, help_text, files, cores, systems_of)
|
||||
if new_help is None:
|
||||
continue
|
||||
produced[relative] = originals[relative].replace(
|
||||
@@ -360,7 +351,7 @@ class Exporter(BaseExporter[str]):
|
||||
module_id: str,
|
||||
help_text: str,
|
||||
files: list[NativeFile],
|
||||
core: str | None,
|
||||
cores: frozenset[str],
|
||||
systems_of: dict[str, set[str]],
|
||||
) -> str | None:
|
||||
"""The help sentence with the files it lacks, None when left as is."""
|
||||
@@ -381,7 +372,7 @@ class Exporter(BaseExporter[str]):
|
||||
fe
|
||||
for fe in files
|
||||
if not fe.foreign_system
|
||||
and self._required_for(fe, core)
|
||||
and self._required_for(fe, cores)
|
||||
and not (
|
||||
{fe.name.lower()}
|
||||
| {str(a).lower() for a in _aliases(fe)}
|
||||
|
||||
@@ -18,7 +18,8 @@ sys.path.insert(0, str(Path(__file__).resolve().parent.parent))
|
||||
from scraper.romm_scraper import SLUG_MAP
|
||||
|
||||
from .base_exporter import BaseExporter
|
||||
from resolve.reconcile import NativeFile, NativeSystem, Report, hash_values
|
||||
from core.hashing import parse_hash_list
|
||||
from resolve.reconcile import NativeFile, NativeSystem, Report
|
||||
|
||||
SOURCE_URL = (
|
||||
"https://raw.githubusercontent.com/rommapp/romm/master/backend/models"
|
||||
@@ -161,7 +162,7 @@ class Exporter(BaseExporter[str]):
|
||||
output[key] = OrderedDict(
|
||||
(field, value)
|
||||
for field, name in _FIELDS
|
||||
if (value := ",".join(hash_values(fe.platform, name))
|
||||
if (value := ",".join(parse_hash_list(fe.platform.get(name)))
|
||||
if name != "size" else str(fe.platform["size"]))
|
||||
)
|
||||
continue
|
||||
@@ -185,7 +186,7 @@ class Exporter(BaseExporter[str]):
|
||||
def _contradicted(fe: NativeFile, name: str) -> bool:
|
||||
"""A hash the platform states and the truth, taking the entry over,
|
||||
does not keep."""
|
||||
return bool(hash_values(fe.platform or {}, name)) and not fe.hashes(name)
|
||||
return bool(parse_hash_list((fe.platform or {}).get(name))) and not fe.hashes(name)
|
||||
|
||||
def states(self, fe: NativeFile, field_name: str) -> bool:
|
||||
"""An entry left whole carries none of the truth's values."""
|
||||
|
||||
@@ -30,7 +30,7 @@ from profiling.citations import collect_citations
|
||||
from profiling.repos import select_views
|
||||
from model.sourceref import ref_role, split_source_ref
|
||||
from model.profiles import ProfileSelectionError, load_emulator_profiles, resolve_profile_name
|
||||
from model.safeparse import yaml_load
|
||||
from model.sources import source_yaml_file
|
||||
|
||||
# Ways a program asks for somewhere to read from.
|
||||
SIGNALS = (
|
||||
@@ -58,8 +58,7 @@ def audit(
|
||||
name: str, emulators_dir: str, cache_dir: str, offline: bool
|
||||
) -> list[tuple[str, str]] | None:
|
||||
"""Signals found in the sources a fileless profile cites."""
|
||||
with open(os.path.join(emulators_dir, f"{name}.yml"), encoding="utf-8") as handle:
|
||||
document = yaml_load(handle) or {}
|
||||
document = source_yaml_file(os.path.join(emulators_dir, f"{name}.yml")) or {}
|
||||
if document.get("files"):
|
||||
return None
|
||||
if document.get("type") == "alias":
|
||||
@@ -136,9 +135,10 @@ def main() -> None:
|
||||
known = sorted(path.stem for path in Path(args.emulators_dir).glob("*.yml"))
|
||||
names = []
|
||||
for name in known:
|
||||
with open(Path(args.emulators_dir) / f"{name}.yml", encoding="utf-8") as handle:
|
||||
if not _settled_before_reading(yaml_load(handle) or {}):
|
||||
names.append(name)
|
||||
if not _settled_before_reading(
|
||||
source_yaml_file(Path(args.emulators_dir) / f"{name}.yml") or {}
|
||||
):
|
||||
names.append(name)
|
||||
|
||||
flagged = unreachable = 0
|
||||
for name in names:
|
||||
|
||||
@@ -22,7 +22,7 @@ from pathlib import Path
|
||||
from core.cli import add_repo_inputs
|
||||
from model.profiles import load_emulator_profiles
|
||||
from model.region import REGIONS, normalize_declared
|
||||
from model.safeparse import yaml_load
|
||||
from model.sources import source_yaml_file
|
||||
|
||||
REGIONS_FILE = Path("games") / "regions.yml"
|
||||
EXTRAS_FILE = Path("games") / "extras.yml"
|
||||
@@ -32,8 +32,7 @@ _REF_REPO = re.compile(r"(?:^|; )([\w.-]+/[\w.-]+)@([0-9a-f]{8,40}) ")
|
||||
|
||||
|
||||
def load_yaml(path: Path) -> dict:
|
||||
with Path(path).open(encoding="utf-8") as handle:
|
||||
return yaml_load(handle) or {}
|
||||
return source_yaml_file(path) or {}
|
||||
|
||||
|
||||
def profile_pins(profile: dict) -> set[str]:
|
||||
|
||||
+15
-12
@@ -19,7 +19,7 @@ from datetime import datetime, timezone
|
||||
from pathlib import Path
|
||||
|
||||
sys.path.insert(0, os.path.dirname(__file__))
|
||||
from core.cli import add_repo_inputs, require_directory
|
||||
from core.cli import SourceUnreadable, add_repo_inputs, require_directory
|
||||
from model.dumpcatalog import annotate_provenance, DEFAULT_PROVENANCE_DIR, load_provenance_snapshots
|
||||
from core.hashing import compute_hashes
|
||||
from model.registry import list_registered_platforms
|
||||
@@ -28,7 +28,8 @@ from core.artifacts import (
|
||||
write_if_changed,
|
||||
write_text_atomic,
|
||||
)
|
||||
from model.safeparse import require_yaml, yaml_load
|
||||
from model.safeparse import require_yaml
|
||||
from model.sources import source_yaml_file
|
||||
from model.profiles import source_yaml_paths
|
||||
from resolve.localfile import variant_base_name
|
||||
from model import retired
|
||||
@@ -297,14 +298,12 @@ def _declarations(platforms_dir: Path, emulators_dir: Path) -> list[dict]:
|
||||
] if platforms_dir.is_dir() else []
|
||||
entries: list[dict] = []
|
||||
for source in sources:
|
||||
with open(source) as f:
|
||||
config = yaml_load(f) or {}
|
||||
config = source_yaml_file(source) or {}
|
||||
for system in (config.get("systems") or {}).values():
|
||||
entries.extend(system.get("files") or [])
|
||||
if emulators_dir.is_dir():
|
||||
for source in source_yaml_paths(emulators_dir):
|
||||
with open(source) as f:
|
||||
entries.extend((yaml_load(f) or {}).get("files") or [])
|
||||
entries.extend((source_yaml_file(source) or {}).get("files") or [])
|
||||
return entries
|
||||
|
||||
|
||||
@@ -651,9 +650,11 @@ def _platform_aliases(book: _AliasBook, unreadable: list[str]) -> None:
|
||||
):
|
||||
config_file = platforms_dir / f"{platform_name}.yml"
|
||||
try:
|
||||
with open(config_file) as f:
|
||||
config = yaml_load(f) or {}
|
||||
except (yaml.YAMLError, OSError) as e:
|
||||
config = source_yaml_file(config_file) or {}
|
||||
except SourceUnreadable as e:
|
||||
unreadable.append(str(e))
|
||||
continue
|
||||
except OSError as e:
|
||||
unreadable.append(f"{config_file}: {e}")
|
||||
continue
|
||||
|
||||
@@ -741,9 +742,11 @@ def _profile_aliases(
|
||||
return
|
||||
for emu_file in source_yaml_paths(emulators_dir):
|
||||
try:
|
||||
with open(emu_file) as f:
|
||||
emu_config = yaml_load(f) or {}
|
||||
except (yaml.YAMLError, OSError) as e:
|
||||
emu_config = source_yaml_file(emu_file) or {}
|
||||
except SourceUnreadable as e:
|
||||
unreadable.append(str(e))
|
||||
continue
|
||||
except OSError as e:
|
||||
unreadable.append(f"{emu_file}: {e}")
|
||||
continue
|
||||
# A profile whose entries name each other (dosbox-x opens
|
||||
|
||||
@@ -51,7 +51,7 @@ from core.cli import run_cli
|
||||
from model.region import normalize_declared
|
||||
from model.romfolders import ProfileResolver, Resolution, SystemResolver, folder_names, load_setups
|
||||
from core.artifacts import write_text_atomic
|
||||
from model.safeparse import yaml_load
|
||||
from model.sources import source_yaml_file
|
||||
|
||||
import install
|
||||
|
||||
@@ -86,8 +86,7 @@ def dumps(document: object) -> str:
|
||||
def _load_yaml(path: Path) -> dict:
|
||||
if not path.exists():
|
||||
return {}
|
||||
with path.open(encoding="utf-8") as handle:
|
||||
return yaml_load(handle) or {}
|
||||
return source_yaml_file(path) or {}
|
||||
|
||||
|
||||
def _load_json(path: Path) -> dict:
|
||||
|
||||
@@ -36,6 +36,7 @@ from model.profiles import (
|
||||
from model.cliargs import (
|
||||
LISTING_FLAGS,
|
||||
comma_list,
|
||||
mode_conflicts,
|
||||
platform_arg,
|
||||
refuse_beside_mode,
|
||||
requested_regions,
|
||||
@@ -54,6 +55,7 @@ from core.artifacts import (
|
||||
ArtifactLockBusy,
|
||||
)
|
||||
from core.ziptools import build_zip_contents_index
|
||||
from core.text import count_text
|
||||
from resolve.cores import (
|
||||
platforms_with_systems,
|
||||
without_profile_blind,
|
||||
@@ -190,8 +192,6 @@ def _argument_conflicts(args: argparse.Namespace) -> list[tuple[bool, str]]:
|
||||
# seen: compared with "full", `--emulator X --source full` went through.
|
||||
source_given = getattr(args, "source", None) is not None
|
||||
with_platform = has_system and (has_platform or has_all)
|
||||
# Game data is categorized against a platform's list and the cores it
|
||||
# runs: a pack of one emulator or of a system's emulators has neither.
|
||||
no_game_data = getattr(args, "no_game_data", False)
|
||||
one_per_slot = getattr(args, "one_per_slot", False)
|
||||
return [
|
||||
@@ -199,21 +199,10 @@ def _argument_conflicts(args: argparse.Namespace) -> list[tuple[bool, str]]:
|
||||
(has_from_md5 and has_all, "--from-md5 requires --platform or --emulator, not --all"),
|
||||
(has_from_md5 and has_system, "--from-md5 and --system are mutually exclusive"),
|
||||
(has_from_md5 and args.split, "--split and --from-md5 are mutually exclusive"),
|
||||
# --platform/--all and --system can combine (system filters within platform)
|
||||
# --emulator is exclusive with everything else
|
||||
(has_emulator and (has_platform or has_all or has_system),
|
||||
"--emulator is mutually exclusive with --platform, --all, and --system"),
|
||||
(has_platform and has_all, "--platform and --all are mutually exclusive"),
|
||||
(not (has_platform or has_all or has_emulator or has_system or has_from_md5),
|
||||
"Specify --platform, --all, --emulator, --system, or --from-md5"),
|
||||
(args.standalone and not (
|
||||
has_emulator or (has_system and not has_platform and not has_all)
|
||||
), "--standalone requires --emulator or --system (without --platform)"),
|
||||
*mode_conflicts(args, (("--from-md5", has_from_md5),)),
|
||||
(args.split and not (has_platform or has_all), "--split requires --platform or --all"),
|
||||
(args.split and has_emulator, "--split is incompatible with --emulator"),
|
||||
(args.group_by is not None and not args.split, "--group-by requires --split"),
|
||||
(args.target and not (has_platform or has_all), "--target requires --platform or --all"),
|
||||
(args.target and has_emulator, "--target is incompatible with --emulator"),
|
||||
(args.manifest and not (has_platform or has_all),
|
||||
"--manifest requires --platform or --all"),
|
||||
(args.manifest and has_emulator, "--manifest is incompatible with --emulator"),
|
||||
@@ -228,8 +217,6 @@ def _argument_conflicts(args: argparse.Namespace) -> list[tuple[bool, str]]:
|
||||
(has_from_md5 and source_given, "--source is incompatible with --from-md5"),
|
||||
(with_platform and args.manifest, "--system is incompatible with --manifest"),
|
||||
(with_platform and args.split, "--system is incompatible with --split"),
|
||||
(no_game_data and not (has_platform or has_all),
|
||||
"--no-game-data requires --platform or --all"),
|
||||
(no_game_data and has_from_md5, "--no-game-data is incompatible with --from-md5"),
|
||||
(one_per_slot and has_from_md5, "--one-per-slot and --from-md5 are mutually exclusive"),
|
||||
(one_per_slot and args.manifest, "--one-per-slot is incompatible with --manifest"),
|
||||
@@ -516,7 +503,7 @@ def _verification_summary(failing: list[str], verified: int, output_dir: str) ->
|
||||
file=sys.stderr,
|
||||
)
|
||||
elif verified:
|
||||
print(f"Verified {verified} pack{'s' if verified != 1 else ''}: all OK")
|
||||
print(f"Verified {count_text(verified, 'pack')}: all OK")
|
||||
if not verified:
|
||||
# Every platform skipped is no check at all: a mistyped or purged
|
||||
# output directory read as a passed integrity check.
|
||||
@@ -1175,7 +1162,7 @@ def _refresh_data_directories(args: argparse.Namespace, data_registry: dict) ->
|
||||
results = refresh_all(data_registry, force=args.refresh_data)
|
||||
updated = sum(1 for v in results.values() if v)
|
||||
if updated:
|
||||
print(f"Refreshed {updated} data director{'ies' if updated > 1 else 'y'}")
|
||||
print(f"Refreshed {count_text(updated, 'data directory', 'data directories')}")
|
||||
failed = sorted(k for k, v in results.items() if v is None)
|
||||
if failed:
|
||||
print(f"WARNING: data directory refresh failed: {', '.join(failed)}")
|
||||
|
||||
+3
-10
@@ -22,11 +22,10 @@ import argparse
|
||||
import json
|
||||
import os
|
||||
import sys
|
||||
import urllib.error
|
||||
import urllib.request
|
||||
from pathlib import Path
|
||||
|
||||
sys.path.insert(0, os.path.dirname(__file__))
|
||||
from core import upstream
|
||||
from sitegen.agents import INDEXNOW_FILE, INDEXNOW_KEY, SITE
|
||||
|
||||
HOST = "abdess.github.io"
|
||||
@@ -38,14 +37,8 @@ USER_AGENT = "retrobios-indexnow"
|
||||
def live_digests(url: str = f"{SITE}digests.json") -> dict[str, str]:
|
||||
"""The digests the live site serves. None yet (the first deploy that
|
||||
writes them) is an empty map: every page is new."""
|
||||
request = urllib.request.Request(url, headers={"User-Agent": USER_AGENT})
|
||||
try:
|
||||
with urllib.request.urlopen(request, timeout=60) as response:
|
||||
return json.loads(response.read().decode("utf-8"))
|
||||
except urllib.error.HTTPError as exc:
|
||||
if exc.code == 404:
|
||||
return {}
|
||||
raise
|
||||
body = upstream.fetch_body(url, timeout=60, user_agent=USER_AGENT)
|
||||
return {} if body is None else json.loads(body.decode("utf-8"))
|
||||
|
||||
|
||||
def changed_urls(new: dict[str, str], old: dict[str, str]) -> list[str]:
|
||||
|
||||
+3
-10
@@ -56,7 +56,6 @@ import argparse
|
||||
import functools
|
||||
import hashlib
|
||||
import http.server
|
||||
import importlib.util
|
||||
import json
|
||||
import os
|
||||
import re
|
||||
@@ -64,12 +63,13 @@ import shutil
|
||||
import subprocess
|
||||
import sys
|
||||
import threading
|
||||
import types
|
||||
from collections.abc import Iterator
|
||||
from contextlib import contextmanager
|
||||
from dataclasses import dataclass
|
||||
from pathlib import Path
|
||||
|
||||
from installer_build.module import installer_module
|
||||
|
||||
ROOT = Path(__file__).resolve().parent.parent
|
||||
OUT = ROOT / "docs_assets" / "demo"
|
||||
WORK = ROOT / "tmp" / "demo"
|
||||
@@ -364,18 +364,11 @@ def session_env(base_url: str, work: Path, card: Path,
|
||||
}
|
||||
|
||||
|
||||
def _installer() -> types.ModuleType:
|
||||
spec = importlib.util.spec_from_file_location("retrobios_install", ROOT / "install.py")
|
||||
if spec is None or spec.loader is None:
|
||||
raise RuntimeError("install.py cannot be loaded")
|
||||
module = importlib.util.module_from_spec(spec)
|
||||
spec.loader.exec_module(module)
|
||||
return module
|
||||
|
||||
|
||||
def format_size(size: int) -> str:
|
||||
"""The size as the installer writes it."""
|
||||
return str(_installer().format_size(size))
|
||||
return str(installer_module().format_size(size))
|
||||
|
||||
|
||||
def describe(variant: str, facts: dict) -> str:
|
||||
|
||||
@@ -25,6 +25,7 @@ from pathlib import Path
|
||||
|
||||
sys.path.insert(0, str(Path(__file__).resolve().parent.parent / "scripts"))
|
||||
|
||||
from core.text import series
|
||||
from model.registry import list_registered_platforms
|
||||
from model.platforms import load_platform_config
|
||||
from sitegen.diagrams import OG_SECTIONS, og_card_svg, wrap
|
||||
@@ -58,10 +59,8 @@ def consoles_tagline(consoles: list[str], lead: str = "BIOS files for") -> str:
|
||||
listed = names[:shown]
|
||||
if rest:
|
||||
text = f"{lead} {', '.join(listed)} and {rest} more"
|
||||
elif len(listed) > 1:
|
||||
text = f"{lead} {', '.join(listed[:-1])} and {listed[-1]}"
|
||||
else:
|
||||
text = f"{lead} {listed[0]}"
|
||||
text = f"{lead} {series(listed)}"
|
||||
if len(wrap(text, TAGLINE_WIDTH, TAGLINE_SIZE)) <= TAGLINE_LINES:
|
||||
return text
|
||||
return f"{lead} {len(names)} sections"
|
||||
|
||||
@@ -28,7 +28,7 @@ sys.path.insert(0, os.path.dirname(__file__))
|
||||
|
||||
from core import upstream
|
||||
from core.cli import add_repo_inputs, require_directory
|
||||
from model.safeparse import yaml_load
|
||||
from model.sources import source_yaml_file
|
||||
from scraper.clex import blank_comments
|
||||
from scraper.mame_parser import MACHINE_MACROS
|
||||
|
||||
@@ -62,8 +62,7 @@ def audit(
|
||||
name: str, emulators_dir: str, cache_dir: str, offline: bool
|
||||
) -> tuple[list[Finding], int, int]:
|
||||
"""Findings, plus counts of refs that agree and of unjudgeable ones."""
|
||||
with open(os.path.join(emulators_dir, f"{name}.yml"), encoding="utf-8") as handle:
|
||||
document = yaml_load(handle) or {}
|
||||
document = source_yaml_file(os.path.join(emulators_dir, f"{name}.yml")) or {}
|
||||
trees = {
|
||||
role: (upstream.parse_repo(str(document.get(role) or "")),
|
||||
str(document.get(f"{role}_commit") or ""))
|
||||
|
||||
@@ -20,6 +20,7 @@ from model.registry import (
|
||||
)
|
||||
from model.systems import platform_system_names, resolve_system_arg, system_index
|
||||
from core.paths import PLATFORMS_DIR, REPO_ROOT
|
||||
from core.text import count_text, series
|
||||
|
||||
|
||||
def work_from_repo_root(
|
||||
@@ -172,6 +173,42 @@ LISTING_FLAGS: dict[str, set[str]] = {
|
||||
}
|
||||
|
||||
|
||||
def mode_conflicts(
|
||||
args: argparse.Namespace, other_modes: Sequence[tuple[str, bool]] = (),
|
||||
) -> list[tuple[bool, str]]:
|
||||
"""The mode rules verify.py and generate_pack.py share, each refused
|
||||
combination with its message, in the order they are checked.
|
||||
|
||||
--platform or --all with --system narrows each platform to the system.
|
||||
*other_modes* are the modes a CLI adds (generate_pack's --from-md5),
|
||||
named in the message asking for a mode. Each CLI checks its own flags
|
||||
after these.
|
||||
"""
|
||||
has_platform = bool(args.platform)
|
||||
has_all = bool(args.all)
|
||||
has_emulator = bool(args.emulator)
|
||||
has_system = bool(args.system)
|
||||
scoped = has_platform or has_all
|
||||
names = ["--platform", "--all", "--emulator", "--system", *(name for name, _ in other_modes)]
|
||||
return [
|
||||
(has_emulator and (scoped or has_system),
|
||||
"--emulator is mutually exclusive with --platform, --all, and --system"),
|
||||
(has_platform and has_all, "--platform and --all are mutually exclusive"),
|
||||
(not (scoped or has_emulator or has_system or any(on for _, on in other_modes)),
|
||||
f"Specify {series(names, 'or')}"),
|
||||
(bool(args.standalone) and scoped,
|
||||
"--standalone is incompatible with --platform and --all"),
|
||||
(bool(args.standalone) and not (has_emulator or has_system),
|
||||
"--standalone requires --emulator or --system"),
|
||||
(bool(getattr(args, "target", None)) and not scoped,
|
||||
"--target requires --platform or --all"),
|
||||
# Game data is categorized against a platform's list and the cores it
|
||||
# runs: a run over one emulator or a system's emulators has neither.
|
||||
(bool(getattr(args, "no_game_data", False)) and not scoped,
|
||||
"--no-game-data requires --platform or --all"),
|
||||
]
|
||||
|
||||
|
||||
def refuse_beside_mode(
|
||||
modes: Sequence[tuple[str, object]],
|
||||
given: set[str],
|
||||
@@ -236,7 +273,7 @@ def list_system_ids(emulators_dir: str) -> None:
|
||||
index = system_index(load_emulator_profiles(emulators_dir))
|
||||
for _key, (spelling, emulators) in sorted(index.items(), key=lambda kv: kv[1][0]):
|
||||
count = len(emulators)
|
||||
print(f" {spelling:35s} ({count} emulator{'s' if count > 1 else ''})")
|
||||
print(f" {spelling:35s} ({count_text(count, 'emulator')})")
|
||||
|
||||
|
||||
def print_platform_listing(platforms_dir: str) -> None:
|
||||
@@ -262,6 +299,6 @@ def list_platform_system_ids(platform_name: str, platforms_dir: str) -> None:
|
||||
file_count = len(systems[sys_id].get("files", []))
|
||||
mfr = systems[sys_id].get("manufacturer", "")
|
||||
mfr_display = f" [{mfr.split('|')[0]}]" if mfr else ""
|
||||
count = f"({file_count} file{'s' if file_count != 1 else ''})"
|
||||
count = f"({count_text(file_count, 'file')})"
|
||||
also = f" also: {', '.join(names[sys_id])}" if sys_id in names else ""
|
||||
print(f" {sys_id:35s} {count:12s}{mfr_display}{also}".rstrip())
|
||||
@@ -97,26 +97,33 @@ def sha1_at(db: dict, path: str | None) -> str | None:
|
||||
_HASH_INDEXES = {"md5": "by_md5", "crc32": "by_crc32", "sha256": "by_sha256"}
|
||||
|
||||
|
||||
def record_for_hash(db: dict, kind: str, value: object) -> str | None:
|
||||
"""The sha1 the database keys the file one hash value names under.
|
||||
def records_for_hash(db: dict, kind: str, value: object) -> list[str]:
|
||||
"""The sha1 of every held record one hash value names, index order kept.
|
||||
|
||||
A cut md5 (Batocera writes 29 characters) names the one held md5 it
|
||||
starts, as cut_md5_owner reads it.
|
||||
starts, as cut_md5_owner reads it. An index value that is a list names
|
||||
several records, all returned.
|
||||
"""
|
||||
if not (value and isinstance(value, str)):
|
||||
return None
|
||||
return []
|
||||
files = db.get("files", {})
|
||||
value = value.strip().lower()
|
||||
if kind == "sha1":
|
||||
return value if value in files else None
|
||||
return [value] if value in files else []
|
||||
index = db.get("indexes", {}).get(_HASH_INDEXES[kind], {})
|
||||
found = index.get(value)
|
||||
if found is None and kind == "md5":
|
||||
owner = cut_md5_owner(value, index)
|
||||
found = index.get(owner) if owner else None
|
||||
if isinstance(found, list):
|
||||
found = found[0] if found else None
|
||||
return found if found in files else None
|
||||
if found is None:
|
||||
return []
|
||||
named = [found] if isinstance(found, str) else list(found)
|
||||
return [sha1 for sha1 in named if sha1 in files]
|
||||
|
||||
|
||||
def record_for_hash(db: dict, kind: str, value: object) -> str | None:
|
||||
"""The sha1 of the first held record one hash value names."""
|
||||
return next(iter(records_for_hash(db, kind, value)), None)
|
||||
|
||||
|
||||
_mame_clone_map_cache: dict[str, dict[str, str]] = {}
|
||||
|
||||
+15
-15
@@ -31,6 +31,7 @@ LARGE_FILES_RELEASE = "large-files"
|
||||
LARGE_FILES_REPO = "Abdess/retrobios"
|
||||
RELEASE_DOWNLOAD = f"https://github.com/{LARGE_FILES_REPO}/releases/download/{LARGE_FILES_RELEASE}/"
|
||||
LARGE_FILES_CACHE = ".cache/large"
|
||||
USER_AGENT = "retrobios/1.0"
|
||||
# Verified revisions, hard-linked as <sha1>/<asset> beside the cache. A name
|
||||
# in the cache is replaced when the release serves new bytes under it, so a
|
||||
# path handed out by name could hold other bytes by the time the caller read
|
||||
@@ -210,22 +211,20 @@ def restore_verified(source: str, path: str, sha1: str) -> bool:
|
||||
os.unlink(scratch)
|
||||
|
||||
|
||||
_FAILURES = (urllib.error.URLError, OSError, http.client.HTTPException, upstream.UpstreamError)
|
||||
|
||||
|
||||
def _download(name: str, tmp_path: str) -> bool:
|
||||
"""Stream the first release URL of *name* that answers into *tmp_path*."""
|
||||
"""Stream the first release URL of *name* that answers into *tmp_path*,
|
||||
each through core.upstream.download (scratch, rename, retries)."""
|
||||
# Only a name no candidate answers is reported: a spaced name is
|
||||
# published dotted, and logging its first 404 read as a missing asset.
|
||||
failures: list[str] = []
|
||||
for candidate, url in _asset_urls(name):
|
||||
try:
|
||||
req = urllib.request.Request(url, headers={"User-Agent": "retrobios/1.0"})
|
||||
with urllib.request.urlopen(req, timeout=300) as resp, open(tmp_path, "wb") as f:
|
||||
while True:
|
||||
chunk = resp.read(65536)
|
||||
if not chunk:
|
||||
break
|
||||
f.write(chunk)
|
||||
upstream.download(url, tmp_path, timeout=300, user_agent=USER_AGENT)
|
||||
return True
|
||||
except (urllib.error.URLError, OSError, http.client.HTTPException) as exc:
|
||||
except _FAILURES as exc:
|
||||
# A stalled or cut stream is a timeout or IncompleteRead, not
|
||||
# a URLError: it escaped this handler and left its scratch.
|
||||
failures.append(f" large file {candidate}: {exc}")
|
||||
@@ -432,7 +431,7 @@ def _served_digests() -> dict[str, str]:
|
||||
f"{LARGE_FILES_RELEASE}"
|
||||
)
|
||||
try:
|
||||
body = upstream.fetch_body(url, accept_json=True, timeout=60, user_agent="retrobios/1.0")
|
||||
body = upstream.fetch_body(url, accept_json=True, timeout=60, user_agent=USER_AGENT)
|
||||
release = json.loads(body) if body is not None else {}
|
||||
except (upstream.UpstreamError, ValueError) as exc:
|
||||
print(f" large files release listing: {exc}", file=sys.stderr)
|
||||
@@ -445,13 +444,14 @@ def _served_digests() -> dict[str, str]:
|
||||
def _served_size(name: str) -> int | None:
|
||||
"""Size of the asset the release serves now, or None when unreadable."""
|
||||
for candidate, url in _asset_urls(name):
|
||||
req = urllib.request.Request(
|
||||
url, method="HEAD", headers=upstream.forge_headers(url, user_agent=USER_AGENT)
|
||||
)
|
||||
try:
|
||||
req = urllib.request.Request(
|
||||
url, method="HEAD", headers={"User-Agent": "retrobios/1.0"}
|
||||
length = upstream.open_retrying(
|
||||
req, lambda resp: resp.headers.get("Content-Length"), 60
|
||||
)
|
||||
with urllib.request.urlopen(req, timeout=60) as resp:
|
||||
length = resp.headers.get("Content-Length")
|
||||
except (urllib.error.URLError, OSError, http.client.HTTPException) as exc:
|
||||
except _FAILURES as exc:
|
||||
print(f" large file {candidate}: {exc}", file=sys.stderr)
|
||||
continue
|
||||
if length and length.isdigit():
|
||||
|
||||
@@ -0,0 +1,27 @@
|
||||
"""MAME versions and the mamedev/mame release tags that name them."""
|
||||
|
||||
from __future__ import annotations
|
||||
|
||||
|
||||
def mame_tag(version: str) -> str:
|
||||
"""The mamedev/mame release tag of a version: 0.289 is mame0289."""
|
||||
return "mame" + version.replace(".", "").zfill(4)
|
||||
|
||||
|
||||
def tag_version(tag: str) -> str | None:
|
||||
"""The version a mamedev/mame release tag names, None for anything else.
|
||||
|
||||
Release tags carry four digits or more (mame0121 is the first on GitHub).
|
||||
"""
|
||||
raw = tag.removeprefix("mame")
|
||||
if raw.isdigit() and len(raw) >= 4:
|
||||
return f"{raw[0]}.{raw[1:]}"
|
||||
return None
|
||||
|
||||
|
||||
def mame_version(tag: str) -> str:
|
||||
"""The version a mamedev/mame release tag names: mame0289 is 0.289.
|
||||
|
||||
Anything else (a branch, a commit) is returned without its prefix.
|
||||
"""
|
||||
return tag_version(tag) or tag.removeprefix("mame")
|
||||
@@ -0,0 +1,23 @@
|
||||
"""What kind of profile a profile is: an emulator, an alias, a launcher, a test core."""
|
||||
|
||||
from __future__ import annotations
|
||||
|
||||
# A launcher hands the game to another emulator and an alias is another
|
||||
# profile's build under a second name: neither declares files of its own.
|
||||
FILELESS_TYPES = frozenset({"launcher", "alias"})
|
||||
|
||||
|
||||
def lists_files(profile: dict) -> bool:
|
||||
"""Whether a profile declares the files its emulator reads."""
|
||||
return profile.get("type") not in FILELESS_TYPES
|
||||
|
||||
|
||||
def is_emulator(profile: dict) -> bool:
|
||||
"""Whether a profile counts as an emulator of its own, neither an alias
|
||||
nor a test core."""
|
||||
return profile.get("type") != "alias" and profile.get("role") != "test"
|
||||
|
||||
|
||||
def reads_own_files(profile: dict) -> bool:
|
||||
"""Whether a profile lists the files its emulator reads and is not a test core."""
|
||||
return lists_files(profile) and profile.get("role") != "test"
|
||||
+53
-40
@@ -2,18 +2,18 @@
|
||||
|
||||
from __future__ import annotations
|
||||
|
||||
import importlib.util
|
||||
import os
|
||||
import sys
|
||||
from collections.abc import Iterable, Mapping
|
||||
from pathlib import Path
|
||||
|
||||
try:
|
||||
import yaml
|
||||
except ImportError:
|
||||
yaml = None
|
||||
|
||||
from core.cli import InputMissing, suggest_names
|
||||
from core.hashing import HASH_FIELDS
|
||||
from model.alternatives import derive_member_requirements
|
||||
from model.profilekinds import is_emulator as is_emulator
|
||||
from model.profilekinds import lists_files as lists_files
|
||||
from model.profilekinds import reads_own_files as reads_own_files
|
||||
from model.safeparse import require_yaml
|
||||
from model.sources import source_yaml_file
|
||||
from model.systems import norm_system_id, system_index
|
||||
from core.paths import REPO_ROOT
|
||||
@@ -27,27 +27,6 @@ CONTENT_CHECKS = frozenset({"romdir", "masked_sha1"})
|
||||
emulator_profiles_cache: dict[tuple[str, bool], dict[str, dict]] = {}
|
||||
|
||||
|
||||
# A launcher hands the game to another emulator and an alias is another
|
||||
# profile's build under a second name: neither declares files of its own.
|
||||
FILELESS_TYPES = frozenset({"launcher", "alias"})
|
||||
|
||||
|
||||
def lists_files(profile: dict) -> bool:
|
||||
"""Whether a profile declares the files its emulator reads."""
|
||||
return profile.get("type") not in FILELESS_TYPES
|
||||
|
||||
|
||||
def is_emulator(profile: dict) -> bool:
|
||||
"""Whether a profile counts as an emulator of its own, neither an alias
|
||||
nor a test core."""
|
||||
return profile.get("type") != "alias" and profile.get("role") != "test"
|
||||
|
||||
|
||||
def reads_own_files(profile: dict) -> bool:
|
||||
"""Whether a profile lists the files its emulator reads and is not a test core."""
|
||||
return lists_files(profile) and profile.get("role") != "test"
|
||||
|
||||
|
||||
class ProfileSelectionError(ValueError):
|
||||
"""A named profile cannot answer for itself."""
|
||||
|
||||
@@ -237,15 +216,9 @@ def load_emulator_profiles(
|
||||
}
|
||||
emulator_profiles_cache[cache_key] = profiles
|
||||
return profiles
|
||||
if importlib.util.find_spec("yaml") is None:
|
||||
# Every consumer reads {} as "this repo documents no emulator", which
|
||||
# is what a broken install looks like from the outside: zero coverage,
|
||||
# no gap, nothing to fix.
|
||||
print(
|
||||
"warning: pyyaml is not installed, no emulator profile was loaded",
|
||||
file=sys.stderr,
|
||||
)
|
||||
return {}
|
||||
# Read as {}, a missing PyYAML looked like a repo documenting no
|
||||
# emulator: zero coverage, no gap, nothing to fix.
|
||||
require_yaml()
|
||||
profiles = {}
|
||||
emu_path = Path(emulators_dir)
|
||||
if not emu_path.is_dir():
|
||||
@@ -264,9 +237,6 @@ def load_emulator_profiles(
|
||||
return profiles
|
||||
|
||||
|
||||
_HASH_FIELDS = ("crc32", "md5", "sha1", "sha256")
|
||||
|
||||
|
||||
def _normalize_hash_fields(node: object) -> None:
|
||||
"""Coerce hash values to str in place.
|
||||
|
||||
@@ -275,7 +245,7 @@ def _normalize_hash_fields(node: object) -> None:
|
||||
"""
|
||||
if isinstance(node, dict):
|
||||
for key, val in node.items():
|
||||
if key in _HASH_FIELDS:
|
||||
if key in HASH_FIELDS:
|
||||
if isinstance(val, int):
|
||||
node[key] = str(val)
|
||||
elif isinstance(val, list):
|
||||
@@ -358,3 +328,46 @@ def preferred_profile(index: dict[str, set[str]], name: str) -> str | None:
|
||||
if not claimants:
|
||||
return None
|
||||
return name if name in claimants else sorted(claimants)[0]
|
||||
|
||||
|
||||
def platform_builds(
|
||||
claimants: Iterable[str], profiles: Mapping[str, dict], platform: str
|
||||
) -> set[str]:
|
||||
"""The claimants of a core name that a platform runs.
|
||||
|
||||
The builds the platform ships itself (``built_by``) when it names one,
|
||||
else every claimant no platform builds on its own: a revision only
|
||||
another platform compiles is not on this one. Recalbox's pcsx2 core is
|
||||
its PCSX2 1.7 fork, not the LRPS2 revision Batocera builds under that
|
||||
name.
|
||||
"""
|
||||
claimed = set(claimants)
|
||||
own = {k for k in claimed if platform in (profiles[k].get("built_by") or [])}
|
||||
return own or {k for k in claimed if not profiles[k].get("built_by")}
|
||||
|
||||
|
||||
def platform_core_profiles(
|
||||
index: Mapping[str, set[str]],
|
||||
profiles: Mapping[str, dict],
|
||||
name: str,
|
||||
platform: str,
|
||||
mode: str | None,
|
||||
) -> set[str]:
|
||||
"""The profiles a core name designates in a platform's own list.
|
||||
|
||||
``index`` is a ``core_key_index``, ``mode`` the build the list names
|
||||
(``libretro`` or ``standalone``, None for either). The platform's own builds answer
|
||||
first, all of them: RetroPie builds Amiberry 5.7.2 and 6.3.3 under one
|
||||
package, one per board. Without one, the profile whose key is the name
|
||||
does: Recalbox's vice_x64 is the vice_x64 core, not the vice profile
|
||||
that also lists it.
|
||||
"""
|
||||
key = core_key(name)
|
||||
claimants = {
|
||||
k for k in index.get(key, ())
|
||||
if mode is None or mode in str(profiles[k].get("type", ""))
|
||||
}
|
||||
builds = platform_builds(claimants, profiles, platform)
|
||||
if any(platform in (profiles[k].get("built_by") or []) for k in builds):
|
||||
return builds
|
||||
return {k for k in builds if core_key(k) == key} or builds
|
||||
@@ -29,13 +29,12 @@ def load_data_dir_registry(platforms_dir: str | Path = PLATFORMS_DIR, required:
|
||||
return data_dir_registry_at(os.path.join(platforms_dir, "_data_dirs.yml"), required)
|
||||
|
||||
|
||||
def load_platform_registry(platforms_dir: str | Path = PLATFORMS_DIR, required: bool = False) -> dict:
|
||||
"""Return the `platforms:` mapping from _registry.yml.
|
||||
def platform_registry_at(registry_path: str | os.PathLike[str], required: bool = False) -> dict:
|
||||
"""The `platforms:` mapping of a platform registry file.
|
||||
|
||||
An absent file is an empty registry, or with ``required`` an input the
|
||||
command cannot run without.
|
||||
"""
|
||||
registry_path = os.path.join(platforms_dir, "_registry.yml")
|
||||
if not os.path.exists(registry_path):
|
||||
if required:
|
||||
raise InputMissing(f"{registry_path} not found")
|
||||
@@ -43,6 +42,11 @@ def load_platform_registry(platforms_dir: str | Path = PLATFORMS_DIR, required:
|
||||
return (source_yaml_file(registry_path) or {}).get("platforms") or {}
|
||||
|
||||
|
||||
def load_platform_registry(platforms_dir: str | Path = PLATFORMS_DIR, required: bool = False) -> dict:
|
||||
"""Return the `platforms:` mapping from _registry.yml."""
|
||||
return platform_registry_at(os.path.join(platforms_dir, "_registry.yml"), required)
|
||||
|
||||
|
||||
def list_registered_platforms(platforms_dir: str = PLATFORMS_DIR) -> list[str]:
|
||||
"""List platforms registered in _registry.yml.
|
||||
|
||||
|
||||
@@ -40,6 +40,25 @@ def program_names(profiles: dict[str, dict]) -> set[str]:
|
||||
return names
|
||||
|
||||
|
||||
def section_pairs_of(sections: dict[str, dict] | set[tuple[str, str]]) -> set[tuple[str, str]]:
|
||||
"""Every (manufacturer, console) section the system pages carry.
|
||||
|
||||
``sections`` maps each manufacturer to its consoles or is a set of
|
||||
pairs. A reviewed parent under a maker the pages carry is a section even
|
||||
with no folder of its own: the Atom's sets sit under bios/Arcade, and
|
||||
the system pages file them under Acorn
|
||||
(sitegen.systempages.arcade_board_sections).
|
||||
"""
|
||||
pairs = (
|
||||
{(mfr, console) for mfr, consoles in sections.items() for console in consoles}
|
||||
if isinstance(sections, dict) else set(sections)
|
||||
)
|
||||
makers = {mfr for mfr, _console in pairs}
|
||||
pairs |= {parent for parent in SYSTEM_PARENTS.values()
|
||||
if parent[0] in makers and parent[0] not in PROGRAM_TOPS}
|
||||
return pairs
|
||||
|
||||
|
||||
def set_console_sections(
|
||||
sections: dict[str, dict] | set[tuple[str, str]],
|
||||
programs: set[str] | frozenset[str] = frozenset(),
|
||||
@@ -50,16 +69,7 @@ def set_console_sections(
|
||||
group them, or is a set of (manufacturer, console) pairs. ``programs``
|
||||
are the emulator names, which never name a system.
|
||||
"""
|
||||
pairs = (
|
||||
{(mfr, console) for mfr, consoles in sections.items() for console in consoles}
|
||||
if isinstance(sections, dict) else set(sections)
|
||||
)
|
||||
# A reviewed parent under a maker the pages carry is a section even with
|
||||
# no folder of its own: the Atom's sets sit under bios/Arcade, and the
|
||||
# system pages file them under Acorn (sitegen.systempages.arcade_board_sections).
|
||||
makers = {mfr for mfr, _console in pairs}
|
||||
pairs |= {parent for parent in SYSTEM_PARENTS.values()
|
||||
if parent[0] in makers and parent[0] not in PROGRAM_TOPS}
|
||||
pairs = section_pairs_of(sections)
|
||||
from core.anchors import unique_anchor, toc_slug
|
||||
|
||||
_console_sections.clear()
|
||||
|
||||
@@ -7,6 +7,7 @@ import re
|
||||
|
||||
from core.cli import suggest_names
|
||||
from model.platforms import native_layer
|
||||
from model.profilekinds import reads_own_files
|
||||
|
||||
|
||||
MANUFACTURER_PREFIXES = (
|
||||
@@ -332,7 +333,7 @@ def system_index(profiles: dict) -> dict[str, tuple[str, set[str]]]:
|
||||
"""
|
||||
index: dict[str, tuple[str, set[str]]] = {}
|
||||
for name, p in sorted(profiles.items()):
|
||||
if p.get("type") in ("alias", "launcher") or p.get("role") == "test":
|
||||
if not reads_own_files(p):
|
||||
continue
|
||||
for sys_id in p.get("systems", []):
|
||||
key = norm_system_id(sys_id)
|
||||
|
||||
+22
-19
@@ -12,8 +12,9 @@ from dataclasses import dataclass
|
||||
from pathlib import Path
|
||||
from typing import TYPE_CHECKING, TypedDict
|
||||
|
||||
from core.hashing import parse_hash_list, parse_md5_list, stream_hashes
|
||||
from core.hashing import parse_hash_list, stream_hashes
|
||||
from core.paths import BIOS_DIR, PLATFORMS_DIR, REPO_ROOT
|
||||
from core.ziptools import is_archive_path, zip_members
|
||||
from model.alternatives import set_keys, set_requirements, settle_sets
|
||||
from model.database import get_mame_clone_map, sha1_at
|
||||
from model.profiles import lists_files
|
||||
@@ -38,7 +39,7 @@ from resolve.launchers import (
|
||||
suffixed_stem,
|
||||
)
|
||||
from resolve.layout import system_dir_path
|
||||
from resolve.localfile import resolve_local_file
|
||||
from resolve.localfile import held_record_for, resolve_local_file
|
||||
from resolve.ownership import foreign_tree, owner_tokens
|
||||
from resolve.standalone import platform_layouts
|
||||
from resolve.validation import (
|
||||
@@ -158,10 +159,14 @@ def _zip_members(bios_root: str | Path) -> list[tuple[str, list[str]]]:
|
||||
return _zip_members_cache[key]
|
||||
found: list[tuple[str, list[str]]] = []
|
||||
root = Path(bios_root)
|
||||
for zpath in root.rglob("*.zip") if root.is_dir() else ():
|
||||
# .variants/ copies (x.zip.1a2b3c4d) are archives too.
|
||||
archives = sorted(
|
||||
p for p in (root.rglob("*") if root.is_dir() else ())
|
||||
if is_archive_path(p.name) and p.is_file()
|
||||
)
|
||||
for zpath in archives:
|
||||
try:
|
||||
with zipfile.ZipFile(zpath) as zf:
|
||||
members = [m for m in zf.namelist() if not m.endswith("/")]
|
||||
members = [member.name for member in zip_members(zpath)]
|
||||
except (zipfile.BadZipFile, OSError) as exc:
|
||||
print(f" WARNING: unreadable archive {zpath}: {exc}", file=sys.stderr)
|
||||
continue
|
||||
@@ -345,10 +350,13 @@ def _content_matches(location: tuple[str, str], declared: dict[str, set[str]]) -
|
||||
"""Whether the file or member at *location* carries a declared hash."""
|
||||
path, member = location
|
||||
try:
|
||||
if member and set(declared) == {"crc32"}:
|
||||
return any(
|
||||
held.name == member and held.crc32 in declared["crc32"]
|
||||
for held in zip_members(path)
|
||||
)
|
||||
if member:
|
||||
with zipfile.ZipFile(path) as zf:
|
||||
if set(declared) == {"crc32"}:
|
||||
return f"{zf.getinfo(member).CRC:08x}" in declared["crc32"]
|
||||
data = zf.read(member)
|
||||
else:
|
||||
data = Path(path).read_bytes()
|
||||
@@ -624,19 +632,14 @@ def entry_source(f: dict, index: dict) -> str | None:
|
||||
return source
|
||||
found = found or source
|
||||
|
||||
def values(field: str) -> list[str]:
|
||||
return parse_hash_list(f.get(field))
|
||||
|
||||
# The declared content anywhere in bios/ comes before a data/ copy, as in
|
||||
# the resolver: the hash steps run before the data directories.
|
||||
held = (
|
||||
any(index["by_md5"].get(v) for v in parse_md5_list(f.get("md5")))
|
||||
or any(v in db_files for v in values("sha1"))
|
||||
# rust_dos names its SC-55 ROMs by sha256 alone
|
||||
or any(v in index["by_sha256"] for v in values("sha256"))
|
||||
or any(index["by_crc32"].get(v) for v in values("crc32"))
|
||||
)
|
||||
return "bios" if held else found
|
||||
# the resolver: the hash steps run before the data directories, and the
|
||||
# held record is the one every declared hash agrees with.
|
||||
held = held_record_for(f, {
|
||||
"files": db_files,
|
||||
"indexes": {key: index[key] for key in ("by_md5", "by_sha256", "by_crc32")},
|
||||
})
|
||||
return "bios" if held is not None else found
|
||||
|
||||
|
||||
def _resolve_archive_source(
|
||||
|
||||
+32
-26
@@ -3,6 +3,7 @@
|
||||
from __future__ import annotations
|
||||
|
||||
import contextlib
|
||||
import http.client
|
||||
import json
|
||||
import logging
|
||||
import os
|
||||
@@ -24,15 +25,19 @@ from model.registry import VERSIONS_FILE, load_versions
|
||||
|
||||
log = logging.getLogger(__name__)
|
||||
|
||||
DEFAULT_REGISTRY = "platforms/_data_dirs.yml"
|
||||
USER_AGENT = "retrobios/1.0"
|
||||
REQUEST_TIMEOUT = 30
|
||||
DOWNLOAD_TIMEOUT = 300
|
||||
# A mirror sometimes answers with a page that is not the archive: the
|
||||
# buildbot's ScummVM.zip failed CI once as "File is not a zip file" and
|
||||
# downloaded fine minutes later. Seconds to wait before each retry.
|
||||
# downloaded fine minutes later. Seconds to wait before each retry. The
|
||||
# transfer itself is retried by core.upstream.download: these waits cover
|
||||
# an archive that arrived whole and does not read.
|
||||
DOWNLOAD_RETRY_WAITS = (5, 20)
|
||||
_TRANSIENT = (urllib.error.URLError, OSError, tarfile.TarError, zipfile.BadZipFile, EOFError)
|
||||
_TRANSIENT = (
|
||||
urllib.error.URLError, OSError, http.client.HTTPException,
|
||||
tarfile.TarError, zipfile.BadZipFile, EOFError,
|
||||
)
|
||||
|
||||
|
||||
def cache_lock(
|
||||
@@ -172,13 +177,14 @@ def revisioned(entry: dict) -> bool:
|
||||
|
||||
|
||||
def get_remote_sha(source_url: str, version: str) -> str | None:
|
||||
"""The commit a branch or tag of the source's repository points at now."""
|
||||
"""The commit a branch or tag of the source's repository points at now,
|
||||
asked of the forge each time and kept nowhere but the versions file."""
|
||||
repo = upstream.parse_repo(source_url)
|
||||
if repo is None:
|
||||
log.warning("cannot parse repo from URL: %s", source_url)
|
||||
return None
|
||||
try:
|
||||
return upstream.resolve_head(repo, upstream.CACHE_DIR, branch=version, fresh=True)
|
||||
return upstream.resolve_head(repo, None, branch=version)
|
||||
except (upstream.UpstreamError, ValueError) as exc:
|
||||
log.warning("failed to fetch remote SHA for %s@%s: %s", repo.slug, version, exc)
|
||||
return None
|
||||
@@ -223,13 +229,9 @@ def _download_and_extract(
|
||||
tarball_path = Path(tmpdir) / "archive.tar.gz"
|
||||
log.info("downloading %s", source_url)
|
||||
|
||||
req = urllib.request.Request(source_url, headers={"User-Agent": USER_AGENT})
|
||||
with urllib.request.urlopen(req, timeout=DOWNLOAD_TIMEOUT) as resp, open(tarball_path, "wb") as f:
|
||||
while True:
|
||||
chunk = resp.read(65536)
|
||||
if not chunk:
|
||||
break
|
||||
f.write(chunk)
|
||||
upstream.download(
|
||||
source_url, tarball_path, timeout=DOWNLOAD_TIMEOUT, user_agent=USER_AGENT
|
||||
)
|
||||
if measured is not None:
|
||||
measured(tarball_path.stat().st_size)
|
||||
|
||||
@@ -304,13 +306,9 @@ def _download_and_extract_zip(
|
||||
zip_path = Path(tmpdir) / "archive.zip"
|
||||
log.info("downloading %s", source_url)
|
||||
|
||||
req = urllib.request.Request(source_url, headers={"User-Agent": USER_AGENT})
|
||||
with urllib.request.urlopen(req, timeout=DOWNLOAD_TIMEOUT) as resp, open(zip_path, "wb") as f:
|
||||
while True:
|
||||
chunk = resp.read(65536)
|
||||
if not chunk:
|
||||
break
|
||||
f.write(chunk)
|
||||
upstream.download(
|
||||
source_url, zip_path, timeout=DOWNLOAD_TIMEOUT, user_agent=USER_AGENT
|
||||
)
|
||||
if measured is not None:
|
||||
measured(zip_path.stat().st_size)
|
||||
|
||||
@@ -352,13 +350,19 @@ def _download_and_extract_zip(
|
||||
def _measure_archive(source_url: str) -> int | None:
|
||||
"""The size of the archive at source_url, read by streaming it: a
|
||||
tarball GitHub builds on request is sent without a Content-Length."""
|
||||
req = urllib.request.Request(source_url, headers={"User-Agent": USER_AGENT})
|
||||
size = 0
|
||||
req = urllib.request.Request(
|
||||
source_url, headers=upstream.forge_headers(source_url, user_agent=USER_AGENT)
|
||||
)
|
||||
|
||||
def count(resp: http.client.HTTPResponse) -> int:
|
||||
size = 0
|
||||
while chunk := resp.read(65536):
|
||||
size += len(chunk)
|
||||
return size
|
||||
|
||||
try:
|
||||
with urllib.request.urlopen(req, timeout=DOWNLOAD_TIMEOUT) as resp:
|
||||
while chunk := resp.read(65536):
|
||||
size += len(chunk)
|
||||
except _TRANSIENT as exc:
|
||||
size = upstream.open_retrying(req, count, DOWNLOAD_TIMEOUT)
|
||||
except (*_TRANSIENT, upstream.UpstreamError) as exc:
|
||||
log.warning("could not measure %s: %s", source_url, exc)
|
||||
return None
|
||||
return size or None
|
||||
@@ -517,7 +521,9 @@ def _refresh_entry(
|
||||
try:
|
||||
file_count = fetch()
|
||||
break
|
||||
except (NothingExtractedError, ValueError) as exc:
|
||||
except (NothingExtractedError, ValueError, upstream.UpstreamError) as exc:
|
||||
# A host gone or still rate limited after core.upstream's own
|
||||
# waits answers the same way on the next try.
|
||||
log.warning("[%s] download failed: %s", key, exc)
|
||||
return None
|
||||
except _TRANSIENT as exc:
|
||||
|
||||
@@ -15,7 +15,7 @@ from typing import TYPE_CHECKING, TypedDict
|
||||
|
||||
from core.options import reject_unknown
|
||||
from core.paths import REPO_ROOT
|
||||
from core.ziptools import build_zip_contents_index
|
||||
from core.ziptools import build_zip_contents_index, is_archive_path
|
||||
from model.alternatives import settle_sets, slot_set_keys
|
||||
from model.profiles import (
|
||||
ProfileSelectionError,
|
||||
@@ -119,7 +119,7 @@ class _EmulatorPackBuild:
|
||||
|
||||
def _add(self, local_path: str, dest: str, fe: dict | None) -> None:
|
||||
"""Write a loose file or an archive at dest and count it."""
|
||||
if fe is not None and local_path.endswith(".zip"):
|
||||
if fe is not None and is_archive_path(local_path):
|
||||
add_zip_to_pack(local_path, dest, self.zf, fe)
|
||||
else:
|
||||
add_pack_member(self.zf, local_path, dest)
|
||||
|
||||
+28
-23
@@ -12,7 +12,7 @@ from typing import TYPE_CHECKING, TypedDict
|
||||
|
||||
from core.artifacts import build_timestamp
|
||||
from packs.paths import MEDIA_MARKER, has_path_conflict
|
||||
from core.ziptools import build_zip_contents_index
|
||||
from core.ziptools import build_zip_contents_index, is_archive_path, zip_members
|
||||
from core.ziptools import safe_member_parts
|
||||
from resolve.nativemode import digest_algorithm, platform_mode
|
||||
from resolve.validation import (
|
||||
@@ -22,7 +22,8 @@ from resolve.nativemode import hash_mismatch_excludes_file
|
||||
import sys
|
||||
from resolve.cores import filter_systems_by_target
|
||||
from core.hashing import (
|
||||
compute_hashes, file_digest, md5_composite_of, md5sum, parse_hash_list, stream_hashes,
|
||||
compute_hashes, file_digest, md5_composite, md5_composite_of, md5sum, parse_hash_list,
|
||||
stream_hashes,
|
||||
)
|
||||
from core.options import reject_unknown
|
||||
import io
|
||||
@@ -34,6 +35,7 @@ from packs.paths import flat_arcname
|
||||
from resolve.nativemode import reads_file_contents
|
||||
from resolve import regions as resolve_regions
|
||||
from packs import slots
|
||||
from resolve.localfile import held_record_for
|
||||
from resolve.packfiles import resolve_declaration, resolve_file
|
||||
from resolve.categories import BIOS, EntryCategories
|
||||
from resolve.gamedata import without_game_data
|
||||
@@ -104,10 +106,6 @@ def _settle_untracked(
|
||||
return "untracked", file_name
|
||||
|
||||
|
||||
def _member_crcs(archive: zipfile.ZipFile) -> dict[str, int]:
|
||||
return {i.filename: i.CRC for i in archive.infolist() if not i.is_dir()}
|
||||
|
||||
|
||||
def _same_members(pack: zipfile.ZipFile, name: str, source: str) -> bool:
|
||||
"""Whether a ZIP inside the pack holds the members of a ZIP on disk.
|
||||
|
||||
@@ -116,9 +114,12 @@ def _same_members(pack: zipfile.ZipFile, name: str, source: str) -> bool:
|
||||
each carried their own copy.
|
||||
"""
|
||||
try:
|
||||
with zipfile.ZipFile(io.BytesIO(pack.read(name))) as packed, \
|
||||
zipfile.ZipFile(source) as held:
|
||||
return _member_crcs(packed) == _member_crcs(held)
|
||||
held = {member.name: member.crc32 for member in zip_members(source)}
|
||||
with zipfile.ZipFile(io.BytesIO(pack.read(name))) as packed:
|
||||
return held == {
|
||||
info.filename: format(info.CRC, "08x")
|
||||
for info in packed.infolist() if not info.is_dir()
|
||||
}
|
||||
except (zipfile.BadZipFile, OSError):
|
||||
return False
|
||||
|
||||
@@ -386,28 +387,32 @@ def _check_member_hash(
|
||||
def _repo_satisfies_declaration(
|
||||
entries: list[dict], db: dict, mode: str
|
||||
) -> bool:
|
||||
"""Check whether any repo file matches one of the declared hashes.
|
||||
"""Check whether any repo file matches one of the declarations.
|
||||
|
||||
Used to separate pack divergence (a matching file exists but was not
|
||||
packed) from data coverage gaps (no repo file matches the upstream
|
||||
declaration): only the former is a pack generation error.
|
||||
declaration): only the former is a pack generation error. A held file
|
||||
is the resolver's: every declared hash agrees with it, and a zipped_file
|
||||
md5 names a member of a held archive, not a loose file. The verdict
|
||||
compares whole digests as the frontend does, so a cut md5 names a held
|
||||
file without being satisfied by it.
|
||||
"""
|
||||
from core.hashing import md5_composite
|
||||
|
||||
files_db = db.get("files", {})
|
||||
by_md5 = db.get("indexes", {}).get("by_md5", {})
|
||||
by_name = db.get("indexes", {}).get("by_name", {})
|
||||
|
||||
for fe in entries:
|
||||
if fe.get("zipped_file"):
|
||||
if _repo_holds_member(fe, db):
|
||||
return True
|
||||
continue
|
||||
hashes = parse_hash_list(fe.get(mode))
|
||||
if not hashes:
|
||||
continue
|
||||
for h in hashes:
|
||||
if mode == "sha1":
|
||||
entry = files_db.get(h)
|
||||
else:
|
||||
entry = files_db.get(by_md5.get(h, ""))
|
||||
if entry and os.path.exists(entry.get("path", "")):
|
||||
held_sha1 = held_record_for(fe, db)
|
||||
if held_sha1 is not None:
|
||||
held = files_db[held_sha1]
|
||||
digest = held_sha1 if mode == "sha1" else str(held.get(mode, ""))
|
||||
if digest.lower() in hashes and os.path.exists(held.get("path", "")):
|
||||
return True
|
||||
if mode == "md5":
|
||||
hash_set = set(hashes)
|
||||
@@ -416,7 +421,7 @@ def _repo_satisfies_declaration(
|
||||
if not entry:
|
||||
continue
|
||||
path = entry.get("path", "")
|
||||
if not path.endswith(".zip") or not os.path.exists(path):
|
||||
if not is_archive_path(path) or not os.path.exists(path):
|
||||
continue
|
||||
try:
|
||||
if md5_composite(path).lower() in hash_set:
|
||||
@@ -430,7 +435,7 @@ def _repo_holds_member(file_entry: dict, db: dict) -> bool:
|
||||
files_db = db.get("files", {})
|
||||
for sha1 in db.get("indexes", {}).get("by_name", {}).get(file_entry.get("name", ""), []):
|
||||
path = (files_db.get(sha1) or {}).get("path", "")
|
||||
if not path.endswith(".zip") or not os.path.exists(path):
|
||||
if not is_archive_path(path) or not os.path.exists(path):
|
||||
continue
|
||||
if inner_rom_check(file_entry, path) == "ok":
|
||||
return True
|
||||
@@ -616,7 +621,7 @@ def _same_content(zf: zipfile.ZipFile, member: str, local: str) -> bool:
|
||||
with open(local, "rb") as handle:
|
||||
if zf.read(member) == handle.read():
|
||||
return True
|
||||
return local.lower().endswith(".zip") and _same_members(zf, member, local)
|
||||
return is_archive_path(local) and _same_members(zf, member, local)
|
||||
|
||||
|
||||
class PlatformCheckOptions(TypedDict, total=False):
|
||||
|
||||
@@ -15,8 +15,7 @@ from core.paths import EMULATORS_DIR, REPO_ROOT, declared_destination, sanitize_
|
||||
from model.declarations import OUTER_ROOTS, declared_root, outer_layout
|
||||
from model.platforms import load_platform_config
|
||||
from model.profiles import load_emulator_profiles
|
||||
from model.registry import load_data_dir_registry
|
||||
from model.safeparse import yaml_load
|
||||
from model.registry import load_data_dir_registry, platform_registry_at
|
||||
from model.systems import platform_system_names
|
||||
from packs import slots
|
||||
from packs.archive import CASE_FOLDING_OS, PACK_DOCUMENTS, Placed
|
||||
@@ -610,11 +609,7 @@ def _start_manifest(
|
||||
game_entries = platform_game_data(config, emu_profiles, data_registry)
|
||||
|
||||
# Load registry for install metadata
|
||||
registry: dict = {}
|
||||
if os.path.exists(registry_path):
|
||||
with open(registry_path) as f:
|
||||
registry = yaml_load(f) or {}
|
||||
plat_registry = registry.get("platforms", {}).get(platform_name, {})
|
||||
plat_registry = platform_registry_at(registry_path).get(platform_name) or {}
|
||||
|
||||
plat_cores = _platform_cores(config, emu_profiles) if opts.target_cores else None
|
||||
pack_systems = filter_systems_by_target(
|
||||
|
||||
@@ -15,6 +15,7 @@ from model.registry import load_platform_registry
|
||||
from core.hashing import compute_hashes
|
||||
from core.options import reject_unknown
|
||||
from core.paths import EMULATORS_DIR, declared_destination, sanitize_pack_path
|
||||
from core.ziptools import is_archive_path
|
||||
from model.alternatives import core_file_spares
|
||||
from model.declarations import OUTER_ROOTS, declared_root
|
||||
from model.platforms import load_platform_config
|
||||
@@ -778,9 +779,9 @@ class _PlatformPackBuild:
|
||||
|
||||
extract = file_entry.get("extract", False)
|
||||
flat_dest = self._flat(full_dest)
|
||||
if extract and local_path.endswith(".zip"):
|
||||
if extract and is_archive_path(local_path):
|
||||
extract_zip_to_archive(local_path, flat_dest, self.zf)
|
||||
elif local_path.endswith(".zip"):
|
||||
elif is_archive_path(local_path):
|
||||
add_zip_to_pack(local_path, flat_dest, self.zf, file_entry)
|
||||
else:
|
||||
add_pack_member(self.zf, local_path, flat_dest)
|
||||
@@ -876,7 +877,7 @@ class _PlatformPackBuild:
|
||||
within = plan.opts.within
|
||||
if within is not None and not same_bytes(local_path, within.get(flat_dest)):
|
||||
return
|
||||
if local_path.endswith(".zip"):
|
||||
if is_archive_path(local_path):
|
||||
add_zip_to_pack(local_path, flat_dest, self.zf, fe)
|
||||
else:
|
||||
add_pack_member(self.zf, local_path, flat_dest)
|
||||
|
||||
@@ -4,6 +4,7 @@ from __future__ import annotations
|
||||
|
||||
from collections import Counter
|
||||
|
||||
from core.text import count_text
|
||||
from packs.verdicts import Severity, Status
|
||||
from resolve.categories import BIOS
|
||||
from resolve.nativemode import reads_file_contents
|
||||
@@ -205,7 +206,7 @@ def _print_undeclared_entry(
|
||||
name = u["path"] if u["name"] in repeated and u.get("path") else u["name"]
|
||||
arc_count = u.get("archive_file_count")
|
||||
if arc_count:
|
||||
name_label = f"{name} ({arc_count} file{'s' if arc_count != 1 else ''})"
|
||||
name_label = f"{name} ({count_text(arc_count, 'file')})"
|
||||
else:
|
||||
name_label = name
|
||||
if u.get("alternatives") and not u.get("in_repo"):
|
||||
|
||||
@@ -6,7 +6,7 @@ import os
|
||||
from dataclasses import dataclass, field
|
||||
from typing import TYPE_CHECKING
|
||||
|
||||
from core.hashing import lists_hashes, parse_md5_list
|
||||
from core.hashing import lists_hashes, parse_hash_list
|
||||
from model.declarations import declared_slot
|
||||
from model.profiles import entry_system_ids, lists_files
|
||||
from packs.gaps import gap_destination
|
||||
@@ -336,7 +336,7 @@ def checked_by_path(mode: str, entry: dict, rule: str = "") -> bool:
|
||||
else:
|
||||
fields = (nativemode.digest_algorithm(mode) or "",)
|
||||
return not any(
|
||||
parse_md5_list(entry.get(name)) if name == "md5" else entry.get(name)
|
||||
parse_hash_list(entry.get(name)) if name == "md5" else entry.get(name)
|
||||
for name in fields
|
||||
)
|
||||
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
|
||||
from __future__ import annotations
|
||||
|
||||
from core.hashing import compute_hashes, md5sum, parse_md5_list
|
||||
from core.hashing import compute_hashes, md5sum, parse_hash_list
|
||||
from core.ziptools import check_inside_zip
|
||||
from resolve.nativemode import SIZE_AND_ANY_HASH, reads_file_contents
|
||||
from resolve.validation import (
|
||||
@@ -142,7 +142,7 @@ def verify_entry_md5(
|
||||
# One parse for verify, the builder and the pack check: Recalbox writes
|
||||
# md5 in uppercase, and a copy that lowercased only comma lists judged
|
||||
# a single uppercase value differently from the others.
|
||||
md5_list = parse_md5_list(expected_md5)
|
||||
md5_list = parse_hash_list(expected_md5)
|
||||
|
||||
if not local_path:
|
||||
return {**base, "status": Status.MISSING}
|
||||
|
||||
@@ -14,7 +14,7 @@ from dataclasses import dataclass
|
||||
from pathlib import Path
|
||||
|
||||
from unattended import worktree
|
||||
from core_probe import (EXIT_BUSY, PROBE_LOCK_ENV, PROBE_LOCK_HELD_ENV, VERDICTS, host_probe_lock,
|
||||
from core_probe import (EXIT_BUSY, PROBE_LOCK_ENV, PROBE_LOCK_HELD_ENV, VERDICTS, head_commit, host_probe_lock,
|
||||
probe_lock_path)
|
||||
from core.paths import REPO_ROOT
|
||||
from core.statefile import now_iso
|
||||
@@ -392,9 +392,12 @@ def probe_one(layout: Layout, platform: str, config: dict, profile: dict, target
|
||||
|
||||
|
||||
def git_head() -> str | None:
|
||||
proc = subprocess.run(["git", "rev-parse", "HEAD"], capture_output=True, text=True, check=False,
|
||||
cwd=REPO_ROOT)
|
||||
return proc.stdout.strip() or None
|
||||
"""The revision the pack was built from, None when git cannot say."""
|
||||
try:
|
||||
return head_commit(REPO_ROOT) or None
|
||||
except (OSError, subprocess.CalledProcessError) as exc:
|
||||
print(f"WARNING: pack source commit unknown, git failed: {exc}", file=sys.stderr)
|
||||
return None
|
||||
|
||||
|
||||
def append_line(line: dict, root: Path = REPO_ROOT) -> dict:
|
||||
|
||||
@@ -165,6 +165,9 @@ def _follow_submodule(
|
||||
HEAD, the view reported changes the shipped core never had, and a bump
|
||||
would have moved upstream_commit past what it builds. The commit the
|
||||
port's HEAD points the submodule at is the upstream HEAD that matters.
|
||||
A tree the forge lists in part raises TruncatedListingError: the
|
||||
submodule may be in the lost part, and the upstream HEAD in its place
|
||||
is the commit a bump must not move to.
|
||||
"""
|
||||
source = next((v for v in views if v.field == "source"), None)
|
||||
behind = [v for v in views if v.field == "upstream" and v.pin != v.head]
|
||||
|
||||
@@ -7,7 +7,7 @@ import itertools
|
||||
import posixpath
|
||||
import re
|
||||
import sys
|
||||
from collections.abc import Callable, Iterable, Sequence
|
||||
from collections.abc import Callable, Iterable, Iterator, Sequence
|
||||
from dataclasses import dataclass, field, replace
|
||||
|
||||
from core import upstream
|
||||
@@ -406,11 +406,16 @@ class _Resolver:
|
||||
(self.context_for(v)[1] for v in self.views),
|
||||
)
|
||||
|
||||
def gitlinks_in_order(self) -> Iterable[Iterable[str]]:
|
||||
return (
|
||||
upstream.list_gitlinks(v.repo, v.pin, self.cache_dir, self.offline)
|
||||
for v in self.views
|
||||
)
|
||||
def gitlinks_in_order(self) -> Iterator[Iterable[str]]:
|
||||
"""Submodule paths of each declared tree at its pin. A tree the
|
||||
forge lists in part is said once and searched as far as it is
|
||||
known: the parts it cannot place stay external, as before."""
|
||||
for view in self.views:
|
||||
try:
|
||||
yield upstream.list_gitlinks(view.repo, view.pin, self.cache_dir, self.offline)
|
||||
except upstream.TruncatedListingError as exc:
|
||||
print(f"{self.name}: submodule paths unknown, {exc}", file=sys.stderr)
|
||||
yield ()
|
||||
|
||||
def _add_bare_name_matches(self, path: str, candidates: list[str]) -> None:
|
||||
# A bare filename, the way prose cites files. Resolved against the
|
||||
@@ -589,9 +594,17 @@ class _Resolver:
|
||||
if found is None and "/" in wanted:
|
||||
# A file of a submodule is read at the commit its gitlink
|
||||
# pins in this revision, so a bump moves it with the port.
|
||||
inner = upstream.through_gitlink(
|
||||
repo, sha, wanted, self.cache_dir, self.offline
|
||||
)
|
||||
try:
|
||||
inner = upstream.through_gitlink(
|
||||
repo, sha, wanted, self.cache_dir, self.offline
|
||||
)
|
||||
except upstream.TruncatedListingError as exc:
|
||||
# The tree is listed in part: the path may sit in a
|
||||
# submodule nobody can see, which is no reason to mute
|
||||
# every other file of the repository.
|
||||
print(f"{self.name}: {wanted} not followed into a submodule, {exc}",
|
||||
file=sys.stderr)
|
||||
inner = None
|
||||
if inner is not None:
|
||||
found = upstream.fetch_file(*inner, self.cache_dir, self.offline)
|
||||
return found
|
||||
|
||||
@@ -19,7 +19,8 @@ from core.cli import suggest_names
|
||||
from model.cliargs import platform_arg, require_platform
|
||||
|
||||
from model.registry import data_dir_registry_at
|
||||
from packs.datadirs import DEFAULT_REGISTRY, log, refresh_all, refresh_entry
|
||||
from core.paths import DATA_DIRS_FILE
|
||||
from packs.datadirs import log, refresh_all, refresh_entry
|
||||
|
||||
|
||||
def summarize(outcomes: dict[str, bool | None], dry_run: bool) -> str:
|
||||
@@ -48,7 +49,7 @@ def main() -> None:
|
||||
"--platform", "-p", type=platform_arg, help="Only refresh entries for this platform"
|
||||
)
|
||||
parser.add_argument(
|
||||
"--registry", default=DEFAULT_REGISTRY, help="Path to _data_dirs.yml"
|
||||
"--registry", default=DATA_DIRS_FILE, help="Path to _data_dirs.yml"
|
||||
)
|
||||
args = parser.parse_args()
|
||||
|
||||
|
||||
@@ -63,12 +63,12 @@ from functools import lru_cache
|
||||
from pathlib import Path
|
||||
from model.platforms import inheritance_chain
|
||||
from model.registry import data_dir_registry_at, load_platform_registry
|
||||
from core.paths import REPO_ROOT
|
||||
from core.paths import DATA_DIRS_FILE, REPO_ROOT
|
||||
|
||||
LOG_DIR = REPO_ROOT / "tmp" / "refresh_stale"
|
||||
CHECK_FRESHNESS = REPO_ROOT / "scripts" / "check_freshness.py"
|
||||
PLATFORMS_REGISTRY = REPO_ROOT / "platforms" / "_registry.yml"
|
||||
DATA_DIRS_REGISTRY = REPO_ROOT / "platforms" / "_data_dirs.yml"
|
||||
DATA_DIRS_REGISTRY = REPO_ROOT / DATA_DIRS_FILE
|
||||
|
||||
AUTO_AREAS = ("platforms", "native", "targets", "data", "catalogs")
|
||||
# A rom-folder pin is moved by hand in platforms/romfolders/_sources/,
|
||||
|
||||
@@ -10,10 +10,11 @@ from collections.abc import Iterable
|
||||
from pathlib import Path
|
||||
from typing import NamedTuple
|
||||
|
||||
from core.paths import EMULATORS_DIR
|
||||
from core.paths import DATA_DIRS_FILE, EMULATORS_DIR
|
||||
from core.hashing import file_digest
|
||||
from core.sizes import size_text
|
||||
from model.composition import composition_tier
|
||||
from model.registry import data_dir_registry_at
|
||||
from model.largefiles import (
|
||||
LARGE_FILES_RELEASE,
|
||||
LARGE_FILES_REPO,
|
||||
@@ -235,14 +236,10 @@ def profile_descriptions(emulators_dir: str = EMULATORS_DIR) -> dict[str, str]:
|
||||
return found
|
||||
|
||||
|
||||
def registry_bundles(registry_path: str = "platforms/_data_dirs.yml") -> dict[str, str]:
|
||||
def registry_bundles(registry_path: str = DATA_DIRS_FILE) -> dict[str, str]:
|
||||
"""Asset name -> description for data directories served from the release."""
|
||||
from model.safeparse import yaml_load
|
||||
|
||||
with open(registry_path, encoding="utf-8") as handle:
|
||||
registry = yaml_load(handle) or {}
|
||||
bundles: dict[str, str] = {}
|
||||
for entry in (registry.get("data_directories") or registry).values():
|
||||
for entry in data_dir_registry_at(registry_path, required=True).values():
|
||||
if not isinstance(entry, dict):
|
||||
continue
|
||||
url = str(entry.get("source_url") or "")
|
||||
|
||||
@@ -161,8 +161,7 @@ def gather_thanks(run: Run | None = None, repo: str = REPO) -> list[str]:
|
||||
("Help in issues", helped)):
|
||||
if people:
|
||||
names = [f"@{login}" for login in sorted(people, key=str.casefold)]
|
||||
listed = names[0] if len(names) == 1 else f"{', '.join(names[:-1])} and {names[-1]}"
|
||||
lines.append(f"- **{label}**: {listed}.")
|
||||
lines.append(f"- **{label}**: {series(names)}.")
|
||||
return lines
|
||||
|
||||
|
||||
|
||||
@@ -18,9 +18,9 @@ from pathlib import Path
|
||||
|
||||
from model.systems import norm_system_id
|
||||
from resolve.cores import resolve_platform_cores, unresolved_platform_cores
|
||||
from core.hashing import declared_hashes
|
||||
from core.hashing import declared_hashes, parse_hash_list
|
||||
from resolve.reconcile import (
|
||||
HASH_FIELDS, NativeSystem, comparable, contradicts, entry_names, hash_values,
|
||||
HASH_FIELDS, NativeSystem, comparable, contradicts, entry_names,
|
||||
)
|
||||
from resolve.launchers import record_names as launcher_names
|
||||
|
||||
@@ -32,10 +32,10 @@ def _tails(path: str) -> list[str]:
|
||||
|
||||
|
||||
def _entry_hashes(entry: dict) -> set[str]:
|
||||
values = {v for f in HASH_FIELDS for v in hash_values(entry, f)}
|
||||
values = {v for f in HASH_FIELDS for v in parse_hash_list(entry.get(f))}
|
||||
for member in entry.get("contents") or []:
|
||||
if isinstance(member, dict):
|
||||
values |= {v for f in HASH_FIELDS for v in hash_values(member, f)}
|
||||
values |= {v for f in HASH_FIELDS for v in parse_hash_list(member.get(f))}
|
||||
return values
|
||||
|
||||
|
||||
@@ -47,7 +47,7 @@ def _declared_hashes(entry: dict) -> dict[str, set[str]]:
|
||||
"""
|
||||
entry = comparable(entry)
|
||||
found = declared_hashes(entry)
|
||||
if alt := set(hash_values(entry, "alt_md5")):
|
||||
if alt := set(parse_hash_list(entry.get("alt_md5"))):
|
||||
found["md5"] = found.get("md5", set()) | alt
|
||||
return found
|
||||
|
||||
@@ -129,7 +129,7 @@ class ReadEvidence:
|
||||
if names & self.names or (tails and tails[-1] in self.names):
|
||||
return "name"
|
||||
hashes = {
|
||||
v for f in (*HASH_FIELDS, "alt_md5") for v in hash_values(entry, f)
|
||||
v for f in (*HASH_FIELDS, "alt_md5") for v in parse_hash_list(entry.get(f))
|
||||
}
|
||||
if hashes & self.hashes:
|
||||
return "hash"
|
||||
@@ -183,7 +183,7 @@ class ProofIndex:
|
||||
tails = _tails(destination)
|
||||
last = {tails[-1]} if tails else set()
|
||||
hashes = {
|
||||
v for f in (*HASH_FIELDS, "alt_md5") for v in hash_values(entry, f)
|
||||
v for f in (*HASH_FIELDS, "alt_md5") for v in parse_hash_list(entry.get(f))
|
||||
}
|
||||
# "/" + d in "/" + path: d is a run of whole segments ending in "/",
|
||||
# so it is a run of the path's segments before the last one.
|
||||
|
||||
@@ -6,7 +6,7 @@ import os
|
||||
import zlib
|
||||
from dataclasses import dataclass, field
|
||||
|
||||
from core.hashing import compute_hashes, declared_hashes, parse_md5_list
|
||||
from core.hashing import compute_hashes, declared_hashes, parse_hash_list
|
||||
from core.paths import comparable_destination
|
||||
from core.ziptools import check_inside_zip
|
||||
from resolve.localfile import resolve_local_file, variant_base_name
|
||||
@@ -126,7 +126,7 @@ def accepted_by_all(path: str, entries: list[dict], db: dict) -> bool:
|
||||
return False
|
||||
for entry in entries:
|
||||
if entry.get("zipped_file"):
|
||||
declared = parse_md5_list(entry.get("md5"))
|
||||
declared = parse_hash_list(entry.get("md5"))
|
||||
if declared and not any(
|
||||
check_inside_zip(path, entry["zipped_file"], m) == "ok" for m in declared
|
||||
):
|
||||
|
||||
+20
-14
@@ -221,28 +221,34 @@ def size_fits(file_entry: dict, candidate_size: int) -> bool:
|
||||
def size_refusal(file_entry: dict, candidate_size: int) -> str | None:
|
||||
"""Why the entry's declared sizes turn a size away, or None.
|
||||
|
||||
``size`` is an exact size or the list of sizes the code accepts, and it
|
||||
outranks a ``min_size``/``max_size`` range. ``size_multiple`` is a
|
||||
granule the size must be a whole number of, as xemu maps any flash
|
||||
image whose size is a positive multiple of 64 KiB (hw/xbox/xbox.c).
|
||||
Nothing declared fits all.
|
||||
``size`` is the exact size, or the list of sizes, the code accepts.
|
||||
A ``min_size``/``max_size`` window declared beside it is accepted too:
|
||||
LinApple's sector image probe takes 143105 to 143364 bytes plus two
|
||||
lone values (SectorDiskImage.cpp), and a 1 MB BS-X dump sits inside the
|
||||
32 KB floor MesenCE checks. ``size_multiple`` is a granule a size inside
|
||||
the window must be a whole number of, as xemu maps any flash image whose
|
||||
size is a positive multiple of 64 KiB (hw/xbox/xbox.c). Nothing declared
|
||||
fits all.
|
||||
"""
|
||||
declared = file_entry.get("size")
|
||||
if declared is not None:
|
||||
allowed = declared if isinstance(declared, list) else [declared]
|
||||
if candidate_size in allowed:
|
||||
allowed = [] if declared is None else declared if isinstance(declared, list) else [declared]
|
||||
if candidate_size in allowed:
|
||||
return None
|
||||
low = file_entry.get("min_size")
|
||||
high = file_entry.get("max_size")
|
||||
multiple = file_entry.get("size_multiple")
|
||||
if low is None and high is None and not multiple:
|
||||
if not allowed:
|
||||
return None
|
||||
accepted = ",".join(str(s) for s in sorted(allowed))
|
||||
return f"size mismatch: got {candidate_size}, accepted [{accepted}]"
|
||||
low = file_entry.get("min_size")
|
||||
high = file_entry.get("max_size")
|
||||
exact = f" or [{','.join(str(s) for s in sorted(allowed))}]" if allowed else ""
|
||||
if low is not None and candidate_size < low:
|
||||
return f"size too small: min {low}, got {candidate_size}"
|
||||
return f"size too small: min {low}{exact}, got {candidate_size}"
|
||||
if high is not None and candidate_size > high:
|
||||
return f"size too large: max {high}, got {candidate_size}"
|
||||
multiple = file_entry.get("size_multiple")
|
||||
return f"size too large: max {high}{exact}, got {candidate_size}"
|
||||
if multiple and candidate_size % int(multiple):
|
||||
return f"size mismatch: got {candidate_size}, accepted multiples of {multiple}"
|
||||
return f"size mismatch: got {candidate_size}, accepted multiples of {multiple}{exact}"
|
||||
return None
|
||||
|
||||
|
||||
|
||||
@@ -2,10 +2,12 @@
|
||||
|
||||
from __future__ import annotations
|
||||
|
||||
from core.memo import DerivedView
|
||||
from resolve.validation import read_by_build
|
||||
|
||||
|
||||
_directory_members_cache: dict[int, tuple[dict, dict[str, dict[str, str]]]] = {}
|
||||
# The members found under each tail, kept per by_path_suffix index.
|
||||
_directory_members_cache: DerivedView[dict[str, dict[str, str]]] = DerivedView(lambda _index: {})
|
||||
|
||||
|
||||
def directory_members(db: dict, directory: str) -> dict[str, str]:
|
||||
@@ -24,12 +26,9 @@ def directory_members(db: dict, directory: str) -> dict[str, str]:
|
||||
if not tail:
|
||||
return {}
|
||||
by_path_suffix = db.get("indexes", {}).get("by_path_suffix", {})
|
||||
cached = _directory_members_cache.get(id(by_path_suffix))
|
||||
if cached is None or cached[0] is not by_path_suffix:
|
||||
cached = (by_path_suffix, {})
|
||||
_directory_members_cache[id(by_path_suffix)] = cached
|
||||
if tail in cached[1]:
|
||||
return cached[1][tail]
|
||||
found = _directory_members_cache(by_path_suffix)
|
||||
if tail in found:
|
||||
return found[tail]
|
||||
|
||||
prefix = f"{tail}/"
|
||||
infix = f"/{prefix}"
|
||||
@@ -54,7 +53,7 @@ def directory_members(db: dict, directory: str) -> dict[str, str]:
|
||||
if one_tree and one_content
|
||||
else {}
|
||||
)
|
||||
cached[1][tail] = members
|
||||
found[tail] = members
|
||||
return members
|
||||
|
||||
|
||||
|
||||
@@ -23,7 +23,7 @@ from dataclasses import dataclass
|
||||
from core.hashing import HASH_FIELDS, declared_hashes
|
||||
from model.database import record_at
|
||||
from model.declarations import CONFIGS_ROOT, ROMS_ROOT, declared_root, declared_slot, outer_layout
|
||||
from model.profiles import lists_files, profile_names
|
||||
from model.profiles import lists_files, platform_builds, profile_names
|
||||
from resolve.content import name_match_size_ok
|
||||
from resolve.localfile import resolve_local_file
|
||||
from core.paths import comparable_destination, sanitize_pack_path
|
||||
@@ -435,8 +435,7 @@ def _named_profiles(record: dict, profiles: Mapping[str, dict], platform: str) -
|
||||
key for key, profile in profiles.items()
|
||||
if lists_files(profile) and part in profile_names(key, profile)
|
||||
]
|
||||
own = [k for k in named if platform in (profiles[k].get("built_by") or [])]
|
||||
found.extend(own or [k for k in named if not profiles[k].get("built_by")])
|
||||
found.extend(platform_builds(named, profiles, platform))
|
||||
return sorted(set(found))
|
||||
|
||||
|
||||
|
||||
@@ -10,7 +10,7 @@ from collections.abc import Iterator
|
||||
from dataclasses import dataclass
|
||||
from typing import Any
|
||||
|
||||
from core.hashing import cut_md5_owner, md5_composite, parse_md5_list
|
||||
from core.hashing import cut_md5_owner, md5_composite, parse_hash_list
|
||||
from core.memo import DerivedView
|
||||
from core.ziptools import check_inside_zip
|
||||
from model.database import get_mame_clone_map
|
||||
@@ -339,7 +339,7 @@ def held_record_for(file_entry: dict, db: dict) -> str | None:
|
||||
by_md5 = indexes.get("by_md5", {})
|
||||
md5_list = [
|
||||
(cut_md5_owner(value, by_md5) or value) if len(value) < 32 else value
|
||||
for value in parse_md5_list(file_entry.get("md5"))
|
||||
for value in parse_hash_list(file_entry.get("md5"))
|
||||
]
|
||||
q = _lookup(
|
||||
file_entry, db, "", md5_list,
|
||||
@@ -1026,7 +1026,7 @@ def resolve_local_file(
|
||||
file_entry, db, zip_contents, dest_hint,
|
||||
depth=_depth, data_dir_registry=data_dir_registry,
|
||||
)
|
||||
md5_list = parse_md5_list(file_entry.get("md5"))
|
||||
md5_list = parse_hash_list(file_entry.get("md5"))
|
||||
by_md5 = db.get("indexes", {}).get("by_md5", {})
|
||||
# A value cut short stands for the one held md5 it starts, and only
|
||||
# then (cut_md5_owner): the dump it names is still name-guarded below.
|
||||
|
||||
@@ -7,21 +7,21 @@ and the offline switch that forbids reaching for the network."""
|
||||
from __future__ import annotations
|
||||
|
||||
import contextlib
|
||||
import hashlib
|
||||
import http.client
|
||||
import os
|
||||
import re
|
||||
import urllib.error
|
||||
import urllib.request
|
||||
from collections.abc import Iterator
|
||||
from pathlib import Path
|
||||
|
||||
from core import upstream
|
||||
from model.database import record_at, record_for_hash
|
||||
from model.largefiles import fetch_large_file
|
||||
from core.hashing import HASH_FIELDS, parse_hash_list
|
||||
from core.hashing import declared_hash_lists, file_digest
|
||||
from resolve.content import declared_hash_verdict
|
||||
from resolve.localfile import resolution_is_hash_exact, resolve_local_file
|
||||
from core.paths import REPO_ROOT, declared_destination
|
||||
from core.ziptools import readable_zip_member_crcs
|
||||
from core.ziptools import is_archive_path, readable_zip_member_crcs
|
||||
from resolve.validation import inner_rom_check
|
||||
# CLI-wide network policy. Public helpers can override it explicitly, while
|
||||
# every CLI mode inherits --offline (including large-file release fallback).
|
||||
@@ -58,53 +58,40 @@ def download_external(
|
||||
"""Download a `storage: external` file, verify its hash, write dest_path.
|
||||
|
||||
The run's network policy applies: under --offline nothing is fetched and
|
||||
the entry stays missing, as verify reports it. The body is streamed to
|
||||
dest_path and hashed on the way, and removed when the hash disagrees.
|
||||
the entry stays missing, as verify reports it. core.upstream.download
|
||||
streams the body to a scratch beside dest_path, retried on a transient
|
||||
failure, and dest_path is written only once the scratch hashes to the
|
||||
declared value.
|
||||
"""
|
||||
url = file_entry.get("source_url")
|
||||
if not url:
|
||||
return False
|
||||
name = file_entry.get("name", url)
|
||||
declared = next(
|
||||
(
|
||||
(algo, str(file_entry[algo]).lower())
|
||||
for algo in ("sha256", "sha1", "md5")
|
||||
if file_entry.get(algo)
|
||||
),
|
||||
None,
|
||||
)
|
||||
# The strongest field declared, every value it accepts: a stringified
|
||||
# list or a comma-joined field matched no digest at all.
|
||||
declared = next(iter(declared_hash_lists(file_entry, ("sha256", "sha1", "md5")).items()), None)
|
||||
if declared is None:
|
||||
print(f" WARNING: no hash for {name}, skipping unverifiable download")
|
||||
return False
|
||||
if OFFLINE if offline is None else offline:
|
||||
print(f" WARNING: {name} is external and the run is offline, not fetched")
|
||||
return False
|
||||
algo, expected = declared
|
||||
digest = hashlib.new(algo)
|
||||
algo, expected = declared[0], set(declared[1])
|
||||
Path(dest_path).parent.mkdir(parents=True, exist_ok=True)
|
||||
try:
|
||||
req = urllib.request.Request(url, headers={"User-Agent": "retrobios-pack-gen/1.0"})
|
||||
with urllib.request.urlopen(req, timeout=120) as resp, open(dest_path, "wb") as out:
|
||||
for chunk in iter(lambda: resp.read(1 << 20), b""):
|
||||
digest.update(chunk)
|
||||
out.write(chunk)
|
||||
except (urllib.error.URLError, OSError) as exc:
|
||||
served = upstream.download(
|
||||
url, dest_path, timeout=120, user_agent="retrobios-pack-gen/1.0",
|
||||
accept=lambda scratch: file_digest(Path(scratch), algo) in expected,
|
||||
)
|
||||
except (urllib.error.URLError, OSError, http.client.HTTPException,
|
||||
upstream.UpstreamError, ValueError) as exc:
|
||||
print(f" WARNING: Failed to download {url}: {exc}")
|
||||
Path(dest_path).unlink(missing_ok=True)
|
||||
return False
|
||||
if digest.hexdigest() != expected:
|
||||
if served is None:
|
||||
print(f" WARNING: {algo.upper()} mismatch for {name}")
|
||||
Path(dest_path).unlink(missing_ok=True)
|
||||
return False
|
||||
return True
|
||||
|
||||
def _declared_hashes(file_entry: dict) -> dict[str, list[str]]:
|
||||
return {
|
||||
field: parse_hash_list(file_entry.get(field))
|
||||
for field in HASH_FIELDS
|
||||
}
|
||||
|
||||
|
||||
def _verified_asset(
|
||||
name: str, declared: dict[str, list[str]], file_entry: dict, offline: bool
|
||||
) -> str | None:
|
||||
@@ -115,8 +102,8 @@ def _verified_asset(
|
||||
entry declares, sha256 and crc32 included.
|
||||
"""
|
||||
attempts = (
|
||||
[(sha1, "") for sha1 in declared["sha1"]]
|
||||
or [("", md5) for md5 in declared["md5"]]
|
||||
[(sha1, "") for sha1 in declared.get("sha1", [])]
|
||||
or [("", md5) for md5 in declared.get("md5", [])]
|
||||
or [("", "")]
|
||||
)
|
||||
for sha1, md5 in attempts:
|
||||
@@ -127,11 +114,11 @@ def _verified_asset(
|
||||
continue
|
||||
verdict = declared_hash_verdict(
|
||||
cached,
|
||||
has_strong_hash=any(declared.values()),
|
||||
sha1_candidates=set(declared["sha1"]),
|
||||
sha256_candidates=set(declared["sha256"]),
|
||||
md5_list=declared["md5"],
|
||||
crc_candidates=set(declared["crc32"]),
|
||||
has_strong_hash=bool(declared),
|
||||
sha1_candidates=set(declared.get("sha1", [])),
|
||||
sha256_candidates=set(declared.get("sha256", [])),
|
||||
md5_list=declared.get("md5", []),
|
||||
crc_candidates=set(declared.get("crc32", [])),
|
||||
zipped_file=file_entry.get("zipped_file"),
|
||||
declared_size=file_entry.get("size"),
|
||||
file_entry=file_entry,
|
||||
@@ -164,10 +151,10 @@ def pending_release_asset(
|
||||
name = file_entry.get("name", "")
|
||||
if not name or name.endswith("/") or file_entry.get("type") == "directory":
|
||||
return None
|
||||
declared = _declared_hashes(file_entry)
|
||||
if file_entry.get("unsourceable") and not any(declared.values()):
|
||||
declared = declared_hash_lists(file_entry)
|
||||
if file_entry.get("unsourceable") and not declared:
|
||||
return None
|
||||
if file_entry.get("zipped_file") and not any(declared.values()):
|
||||
if file_entry.get("zipped_file") and not declared:
|
||||
return None
|
||||
if registered is None:
|
||||
registered = load_registered_paths()
|
||||
@@ -182,7 +169,7 @@ def pending_release_asset(
|
||||
if isinstance(declared_size, int) and record.get("size") != declared_size:
|
||||
continue
|
||||
if all(
|
||||
not values or str(record.get(field, "")).lower() in values
|
||||
str(record.get(field, "")).lower() in values
|
||||
for field, values in declared.items()
|
||||
):
|
||||
return path
|
||||
@@ -353,8 +340,8 @@ def resolve_file(
|
||||
# A tree the collection does not hold is missing, as verify says,
|
||||
# since the asset store holds files, not trees.
|
||||
return (path, status) if path else (None, "not_found")
|
||||
declared = _declared_hashes(file_entry)
|
||||
if file_entry.get("unsourceable") and not any(declared.values()):
|
||||
declared = declared_hash_lists(file_entry)
|
||||
if file_entry.get("unsourceable") and not declared:
|
||||
# The asset store is addressed by file name: with no hash to check,
|
||||
# it would hand back the same-named file of another game, which is
|
||||
# exactly what the flag forbids.
|
||||
@@ -438,7 +425,7 @@ def _archive_choice(
|
||||
# that answers one of them (adam_fdc.zip: a one-member MAME set
|
||||
# answered first, the eight-member set sat beside it).
|
||||
def accepted(path: str | None) -> int:
|
||||
if not path or not path.endswith(".zip"):
|
||||
if not path or not is_archive_path(path):
|
||||
return -1
|
||||
return sum(inner_rom_check(fe, path) == "ok" for fe in members)
|
||||
|
||||
|
||||
@@ -23,11 +23,6 @@ from model.systems import norm_system_id
|
||||
from core.paths import REPO_ROOT
|
||||
|
||||
|
||||
def hash_values(entry: dict, field_name: str) -> list[str]:
|
||||
"""Return a hash field as a list, whatever shape it was written in."""
|
||||
return parse_hash_list(entry.get(field_name))
|
||||
|
||||
|
||||
def checked_hashes(entry: dict | None) -> dict | None:
|
||||
"""The truth entry with only the hashes its code checks.
|
||||
|
||||
@@ -57,8 +52,8 @@ def checked_hashes(entry: dict | None) -> dict | None:
|
||||
kinds = {str(k) for k in raw}
|
||||
else:
|
||||
kinds = {str(raw)}
|
||||
checked = [f for f in HASH_FIELDS if f in kinds and hash_values(entry, f)]
|
||||
if checked and all(len(set(hash_values(entry, f))) == 1 for f in checked):
|
||||
checked = [f for f in HASH_FIELDS if f in kinds and parse_hash_list(entry.get(f))]
|
||||
if checked and all(len(set(parse_hash_list(entry.get(f)))) == 1 for f in checked):
|
||||
return entry
|
||||
return {k: v for k, v in entry.items() if k not in HASH_FIELDS or k in kinds}
|
||||
|
||||
@@ -116,7 +111,7 @@ def is_placeholder(name: str) -> bool:
|
||||
|
||||
|
||||
def _field_sets(entry: dict | None) -> dict[str, set[str]]:
|
||||
return {f: set(hash_values(entry or {}, f)) for f in HASH_FIELDS}
|
||||
return {f: set(parse_hash_list((entry or {}).get(f))) for f in HASH_FIELDS}
|
||||
|
||||
|
||||
def single_size(value: int | str | list[int | str]) -> int | None:
|
||||
@@ -206,9 +201,9 @@ class NativeFile:
|
||||
rejects a file will reject it whatever the platform declares.
|
||||
"""
|
||||
if field_name == "md5" and self.composite_md5:
|
||||
return hash_values(self.platform or {}, field_name)
|
||||
truth_values = hash_values(self._checked_truth, field_name)
|
||||
platform_values = hash_values(self.platform or {}, field_name)
|
||||
return parse_hash_list((self.platform or {}).get(field_name))
|
||||
truth_values = parse_hash_list(self._checked_truth.get(field_name))
|
||||
platform_values = parse_hash_list((self.platform or {}).get(field_name))
|
||||
source = self._identity_source()
|
||||
if source == "platform":
|
||||
return platform_values
|
||||
@@ -242,11 +237,11 @@ class NativeFile:
|
||||
is written when it names one value, which is then that dump's.
|
||||
"""
|
||||
if field_name == "md5" and self.composite_md5:
|
||||
values = hash_values(self.platform or {}, field_name)
|
||||
values = parse_hash_list((self.platform or {}).get(field_name))
|
||||
return values[0] if values else ""
|
||||
source = self._identity_source()
|
||||
truth_values = hash_values(self._checked_truth, field_name)
|
||||
platform_values = hash_values(self.platform or {}, field_name)
|
||||
truth_values = parse_hash_list(self._checked_truth.get(field_name))
|
||||
platform_values = parse_hash_list((self.platform or {}).get(field_name))
|
||||
if source == "truth":
|
||||
return truth_values[0] if truth_values else ""
|
||||
if source == "platform" or not truth_values:
|
||||
@@ -531,8 +526,8 @@ def _correct_matched(matched: NativeFile, truth_entry: dict, report: Report) ->
|
||||
report.hashes_corrected.append(
|
||||
f"{matched.native_system}/{matched.name} {field_name}"
|
||||
)
|
||||
elif hash_values(checked, field_name) and not hash_values(
|
||||
comparable(matched.platform), field_name
|
||||
elif parse_hash_list(checked.get(field_name)) and not parse_hash_list(
|
||||
comparable(matched.platform).get(field_name)
|
||||
):
|
||||
matched.filled.append(field_name)
|
||||
t_req = truth_entry.get("required")
|
||||
|
||||
+13
-11
@@ -15,7 +15,8 @@ try:
|
||||
except ImportError:
|
||||
yaml = None
|
||||
|
||||
from core.hashing import compute_hashes, parse_hash_list, parse_md5_list, stream_hashes
|
||||
from core.hashing import compute_hashes, parse_hash_list, stream_hashes
|
||||
from core.memo import DerivedView
|
||||
from model.nodedup import in_nodedup_dir
|
||||
from model.platforms import load_platform_config
|
||||
from model.profiles import load_emulator_profiles
|
||||
@@ -179,7 +180,7 @@ def load_platform_hashes(platforms_dir: str, db: dict | None = None) -> dict:
|
||||
for system_id, system in config.get("systems", {}).items():
|
||||
for file_entry in system.get("files", []):
|
||||
sha1s = parse_hash_list(file_entry.get("sha1"))
|
||||
md5s = parse_md5_list(file_entry.get("md5"))
|
||||
md5s = parse_hash_list(file_entry.get("md5"))
|
||||
sha256s = parse_hash_list(file_entry.get("sha256"))
|
||||
known["sha1"].update(sha1s)
|
||||
known["md5"].update(md5s)
|
||||
@@ -846,19 +847,20 @@ def placement(
|
||||
return Placement(tuple(sorted(homes)))
|
||||
|
||||
|
||||
_HELD_DIRECTORIES: dict[int, frozenset[str]] = {}
|
||||
def _directories_of(files: dict) -> frozenset[str]:
|
||||
return frozenset(
|
||||
path.rsplit("/", 1)[0] + "/"
|
||||
for record in files.values()
|
||||
if "/" in (path := record.get("path") or "") and "/.variants/" not in path
|
||||
)
|
||||
|
||||
|
||||
_held_view = DerivedView(_directories_of)
|
||||
|
||||
|
||||
def _held_directories(db: dict | None) -> frozenset[str]:
|
||||
"""Every directory a file of the database sits in, .variants/ aside."""
|
||||
key = id(db)
|
||||
if key not in _HELD_DIRECTORIES:
|
||||
_HELD_DIRECTORIES[key] = frozenset(
|
||||
path.rsplit("/", 1)[0] + "/"
|
||||
for record in (db or {}).get("files", {}).values()
|
||||
if "/" in (path := record.get("path") or "") and "/.variants/" not in path
|
||||
)
|
||||
return _HELD_DIRECTORIES[key]
|
||||
return _held_view((db or {}).get("files", {}))
|
||||
|
||||
|
||||
def _directory_tail(db: dict | None, directory: str) -> str:
|
||||
|
||||
+23
-17
@@ -472,32 +472,38 @@ def _archives_not_members(files: list[dict]) -> list[dict]:
|
||||
return out
|
||||
|
||||
|
||||
def _sizes(entry: dict) -> tuple[set[int] | None, int | None, int | None]:
|
||||
"""The sizes an entry admits: exact values, then a min and a max."""
|
||||
def _sizes(entry: dict) -> tuple[set[int], tuple[int, float] | None]:
|
||||
"""The sizes an entry admits: exact values, then its window or None.
|
||||
|
||||
An entry that declares no size at all admits every size, an unbounded
|
||||
window. Exact sizes alone leave no window (size_refusal).
|
||||
"""
|
||||
raw = entry.get("size")
|
||||
values = raw if isinstance(raw, list) else [raw]
|
||||
exact = {int(v) for v in values if isinstance(v, int) and not isinstance(v, bool)}
|
||||
low, high = entry.get("min_size"), entry.get("max_size")
|
||||
return (exact or None,
|
||||
low if isinstance(low, int) else None,
|
||||
high if isinstance(high, int) else None)
|
||||
low = low if isinstance(low, int) else None
|
||||
high = high if isinstance(high, int) else None
|
||||
if low is None and high is None:
|
||||
return exact, None if exact else (0, float("inf"))
|
||||
return exact, (low or 0, float("inf") if high is None else high)
|
||||
|
||||
|
||||
def _sizes_clash(a: dict, b: dict) -> bool:
|
||||
"""No size both entries admit, lists and ranges included."""
|
||||
exact_a, low_a, high_a = _sizes(a)
|
||||
exact_b, low_b, high_b = _sizes(b)
|
||||
"""No size both entries admit, lists and windows included."""
|
||||
exact_a, window_a = _sizes(a)
|
||||
exact_b, window_b = _sizes(b)
|
||||
|
||||
def fits(value: int, low: int | None, high: int | None) -> bool:
|
||||
return (low is None or value >= low) and (high is None or value <= high)
|
||||
def inside(value: int, window: tuple[int, float] | None) -> bool:
|
||||
return window is not None and window[0] <= value <= window[1]
|
||||
|
||||
if exact_a and exact_b:
|
||||
return not exact_a & exact_b
|
||||
if exact_a:
|
||||
return not any(fits(v, low_b, high_b) for v in exact_a)
|
||||
if exact_b:
|
||||
return not any(fits(v, low_a, high_a) for v in exact_b)
|
||||
return False
|
||||
if exact_a & exact_b:
|
||||
return False
|
||||
if any(inside(v, window_b) for v in exact_a) or any(inside(v, window_a) for v in exact_b):
|
||||
return False
|
||||
if window_a and window_b:
|
||||
return max(window_a[0], window_b[0]) > min(window_a[1], window_b[1])
|
||||
return True
|
||||
|
||||
|
||||
def _identity(entry: dict, db: dict | None) -> dict:
|
||||
|
||||
@@ -23,10 +23,11 @@ from resolve.content import (
|
||||
size_refusal,
|
||||
)
|
||||
from resolve.archives import archive_members
|
||||
from model.database import records_for_hash
|
||||
from model.profiles import CONTENT_CHECKS, entry_system_ids, lists_files
|
||||
from core.hashing import compute_hashes, parse_hash_list
|
||||
from core.paths import BIOS_DIR, sanitize_pack_path
|
||||
from core.hashing import lists_hashes, md5_composite, parse_md5_list
|
||||
from core.hashing import lists_hashes, md5_composite
|
||||
from resolve.nativemode import SIZE_AND_ANY_HASH, digest_algorithm, hash_mismatch_excludes_file
|
||||
from core.ziptools import check_inside_zip, check_inside_zip_data
|
||||
|
||||
@@ -791,7 +792,7 @@ def _platform_accepted(file_entry: dict, platform_digest: str) -> set[str]:
|
||||
"""The values of the digest the frontend compares that the entry declares."""
|
||||
declared = file_entry.get(platform_digest) or ""
|
||||
if platform_digest == "md5":
|
||||
return set(parse_md5_list(declared))
|
||||
return set(parse_hash_list(declared))
|
||||
if isinstance(declared, str) and declared:
|
||||
return {declared.lower()}
|
||||
if isinstance(declared, list):
|
||||
@@ -799,23 +800,18 @@ def _platform_accepted(file_entry: dict, platform_digest: str) -> set[str]:
|
||||
return set()
|
||||
|
||||
|
||||
def _variant_candidates(expected: dict, indexes: dict, fname: str) -> Iterator[str]:
|
||||
"""The sha1 of each held file that may stand for a name, best evidence first."""
|
||||
def _variant_candidates(expected: dict, db: dict, fname: str) -> Iterator[str]:
|
||||
"""The sha1 of each held file that may stand for a name, best evidence first.
|
||||
|
||||
Any one accepted value names a candidate: the index merges what several
|
||||
emulators accept, and their own checks then judge each file.
|
||||
"""
|
||||
# Sorted: the index holds sets, whose order follows the per-process
|
||||
# string hash, and the first passing candidate is the one shipped.
|
||||
for hash_type, index_key in (
|
||||
("sha1", None), ("md5", "by_md5"), ("crc32", "by_crc32"), ("sha256", "by_sha256"),
|
||||
):
|
||||
for hash_type in ("sha1", "md5", "crc32", "sha256"):
|
||||
for value in sorted(expected.get(hash_type) or []):
|
||||
if index_key is None:
|
||||
yield value
|
||||
continue
|
||||
found = indexes.get(index_key, {}).get(value)
|
||||
if isinstance(found, str):
|
||||
yield found
|
||||
elif isinstance(found, list):
|
||||
yield from found
|
||||
yield from indexes.get("by_name", {}).get(fname, [])
|
||||
yield from records_for_hash(db, hash_type, value)
|
||||
yield from db.get("indexes", {}).get("by_name", {}).get(fname, [])
|
||||
|
||||
|
||||
def find_validated_variant(
|
||||
@@ -848,11 +844,10 @@ def find_validated_variant(
|
||||
accepted = _platform_accepted(file_entry, platform_digest)
|
||||
|
||||
files_db = db.get("files", {})
|
||||
indexes = db.get("indexes", {})
|
||||
current_real = os.path.realpath(current_path)
|
||||
seen: set[str] = set()
|
||||
|
||||
for sha1 in _variant_candidates(validation_index[fname], indexes, fname):
|
||||
for sha1 in _variant_candidates(validation_index[fname], db, fname):
|
||||
entry = files_db.get(sha1) or {}
|
||||
path = entry.get("path", "")
|
||||
if not path or not os.path.exists(path):
|
||||
@@ -964,7 +959,7 @@ def digest_verdict(
|
||||
if file_entry.get(field)
|
||||
)
|
||||
if algorithm == "md5":
|
||||
declared = parse_md5_list(file_entry.get("md5"))
|
||||
declared = parse_hash_list(file_entry.get("md5"))
|
||||
else:
|
||||
value = file_entry.get(algorithm)
|
||||
values = value if isinstance(value, list) else [value]
|
||||
@@ -1011,7 +1006,7 @@ def inner_rom_data_check(file_entry: dict, data: bytes) -> str:
|
||||
def _first_accepted_md5(file_entry: dict, check: Callable[[str], str]) -> str:
|
||||
# With no md5 declared, checkInsideZip still runs and needs the member.
|
||||
result = "not_in_zip"
|
||||
for candidate in parse_md5_list(file_entry.get("md5")) or [""]:
|
||||
for candidate in parse_hash_list(file_entry.get("md5")) or [""]:
|
||||
result = check(candidate)
|
||||
if result == "ok":
|
||||
break
|
||||
@@ -1228,8 +1223,10 @@ def core_size_refusal(
|
||||
if sized:
|
||||
tests = sorted({check for entry in sized for check in declared_content_checks(entry)})
|
||||
return f"the core's {', '.join(tests)} test turns it away"
|
||||
bounds = (
|
||||
f"{file_entry['size']}" if file_entry.get("size") is not None
|
||||
else f"{file_entry.get('min_size', 0)} to {file_entry.get('max_size', 'any')}"
|
||||
)
|
||||
return f"{size} bytes, the core checks for {bounds}"
|
||||
declared = file_entry.get("size")
|
||||
bounds = [] if declared is None else [str(declared)]
|
||||
multiple = file_entry.get("size_multiple")
|
||||
if multiple or any(file_entry.get(k) is not None for k in ("min_size", "max_size")):
|
||||
window = f"{file_entry.get('min_size', 0)} to {file_entry.get('max_size', 'any')}"
|
||||
bounds.append(f"{window} in multiples of {multiple}" if multiple else window)
|
||||
return f"{size} bytes, the core checks for {' or '.join(bounds)}"
|
||||
@@ -3,14 +3,13 @@
|
||||
from __future__ import annotations
|
||||
|
||||
import os
|
||||
import zipfile
|
||||
from dataclasses import dataclass, field
|
||||
from pathlib import Path
|
||||
|
||||
from core.hashing import compute_hashes
|
||||
from core.paths import REPO_ROOT
|
||||
from core.torrentzip import write_torrentzip, zlib_ng_version
|
||||
from core.ziptools import is_archive_path
|
||||
from core.ziptools import is_archive_path, zip_members
|
||||
from romrecipes.members import member_sha1, member_opener
|
||||
|
||||
|
||||
@@ -74,12 +73,9 @@ class BuildResult:
|
||||
def _members_match(built: Path, members: list[dict]) -> str:
|
||||
"""Empty when *built* holds exactly *members*, else what differs."""
|
||||
expected = sorted((m["name"], m["size"], m["crc32"], m["sha1"]) for m in members)
|
||||
with zipfile.ZipFile(built) as archive:
|
||||
names = [info.filename for info in archive.infolist() if not info.is_dir()]
|
||||
sizes = {info.filename: info.file_size for info in archive.infolist()}
|
||||
crcs = {info.filename: f"{info.CRC:08x}" for info in archive.infolist()}
|
||||
held = sorted(
|
||||
(name, sizes[name], crcs[name], member_sha1(built, name)) for name in names
|
||||
(member.name, member.size, member.crc32, member_sha1(built, member.name))
|
||||
for member in zip_members(built)
|
||||
)
|
||||
if held == expected:
|
||||
return ""
|
||||
|
||||
@@ -9,6 +9,7 @@ from collections import defaultdict
|
||||
from pathlib import Path
|
||||
|
||||
from core.torrentzip import is_torrentzip
|
||||
from core.ziptools import zip_members
|
||||
from romrecipes.pins import container_entries
|
||||
from romrecipes.pool import AtomPool
|
||||
from romrecipes.romsets import Recipe
|
||||
@@ -39,11 +40,7 @@ def identify_archive(
|
||||
def _member_list(path: Path) -> list[tuple[str, str]] | None:
|
||||
"""Sorted (name, crc32) of an archive's members, from its directory."""
|
||||
try:
|
||||
with zipfile.ZipFile(path) as archive:
|
||||
return sorted(
|
||||
(info.filename, format(info.CRC, "08x"))
|
||||
for info in archive.infolist() if not info.is_dir()
|
||||
)
|
||||
return sorted((member.name, member.crc32) for member in zip_members(path))
|
||||
except (zipfile.BadZipFile, OSError) as exc:
|
||||
print(f" UNREADABLE: {path}: {exc}", file=sys.stderr)
|
||||
return None
|
||||
@@ -84,10 +81,10 @@ def _is_archive(path: Path) -> bool:
|
||||
ROM, not an archive. Recipes only describe archives.
|
||||
"""
|
||||
try:
|
||||
with zipfile.ZipFile(path):
|
||||
return True
|
||||
zip_members(path)
|
||||
except (OSError, zipfile.BadZipFile):
|
||||
return False
|
||||
return True
|
||||
|
||||
|
||||
def _local_paths(archive: str, db: dict) -> list[Path]:
|
||||
|
||||
@@ -10,7 +10,7 @@ from pathlib import Path
|
||||
|
||||
from core.paths import REPO_ROOT
|
||||
from core.torrentzip import build_torrentzip
|
||||
from core.ziptools import is_archive_path
|
||||
from core.ziptools import is_archive_path, zip_members
|
||||
from romrecipes.romsets import Recipe
|
||||
|
||||
|
||||
@@ -42,12 +42,8 @@ class AtomPool:
|
||||
archives = (p for p in bios_dir.rglob("*") if is_archive_path(p.name) and p.is_file())
|
||||
for archive in sorted(archives, key=lambda p: (".variants" in p.parts, p)):
|
||||
try:
|
||||
with zipfile.ZipFile(archive) as handle:
|
||||
for info in handle.infolist():
|
||||
if not info.is_dir():
|
||||
self._index.setdefault(
|
||||
f"{info.CRC:08x}", (archive, info.filename)
|
||||
)
|
||||
for member in zip_members(archive):
|
||||
self._index.setdefault(member.crc32, (archive, member.name))
|
||||
except (OSError, zipfile.BadZipFile) as exc:
|
||||
self.unreadable.append(f"{archive}: {exc}")
|
||||
# Loose ROMs, by the crc32 the database already computed: nmk004.zip
|
||||
|
||||
@@ -18,6 +18,7 @@ from typing import Any
|
||||
from model.profiles import PROFILE_BACKUP_SUFFIX
|
||||
from core.artifacts import write_text_atomic
|
||||
from model.safeparse import yaml_load
|
||||
from model.sources import source_yaml_file
|
||||
|
||||
|
||||
_MAME_RELEASE_RE = re.compile(r"^0\.\d+")
|
||||
@@ -350,8 +351,7 @@ def _diff_fbneo(
|
||||
|
||||
|
||||
def _load_yaml(path: str) -> dict[str, Any]:
|
||||
with open(path, encoding="utf-8") as f:
|
||||
return yaml_load(f) or {}
|
||||
return source_yaml_file(path) or {}
|
||||
|
||||
|
||||
def _load_json(path: str) -> dict[str, Any]:
|
||||
|
||||
@@ -59,7 +59,8 @@ from core.upstream import parse_repo
|
||||
from .base_scraper import BlobMismatchError, download, fetch_verified_blob
|
||||
from .clex import DriverSourceError, blank_comments, call_args, call_span
|
||||
from .listxml import Opener, attrs, iter_elements, open_listxml, rom_members
|
||||
from .romset_dat_importer import MAME_LISTXML_URL, _api_json, fetch_pack, mame_tag
|
||||
from model.mamerelease import mame_tag
|
||||
from .romset_dat_importer import MAME_LISTXML_URL, _api_json, fetch_pack
|
||||
|
||||
SCHEMA_VERSION = 1
|
||||
DEFAULT_OUTPUT = Path("games") / "arcade"
|
||||
|
||||
@@ -3,6 +3,7 @@
|
||||
from __future__ import annotations
|
||||
|
||||
import argparse
|
||||
import contextlib
|
||||
import http.client
|
||||
import inspect
|
||||
import json
|
||||
@@ -14,20 +15,24 @@ import urllib.request
|
||||
from abc import ABC, abstractmethod
|
||||
from dataclasses import dataclass, field
|
||||
from pathlib import Path
|
||||
from typing import Any, Callable, NoReturn, TypeVar
|
||||
from typing import Any, Callable, Iterator, NoReturn, TypeVar
|
||||
|
||||
from core.github import github_token
|
||||
from core.artifacts import copy_stream_atomic, write_text_atomic
|
||||
from core.artifacts import write_text_atomic
|
||||
from core.hashing import git_blob_sha
|
||||
from core.upstream import (
|
||||
MAX_RESPONSE_SIZE,
|
||||
RateLimitError,
|
||||
UpstreamError,
|
||||
make_repo,
|
||||
open_retrying,
|
||||
read_limited,
|
||||
resolve_head,
|
||||
)
|
||||
from core.upstream import download as upstream_download
|
||||
from core.upstream import forge_headers as upstream_headers
|
||||
from model.safeparse import require_yaml, yaml_load
|
||||
from model.safeparse import require_yaml
|
||||
from model.sources import source_yaml_file
|
||||
|
||||
try:
|
||||
import yaml
|
||||
@@ -174,6 +179,21 @@ def github_headers() -> dict[str, str]:
|
||||
return forge_headers(GITHUB_API, "application/vnd.github.v3+json")
|
||||
|
||||
|
||||
@contextlib.contextmanager
|
||||
def _fetch_errors(url: str) -> Iterator[None]:
|
||||
"""Raise what a request to `url` failed with as FetchError."""
|
||||
try:
|
||||
yield
|
||||
except urllib.error.HTTPError as e:
|
||||
raise FetchError(url, e, e.code) from e
|
||||
except (urllib.error.URLError, http.client.HTTPException, OSError) as e:
|
||||
raise FetchError(url, e) from e
|
||||
except RateLimitError as e:
|
||||
raise FetchError(url, e, 429) from e
|
||||
except UpstreamError as e:
|
||||
raise FetchError(url, e) from e
|
||||
|
||||
|
||||
def _open(
|
||||
request: urllib.request.Request,
|
||||
consume: Callable[[http.client.HTTPResponse], _T],
|
||||
@@ -186,16 +206,8 @@ def _open(
|
||||
for name, value in forge_headers(url).items():
|
||||
if not request.has_header(name.capitalize()):
|
||||
request.add_header(name, value)
|
||||
try:
|
||||
with _fetch_errors(url):
|
||||
return open_retrying(request, consume, timeout)
|
||||
except urllib.error.HTTPError as e:
|
||||
raise FetchError(url, e, e.code) from e
|
||||
except (urllib.error.URLError, http.client.HTTPException, OSError) as e:
|
||||
raise FetchError(url, e) from e
|
||||
except RateLimitError as e:
|
||||
raise FetchError(url, e, 429) from e
|
||||
except UpstreamError as e:
|
||||
raise FetchError(url, e) from e
|
||||
|
||||
|
||||
def fetch_bytes(
|
||||
@@ -245,19 +257,19 @@ def download(
|
||||
"""Stream `url` into `destination`, whole or not at all, and return the
|
||||
response's Content-Disposition ("" when absent or when skipped).
|
||||
|
||||
The bytes go through a scratch file renamed into place, so a reader or
|
||||
an interrupted run never sees half an archive. `skip_existing` keeps a
|
||||
file already there without asking the server.
|
||||
core.upstream.download does the work: a scratch file renamed into place,
|
||||
so a reader or an interrupted run never sees half an archive.
|
||||
`skip_existing` keeps a file already there without asking the server.
|
||||
A failure raises FetchError.
|
||||
"""
|
||||
if skip_existing and destination.is_file():
|
||||
return ""
|
||||
destination.parent.mkdir(parents=True, exist_ok=True)
|
||||
|
||||
def save(resp: http.client.HTTPResponse) -> str:
|
||||
copy_stream_atomic(resp, str(destination))
|
||||
return resp.headers.get("Content-Disposition", "") or ""
|
||||
|
||||
return _open(urllib.request.Request(url, headers=headers or {}), save, timeout)
|
||||
with _fetch_errors(url):
|
||||
served = upstream_download(
|
||||
url, destination, headers=headers, timeout=timeout, user_agent=SCRAPER_AGENT
|
||||
)
|
||||
return (served.get("Content-Disposition", "") if served is not None else "") or ""
|
||||
|
||||
|
||||
class BlobMismatchError(ValueError):
|
||||
@@ -499,18 +511,27 @@ class BaseScraper(ABC):
|
||||
...
|
||||
|
||||
|
||||
def fetch_branch_head(repo: str, branch: str) -> str:
|
||||
"""The commit a branch of a GitHub repo points at right now.
|
||||
def fetch_branch_head(repo: str, branch: str | None = None) -> str:
|
||||
"""The commit a branch or tag of a GitHub repo points at right now, the
|
||||
default branch when none is named.
|
||||
|
||||
A platform read from a moving branch records this sha in its source URL,
|
||||
so the exporter later patches the revision the data was read from and
|
||||
not whatever the branch has become. Raises like the release lookup.
|
||||
not whatever the branch has become. core.upstream.resolve_head asks the
|
||||
forge and keeps no copy: the sha lives in the scraper's output. Raises
|
||||
RuntimeError like the release lookup.
|
||||
"""
|
||||
url = f"{GITHUB_API}/repos/{repo}/commits/{branch}"
|
||||
commit = github_json(url, f"cannot read the head of {repo}@{branch}")
|
||||
sha = commit.get("sha") if isinstance(commit, dict) else None
|
||||
owner, _, name = repo.partition("/")
|
||||
forge = make_repo("github.com", owner, name)
|
||||
ref = f"{repo}@{branch or 'default branch'}"
|
||||
if forge is None:
|
||||
raise RuntimeError(f"{ref}: not a GitHub repository")
|
||||
try:
|
||||
sha = resolve_head(forge, None, branch=branch)
|
||||
except (UpstreamError, ValueError) as e:
|
||||
raise RuntimeError(f"cannot read the head of {ref}: {e}") from e
|
||||
if not isinstance(sha, str) or not re.fullmatch(r"[0-9a-f]{40}", sha):
|
||||
raise RuntimeError(f"{repo}@{branch} answered no commit sha")
|
||||
raise RuntimeError(f"{ref} answered no commit sha")
|
||||
return sha
|
||||
|
||||
|
||||
@@ -592,8 +613,7 @@ def _keep_existing(config: dict, output_path: Path) -> None:
|
||||
"""Merge into existing YAML: preserve fields the scraper doesn't generate
|
||||
(data_directories, case_insensitive_fs, manually added metadata).
|
||||
The scraper replaces systems + files, everything else is preserved."""
|
||||
with open(output_path) as f:
|
||||
existing = yaml_load(f) or {}
|
||||
existing = source_yaml_file(output_path) or {}
|
||||
# Preserve existing keys not generated by the scraper.
|
||||
# Only keys present in the NEW config are considered scraper-generated.
|
||||
# Everything else in the existing file is preserved.
|
||||
|
||||
@@ -12,11 +12,10 @@ import ast
|
||||
import re
|
||||
import sys
|
||||
from collections.abc import Callable, Iterator
|
||||
from pathlib import Path
|
||||
|
||||
|
||||
from model.database import load_database
|
||||
from core.paths import PLATFORMS_DIR, REPO_ROOT
|
||||
from core.paths import DB_FILE, PLATFORMS_DIR, REPO_ROOT
|
||||
from model.targets import load_target_config, target_overrides
|
||||
from core.hashing import cut_md5_owner
|
||||
from model.safeparse import yaml_load_upstream
|
||||
@@ -315,7 +314,7 @@ _MD5_RE = re.compile(r"^[a-fA-F0-9]+$")
|
||||
|
||||
def _load_md5_index() -> dict[str, str]:
|
||||
"""Load by_md5 index from database.json for prefix resolution."""
|
||||
db_path = Path(__file__).resolve().parents[2] / "database.json"
|
||||
db_path = REPO_ROOT / DB_FILE
|
||||
if not db_path.exists():
|
||||
return {}
|
||||
return load_database(str(db_path)).get("indexes", {}).get("by_md5", {})
|
||||
|
||||
@@ -9,6 +9,7 @@ import urllib.error
|
||||
import urllib.parse
|
||||
|
||||
from core.upstream import remote_etag as get_remote_etag
|
||||
from core.paths import DATA_DIRS_FILE
|
||||
from model.registry import data_dir_registry_at, load_versions
|
||||
from .base_scraper import fetch_text
|
||||
|
||||
@@ -18,7 +19,6 @@ log = logging.getLogger(__name__)
|
||||
BUILDBOT_SYSTEM_URL = "https://buildbot.libretro.com/assets/system/"
|
||||
INDEX_URL = BUILDBOT_SYSTEM_URL + ".index"
|
||||
|
||||
DEFAULT_REGISTRY = "platforms/_data_dirs.yml"
|
||||
|
||||
|
||||
def fetch_index() -> set[str]:
|
||||
@@ -27,7 +27,7 @@ def fetch_index() -> set[str]:
|
||||
|
||||
|
||||
def load_tracked_entries(
|
||||
registry_path: str = DEFAULT_REGISTRY,
|
||||
registry_path: str = DATA_DIRS_FILE,
|
||||
) -> dict[str, tuple[str, str]]:
|
||||
"""Load buildbot entries from _data_dirs.yml.
|
||||
|
||||
@@ -43,7 +43,7 @@ def load_tracked_entries(
|
||||
return entries
|
||||
|
||||
|
||||
def check(registry_path: str = DEFAULT_REGISTRY) -> dict:
|
||||
def check(registry_path: str = DATA_DIRS_FILE) -> dict:
|
||||
"""Run the buildbot check. Returns structured report."""
|
||||
try:
|
||||
index_zips = fetch_index()
|
||||
|
||||
@@ -25,6 +25,8 @@ from model.platforms import load_platform_config
|
||||
from model.profiles import source_yaml_paths
|
||||
from core.artifacts import write_text_atomic
|
||||
from model.safeparse import yaml_load
|
||||
from model.sources import source_yaml_file
|
||||
from core.cli import SourceUnreadable
|
||||
|
||||
from core import upstream
|
||||
|
||||
@@ -53,7 +55,8 @@ from .mame_devices import (
|
||||
source_path,
|
||||
)
|
||||
from .listxml import open_listxml
|
||||
from .romset_dat_importer import fetch_pack, mame_tag, mame_version
|
||||
from model.mamerelease import mame_tag, mame_version
|
||||
from .romset_dat_importer import fetch_pack
|
||||
from .sparse_clone import fresh_cache, remove_clone, sparse_clone
|
||||
from .mame_parser import parse_mame_source_tree
|
||||
from core.paths import EMULATORS_DIR, PLATFORMS_DIR, REPO_ROOT
|
||||
@@ -122,8 +125,7 @@ def _find_mame_profiles() -> list[Path]:
|
||||
profiles: list[Path] = []
|
||||
for path in source_yaml_paths(_EMULATORS_DIR):
|
||||
try:
|
||||
with open(path, encoding="utf-8") as f:
|
||||
data = yaml_load(f)
|
||||
data = source_yaml_file(path)
|
||||
if not isinstance(data, dict):
|
||||
continue
|
||||
upstream = data.get("upstream", "")
|
||||
@@ -148,7 +150,7 @@ def _find_mame_profiles() -> list[Path]:
|
||||
)
|
||||
):
|
||||
profiles.append(path)
|
||||
except (yaml.YAMLError, OSError) as exc:
|
||||
except (SourceUnreadable, OSError) as exc:
|
||||
# Skipped, a broken mame.yml left the list and the refresh
|
||||
# reported success without touching it.
|
||||
raise RuntimeError(f"cannot read {path}: {exc}") from exc
|
||||
|
||||
Loaded 100 of 161 files, more files were not shown because too many files have changed in this diff.
Show more
Reference in new issue
Block a user