Chapter 3 Binary Format
3-7 Vtxist

1. VtxList Area

VtxList is the list where vertex data is stored. All vertex parameters are described in the following list.

VtxListHeader u32 vtx_list_tag
u32 vtx_list_header_size
u32 vtx_list_size
u32 vtx_group_num
u32 nintendo_extension_block_size
u32 user_extension_block_size
u32 vtx_group_num_byte(0)
...
u32 vtx_group_num_byte(vtx_group_num - 1)
VtxGroup(0)
...
VtxGroup(vtx_group_num - 1)
NintendoExtensionBlock
UserExtensionBlock

Figure: VtxList Area Memory Map

u32 vtx_list_tag Tag indicating VtxList. Set the following flag.
TAG_VTX_LIST	0x00040000
u32 vtx_list_header_size Size of VtxListHeader
u32 vtx_list_size Size of VtxList
u32 vtx_group_num Total number of VtxGroup contained in VtxList.
u32 nintedo_extension_block_size Nintendo extension block size
u32 user_extension_block_size User extension block size
u32 vtx_group_num_byte Number of bytes corresponding to VtxGroup
VtxGroup All vertices of one shape are contained in VtxGroup.
NintendoExtensionBlock Nintendo extension block
UserExtensionBlock User extension block