benilla-re systems structs docs

s_archiveRoots

global · storm

Address
0x82e124 · 8 bytes, up to 0x82e12b
Type
char *[2]
Meaning
Holds the two search roots of archives: Data\ and ..\Data\
Confidence
verified, proof two
Finding
storm/mount#base-and-speech-archives

Finding: Base and speech archives in storm: mounting the archives

speech2.MPQ opens next, if present, at the next priority. Then each patch that opened gets a child record for the prefix speech2 if a real speech2.MPQ exists. Then the ten base archives, model, texture, terrain, wmo, sound, misc, interface, fonts, speech, dbc (.MPQ), at the fixed priorities 0x3f down to 0x36 whether or not each opens. A base or speech2 name is tried under Data\ and then ..\Data\. An open that fails with error 0x26, 0x8510006c or 0x85100083 ends the client with Failed to open archive %s (the rooted path; storm/errorlog#fatal-error-display), speech2 included. A base archive that fails with another code, missing included, ends it with Failed to open archive %s: %s; a speech2 or patch failing so is skipped.

The derivation is in the doc.