s_textureExtensions
global · gx
- Address
0x835248· 8 bytes, up to0x83524f- 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.
| name | first | second |
|---|---|---|
X, X.blp, X.bmp | X.blp | X.tga |
X.tga | X.tga | X.blp |
X.jpeg | X.jpeg.blp | X.jpeg.tga |
The derivation is in the doc.