Editing GXT
Jump to navigation
Jump to search
The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then publish the changes below to finish undoing the edit.
Latest revision | Your text | ||
Line 62: | Line 62: | ||
| 0x08 || 0x04 || 01 00 00 00 || 1 || Number of textures embedded | | 0x08 || 0x04 || 01 00 00 00 || 1 || Number of textures embedded | ||
|- | |- | ||
| 0x0C || 0x04 || 40 00 00 00 || | | 0x0C || 0x04 || 40 00 00 00 || 40 || Offset of the texture data/ header size | ||
|- | |- | ||
| 0x10 || 0x04 || 00 00 | | 0x10 || 0x04 || 80 00 00 00 || 80 || Total size of the Textures | ||
|- | |- | ||
| 0x14 || 0x04 || 00 00 00 00 || 0 || Number of 16 entry palettes (P4) | | 0x14 || 0x04 || 00 00 00 00 || 0 || Number of 16 entry palettes (P4) | ||
Line 74: | Line 74: | ||
|colspan="5" style="text-align:center; background-color:lightblue;" | <span style="color:black;">GXT specification per texture</span> | |colspan="5" style="text-align:center; background-color:lightblue;" | <span style="color:black;">GXT specification per texture</span> | ||
|- | |- | ||
| 0x20 || 0x04 || 40 00 00 00 || | | 0x20 || 0x04 || 40 00 00 00 || 40 || Offset of the single texture data | ||
|- | |- | ||
| 0x24 || 0x04 || 00 00 | | 0x24 || 0x04 || 80 00 00 00 || 80 || Size of the single texture data. | ||
|- | |- | ||
| 0x28 || 0x04 || FF FF FF FF || - || Index of the palette | | 0x28 || 0x04 || FF FF FF FF || - || Index of the palette | ||
Line 84: | Line 84: | ||
| 0x30 || 0x04 || 00 00 00 00 || - || Texture Type | | 0x30 || 0x04 || 00 00 00 00 || - || Texture Type | ||
|- | |- | ||
| 0x34 || 0x04 || 00 00 00 85 || | | 0x34 || 0x04 || 00 00 00 85 || 85 00 00 00 || Texture Base Format | ||
|- | |- | ||
| 0x38 || 0x02 || | | 0x38 || 0x02 || - || - || Width | ||
|- | |- | ||
| 0x3A || 0x02 || | | 0x3A || 0x02 || - || - || Height | ||
|- | |- | ||
| 0x3C || 0x02 || - || - || Mipmaps | | 0x3C || 0x02 || - || - || Mipmaps | ||
Line 128: | Line 128: | ||
|colspan="5" style="text-align:center; background-color:lightblue;" | <span style="color:black;">Texture Base Format</span> | |colspan="5" style="text-align:center; background-color:lightblue;" | <span style="color:black;">Texture Base Format</span> | ||
|- | |- | ||
| PVRT2BPP || | | PVRT2BPP || 0x80 || PVR 2 bits per pixel mode | ||
|- | |- | ||
| PVRT4BPP || | | PVRT4BPP || 0x81 || PVR 4 bits per pixel mode | ||
|- | |- | ||
| PVRTII2BPP || | | PVRTII2BPP || 0x82 || PVR II 2 bits per pixel mode | ||
|- | |- | ||
| PVRTII4BPP || | | PVRTII4BPP || 0x83 || PVR II 4 bits per pixel mode | ||
|- | |- | ||
| UBC1 || | | UBC1 || 0x85 || DXT1 4 bits per pixel | ||
|- | |- | ||
| UBC2 || | | UBC2 || 0x86 || DXT3 8 bits per pixel | ||
|- | |- | ||
| UBC3 || | | UBC3 || 0x87 || DXT5 8 bits per pixel | ||
|- | |- | ||
|} | |} |