PAK (Adventure Time)

From Game Research Wiki
Jump to navigation Jump to search

Used in the following game(s):

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

Note: Formats may belong to a licensed engine or at least a library by Autodesk.

Structure

Header
Size Content
4Bytes Index Size
4Bytes Number of Files
Index Entry
Size Content
16Bytes "FILELINK_____END"
4Bytes Offset
4Bytes File Size
?Bytes+1 filename
?Bytes padding 0x37
Data Entry
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.