benilla-re systems structs docs

s_textureExtensions

global · gx

Address
0x835248 · 8 bytes, up to 0x83524f
Type
char *[2]
Meaning
Holds the pointers to the strings ".tga" and ".blp"
Confidence
verified, proof one
Finding
gx/textures#texture-name-candidates

Finding: Texture name candidates in gx: textures

0x449d90 appends .tga (index 0) or .blp (index 1) at the split point from the table 0x835248 and loads <buffer> through 0x44a140 (TGA) or 0x44a310 (BLP), starting at the index 0x449590 returned and trying the other once. A name with no three-byte extension, or .blp or any other extension, goes .blp first; only .tga goes .tga first. A kept long extension stays in front of the candidate. The base name and its slashes reach Storm as written; only the stripped three bytes were lowered, and they are gone. Both loaders return 0 without writing to log when the open fails.

namefirstsecond
X, X.blp, X.bmpX.blpX.tga
X.tgaX.tgaX.blp
X.jpegX.jpeg.blpX.jpeg.tga

The derivation is in the doc.