TES3: Difference between revisions

From OpenMW Wiki
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
Line 1: Line 1:
Main Header Record, 308 bytes
Main Header Record


TES3 sub-records detail:
TES3 sub-records detail:
  HEDR (300 bytes)
  HEDR (300 bytes)
     4 bytes, float Version (1.2)
     4 bytes, float Version.
     4 bytes, long Unknown (1)
     4 bytes, long Unknown.
     32 Bytes, Company Name string
     32 Bytes, Company Name string
     256 Bytes, ESM file description?
     256 Bytes, ESM file description.
     4 bytes, long NumRecords (48227)
     4 bytes, long NumRecords.
  MAST = string, variable length
  MAST = Variable length, null-terminated string.
     Only found in ESP plugins and specifies a master file that the
     Only found in ESP plugins and specifies a master file that the
     plugin requires.  Can occur multiple times.  Usually found just
     plugin requires.  Can occur multiple times.  Usually found just
     after the TES3 record.
     after the TES3 record.
  DATA = 8 Bytes long64 MasterSize
  DATA = 8 Bytes long64 MasterSize
     Size of the previous master file in bytes (used for version
     Size of the previous master file in bytes (used for version
     tracking of plugin). The MAST and DATA records are always found
     tracking of plugin). The MAST and DATA records are always found
     together, the DATA following the MAST record that it refers to.
     together, the DATA following the MAST record that it refers to.

Revision as of 10:32, 21 February 2013

Main Header Record

TES3 sub-records detail:

HEDR (300 bytes)
    4 bytes, float Version.
    4 bytes, long Unknown.
    32 Bytes, Company Name string
    256 Bytes, ESM file description.
    4 bytes, long NumRecords.
MAST = Variable length, null-terminated string.
    Only found in ESP plugins and specifies a master file that the
    plugin requires.  Can occur multiple times.  Usually found just
    after the TES3 record.
DATA = 8 Bytes long64 MasterSize
    Size of the previous master file in bytes (used for version
    tracking of plugin). The MAST and DATA records are always found
    together, the DATA following the MAST record that it refers to.