This is an old revision of the document!
Banjo-Tooie uses a file-system in which most resources are packed into file blocks throughout the ROM, and are unpacked into RAM when needed. Among these are the model files, each with their own syntax and load-lines. This page's purpose is to cover the syntax and properties of said model files.
Address | Value/Syntax | Description |
---|---|---|
0x00000000 | [00 00 00 0B] | START |
0x00000004 | [aa aa aa aa] | Geometry Layout Offset |
0x00000008 | [bb bb cc cc] | bb=Texture Setup Offset (Usually 00 50), cc=Geo Type* |
0x0000000C | [dd dd dd dd] | Display List Setup Offset |
0x00000010 | [ee ee ee ee] | Vertex Store Setup Offset |
0x00000014 | [00 00 00 00] | ? |
0x00000018 | [ff ff ff ff] | Animation Setup |
0x0000001C | [gg gg gg gg] | Collision Setup |
0x00000020 | [00 00 00 00] | ? |
0x00000024 | [hh hh hh hh] | Effects Setup |
0x00000028 | [00 00 00 00] | ? |
0x0000002C | [00 00 00 00] | ? |
0x00000030 | [00 00 00 00] | ? |
0x00000034 | [00 00 ii ii] | Pointer for external textures(?) |
0x00000038 | [jj jj jj jj] | Some animation setup offset? (Vertex clipping?) |
0x00000044 | [kk kk ll ll] | kk= Tri count, ll= vert count |
*Geo Types: 0000=normal, 0002=?? (Bottles Mound), 0004=Env mapping
Address | Value/Syntax | Description |
---|---|---|
0x00000000 | [aa aa aa aa] | Amount of data in bytes to load (including command) |
0x00000004 | [bb bb cc 00] | bb=Texture Count, cc=External Textures(01y 00n) |
0x00000008 | [dd dd dd dd] | Texture[i] segment address from texture data start |
0x0000000C | [00 ee xx yy] | Texture[i] ee=type*, xxyy=Pixel Grid |
*Types: 01=CI4, 02=CI8 04=RGBA16, 08=RGBA32, 0x10=I8,
Address | Value/Syntax | Description |
---|---|---|
0x00000000 | [aa aa aa aa 00 00 00 00] | F3DEX2 Command Count |
0x00000008-(0x08*aaaaaaaa) | F3DEX2 Display List | F3DEX2 Display List |