core.pck uses a format close to the one used in the sound archives of deadnation and ufc2010 games (the last 2 scripts posted before) but it's not the same.
the following is the correct script:
# DarkSiders II PCK archives
# script for QuickBMS http://quickbms.aluigi.org
endian big
idstring "AKPK"
goto 0x20
get DUMMYSZ long
getdstring DUMMY DUMMYSZ
get FILES long
for i = 0 < FILES
get NAME_CRC long
get ALIGNSZ long
get SIZE long
get OFFSET long
get DUMMY long
math OFFSET *= ALIGNSZ
log "" OFFSET SIZE
next i
while for media.upak the situation is different and more chaotic because I don't see the filenames that probably are encrypted/obfuscated and I don't see the compressed size values so I suggest offzip for this archive.
aluigi wrote:
while for media.upak the situation is different and more chaotic because I don't see the filenames that probably are encrypted/obfuscated and I don't see the compressed size values so I suggest offzip for this archive.
It seems filenames and sizes for media.upak are stored in pc.mnfst.
aluigi wrote:core.pck uses a format close to the one used in the sound archives of deadnation and ufc2010 games (the last 2 scripts posted before) but it's not the same.
the following is the correct script:
# DarkSiders II PCK archives
# script for QuickBMS http://quickbms.aluigi.org
endian big
idstring "AKPK"
goto 0x20
get DUMMYSZ long
getdstring DUMMY DUMMYSZ
get FILES long
for i = 0 < FILES
get NAME_CRC long
get ALIGNSZ long
get SIZE long
get OFFSET long
get DUMMY long
math OFFSET *= ALIGNSZ
log "" OFFSET SIZE
next i
while for media.upak the situation is different and more chaotic because I don't see the filenames that probably are encrypted/obfuscated and I don't see the compressed size values so I suggest offzip for this archive.
iv tryied offzip and i got and error
chrrox wrote:
its the same.
offzip -a c:\file c:\export 0
i used that code and it didn't work unlesss you know an other code and that code extracted 1.12 gbs
and i didnt get the file you guy are talkng about (media.upak)