Hi, folks.
Is there a .spk packer or a way to pack a .spk archive that is used in the last Wolfenstein game?
I know that there is an unpacker for the .spk/.mpk and packer for the .mp3 files made by bellox, but not for the .spk archives...
Important information: this site is currently scheduled to go offline indefinitely by end of the year.
Wolfenstein (2009) .spk Packer?
-
- ultra-n00b
- Posts: 5
- Joined: Sun Jun 10, 2012 1:22 pm
Wolfenstein (2009) .spk Packer?
Last edited by theBloodone on Sun Jun 10, 2012 1:35 pm, edited 2 times in total.
-
- ultra-n00b
- Posts: 5
- Joined: Sun Jun 10, 2012 1:22 pm
-
- ultra-n00b
- Posts: 2
- Joined: Sat Aug 04, 2012 12:19 pm
Re: Wolfenstein (2009) .spk Packer?
Hi All, i'm new here.
i have tested the game if it's working with the unpacked files, but it's not working..
Is there anyone who can do something about repacking the .spk files?
I want to do some modding, but i can't do nothing because there are no .spk or .mpk packing tool(s)
theBloodone, the thread is in the wrong place
i have tested the game if it's working with the unpacked files, but it's not working..
Is there anyone who can do something about repacking the .spk files?
I want to do some modding, but i can't do nothing because there are no .spk or .mpk packing tool(s)
theBloodone, the thread is in the wrong place
-
- ultra-n00b
- Posts: 2
- Joined: Sat Aug 04, 2012 12:19 pm
-
- mega-veteran
- Posts: 176
- Joined: Fri Jul 29, 2011 9:18 pm
- Has thanked: 54 times
- Been thanked: 46 times
Re: Wolfenstein (2009) .spk Packer?
you don't need a repacker file
-repair the .pk4 files with winrar and decompress all files in base
-decompress all spk files with the spk extractor and put the folders in base folder (I don't remember very well)
- create a shortcut and in destination add this: "+set com_allowconsole 1 +set com_SingleDeclFile 0" (unquoted)
now the game work with all files decompressed , you can change the characters , mod the scripts, change sounds etc
-repair the .pk4 files with winrar and decompress all files in base
-decompress all spk files with the spk extractor and put the folders in base folder (I don't remember very well)
- create a shortcut and in destination add this: "+set com_allowconsole 1 +set com_SingleDeclFile 0" (unquoted)
now the game work with all files decompressed , you can change the characters , mod the scripts, change sounds etc
Re: Wolfenstein (2009) .spk Packer?
You mean all the .spk files include those in map & streampack folders? I've tried that, but not working...please helpluxox18 wrote:you don't need a repacker file
-repair the .pk4 files with winrar and decompress all files in base
-decompress all spk files with the spk extractor and put the folders in base folder (I don't remember very well)
- create a shortcut and in destination add this: "+set com_allowconsole 1 +set com_SingleDeclFile 0" (unquoted)
now the game work with all files decompressed , you can change the characters , mod the scripts, change sounds etc
-
- advanced
- Posts: 62
- Joined: Sun Jun 13, 2010 10:32 am
- Location: Germany
- Has thanked: 13 times
- Contact:
Re: Wolfenstein (2009) .spk Packer?
Me, too. Not working.MJ12 wrote:I've tried that, but not working...please help
Re: Wolfenstein (2009) .spk Packer?
Please tell me how? Are you still aliveluxox18 wrote: ↑Wed Oct 03, 2012 8:57 pm you don't need a repacker file
-repair the .pk4 files with winrar and decompress all files in base
-decompress all spk files with the spk extractor and put the folders in base folder (I don't remember very well)
- create a shortcut and in destination add this: "+set com_allowconsole 1 +set com_SingleDeclFile 0" (unquoted)
now the game work with all files decompressed , you can change the characters , mod the scripts, change sounds etc
-
- veteran
- Posts: 92
- Joined: Thu Jul 12, 2012 12:24 pm
- Has thanked: 12 times
- Been thanked: 32 times
Re: Wolfenstein (2009) .spk Packer?
You can unpack *.pk4 with 7Zip. After unpack put unpacked folders to the base folder and rename extension of *.pk4 to something else. *.pk4_.
For spk/mpk use this unpacker and do the same as for *.pk4.
Well after some test it seems that mpk must be re-packed in order to work.
Also i found cvar "stream_looseFileMode" for loading unpacked mpk archive but it's dissabled in final build and can't be anabled unless you found a function in the exe to enable id permanently.
Seems like mpk is major file and spk are minor. mpk "map pak" spk "stream pak"
Procedure was unpack mpk and put unpacked content to the base folder, then unpack all spk and put to the base and then I did a debug which shows me this:
Well seems like game doesn't like decompressed files.
Also found these...
For spk/mpk use this unpacker and do the same as for *.pk4.
Code: Select all
https://www.moddb.com/games/wolfenstein/downloads/wolfenstein-spk-mpk-extractor-v02
Also i found cvar "stream_looseFileMode" for loading unpacked mpk archive but it's dissabled in final build and can't be anabled unless you found a function in the exe to enable id permanently.
Seems like mpk is major file and spk are minor. mpk "map pak" spk "stream pak"
Procedure was unpack mpk and put unpacked content to the base folder, then unpack all spk and put to the base and then I did a debug which shows me this:
Code: Select all
ERROR: rvStreamSlot::LoadStreamPack: SPK file 'maps/game/trainyard/trainyard.mpk' could not be streamed in for slot!
Last Error: rvBackgroundLoadAndDecompressFile::Operate: Failed to open file maps/game/trainyard/trainyard.mpk.
Code: Select all
ERROR: rvBackgroundLoadAndDecompressFile::Operate: Error: Inflate data: Unknown compression method
Code: Select all
com_allowAssetLoadOnFind
Specifies whether asset loading is allowed on a find operation.
0 - Asset loading on find is not allowed. This should simulate stream pack loading in loose file mode.
1 - Assets will load with a warning.
2 - Assets will load with no warning (set automatically for tools.
3 - Assets will fail to load with no warning.
stream_looseFileMode
1 - Use the streaming system in loose file mode.
2 - use loose file mode only if a pack doesn't exist.