User Tools


Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
mario_kart_64:course_data_table [2016/04/09 05:28]
queueram created
mario_kart_64:course_data_table [2025/10/18 21:21] (current)
Line 1: Line 1:
-====== Course Data Table ======+====== ​Mario Kart 64 Course Data Table ======
  
 Course data reference table (122390 / 802B8D80). This table references course display lists, vertex data, textures, object placements. Course data reference table (122390 / 802B8D80). This table references course display lists, vertex data, textures, object placements.
Line 6: Line 6:
 Each entry in the course table is 0x30 bytes. Each entry in the course table is 0x30 bytes.
 ^ Offset ^ Length ^ Description ^ ^ Offset ^ Length ^ Description ^
-^ 0x00 ^ 8 ^ MIO0 block containing display lists, item box placements, path data, and ??; decoded to segment 06 ^ +| 0x00 | 8 | MIO0 block containing display lists, item box placements, path data, and ??; decoded to segment 06 | 
-^ 0x08 ^ 8 ^ Copied to segment 0F - MIO0 block of course vertex data (gfx & collisions);​ decoded to segment 04, followed by packed display list, decoded to segment 07 ^ +| 0x08 | 8 | Copied to segment 0F - MIO0 block of course vertex data (gfx & collisions);​ decoded to segment 04, followed by packed display list, decoded to segment 07 | 
-^ 0x10 ^ 8 ^ Course texture MIO0 block references (segment 05), segment 06 display list references ​^ +| 0x10 | 8 | Course texture MIO0 block references (segment 05), segment 06 display list references ​| 
-^ 0x18 ^ 4 ^ Segment to load vertex data and packed DL pre-decompression/​unpacking ? ^ +| 0x18 | 4 | Segment to load vertex data and packed DL pre-decompression/​unpacking ? | 
-^ 0x1C ^ 4 ^ ? (gets multiplied by 24 at some point) ​^ +| 0x1C | 4 | ? (gets multiplied by 24 at some point) ​| 
-^ 0x20 ^ 4 ^ Segment offset of packed display list (unpacked to segment 7) ^ +| 0x20 | 4 | Segment offset of packed display list (unpacked to segment 7) | 
-^ 0x24 ^ 4 ^ Segment 7 unpacked ​DL size? ^ +| 0x24 | 4 | Segment 7 final DL command offset (follows the DL commands that reference all other DLs in the segment) | 
-^ 0x28 ^ 4 ^ Segment to load texture list and DL jump table? ​^ +| 0x28 | 4 | Segment to load texture list and DL jump table? ​| 
-^ 0x2C ^ 2 ^ ? 0000 or 0001 ^ +| 0x2C | 2 | ? 0000 or 0001 | 
-^ 0x2E ^ 2 ^ struct padding, unused ​^+| 0x2E | 2 | struct padding, unused ​|
  
 ===== Course Table ===== ===== Course Table =====
-^ Course Name       ^ Id   ^ MIO0 DL, Items ^ Vertex Data  ^ MIO0 Texture ​ ^ Vertex ​  ^ Unknown ​ ^ Packed DL ^ Seg 7 Len ^ Table Seg ^ Unknown ^+^ Course Name       ^ Id   ^ MIO0 DL, Items ^ Vertex Data  ^ MIO0 Texture ​ ^ Vertex ​  ^ Unknown ​ ^ Packed DL ^ Seg 7 Final DL Command Offset ​^ Table Seg ^ Unknown ^
 | Mario Raceway ​    | 0000 | 8284D0 82B620 | 88FA10 89B510 | 88CD70 88D070 | 0F000000 | 0000167D | 0F0096F4 | 00006930 | 09000000 | 00000000 | | Mario Raceway ​    | 0000 | 8284D0 82B620 | 88FA10 89B510 | 88CD70 88D070 | 0F000000 | 0000167D | 0F0096F4 | 00006930 | 09000000 | 00000000 |
 | Choco Mountain ​   | 0001 | 82B620 82DF40 | 89B510 8A7640 | 88D070 88D340 | 0F000000 | 000015B8 | 0F00A0B4 | 00005AE8 | 09000000 | 00010000 | | Choco Mountain ​   | 0001 | 82B620 82DF40 | 89B510 8A7640 | 88D070 88D340 | 0F000000 | 000015B8 | 0F00A0B4 | 00005AE8 | 09000000 | 00010000 |