Chapter 3 Binary Format

3-15. TexImgList

1. TexImgList Area

The TexImgList area stores the texture image. The actual texture image can be specified by linking it from the TexData area in TexList. TexImgList is mapped as follows.

TexImgListHeader u32 tex_img_list_tag
u32 tex_img_list_header_size
u32 tex_img_list_size
u32 tex_img_num
u32 nintendo_extension_block_size
u32 user_extension_block_size
u32 tex_img_num_byte(0)
...
u32 tex_img_num_byte(tex_img_num - 1)
TexImg(0)
...
TexImg(tex_img_num - 1)
NintendoExtensionBlock
UserExtensionBlock

Figure: TexImgList Area Memory Map

u32 tex_img_list_tag Tag indicating TexImgList.

TAG_TEX_IMG_LIST	0x00120000
u32 tex_img_list_header_tag Size of TexImgListHeader
u32 tex_img_list_size Size of TexImgList
u32 tex_img_num Number of TexImg area
u32 nintendo_extension_block_size Nintendo extension block size
u32 user_extension_block_size User extension block size
u32 tex_img_num_byte Number of bytes in each TexImg area
TexImg Stores one texture image
NintendoExtensionBlock Nintendo extension block
UserExtensionBlock User extension block