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

SPK file extraction tool

Post by zhanzhongyi » Sat Jul 30, 2011 1:30 pm

:] I need this tool, help me find you, thank you!

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

Re: SPK file extraction tool

Post by finale00 » Sat Jul 30, 2011 1:35 pm

For what game.

Try here: viewforum.php?f=10

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

Re: SPK file extraction tool

Post by zhanzhongyi » Sat Jul 30, 2011 1:46 pm

finale00 wrote:For what game.

Try here: viewforum.php?f=10
PS3 bleach SPK in compression of the model I want to extract, you can help me :keke:

User avatar
chrrox
Moderator
Posts: 2512
Joined: Sun May 18, 2008 3:01 pm
Has thanked: 57 times
Been thanked: 1244 times

Re: SPK file extraction tool

Post by chrrox » Sat Jul 30, 2011 1:54 pm

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 

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

Re: SPK file extraction tool

Post by zhanzhongyi » Sat Jul 30, 2011 1:57 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 
Thank you very much, but I want to how to use the code to extract :keke:

merlinsvk
ultra-veteran
ultra-veteran
Posts: 409
Joined: Mon Oct 27, 2008 12:11 am
Location: Slovakia
Has thanked: 35 times
Been thanked: 114 times

Re: SPK file extraction tool

Post by merlinsvk » Sat Jul 30, 2011 2:31 pm

That is a script for QuickBMS.

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

Re: SPK file extraction tool

Post by zhanzhongyi » Sat Jul 30, 2011 2:47 pm

merlinsvk wrote:That is a script for QuickBMS.
That the script to how to use it :]
I will not use any C language and assembly :keke:

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

Re: SPK file extraction tool

Post by finale00 » Sat Jul 30, 2011 3:52 pm

Read the instructions on how to use quickBMS on your own.

User avatar
Mr.Mouse
Site Admin
Posts: 4034
Joined: Wed Jan 15, 2003 6:45 pm
Location: Dungeons of Doom
Has thanked: 413 times
Been thanked: 547 times
Contact:

Re: SPK file extraction tool

Post by Mr.Mouse » Sun Jul 31, 2011 10:28 am

http://www.youtube.com/watch?v=9afcbJxNvcE Might also help if you have MultiEx Commander.

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

Re: SPK file extraction tool

Post by zhanzhongyi » Sun Jul 31, 2011 12:38 pm

finale00 wrote:Read the instructions on how to use quickBMS on your own.
But I do not understand :oops:

User avatar
chrrox
Moderator
Posts: 2512
Joined: Sun May 18, 2008 3:01 pm
Has thanked: 57 times
Been thanked: 1244 times

Re: SPK file extraction tool

Post by chrrox » Sun Jul 31, 2011 12:55 pm

save what i posted as a text file then run quickbms by double clicking on it and follow the prompts.

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

Re: SPK file extraction tool

Post by zhanzhongyi » Sun Jul 31, 2011 1:30 pm

chrrox wrote:save what i posted as a text file then run quickbms by double clicking on it and follow the prompts.
I do follow your tips, can be extracted out of all UNK files, how to view UNK documents

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

Re: SPK file extraction tool

Post by finale00 » Sun Jul 31, 2011 4:27 pm

Viewing UNK files is different from extracting files from an SPK.

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

Re: SPK file extraction tool

Post by zhanzhongyi » Mon Aug 01, 2011 12:30 pm

finale00 wrote:Viewing UNK files is different from extracting files from an SPK.
Why do I still UNK file after extraction, there is no tool to do file view UNK

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

Re: SPK file extraction tool

Post by finale00 » Mon Aug 01, 2011 3:18 pm

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.

Post Reply