Psarc from Kingdom Hearts HD PS4

Extraction and unpacking of game archives and compression, encryption, obfuscation, decoding of unknown files
onelight
Posts: 3
Joined: Sun Jun 17, 2018 10:56 am

Psarc from Kingdom Hearts HD PS4

Post by onelight »

Hello,

I recently dump my disc of Kingdom Hearts HD JP on ps4, and try extrac files.
I got some psarc files, after tried every tool and script, only this bms script from https://zenhax.com/viewtopic.php?f=9&t=7679 working
But the extraced files don't have proper filenames or extensions.

Here are some samples : http://www.mediafire.com/file/02245j7t6 ... psarc/file
onelight
Posts: 3
Joined: Sun Jun 17, 2018 10:56 am

Re: Psarc from Kingdom Hearts HD PS4

Post by onelight »

It looks like files have hashes as names. And the file with the name "00000000000000000000000000000000" contains the proper names for all of the files.

Image
aluigi
Site Admin
Posts: 12984
Joined: Wed Jul 30, 2014 9:32 pm

Re: Psarc from Kingdom Hearts HD PS4

Post by aluigi »

The script is perfect but this game uses an md5 hash calculated on the upper-case filename which is not like the usual "as-is" filename.
Maybe it's the flag 0x01 but I don't have enough samples to prove it so, in doubt, I opted for 3 sets of hashes: original name, uppercase, lowercase :)
Script 0.4.1:
http://aluigi.org/bms/brink.bms