Skip to content

Commit

Permalink
nintendo_tpl_gamecube: Stub a brand new template to interpret how I t…
Browse files Browse the repository at this point in the history
…hink the TPL texture files are internally laid out.
  • Loading branch information
Swyter committed Oct 22, 2023
1 parent 0b96093 commit e75d344
Showing 1 changed file with 32 additions and 0 deletions.
32 changes: 32 additions & 0 deletions nintendo_tpl_gamecube.bt
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
//------------------------------------------------
//--- 010 Editor v14.0 Binary Template
//
// File: Nintendo TPL texture format for the GameCube
// Authors: Swyter
// Version: 2023.10.22
// Purpose:
// Category: Game
// File Mask:
// ID Bytes: 00 20 AF 30
// History:
//------------------------------------------------

BigEndian();

uint32 magic <format=hex>;
uint32 texture_count;
uint32 tpl_header_size;

struct
{
uint32 size_something;
uint32 palette_pos_offset;
} texture[texture_count];

struct
{
uint16 pal_table_size;
uint16 zero;
uint32 format;
uint32 sum_size;
} palette[0];

0 comments on commit e75d344

Please sign in to comment.