Merge pull request #1501 from bnnm/adm-etc

- Fix some ADM3 [Cyberpunk 2077 (PC)]
- Add HCA key
- Add .p08 extension [SoulCalibur (DC)]
This commit is contained in:
bnnm 2024-02-29 17:32:55 +01:00 committed by GitHub
commit c003ad56bb
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 9 additions and 2 deletions

View File

@ -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)]

View File

@ -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:

View File

@ -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_*/