No edit summary |
|||
Line 56: | Line 56: | ||
Softwares below handle TPLs files: | Softwares below handle TPLs files: | ||
* [https://github.com/marco-calautti/Rainbow Rainbow], credits Marco Calautti. | * [https://github.com/marco-calautti/Rainbow Rainbow], credits Marco Calautti. | ||
* [ | * [https://github.com/libertyernie/brawltools BrawlBox], contributors: libertyernie, Sammi Husky, and BlackJax96 | ||
* [ | * [https://github.com/Nightcaat/CTools CTools Pack], credits Chadderz | ||
* [ | * [https://github.com/Wiimm/wiimms-szs-tools Wiimms SZS Tools], credits Wiimm: can contain BREFT, BTI, TEX0, TPL and PNG. | ||
* [https://wiki.tockdom.com/wiki/Wexos%27s_Toolbox Wexos's Toolbox], credits Wexos | |||
* [ | |||
[[Category:File format]] | [[Category:File format]] | ||
[[Category:Gotcha Force]] | [[Category:Gotcha Force]] |
Revision as of 10:27, 7 September 2022
This article is about the TPL file format.
This section is currently being written.
More research is needed and some paragraphs may be wrong.
TPL file format (Texture Palette Library) is a folder with or several textures.
Format
A TPL file can contains one or several textures:
General format | |
---|---|
TPL header file | |
Image offset table | |
All images | Palette header (optionnal) |
Palette data (optionnal) | |
Image header | |
Image data |
Header
In general the header has a length of 12 bytes. All offsets are relative to the header.
Header :
Header | ||
---|---|---|
Offset | Length | Description |
0x00 | 4 | FileMagic. Allways "\x00\x20\xAF\x30" (big endian) |
0x04 | 4 | Image count. |
0x08 | 4 | Image table offset |
Gotcha Force TPLs length
All TPLs are aligned to 32 bytes. (NTSC/USA version)
Softwares
Softwares below handle TPLs files:
- Rainbow, credits Marco Calautti.
- BrawlBox, contributors: libertyernie, Sammi Husky, and BlackJax96
- CTools Pack, credits Chadderz
- Wiimms SZS Tools, credits Wiimm: can contain BREFT, BTI, TEX0, TPL and PNG.
- Wexos's Toolbox, credits Wexos