Page 1 of 3
Wolfenstein (2009) .SPK / .MPK
Posted: Thu Aug 20, 2009 7:05 am
by Itze
I tried to unpack the archives of the new Wolfenstein game and thought it would be as easy as all IDtech based games(zip archives)... however this time raven build their own simple format...
there are .SPK (Singlepack?) files with one file inside and .MPK (Multipack?) with multiple files inside
i used offzip -a with standart settings first on a .MPK file and got multiple smaller zlibbed chunks... each of therse chunks then contains an amount of files (1 byte in the archive = number of files) after that follows the filetable and after that the raw data.
i hope this can be automated easily cause unpacking and unpacking again is highly annoying
i don't have example archives right now(maybe someone else can upload some?

) since i'm at work but i'll upload some later when im home again...
Re: Wolfenstein (2009) .SPK / .MPK
Posted: Thu Aug 20, 2009 11:45 am
by OrangeC
I can already unpack the music, but i cant for the 360 archives;
http://www.megaupload.com/?d=0JG22HON
Re: Wolfenstein (2009) .SPK / .MPK
Posted: Thu Aug 20, 2009 2:42 pm
by Itze
i can unpack all files in the spk / mpk's (pc version) but it's tedious work :/
i dunno if quickbms can handle this on its own?
maybe with a little batchfile

Re: Wolfenstein (2009) .SPK / .MPK
Posted: Thu Aug 20, 2009 3:13 pm
by chrrox
It should not be to hard once I get a sample file ill look at it for you.
Re: Wolfenstein (2009) .SPK / .MPK
Posted: Thu Aug 20, 2009 5:58 pm
by Itze
here it is:
http://www20.zippyshare.com/v/89027429/file.html
some files from the castle map, 47mb... couldn't get it smaller :/
also i think that MPK means Master Pack and SPK means Slave Pack or something like that xD
Re: Wolfenstein (2009) .SPK / .MPK
Posted: Thu Aug 20, 2009 9:57 pm
by asmxtx
I'm currently working on an unpacker for MPK/SPK-files. I'm almost finished, but I have problems to restore the original file extensions, because they aren't stored in the SPK/MPK-ZLIB-streams. I could need any help to finsish the translation table for these sub-formats.
As far as I could find out there are these ZLIB-sub-streams within the MPK/SPK-files:
Code: Select all
"AASS","BRAI","DECL","ENTS","HKXA","HKXR","HKXS","MODL","PBBF","PROC","SKEL","SNDS","TXTR"
;DECL -> decls
;ENTS -> entities
;MODL -> md5r
;PROC -> procb
;TXTR -> dds
Once I know what extensions these files have I will provide an unpacker for it. Please contact me per PM or (better) put an answer to the "Little Extractor"-thread.
Thank you.
Re: Wolfenstein (2009) .SPK / .MPK
Posted: Fri Aug 21, 2009 3:25 am
by OrangeC
Well all i know is that the music files are mp3 original.
Re: Wolfenstein (2009) .SPK / .MPK
Posted: Sat Aug 22, 2009 10:57 am
by Itze
asmxtx wrote:I could need any help to finsish the translation table for these sub-formats.
As far as I could find out there are these ZLIB-sub-streams within the MPK/SPK-files:
Code: Select all
"AASS","BRAI","DECL","ENTS","HKXA","HKXR","HKXS","MODL","PBBF","PROC","SKEL","SNDS","TXTR"
;DECL -> decls
;ENTS -> entities
;MODL -> md5r
;PROC -> procb
;TXTR -> dds
have you tried looking in the multiplayer pak files? those can be opened normally and use the same folder structure...
and because we can read most of the path in the singleplayer paks you could check the extensions that are in the multiplayer paks under the same folder?
Re: Wolfenstein (2009) .SPK / .MPK
Posted: Tue Aug 25, 2009 12:09 am
by Frosty
Whats in the .mpk and .spk files? and does anyone know whats with all the cachemaps files?
Re: Wolfenstein (2009) .SPK / .MPK
Posted: Tue Aug 25, 2009 12:41 am
by Csimbi
Frosty wrote:Whats in the .mpk and .spk files? and does anyone know whats with all the cachemaps files?
Seems like it contains only map-specific data: sounds, music, textures, etc.
Re: Wolfenstein (2009) .SPK / .MPK
Posted: Wed Aug 26, 2009 2:15 am
by Csimbi
Here's an experimental unpacker for the decls files.
Re: Wolfenstein (2009) .SPK / .MPK
Posted: Wed Aug 26, 2009 9:40 am
by Frosty
Where are the mulitplayer paks at?
Re: Wolfenstein (2009) .SPK / .MPK
Posted: Wed Aug 26, 2009 6:30 pm
by Csimbi
Frosty wrote:Where are the mulitplayer paks at?
Code: Select all
WOLFDIR\MP\base\pak0.pk4
WOLFDIR\MP\base\pak1.pk4
WOLFDIR\MP\base\pak2.pk4
WOLFDIR\MP\base\pak3.pk4
WOLFDIR\MP\base\zpak_english000.pk4
Re: Wolfenstein (2009) .SPK / .MPK
Posted: Thu Aug 27, 2009 12:29 am
by asmxtx
Here are all (15) available file types WOLF2 seems to access (as far as I could find out).
To finish my extractor I could need some help regarding proper assignable file extensions.
Code: Select all
[FileType_DWORD_Value] -> [associated_file_extension]
Code: Select all
AASS -> ???
BRAI -> ???
DECL -> decls
ENTS -> entities
HKXA -> ???
HKXR -> ???
HKXS -> ???
MODL -> md5r
PBBF -> MD5RBin (Not sure)
PROC -> procb
SGFX -> ???
SKEL -> ???
SNDS -> mp3 (Not sure)
TXTR -> dds
VIDO -> bik (Not sure)
Re: Wolfenstein (2009) .SPK / .MPK
Posted: Thu Aug 27, 2009 7:20 am
by Savage
I know at 100% this items
SNDS -> mp3
VIDO -> bik
Still looking