s_looseIndexBasePath
global · storm
- Address
0xc521f8· 260 bytes, up to0xc522fb- Type
char[260]- Meaning
- Holds the base path the loose-file index was built from
- Confidence
- verified, proof two
- Finding
- storm/mount#index-lookup-and-open
Finding: Index lookup and open in storm: mounting the archives
A probe finds an entry whose SStrHashHT hash and key equal the name's, the key compared by SStrCmpI; the hash
reads / as \ and the compare does not, so a name with / never matches. Flag bit 1 first probes the part after the last backslash, a file directly in the base folder or
Data\; then bit 0 or 1 probes the whole name. A hit returns the full path and the kind. SFile::OpenEx opens
kind 0 with fopen(path, "rb"), kind 1 the same way and checks BZ00 in its 24-byte header (bz), kind 2 as an
archive holding the name's last component. A failed open returns 0 without the archives. A third probe never
changes the result.
The derivation is in the doc.