Chapter 3 Binary Format
3-5. ObjList

1. ObjList Area

The ObjList includes all the objects in a scene. Each object is mapped as shown below.

ObjListHeader u32 obj_list_tag
u32 obj_list_header_size
u32 obj_list_size
u32 obj_num
u32 nintenedo_extension_block_size
u32 user_extension_block_size
u32 obj_num_byte(0)
...
u32 obj_num_byte(obj_num - 1)
obj(0)
...
obj(obj_num - 1)
NintendoExtensionBlock
UserExtensionBlock

Figure: ObjList Memory Map

u32 obj_list_tag Tag indicating ObjList. Set the following tag.

TAG_OBJ_LIST		0x00020000
u32 obj_list_header_size Size of ObjListHeader
u32 obj_list_size Size of ObjList
u32 obj_num Number of objects used in scene. These objects are outputted into ObjList.

If obj_num is OBJ_NUM, number of obj_address and obj area equal to that of OBJ_NUM.

u32 nintendo_extension_block_size Nintendo extension block size
u32 user_extension_block_size User extension block size
u32 obj_num_byte Number of bytes corresponding to the index.
Obj Stores object related information
NintendoExtensionBlock Nintendo extension block
UserExtensionBlock User extension block