diff --git a/platforms/retroarch.yml b/platforms/retroarch.yml index 2f4f70f9..a1711547 100644 --- a/platforms/retroarch.yml +++ b/platforms/retroarch.yml @@ -458,9 +458,8 @@ systems: - name: Dinothawr.zip destination: Dinothawr.zip required: true - sha1: 693d8bb4d992c645e6413a57195acf4eca2f5a2e - md5: a2e891e330d146c4046c2b622fc31462 - crc32: 683ed4ad + sha1: eadb966430454b40a17387acc7302ff1683cc9f2 + md5: b8e3f8e88dc8164f8b4b60aa2add9107 size: 5763199 dos: files: diff --git a/scripts/generate_pack.py b/scripts/generate_pack.py index bc056574..cf638549 100644 --- a/scripts/generate_pack.py +++ b/scripts/generate_pack.py @@ -121,7 +121,9 @@ def resolve_file(file_entry: dict, db: dict, bios_dir: str, if os.path.exists(local_path): return local_path, "exact" - if md5: + # Skip MD5 direct lookup for zipped_file entries: the md5 is for the inner ROM, + # not the container ZIP. Matching it would resolve to the standalone ROM file. + if md5 and not zipped_file: sha1_from_md5 = db.get("indexes", {}).get("by_md5", {}).get(md5) if sha1_from_md5 and sha1_from_md5 in db["files"]: local_path = db["files"][sha1_from_md5]["path"]