TEX0 (File Format)

From Custom Mario Kart
Revision as of 20:20, 26 June 2011 by Wiimm (talk | contribs) (Created page with "This page describes the Mario Kart Wii '''TEX0''' file format, as found within BRRES files. TEX0 files are texture files. __TOC__ == File Format == =...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

This page describes the Mario Kart Wii TEX0 file format, as found within BRRES files. TEX0 files are texture files.

File Format

File Header

Offset Type Description
0x00 String The magic "TEX0" to identify the sub file. See »BRRES Sub Files« for other magics.
0x04 UInt32 Length of the sub file.
0x08 UInt32 Sub file version number. The number of sections (N) is dependent of this version number. See »BRRES Sub Files« for details.
0x0C Int32 Offset to outer BRRES File.
0x10 Int32[N] N section offsets. N is implied in the version number (offset 0x08).
0x10+N*4 Int32 String offset to the name of this sub file. This name equal to the name of the entry name of the BRRES Index Group pointing to this data.
0x14+N*4 End of this header

TEX0 Header

Following the section offsets is the MDL0 header structure.

Under Construction
This article is not finished. Help improve it by adding accurate information or correcting grammar and spelling.
All about BRRES files

BRRES fileIndex GroupSub Files

CHR0CLR0MDL0PAT0SCN0SHP0SRT0TEX0