The Forum is up for sale: XeNTaX Forum looking for new owner

dark siders 2

Read or post about compression. And decompression. Or ask questions how to decompress your files.
User avatar
aluigi
VVIP member
VVIP member
Posts: 1916
Joined: Thu Dec 08, 2005 12:26 pm
Location: www.ZENHAX.com
Has thanked: 4 times
Been thanked: 661 times
Contact:

Re: dark siders 2

Post by aluigi »

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:

Code: Select all

# 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.
User avatar
Herdell
veteran
Posts: 103
Joined: Sun Dec 13, 2009 8:35 pm
Has thanked: 30 times
Been thanked: 33 times

Re: dark siders 2

Post by Herdell »

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.
Gruselgurke
advanced
Posts: 72
Joined: Fri Mar 30, 2012 6:15 pm
Has thanked: 21 times
Been thanked: 2 times

Re: dark siders 2

Post by Gruselgurke »

Mh the script doesn't work on the core.pck and the en.pck for me.
lllccc
mega-veteran
mega-veteran
Posts: 215
Joined: Thu Apr 12, 2012 12:27 am
Has thanked: 18 times

Re: dark siders 2

Post by lllccc »

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:

Code: Select all

# 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)
leoaires
ultra-n00b
Posts: 7
Joined: Mon Aug 06, 2012 2:06 am

Re: dark siders 2

Post by leoaires »

Anyone know a way to edit the files. .mnfst?
Post Reply