Difference between revisions of "PKS"
Jump to navigation
Jump to search
(Created page with "Category:Shenmue Category:Shenmue II Category:Files The PKS file is an container for storing various files. <br> When looking more closely the PKS format looks jus...") |
|||
| Line 2: | Line 2: | ||
[[Category:Shenmue II]] | [[Category:Shenmue II]] | ||
[[Category:Files]] | [[Category:Files]] | ||
[[Category:Containers]] | |||
The PKS file is an container for storing various files. <br> | The PKS file is an container for storing various files. <br> | ||
When looking more closely the PKS format looks just like an wrapper for the IPAC format.<br> | When looking more closely the PKS format looks just like an wrapper for the IPAC format.<br> | ||
Latest revision as of 23:20, 10 November 2018
The PKS file is an container for storing various files.
When looking more closely the PKS format looks just like an wrapper for the IPAC format.
Sometimes these files can be compressed with GZip Deflate.
Header
| Position | Length | Type | Description |
|---|---|---|---|
| 0x00 | 0x04 | string | Identifier (PAKS) |
| 0x04 | 0x04 | uint | IPAC offset |
| 0x08 | 0x04 | uint | Unknown |
| 0x0C | 0x04 | uint | Unknown |
IPAC
Header
| Position | Length | Type | Description |
|---|---|---|---|
| 0x00 | 0x04 | string | Identifier (IPAC) |
| 0x04 | 0x04 | uint | Dictionary offset (TOC) |
| 0x08 | 0x04 | uint | File count |
| 0x0C | 0x04 | uint | Content size in bytes |
Dictionary Entry
| Position | Length | Type | Description |
|---|---|---|---|
| 0x00 | 0x08 | string | Filename |
| 0x08 | 0x04 | string | Extension/Type |
| 0x0C | 0x04 | uint | File offset |
| 0x10 | 0x04 | uint | File size |