Difference between revisions of "OAF"

From Game Research Wiki
Jump to navigation Jump to search
Line 21: Line 21:
| 4Bytes || Offset || Start offset of second file.
| 4Bytes || Offset || Start offset of second file.
|}
|}
NOTE! Number might be 8 bytes rather than 4? 64 bit int?


== Research ==
== Research ==
Different from the ones I'm used to. A quick look doesn't show much of a normal index but file names may be stored at the end of the file. This could be a bit tricky but only two ways I can think of this working is it stores the start offset of the file name for a specific entry or it loads all file names into memory.
Different from the ones I'm used to. A quick look doesn't show much of a normal index but file names may be stored at the end of the file. This could be a bit tricky but only two ways I can think of this working is it stores the start offset of the file name for a specific entry or it loads all file names into memory.

Revision as of 08:52, 18 August 2014

Used in the following game(s):

  • South Park: The Stick of Truth

Structure

Unknown
Size Content Description
12Bytes Common Appears to be same data on all archives
4Bytes Offset Start offset for file list
8Bytes Unknown To be discovered
4Bytes Offset Start offset of first file.
32Bytes Unknown To be discovered
4Bytes Offset Start offset of second file.


NOTE! Number might be 8 bytes rather than 4? 64 bit int?

Research

Different from the ones I'm used to. A quick look doesn't show much of a normal index but file names may be stored at the end of the file. This could be a bit tricky but only two ways I can think of this working is it stores the start offset of the file name for a specific entry or it loads all file names into memory.