View source: PKS (revision 176)
Jump to navigation
Jump to search
2018-11-10T19:07:48Z · PhilYeahz · Download source
[[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 just like an wrapper for the IPAC format.<br>
Sometimes these files can be compressed with GZip Deflate.
===Header===
{| class="wikitable"
|-
! Position !! Length !! Type !! Description
|-
| 0x00 || 0x04 || string || Identifier (PAKS)
|-
| 0x04 || 0x04 || uint || IPAC offset
|-
| 0x08 || 0x04 || uint || Unknown
|-
| 0x0C || 0x04 || uint || Unknown
|}
===IPAC===
====Header====
{| class="wikitable"
|-
! 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====
{| class="wikitable"
|-
! Position !! Length !! Type !! Description
|-
| 0x00 || 0x08 || string || Filename
|-
| 0x08 || 0x04 || string || Extension/Type
|-
| 0x0C || 0x04 || uint || File offset
|-
| 0x10 || 0x04 || uint || File size
|}