benilla-re systems structs docs

s_looseIndexBuilt

global · storm

Address
0xc5251c · 1 bytes, up to 0xc5251c
Type
uint8_t
Meaning
Holds 1 while the loose-file index is built; 0 makes the next resolve build it
Confidence
verified, proof two
Finding
storm/mount#loose-file-index

Finding: Loose-file index in storm: mounting the archives

0x646ea0 walks the base path 0xc52418, or . when it does not list, then that string with 0xc520c8 (Data\) appended (.Data\ in the fallback, so Data is then not walked), and marks the index built. 0x646910 skips ., .. and folders whose path below the walked folder is a prefix of Data\ (case-sensitive), walks the others, and enters every regular file: the key is its path below the walked folder, the value its full path. A last extension .bz or .MPQ (any case) is cut from the key, as kind 1 or 2; any other file is kind 0. A key's first entry stays: the base folder's before Data\'s, then listing order. A third folder, 0xc52310, stays empty.

The derivation is in the doc.