Ps4 Killzone Shadow Fall - Compressed Files?

Extraction and unpacking of game archives and compression, encryption, obfuscation, decoding of unknown files
luxox
Posts: 5
Joined: Mon Aug 18, 2014 6:38 am

Ps4 Killzone Shadow Fall - Compressed Files?

Post by luxox »

hello! Finally I have access to some ps4 games so right now I'm analyzing the files from Killzone Shadow Fall but these files instead its predecessors from Kz3 and Kz2 are compressed.

I've seen this compression before. In the files there are text string but with incomplete letters in some cases, also there are indices with a weird order or incomplete patterns. so, I supposed that are compressed.

this is the header structure in all files with respective variants obviouslly.
The original header of the file is RTTIBin<2.12> so again I suppose that this header represents the compression.

Image

Here are some examples:

http://www.mediafire.com/file/5uky77vxc ... racter.rar

http://www.mediafire.com/file/sqq4da1v5 ... racter.rar

http://www.mediafire.com/file/5cw54krmv ... racter.rar

http://www.mediafire.com/file/gd39oldxm ... _lines.rar

http://www.mediafire.com/file/98becwe11 ... racter.rar

Someone can recognize and figure out the compression?

Thanks!
chrrox
Posts: 388
Joined: Thu Aug 07, 2014 10:28 pm

Re: Ps4 Killzone Shadow Fall - Compressed Files?

Post by chrrox »

quickbms script

Code: Select all

comtype LZ4
get NAME basename
string NAME + .dec
idstring "\x83\xC1\x10\xCB"
get CHUNKSIZE long
get TSIZE longlong
getdstring HASH 0x10
set CCOUNT TSIZE
MATH CCOUNT / CHUNKSIZE
MATH CCOUNT += 1
for i = 0 < CCOUNT
get ZSIZE long
putarray 0 i ZSIZE
next i
savepos OFFSET
append
for i = 0 < CCOUNT
getarray ZSIZE 0 i
if TSIZE > CHUNKSIZE
clog NAME OFFSET ZSIZE CHUNKSIZE
math TSIZE -= CHUNKSIZE
else
clog NAME OFFSET ZSIZE TSIZE
endif
math OFFSET += ZSIZE
next i
luxox
Posts: 5
Joined: Mon Aug 18, 2014 6:38 am

Re: Ps4 Killzone Shadow Fall - Compressed Files?

Post by luxox »

thanks a lot! works perfectly!