forked from emoose/MBINCompiler
-
Notifications
You must be signed in to change notification settings - Fork 50
MBIN Header Format v0
Xander edited this page Sep 2, 2018
·
3 revisions
See also:
Offset | Size | Type | Name |
---|---|---|---|
0x0000 | 0x0004 | byte[4] | MagicID |
0x0004 | 0x0004 | uint32 | FormatID |
0x0008 | 0x0008 | uint64 | Timestamp |
0x0010 | 0x0008 | uint64 | TemplateGUID |
0x0018 | 0x0040 | char[64] | TemplateName |
0x0058 | 0x0008 | byte[8] | Padding |
Always 0xCCCCCCCC for *.MBIN files. Always 0xDDDDDDDD for *.MBIN.PC files.
Always 2500 (integer).
0x0 for most files. 0xFFFF.. for TkGeometryData files. Timestamp eg. 201607201542 (decimal) on global files and older MBINs, likely removed the code that set it at some stage.
Unique across templates layouts (files using the same template & version/layout of structure share the same GUID). Doesn't appear to be checked on load.
The name of the template for the type of Game Component data that is stored in the MBIN file.
Used for alignment of the following MBIN data to 16-byte boundaries.