TES4 is the header record for the mod file. It contains info like author, description, file type, and masters list. Record flags indicate the following:
- 0x1: if set, the file is treated as a master, regardless of what the file extension says.
- 0x80: whether the file has localized string tables. If this flag is not set, lstrings are treated as zstrings.
- 0x200: if set, the file is treated as a light master.
C | Field | Type/Size | Info |
---|---|---|---|
+ | HEDR | struct (12 bytes) |
Header
|
- | CNAM | zstring | Author
|
- | SNAM | zstring | Description
|
* | MAST | zstring | Master filename.
|
DATA | uint64 |
|
|
- | ONAM | formid[] | Overridden forms
|
+ | INTV | uint32 | Number of strings that can be tagified (used only for TagifyMasterfile command-line option of the CK). |
- | INCC | uint32 | Some kind of counter. Appears to be related to masters.
|