Important information: this site is currently scheduled to go offline indefinitely by end of the year.

Wolfenstein (2009) .spk Packer?

The Original Forum. Game archives, full of resources. How to open them? Get help here.
Post Reply
theBloodone
ultra-n00b
Posts: 5
Joined: Sun Jun 10, 2012 1:22 pm

Wolfenstein (2009) .spk Packer?

Post by theBloodone »

Hi, folks. :)

Is there a .spk packer or a way to pack a .spk archive that is used in the last Wolfenstein game? :roll:

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...
Last edited by theBloodone on Sun Jun 10, 2012 1:35 pm, edited 2 times in total.
theBloodone
ultra-n00b
Posts: 5
Joined: Sun Jun 10, 2012 1:22 pm

Re: Wolfenstein (2009) .spk Packer?

Post by theBloodone »

Sorry for the double post = browser bug
sergeantjackie
ultra-n00b
Posts: 2
Joined: Sat Aug 04, 2012 12:19 pm

Re: Wolfenstein (2009) .spk Packer?

Post by sergeantjackie »

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 :)
sergeantjackie
ultra-n00b
Posts: 2
Joined: Sat Aug 04, 2012 12:19 pm

Re: Wolfenstein (2009) .spk Packer?

Post by sergeantjackie »

*bump* (one month passed since my last post) [roll]
Mr.Mouse
Site Admin
Posts: 4073
Joined: Wed Jan 15, 2003 6:45 pm
Location: Dungeons of Doom
Has thanked: 450 times
Been thanked: 682 times
Contact:

Re: Wolfenstein (2009) .spk Packer?

Post by Mr.Mouse »

Moved to right forum.
luxox18
mega-veteran
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?

Post by luxox18 »

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
MJ12
ultra-n00b
Posts: 1
Joined: Tue May 08, 2012 5:55 am

Re: Wolfenstein (2009) .spk Packer?

Post by MJ12 »

luxox18 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
You mean all the .spk files include those in map & streampack folders? I've tried that, but not working...please help :cry:
ZerOHearth
advanced
Posts: 62
Joined: Sun Jun 13, 2010 10:32 am
Location: Germany
Has thanked: 13 times
Contact:

Re: Wolfenstein (2009) .spk Packer?

Post by ZerOHearth »

MJ12 wrote:I've tried that, but not working...please help :cry:
Me, too. Not working. :(
Image
Blexs12
ultra-n00b
Posts: 1
Joined: Sat Apr 29, 2023 7:18 pm

Re: Wolfenstein (2009) .spk Packer?

Post by Blexs12 »

luxox18 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
Please tell me how? Are you still alive :(
GRiNDERKILLER
veteran
Posts: 92
Joined: Thu Jul 12, 2012 12:24 pm
Has thanked: 12 times
Been thanked: 32 times

Re: Wolfenstein (2009) .spk Packer?

Post by GRiNDERKILLER »

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.

Code: Select all

https://www.moddb.com/games/wolfenstein/downloads/wolfenstein-spk-mpk-extractor-v02
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:

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.
Well seems like game doesn't like decompressed files.

Code: Select all

ERROR: rvBackgroundLoadAndDecompressFile::Operate: Error: Inflate data: Unknown compression method
Also found these...

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.
Post Reply