Skip to main content

Module parser

Module parser 

Source
Expand description

Root file format detection and binary parsing. Root file binary parser.

Supports three root file formats used across WoW versions:

  • Legacy (pre-8.2) - no header, blocks start at offset 0.
  • MFST V1 (8.2 - 11.0.x) - MFST magic header, 12-byte block headers.
  • MFST V2 (11.1.0+) - MFST magic header, 17-byte block headers with restructured content flags.

Each root file is organized as a series of blocks, where each block shares a common set of locale and content flags. Within a block, FileDataIDs are stored as delta-encoded integers followed by parallel arrays of CKeys and (optionally) name hashes.

Structs§

RootEntry
A single root file entry mapping a CKey to flags/locale/name hash.
RootFile
Parsed root file with FileDataID -> CKey lookup.

Enums§

RootFormat
Detected root file format.