Difference between revisions of "TXE file"

From Pikmin Technical Knowledge Base
Jump to navigation Jump to search
m
(It's actually called a Dolphin Texture File according to plugTexConv.)
 
Line 1: Line 1:
The <code>TXE</code> file, or TexTurE file, is a very simple image data wrapper only found and used in ''Pikmin''. 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.
+
The <code>TXE</code> file, or Dolphin Texture file, is a very simple image data wrapper only found and used in ''Pikmin''. 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.
  
 
{| class="wikitable"
 
{| class="wikitable"
Line 22: Line 22:
  
 
{| class="wikitable"
 
{| class="wikitable"
|+ MTXE Header
+
|+ mTXE Header
 
! Offset || Size      || Purpose
 
! Offset || Size      || Purpose
 
|-
 
|-

Latest revision as of 21:00, 2 January 2020

The TXE file, or Dolphin Texture file, is a very simple image data wrapper only found and used in Pikmin. 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[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[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