Oblivion Mod: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.
- Unlike TES3, author and description fields are no longer of fixed size. If you edit their content, you'll almost certainly have to rewrite the entire file.
- In Progress -- some info may be inaccurate.
C | SubRecord | Name | Type/Size | Info |
---|---|---|---|---|
+ | HEDR | header | struct |
|
version | float | 1.0 | ||
numRecords | long | Number of records and groups (not including TES4 record itself). | ||
nextObjectId | ulong | Next available object id. ?But large variation has been seen? | ||
- | OFST | typeOffsets? | struct[*] |
|
|
ubyte[3] | Unknown. Looks to be junk data.
|
||
|
byte | Incremental index. | ||
|
char[4] | Type name. Includes types from the executable that are no longer in the game data, such as TLOD and SNDG. | ||
|
ulong | Always 0, except for type CELL which is very large. | ||
- | DELE | deleted? | ?? |
Unknown. List of deleted formids?
|
- | CNAM | author | zstring |
|
- | SNAM | description | zstring |
|
* | MAST | master | zstring | Master filename.
|
|
fileSize | uint64 |
|