TEX/v0
Jump to navigation
Jump to search
This is storing really low resolution textures for use if the real file is not yet loaded or streamed. One per continent (e.g. Azeroth.tex). Chunked structure. Internally called 'TextureBlob'.
structure
TXVR
uint32_t version;
As of 4.0.12479, 0
Rev 13329: 8 Byte of Data, actual only containing a 4 in the first Byte. (CataclysmCTF.tex)
TXBT
struct SBlobTexture { uint32_t filenameOffset; uint32_t txmdOffset; // TXMD-chunk offset relative to end of TXFN-chunk. uint8_t sizex; uint8_t sizey; uint8_t type; // 0x80 already loaded (set on runtime) uint8_t flags; } entries[];
TXFN
char filenames[]; // zero-terminated, no file ending
TXMD[]
char textureData[]; // length depends on size, type and flags.