forked from emoose/MBINCompiler
-
Notifications
You must be signed in to change notification settings - Fork 49
MBIN Header Format v2
Gaticus Hax edited this page Sep 11, 2018
·
10 revisions
See also:
Offset | Size | Type | Name |
---|---|---|---|
0x0000 | 0x0004 | uint32 | MagicID |
0x0004 | 0x0004 | uint32 | FormatID |
0x0008 | 0x0004 | uint32 | VersionID |
0x0010 | 0x0008 | uint64 | TemplateGUID |
0x0018 | 0x0040 | char[64] | TemplateName |
0x0058 | 0x0008 | uint64 | MetaOffset |
FormatID:
The low short is FormatNMS.
The high short is FormatAPI.
VersionID:
The low word is VersionNMS.
The high word is VersionAPI.
TemplateGUID (Vanilla)
TemplateName (Vanilla)
MetaOffset:
This will have the offset from the start of the file to the end of the MBIN data, where the metadata will be stored.
FormatNMS:
This is always 2500.
FormatAPI:
This indicates the libMBIN format version.
For header format v0 and v1 this will be 0.
For header format v2+ this will be 2 or higher.
VersionNMS:
4 bytes. Each byte stores the value of the corresponding version component:
- Major.Minor.0.0
Only the major and minor components are used for NMS versions.
VersionAPI:
4 bytes. Each byte stores the value of the corresponding version component:
- Major.Minor.Release.Prerelease