-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
nintendo_tpl_gamecube: Stub a brand new template to interpret how I t…
…hink the TPL texture files are internally laid out.
- Loading branch information
Showing
1 changed file
with
32 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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]; |