Chapter 3 Binary Format

3-14. TexList

1. TexList Area

TexList is a list containing texture data. TexList is mapped as follows.

TexListHeader u32 tex_list_tag
u32 tex_list_header_size
u32 tex_list_size
u32 tex_num
u32 nintendo_extension_block_size
u32 user_extension_block_size
u32 tex_num_byte(0)
...
u32 tex_num_byte(tex_num - 1)
Tex(0)
...
Tex(tex_num - 1)
NintendoExtensionBlock
UserExtensionBlock

Figure: TexList Area Memory Map

u32 tex_list_tag Tag indicationg TexList. Set the following flag.
TAG_TEX_LIST	0x000b0000
u32 tex_list_header_size Size of TexListHeader area
u32 tex_list_size Size of TexList
u32 tex_num Total number of Tex in TexList
u32 nintendo_extension_block_size Nintendo extension block size
u32 user_extension_block_size User extension block size
u32 tex_num_byte Size of corresponding Tex
Tex Actual Tex data
NintendoExtensionBlock Nintendo extension block
UserExtensionBlock User extension block