Tes5Mod:Mod File Format/TES4
The UESPWiki – Your source for The Elder Scrolls since 1995
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.
|+||HEDR||version||float||0.94 in most files; 1.7 in recent versions of Update.esm.|
|numRecords||int32||Number of records and groups (not including TES4 record itself).|
|nextObjectId||ulong||Next available object ID.|
|+||INTV||unknown||uint32||Unknown. Possibly "internal version"?