<img src="http://www.piratesahoy.com/forum/style_emoticons/<#EMO_DIR#>/hi.gif" style="vertical-align:middle" emoid=":gday" border="0" alt="hi.gif" />
The FPK format is fairly simple, there are many unknown values but I am sure they will come naturally once we figure out what they mean. The pak#.fpk files seem to have some oddities with filename size, I am not yet sure how to properly handle them. (Basically, there is 'junk' after the filename rather than ending properly).
<!--c1--><div class='codetop'>CODE</div><div class='codemain'><!--ec1-->[DWORD version]
[DWORD file entry count]
(entries * file entry count)
[DWORD entry file name length]
[CHAR[] entry file name]
[BYTE entry file "type"]
(Depending on file "type")
1:
(nothing extra)
2:
[BYTE Unknown]
3:
[WORD Unknown]
[DWORD unknown]
[DWORD unknown]
[DWORD entry file size]
[DWORD entry file absolute offset]
(entries * file entry count)
[CHAR* files]<!--c2--></div><!--ec2-->Files do not appear to be compressed, encrypted, or encoded in any way.
I currently have a basic FPK dumper, which does not handle the extra 'junk' yet.
Oh, almost forgot.
To "decode" the file names, simply -1 their ASCII value.
<img src="http://www.piratesahoy.com/forum/style_emoticons/<#EMO_DIR#>/keith.gif" style="vertical-align:middle" emoid="
" border="0" alt="keith.gif" />
The FPK format is fairly simple, there are many unknown values but I am sure they will come naturally once we figure out what they mean. The pak#.fpk files seem to have some oddities with filename size, I am not yet sure how to properly handle them. (Basically, there is 'junk' after the filename rather than ending properly).
<!--c1--><div class='codetop'>CODE</div><div class='codemain'><!--ec1-->[DWORD version]
[DWORD file entry count]
(entries * file entry count)
[DWORD entry file name length]
[CHAR[] entry file name]
[BYTE entry file "type"]
(Depending on file "type")
1:
(nothing extra)
2:
[BYTE Unknown]
3:
[WORD Unknown]
[DWORD unknown]
[DWORD unknown]
[DWORD entry file size]
[DWORD entry file absolute offset]
(entries * file entry count)
[CHAR* files]<!--c2--></div><!--ec2-->Files do not appear to be compressed, encrypted, or encoded in any way.
I currently have a basic FPK dumper, which does not handle the extra 'junk' yet.
Oh, almost forgot.
To "decode" the file names, simply -1 their ASCII value.
<img src="http://www.piratesahoy.com/forum/style_emoticons/<#EMO_DIR#>/keith.gif" style="vertical-align:middle" emoid="
