Difference between revisions of "PAK (Adventure Time)"

From Game Research Wiki
Jump to navigation Jump to search
 
(5 intermediate revisions by the same user not shown)
Line 1: Line 1:
[[Category:Archives]]
[[Category:Archives]]
Used in the following game(s):
Used in the following game(s):
* Adventure Time Explore (forgot name...)
* 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 ==
== Structure ==
Line 9: Line 11:
! Size !! Content
! Size !! Content
|-
|-
| 4Bytes || Header + total index size
| 4Bytes || Index Size
|-
|-
| 4Bytes || Number of Files
| 4Bytes || Number of Files
|-
|-
!colspan="15"|Index
!colspan="15"|Index Entry
|-
|-
! Size !! Content
! Size !! Content
Line 27: Line 29:
| ?Bytes || padding 0x37
| ?Bytes || padding 0x37
|-
|-
!colspan="15"|Data
!colspan="15"|Data Entry
|-
|-
! Size !! Content
! Size !! Content
Line 38: Line 40:


== 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.

Latest revision as of 21:14, 6 August 2014

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.