Packer and unpacker for Wanted guns (.pkf format)
- Savage
- VIP member

- Posts: 560
- Joined: Sun Apr 17, 2005 11:00 am
- Has thanked: 16 times
- Been thanked: 17 times
Packer and unpacker for Wanted guns (.pkf format)
I think it's easy, i don't found compression.
I send a small file, like example.
All game it's this structure:
Data\Fonts\fonts.pkf
Sounds\Sounds.pkf etc....
Thanks in advance
I send a small file, like example.
All game it's this structure:
Data\Fonts\fonts.pkf
Sounds\Sounds.pkf etc....
Thanks in advance
You do not have the required permissions to view the files attached to this post.
- Mr.Mouse
- Site Admin
- Posts: 4051
- Joined: Wed Jan 15, 2003 6:45 pm
- Location: Dungeons of Doom
- Has thanked: 421 times
- Been thanked: 575 times
- Contact:
Yes, and it's easy.
Code: Select all
[HEAD]
uint32 Number of files
[FILE-INFO]
string_256 Full path of original file (string of 256 characters)
string_256 Filename (string of 256 characters)
uint32 Absolute offset of file in archive
uint32 unknown (0) : perhaps compression yes/no (0 = no)
uint32 Size of file in bytes (perhaps un/compressed size)
uint32 Size of file in bytes (perhaps un/compressed size)
[FILE-DATA]
- friendsofwatto
- VVIP member

- Posts: 535
- Joined: Wed Jun 30, 2004 3:01 pm
- Location: Australia
- Been thanked: 13 times
- Contact:
Alright, here is the script...
Or just grab the attached compiled script. Use it by going to Tools-->Use Custom Script
Note that I havn't tested the script on any of the actual archives though, so it could be buggy.
WATTO
watto@watto.org
http://www.watto.org
Code: Select all
ImpType Standard ;
Get FNum Long 0 ;
For n = 1 to FNum ;
SavePos JP 0 ;
Math JP += 256 ;
GoTo JP 0 ;
Get FN String 0 ;
Math JP += 256 ;
GoTo JP 0 ;
SavePos FOO 0 ;
Get FO Long 0 ;
Get Dummy Long 0 ;
SavePos FSO 0 ;
Get FS Long 0 ;
Get Dummy Long 0 ;
Log FN FO FS FOO FSO ;
Next n ;
Note that I havn't tested the script on any of the actual archives though, so it could be buggy.
WATTO
watto@watto.org
http://www.watto.org
You do not have the required permissions to view the files attached to this post.
Game Extractor - Read and write thousands of game archives!


