Difference between revisions of "PKF"

From Wulinshu
Jump to navigation Jump to search
Line 16: Line 16:
| 0x04 || 0x04 || uint || Content size in bytes
| 0x04 || 0x04 || uint || Content size in bytes
|-
|-
| 0x04 || 0x04 || uint || Unknown
| 0x08 || 0x04 || uint || Unknown
|-
|-
| 0x04 || 0x04 || uint || File count
| 0x0C || 0x04 || uint || File count
|}
|}



Revision as of 20:03, 10 November 2018

The PKF file is an container for storing various files.
It does not contain an table of contents.
It mainly contains TEXN entries for textures of the PKS containers models. Sometimes these files can be compressed with GZip Deflate.

Header

Position Length Type Description
0x00 0x04 string Identifier (PAKF)
0x04 0x04 uint Content size in bytes
0x08 0x04 uint Unknown
0x0C 0x04 uint File count

Token

Position Length Type Description
0x00 0x04 string Token
0x04 0x04 uint Size in bytes (including token)

DUMY

Dummy token which is not included in the file count and is sometimes found at the start.

TEXN

Contains an texture.