PAK (Adventure Time): Difference between revisions

From Game Research Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 38: Line 38:


== Research ==
== Research ==
Index sizes are not consistent. Have seen them 48, 56, 64 bytes.
Index entries are not consistent. Might be related to file name path length. 00-23 = 48bytes, 24-32 = 56bytes, 33-?? = 64bytes. However. I have seem some break this guesses but only for the last entry. No way to know how many files are inside archive without scanning it first.

Revision as of 15:11, 4 August 2014

Used in the following game(s):

  • Adventure Time - Explore the dungeon because I don't know.

Structure

Header
Size Content
4Bytes Index Size
4Bytes Number of Files
Index
Size Content
16Bytes "FILELINK_____END"
4Bytes Offset
4Bytes File Size
?Bytes+1 filename
?Bytes padding 0x37
Data
Size Content
64Bytes "MANAGEDFILE_DATABLOCK_USED_IN_ENGINE_________________________END""
?Bytes Data

Research

Index entries are not consistent. Might be related to file name path length. 00-23 = 48bytes, 24-32 = 56bytes, 33-?? = 64bytes. However. I have seem some break this guesses but only for the last entry. No way to know how many files are inside archive without scanning it first.