benilla-re systems structs docs

s_configFileName

global · cvar

Address
0xc4edd4 · 4 bytes, up to 0xc4edd7
Type
const char *
Meaning
Holds the name of the config file, Config.wtf
Confidence
verified, proof two
Finding
cvar/config#start-up

Finding: Start-up in cvar: config

Initialize(file) runs once at start-up, before any setting is registered, with Config.wtf. It keeps the file name, makes the directory WTF beside the executable and creates every missing parent, registers the four registry commands, and reads the file. The start-up wiring then reads RunOnce.wtf the same way; the file is deleted at shutdown, and realmlist.wtf is read by the same routine when the realm list address is first asked for, and again on each ask whose argument (ecx) is nonzero (0x5ab689).

The derivation is in the doc.