benilla-re systems structs docs

LoadMd5Catalog

function · minimap · orchestration

Address
0x6d9040 · 629 bytes, up to 0x6d92b4
Signature
void __cdecl (void)
Meaning
Reads md5translate.trs and fills the catalog with name and file pairs
Confidence
verified, proof one
Finding
minimap/tiles#tile-catalog

Finding: Tile catalog in minimap: tiles

The tile files are not found by their logical names. The file Textures\Minimap\md5translate.trs maps each logical tile name to the file name that holds it, and is read once for each world entry. A line is a name, a tab and a value. A line that begins with dir: and a line with no tab are skipped. A name already in the catalog has its value replaced. A record holds the name, its hash and a value of at most 0x28 bytes. A lookup hashes the name with SStrHashHT and compares the stored hash and then the text without regard to case.

The derivation is in the doc.

Callers 1

Callees 16

Calls and jumps by a bare address, from tables/calls.tsv.