TES3: Difference between revisions

From OpenMW Wiki
Jump to navigation Jump to search
mNo edit summary
(Hopefully got the layout.)
Line 2: Line 2:


TES3 sub-records detail:
TES3 sub-records detail:
  HEDR (300 bytes)
  HEDR = 300 bytes, used as:
     4 bytes, float Version.
     4 bytes, float Version.
     4 bytes, long Unknown.
     4 bytes, long Unknown.
     32 Bytes, Company Name string
     32 bytes, string, Company Name.
     256 Bytes, ESM file description.
     256 bytes, string, ESM file description.
     4 bytes, long NumRecords.
     4 bytes, long NumRecords.
  MAST = Variable length, null-terminated string.
  MAST = Variable length, 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:37, 21 February 2013

Main Header Record

TES3 sub-records detail:

HEDR = 300 bytes, used as:
    4 bytes, float Version.
    4 bytes, long Unknown.
    32 bytes, string, Company Name.
    256 bytes, string, ESM file description.
    4 bytes, long NumRecords.
MAST = Variable length, 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.