Difference between revisions of "TXE file"

From Pikmin Technical Knowledge Base
Jump to navigation Jump to search
m
Line 1: Line 1:
The TXE file, or TexTurE file is a very simple image data 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.
+
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.
  
 
{| class="wikitable"
 
{| class="wikitable"
Line 11: Line 11:
 
| 0x04 || 2          || Format of image
 
| 0x04 || 2          || Format of image
 
|-
 
|-
| 0x06 || 2          || Unsure
+
| 0x06 || 2          || {{unsure|Unsure}}
 
|-
 
|-
 
| 0x08 || 4          || Image data size in bytes
 
| 0x08 || 4          || Image data size in bytes
Line 33: Line 33:
 
| 0x06 || 2          || Format of image
 
| 0x06 || 2          || Format of image
 
|-
 
|-
| 0x08 || 4          || Unsure
+
| 0x08 || 4          || {{unsure|Unsure}}
 
|-
 
|-
 
| 0x0C || 16        || Padding
 
| 0x0C || 16        || Padding

Revision as of 16:32, 26 October 2019

The TXE 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.

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