READ THE RULES: Click here

Follow us on Facebook: https://www.facebook.com/xentax/ :)

SPK file extraction tool

Read or post any tutorial related to file format analysis for modding purposes.
zhanzhongyi
advanced
Posts: 56
Joined: Mon May 16, 2011 6:37 am
Been thanked: 1 time

Re: SPK file extraction tool

Post by zhanzhongyi » Tue Aug 02, 2011 12:08 pm

finale00 wrote:That's because the SPK is an archive and it happens to contain UNK files.
There is no tool to view UNK files because probably no one wrote one.
I see the forum have extracted bleaching paste model, I do want to know how he's :(

finale00
M-M-M-Monster veteran
M-M-M-Monster veteran
Posts: 2382
Joined: Sat Apr 09, 2011 1:22 am
Has thanked: 170 times
Been thanked: 294 times

Re: SPK file extraction tool

Post by finale00 » Tue Aug 02, 2011 2:29 pm

Then ask him. Maybe he will share.

zhanzhongyi
advanced
Posts: 56
Joined: Mon May 16, 2011 6:37 am
Been thanked: 1 time

Re: SPK file extraction tool

Post by zhanzhongyi » Tue Aug 02, 2011 2:51 pm

finale00 wrote:Then ask him. Maybe he will share.
But I do not know how to get in touch with him, you can do to help me contact him :)

finale00
M-M-M-Monster veteran
M-M-M-Monster veteran
Posts: 2382
Joined: Sat Apr 09, 2011 1:22 am
Has thanked: 170 times
Been thanked: 294 times

Re: SPK file extraction tool

Post by finale00 » Tue Aug 02, 2011 4:28 pm

Just post it in the thread and maybe he will see it. Or you can PM him.

zhanzhongyi
advanced
Posts: 56
Joined: Mon May 16, 2011 6:37 am
Been thanked: 1 time

Re: SPK file extraction tool

Post by zhanzhongyi » Wed Aug 03, 2011 12:34 pm

finale00 wrote:Just post it in the thread and maybe he will see it. Or you can PM him.
Yes, I try :wink:

demork
ultra-n00b
Posts: 1
Joined: Mon Aug 29, 2011 4:21 pm

Re: SPK file extraction tool

Post by demork » Mon Aug 29, 2011 4:27 pm

What should we do with unks files???

DOTAPRINCE
veteran
Posts: 133
Joined: Tue May 17, 2011 6:17 am
Has thanked: 7 times
Been thanked: 3 times

Re: SPK file extraction tool

Post by DOTAPRINCE » Sat Sep 03, 2011 3:50 am

That's the only problem left, to get it in max.

the101gamer
ultra-n00b
Posts: 3
Joined: Thu May 11, 2017 3:51 pm

Re: SPK file extraction tool

Post by the101gamer » Tue Aug 15, 2017 11:05 pm

chrrox wrote:spk is not compressed at all its easy to extract.

Code: Select all

findloc start string "\x0\x0\x0\x1"
print "%start%"

goto start
endian big
set i 0
for i
savepos offset
get name basename
string name + _
string name + i
string name + .unk
getdstring one 0x14
get size long
math size + 0x20
log name offset size
math offset + size
goto offset
next i 
Do you by any chance know of a way to pack the extracted unk files back into spk?

Post Reply