From 65a0502d86eb5b095011b25f568a3f6d3380b134 Mon Sep 17 00:00:00 2001 From: bnnm Date: Thu, 29 Feb 2024 17:30:02 +0100 Subject: [PATCH 1/3] Fix some ADM3 [Cyberpunk 2077 (PC)] --- src/meta/adm.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/meta/adm.c b/src/meta/adm.c index 55835e5c9..4e57f41fe 100644 --- a/src/meta/adm.c +++ b/src/meta/adm.c @@ -213,8 +213,10 @@ static int parse_adm(adm_header_t* adm, STREAMFILE* sf) { /* idle engine */ offset = read_u32le(0x10c, sf); - if (!parse_type(adm, sf, offset)) goto fail; /* SMP2 */ - if (read_u32le(0x110, sf) != 1) goto fail; + if (offset != 0) { /* may not exist */ + if (!parse_type(adm, sf, offset)) goto fail; /* SMP2 */ + if (read_u32le(0x110, sf) != 1) goto fail; + } break; default: From d6b20088bb591b77608270b0f4060b25df366570 Mon Sep 17 00:00:00 2001 From: bnnm Date: Thu, 29 Feb 2024 17:30:14 +0100 Subject: [PATCH 2/3] Add HCA key --- src/meta/hca_keys.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/meta/hca_keys.h b/src/meta/hca_keys.h index 3c2182137..b279d2540 100644 --- a/src/meta/hca_keys.h +++ b/src/meta/hca_keys.h @@ -1301,6 +1301,10 @@ static const hcakey_info hcakey_list[] = { // Pachislot Valvrave (iOS) {2753732797542815}, // 009C8816134319F + + // Jujutsu Kaisen: Cursed Clash (multi) + {984703514306706654}, // DAA5EA10B547CDE + }; #endif/*_HCA_KEYS_H_*/ From 68feb2aba5b27c21a89d7a796a19987c08f157a3 Mon Sep 17 00:00:00 2001 From: bnnm Date: Thu, 29 Feb 2024 17:31:13 +0100 Subject: [PATCH 3/3] Add .p08 extension [SoulCalibur (DC)] --- src/formats.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/formats.c b/src/formats.c index 44059f801..9c9536d8e 100644 --- a/src/formats.c +++ b/src/formats.c @@ -414,6 +414,7 @@ static const char* extension_list[] = { "ovb", //txth/semi [namCollection: Tekken (PS2), Tekken 5: Tekken 1-3 (PS2)] "p04", //txth/reserved [Psychic Force 2012 (DC), Skies of Arcadia (DC)] + "p08", //txth/reserved [SoulCalibur (DC)] "p16", //txth/reserved [Astal (SAT)] "p1d", //txth/reserved [Farming Simulator 18 (3DS)] "p2a", //txth/reserved [Thunderhawk Operation Phoenix (PS2)]