TXE file

From Pikmin Technical Knowledge Base
Revision as of 19:26, 19 October 2019 by Patrick Anton (talk | contribs) (Make the page)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

The TXE file, or TexTurE file is a very simple image wrapper only found and used in Pikmin 1. There are 2 variations of the TXE file, for a MOD file and the other as a standalone file. For easy identification of what format I will be talking about, MTXE is a MOD file TXE.

TXE Header
Offset Size Purpose
0x00 2 Width of image
0x02 2 Height of image
0x04 2 Format of image
0x06 2 Unsure
0x08 4 Image data size in bytes
0x10 20 Padding, 5 integers equal to 0
0x24 (0x08 var) Image data start
MTXE Header
Offset Size Purpose
0x00 2 Width of image
0x02 2 Height of image
0x04 2 Unsure
0x06 2 Format of image
0x08 4 Unsure
0x0C 16 Padding
0x1C 4 Image data size in bytes
0x20 (0x1C var) Image data start
TXE Formats
Name Value
RGB565 0
CMPR 1
RGB5A3 0
I4 0
I8 0
IA4 0
IA8 0
RGBA8 0