Unpack KH 1.5+2.5 HD PC release

Extraction and unpacking of game archives and compression, encryption, obfuscation, decoding of unknown files
GrzybDev
Posts: 22
Joined: Fri Apr 26, 2019 10:18 am

Re: Unpack KH 1.5+2.5 HD PC release

Post by GrzybDev »

Since 2.8 uses similar or the same game archives, I'm assuming that my tool will also work on these archives (but i haven't checked it). If it doesn't work, please report issue in github or here
Dark_Ansem
Posts: 118
Joined: Thu Feb 23, 2017 10:39 am

Re: Unpack KH 1.5+2.5 HD PC release

Post by Dark_Ansem »

Yes, all games until 2.8 feature in the compilation use that structure, to an extent. But maybe encryption keys could be different.
GrzybDev
Posts: 22
Joined: Fri Apr 26, 2019 10:18 am

Re: Unpack KH 1.5+2.5 HD PC release

Post by GrzybDev »

Just quick checked, and yes my tool works even on 2.8.
They're using the same encryption keys :)
tbmq008
Posts: 62
Joined: Thu Nov 26, 2020 2:13 pm

Re: Unpack KH 1.5+2.5 HD PC release

Post by tbmq008 »

GrzybDev i don't understand all of the python code.
i'm talking about parts like these:

Code: Select all

span = array[num:num + length]
how is this even readable?
GrzybDev
Posts: 22
Joined: Fri Apr 26, 2019 10:18 am

Re: Unpack KH 1.5+2.5 HD PC release

Post by GrzybDev »

Oh, it's actually quite simple

span is all entries from array starting from index "num" and ending on index "num + length"
tbmq008
Posts: 62
Joined: Thu Nov 26, 2020 2:13 pm

Re: Unpack KH 1.5+2.5 HD PC release

Post by tbmq008 »

bad news.
the script - MY script - will be worked on tomorrow.
Dark_Ansem
Posts: 118
Joined: Thu Feb 23, 2017 10:39 am

Re: Unpack KH 1.5+2.5 HD PC release

Post by Dark_Ansem »

so I found them, as you said, but SED files have no name, only their hash, and they need to be renamed to SCD to work. On the other hand, the SCD appear to be unpacked and working.
GrzybDev
Posts: 22
Joined: Fri Apr 26, 2019 10:18 am

Re: Unpack KH 1.5+2.5 HD PC release

Post by GrzybDev »

Dark_Ansem wrote:so I found them, as you said, but SED files have no name, only their hash, and they need to be renamed to SCD to work. On the other hand, the SCD appear to be unpacked and working.


My tool uses all available data, so if you see hash instead of name, it's simple - there's no filename.
Only files in folders have names, root ones does not have any name, so I'm using hash. Similarly to script posted here
GrzybDev
Posts: 22
Joined: Fri Apr 26, 2019 10:18 am

Re: Unpack KH 1.5+2.5 HD PC release

Post by GrzybDev »

tbmq008 wrote:bad news.
the script - MY script - will be worked on tomorrow.


And why is that bad news? Your work will be pretty much redundant, but sure. more approaches usually mean better understanding so ultimately everyone will benefit :)
Dark_Ansem
Posts: 118
Joined: Thu Feb 23, 2017 10:39 am

Re: Unpack KH 1.5+2.5 HD PC release

Post by Dark_Ansem »

GrzybDev wrote:
Dark_Ansem wrote:so I found them, as you said, but SED files have no name, only their hash, and they need to be renamed to SCD to work. On the other hand, the SCD appear to be unpacked and working.


My tool uses all available data, so if you see hash instead of name, it's simple - there's no filename.
Only files in folders have names, root ones does not have any name, so I'm using hash. Similarly to script posted here


Interesting. That's different than the approach employed by the PS4 versions.