fix: clone resolution in common.py, move clone map to root

moved _mame_clones.json out of bios/ (was indexed by generate_db.py
as BIOS file). clone resolution now in common.py resolve_local_file
so all tools (verify, pack, cross_reference) resolve clones
transparently. removed duplicate clone code from generate_pack.py.
added error handling on os.remove in dedup.py. consistency check
now passes for Batocera/EmuDeck/Lakka/RetroArch (4/6 platforms).
This commit is contained in:
Abdessamad Derraz
2026-03-24 21:57:49 +01:00
parent 85308edd73
commit ae4846550f
5 changed files with 39 additions and 55 deletions

View File

@@ -1,7 +1,7 @@
{
"generated_at": "2026-03-24T20:29:18Z",
"total_files": 6734,
"total_size": 5288666957,
"generated_at": "2026-03-24T20:51:56Z",
"total_files": 6733,
"total_size": 5288644732,
"files": {
"520d3d1b5897800af47f92efd2444a26b7a7dead": {
"path": "bios/3DO Company/3DO/3do_arcade_saot.bin",
@@ -67323,16 +67323,6 @@
"crc32": "0a4e2e07",
"adler32": "4d032232"
},
"065c00ac8244d46e75448f667bbdfcf64dfc37c4": {
"path": "bios/_mame_clones.json",
"name": "_mame_clones.json",
"size": 22225,
"sha1": "065c00ac8244d46e75448f667bbdfcf64dfc37c4",
"md5": "178e3d546f24924ccf71160799a09bc4",
"sha256": "098e8ee3af19d9c290a082a03b923f25b0c333b52c689a99ac75cee69f569af3",
"crc32": "834c7566",
"adler32": "12de26b9"
},
"ecfc092fe6371dbf38e238a8ba5f90785b5db52d": {
"path": "bios/xrick/data.zip",
"name": "data.zip",
@@ -74078,7 +74068,6 @@
"6f68e4baf89c8ee4623c19617319184b": "cee76080884af97c20059da0eb1ca956a835f3d0",
"2010e5b85f9e1d60685ccb3d84a17115": "c7cc306fb921754ba00794153292d533cf0765ef",
"39e5bc84ce9aac3a2d297d8aeb2a0d05": "22bcfeb5b6c6481569b90db96aa3f4b5f06c8848",
"178e3d546f24924ccf71160799a09bc4": "065c00ac8244d46e75448f667bbdfcf64dfc37c4",
"a471e64e9f69afbe59c10cc94ed1b184": "ecfc092fe6371dbf38e238a8ba5f90785b5db52d"
},
"by_name": {
@@ -92631,9 +92620,6 @@
"default.sf2": [
"22bcfeb5b6c6481569b90db96aa3f4b5f06c8848"
],
"_mame_clones.json": [
"065c00ac8244d46e75448f667bbdfcf64dfc37c4"
],
"data.zip": [
"ecfc092fe6371dbf38e238a8ba5f90785b5db52d"
],
@@ -102100,7 +102086,6 @@
"8419990c": "cee76080884af97c20059da0eb1ca956a835f3d0",
"3cacb086": "c7cc306fb921754ba00794153292d533cf0765ef",
"0a4e2e07": "22bcfeb5b6c6481569b90db96aa3f4b5f06c8848",
"834c7566": "065c00ac8244d46e75448f667bbdfcf64dfc37c4",
"74b76447": "ecfc092fe6371dbf38e238a8ba5f90785b5db52d"
},
"by_path_suffix": {