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) -
MFSTmagic header, 12-byte block headers. - MFST V2 (11.1.0+) -
MFSTmagic 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§
- Root
Entry - A single root file entry mapping a CKey to flags/locale/name hash.
- Root
File - Parsed root file with FileDataID -> CKey lookup.
Enums§
- Root
Format - Detected root file format.