Super Mario 64s source code (from a leak on 4chan so be careful)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 

207 lines
12 KiB

lll_seg7_vertex_07013DB8: # 0x07013DB8 - 0x07013EA8
vertex 256, 0, 1024, 990, 990, 0xA7, 0x00, 0xA7, 0xFF
vertex 512, 154, 768, -1416, 0, 0xA7, 0x00, 0xA7, 0xFF
vertex 512, 0, 768, -1416, 990, 0xA7, 0x00, 0xA7, 0xFF
vertex 512, 0, 1280, 1454, 990, 0x0B, 0x00, 0x7E, 0xFF
vertex 512, 154, 1280, 1454, 0, 0x0B, 0x00, 0x7E, 0xFF
vertex -895, 154, 1408, -6162, 0, 0x0B, 0x00, 0x7E, 0xFF
vertex -895, 0, 1408, -6162, 990, 0x0B, 0x00, 0x7E, 0xFF
vertex -895, 0, 1408, 3034, 990, 0x81, 0x00, 0x00, 0xFF
vertex -895, 154, 1408, 3034, 0, 0x81, 0x00, 0x00, 0xFF
vertex -895, 154, 1024, -370, 0, 0x81, 0x00, 0x00, 0xFF
vertex -895, 0, 1024, -370, 990, 0x81, 0x00, 0x00, 0xFF
vertex -895, 0, 1024, 990, 990, 0x00, 0x00, 0x81, 0xFF
vertex 256, 154, 1024, -5150, 0, 0x00, 0x00, 0x81, 0xFF
vertex 256, 0, 1024, -5150, 990, 0x00, 0x00, 0x81, 0xFF
vertex -895, 154, 1024, 990, 0, 0x00, 0x00, 0x81, 0xFF
lll_seg7_vertex_07013EA8: # 0x07013EA8 - 0x07013F98
vertex -127, 0, 640, 990, 990, 0x88, 0x00, 0x28, 0xFF
vertex -383, 154, -127, -6626, 0, 0x88, 0x00, 0x28, 0xFF
vertex -383, 0, -127, -6626, 990, 0x88, 0x00, 0x28, 0xFF
vertex 256, 0, 1024, 990, 990, 0xA7, 0x00, 0xA7, 0xFF
vertex 256, 154, 1024, 990, 0, 0xA7, 0x00, 0xA7, 0xFF
vertex 512, 154, 768, -1416, 0, 0xA7, 0x00, 0xA7, 0xFF
vertex 512, 0, 768, 990, 990, 0xC8, 0x00, 0x71, 0xFF
vertex 512, 154, 768, 990, 0, 0xC8, 0x00, 0x71, 0xFF
vertex 256, 154, 640, -1416, 0, 0xC8, 0x00, 0x71, 0xFF
vertex 256, 0, 640, -1416, 990, 0xC8, 0x00, 0x71, 0xFF
vertex 256, 0, 640, 1330, 990, 0x00, 0x00, 0x7F, 0xFF
vertex 256, 154, 640, 1330, 0, 0x00, 0x00, 0x7F, 0xFF
vertex -127, 154, 640, -2074, 0, 0x00, 0x00, 0x7F, 0xFF
vertex -127, 0, 640, -2074, 990, 0x00, 0x00, 0x7F, 0xFF
vertex -127, 154, 640, 990, 0, 0x88, 0x00, 0x28, 0xFF
lll_seg7_vertex_07013F98: # 0x07013F98 - 0x07014088
vertex 256, 0, -895, 7122, 990, 0xEC, 0x00, 0x7D, 0xFF
vertex -511, 154, -1023, 98, 0, 0xEC, 0x00, 0x7D, 0xFF
vertex -511, 0, -1023, 98, 990, 0xEC, 0x00, 0x7D, 0xFF
vertex -383, 0, -127, 990, 990, 0x81, 0x00, 0x00, 0xFF
vertex -383, 154, -511, -2414, 0, 0x81, 0x00, 0x00, 0xFF
vertex -383, 0, -511, -2414, 990, 0x81, 0x00, 0x00, 0xFF
vertex -383, 154, -127, 990, 0, 0x81, 0x00, 0x00, 0xFF
vertex -383, 0, -511, 7122, 990, 0xE8, 0x00, 0x84, 0xFF
vertex -383, 154, -511, 7122, 0, 0xE8, 0x00, 0x84, 0xFF
vertex 256, 154, -639, 98, 0, 0xE8, 0x00, 0x84, 0xFF
vertex 256, 0, -639, 98, 990, 0xE8, 0x00, 0x84, 0xFF
vertex 256, 0, -639, 990, 990, 0x81, 0x00, 0x00, 0xFF
vertex 256, 154, -895, -712, 0, 0x81, 0x00, 0x00, 0xFF
vertex 256, 0, -895, -712, 990, 0x81, 0x00, 0x00, 0xFF
vertex 256, 154, -639, 990, 0, 0x81, 0x00, 0x00, 0xFF
lll_seg7_vertex_07014088: # 0x07014088 - 0x07014178
vertex -895, 0, -1407, 650, 990, 0x00, 0x00, 0x81, 0xFF
vertex -639, 154, -1407, -1052, 0, 0x00, 0x00, 0x81, 0xFF
vertex -639, 0, -1407, -1052, 990, 0x00, 0x00, 0x81, 0xFF
vertex 256, 0, -895, 7122, 990, 0xEC, 0x00, 0x7D, 0xFF
vertex 256, 154, -895, 7122, 0, 0xEC, 0x00, 0x7D, 0xFF
vertex -511, 154, -1023, 98, 0, 0xEC, 0x00, 0x7D, 0xFF
vertex -511, 0, -1023, 5078, 990, 0x00, 0x00, 0x7F, 0xFF
vertex -511, 154, -1023, 5078, 0, 0x00, 0x00, 0x7F, 0xFF
vertex -895, 154, -1023, 0, 0, 0x00, 0x00, 0x7F, 0xFF
vertex -895, 0, -1023, 0, 990, 0x00, 0x00, 0x7F, 0xFF
vertex -895, 0, -1023, 990, 990, 0x81, 0x00, 0x00, 0xFF
vertex -895, 154, -1407, -2414, 0, 0x81, 0x00, 0x00, 0xFF
vertex -895, 0, -1407, -2414, 990, 0x81, 0x00, 0x00, 0xFF
vertex -895, 154, -1023, 990, 0, 0x81, 0x00, 0x00, 0xFF
vertex -895, 154, -1407, 650, 0, 0x00, 0x00, 0x81, 0xFF
lll_seg7_vertex_07014178: # 0x07014178 - 0x07014278
vertex -639, 0, -1407, 1750, 990, 0x24, 0x00, 0x87, 0xFF
vertex -639, 154, -1407, 1750, 0, 0x24, 0x00, 0x87, 0xFF
vertex 640, 154, -1023, -12294, 0, 0x24, 0x00, 0x87, 0xFF
vertex 640, 0, -1023, -12294, 990, 0x24, 0x00, 0x87, 0xFF
vertex 640, 0, -1023, 990, 990, 0x7F, 0x00, 0x00, 0xFF
vertex 640, 154, -1023, 990, 0, 0x7F, 0x00, 0x00, 0xFF
vertex 640, 154, -511, -4118, 0, 0x7F, 0x00, 0x00, 0xFF
vertex 640, 0, -511, -4118, 990, 0x7F, 0x00, 0x00, 0xFF
vertex 640, 0, -511, 860, 990, 0x2F, 0x00, 0x75, 0xFF
vertex 640, 154, -511, 860, 0, 0x2F, 0x00, 0x75, 0xFF
vertex 0, 154, -255, -6162, 0, 0x2F, 0x00, 0x75, 0xFF
vertex 0, 0, -255, -6162, 990, 0x2F, 0x00, 0x75, 0xFF
vertex 0, 0, -255, 1672, 990, 0x7F, 0x00, 0x00, 0xFF
vertex 0, 154, -255, 1672, 0, 0x7F, 0x00, 0x00, 0xFF
vertex 0, 154, -127, 0, 0, 0x7F, 0x00, 0x00, 0xFF
vertex 0, 0, -127, 0, 990, 0x7F, 0x00, 0x00, 0xFF
lll_seg7_vertex_07014278: # 0x07014278 - 0x07014378
vertex 0, 0, -127, 3776, 990, 0x78, 0x00, 0xD8, 0xFF
vertex 0, 154, -127, 3776, 0, 0x78, 0x00, 0xD8, 0xFF
vertex 128, 154, 256, 0, 0, 0x78, 0x00, 0xD8, 0xFF
vertex 128, 0, 256, 0, 990, 0x78, 0x00, 0xD8, 0xFF
vertex 128, 0, 256, 3374, 990, 0x00, 0x00, 0x81, 0xFF
vertex 512, 154, 256, 0, 0, 0x00, 0x00, 0x81, 0xFF
vertex 512, 0, 256, 0, 990, 0x00, 0x00, 0x81, 0xFF
vertex 128, 154, 256, 3374, 0, 0x00, 0x00, 0x81, 0xFF
vertex 512, 0, 256, 1062, 990, 0x65, 0x00, 0xB4, 0xFF
vertex 512, 154, 256, 1062, 0, 0x65, 0x00, 0xB4, 0xFF
vertex 896, 154, 768, -6162, 0, 0x65, 0x00, 0xB4, 0xFF
vertex 896, 0, 768, -6162, 990, 0x65, 0x00, 0xB4, 0xFF
vertex 896, 0, 768, 1062, 990, 0x65, 0x00, 0x4C, 0xFF
vertex 896, 154, 768, 1062, 0, 0x65, 0x00, 0x4C, 0xFF
vertex 512, 154, 1280, -6162, 0, 0x65, 0x00, 0x4C, 0xFF
vertex 512, 0, 1280, -6162, 990, 0x65, 0x00, 0x4C, 0xFF
lll_seg7_vertex_07014378: # 0x07014378 - 0x07014478
vertex -383, 154, -127, -1052, -4120, 0x00, 0x7F, 0x00, 0xFF
vertex 256, 154, 640, -3608, -7186, 0x00, 0x7F, 0x00, 0xFF
vertex 512, 154, 768, -4630, -7696, 0x00, 0x7F, 0x00, 0xFF
vertex 640, 154, -1023, -5140, -542, 0x00, 0x7F, 0x00, 0xFF
vertex -639, 154, -1407, 0, 990, 0x00, 0x7F, 0x00, 0xFF
vertex 256, 154, -895, -3606, -1054, 0x00, 0x7F, 0x00, 0xFF
vertex -511, 154, -1023, -542, -542, 0x00, 0x7F, 0x00, 0xFF
vertex -895, 154, -1023, 990, -542, 0x00, 0x7F, 0x00, 0xFF
vertex -895, 154, -1407, 990, 990, 0x00, 0x7F, 0x00, 0xFF
vertex 256, 154, -639, -3606, -2076, 0x00, 0x7F, 0x00, 0xFF
vertex 0, 154, -255, -2586, -3608, 0x00, 0x7F, 0x00, 0xFF
vertex -383, 154, -511, -1052, -2586, 0x00, 0x7F, 0x00, 0xFF
vertex 128, 154, 256, -3096, -5652, 0x00, 0x7F, 0x00, 0xFF
vertex 0, 154, -127, -2586, -4120, 0x00, 0x7F, 0x00, 0xFF
vertex -127, 154, 640, -2074, -7186, 0x00, 0x7F, 0x00, 0xFF
vertex 640, 154, -511, -5140, -2586, 0x00, 0x7F, 0x00, 0xFF
lll_seg7_vertex_07014478: # 0x07014478 - 0x070144F8
vertex 512, 154, 768, -4630, -7696, 0x00, 0x7F, 0x00, 0xFF
vertex 256, 154, 1024, -3608, -8718, 0x00, 0x7F, 0x00, 0xFF
vertex 896, 154, 768, -6162, -7696, 0x00, 0x7F, 0x00, 0xFF
vertex 128, 154, 256, -3096, -5652, 0x00, 0x7F, 0x00, 0xFF
vertex 512, 154, 1280, -4630, -9740, 0x00, 0x7F, 0x00, 0xFF
vertex -895, 154, 1408, 990, -10252, 0x00, 0x7F, 0x00, 0xFF
vertex -895, 154, 1024, 990, -8718, 0x00, 0x7F, 0x00, 0xFF
vertex 512, 154, 256, -4630, -5652, 0x00, 0x7F, 0x00, 0xFF
lll_seg7_dl_070144F8: # 0x070144F8 - 0x070146B8
gsDPSetTextureImage G_IM_FMT_RGBA, G_IM_SIZ_16b, 1, fire_09007800
gsDPLoadSync
gsDPLoadBlock 7, 0, 0, 0x3FF, 0x100
gsSPLight lll_seg7_light_0700FC08, 1
gsSPLight lll_seg7_light_0700FC00, 2
gsSPVertex lll_seg7_vertex_07013DB8, 15, 0
gsSP2Triangles 0, 1, 2, 0x0, 3, 4, 5, 0x0
gsSP2Triangles 3, 5, 6, 0x0, 7, 8, 9, 0x0
gsSP2Triangles 7, 9, 10, 0x0, 11, 12, 13, 0x0
gsSP1Triangle 11, 14, 12, 0x0
gsSPVertex lll_seg7_vertex_07013EA8, 15, 0
gsSP2Triangles 0, 1, 2, 0x0, 3, 4, 5, 0x0
gsSP2Triangles 6, 7, 8, 0x0, 6, 8, 9, 0x0
gsSP2Triangles 10, 11, 12, 0x0, 10, 12, 13, 0x0
gsSP1Triangle 0, 14, 1, 0x0
gsSPVertex lll_seg7_vertex_07013F98, 15, 0
gsSP2Triangles 0, 1, 2, 0x0, 3, 4, 5, 0x0
gsSP2Triangles 3, 6, 4, 0x0, 7, 8, 9, 0x0
gsSP2Triangles 7, 9, 10, 0x0, 11, 12, 13, 0x0
gsSP1Triangle 11, 14, 12, 0x0
gsSPVertex lll_seg7_vertex_07014088, 15, 0
gsSP2Triangles 0, 1, 2, 0x0, 3, 4, 5, 0x0
gsSP2Triangles 6, 7, 8, 0x0, 6, 8, 9, 0x0
gsSP2Triangles 10, 11, 12, 0x0, 10, 13, 11, 0x0
gsSP1Triangle 0, 14, 1, 0x0
gsSPVertex lll_seg7_vertex_07014178, 16, 0
gsSP2Triangles 0, 1, 2, 0x0, 0, 2, 3, 0x0
gsSP2Triangles 4, 5, 6, 0x0, 4, 6, 7, 0x0
gsSP2Triangles 8, 9, 10, 0x0, 8, 10, 11, 0x0
gsSP2Triangles 12, 13, 14, 0x0, 12, 14, 15, 0x0
gsSPVertex lll_seg7_vertex_07014278, 16, 0
gsSP2Triangles 0, 1, 2, 0x0, 0, 2, 3, 0x0
gsSP2Triangles 4, 5, 6, 0x0, 4, 7, 5, 0x0
gsSP2Triangles 8, 9, 10, 0x0, 8, 10, 11, 0x0
gsSP2Triangles 12, 13, 14, 0x0, 12, 14, 15, 0x0
gsSPEndDisplayList
lll_seg7_dl_070146B8: # 0x070146B8 - 0x07014788
gsDPSetTextureImage G_IM_FMT_RGBA, G_IM_SIZ_16b, 1, fire_09007000
gsDPLoadSync
gsDPLoadBlock 7, 0, 0, 0x3FF, 0x100
gsSPVertex lll_seg7_vertex_07014378, 16, 0
gsSP2Triangles 0, 1, 2, 0x0, 3, 4, 5, 0x0
gsSP2Triangles 4, 6, 5, 0x0, 4, 7, 6, 0x0
gsSP2Triangles 4, 8, 7, 0x0, 3, 5, 9, 0x0
gsSP2Triangles 10, 9, 0, 0x0, 10, 3, 9, 0x0
gsSP2Triangles 9, 11, 0, 0x0, 0, 12, 13, 0x0
gsSP2Triangles 0, 13, 10, 0x0, 0, 2, 12, 0x0
gsSP2Triangles 0, 14, 1, 0x0, 10, 15, 3, 0x0
gsSPVertex lll_seg7_vertex_07014478, 8, 0
gsSP2Triangles 0, 1, 2, 0x0, 0, 2, 3, 0x0
gsSP2Triangles 1, 4, 2, 0x0, 1, 5, 4, 0x0
gsSP2Triangles 1, 6, 5, 0x0, 2, 7, 3, 0x0
gsSPEndDisplayList
glabel lll_seg7_dl_07014788 # 0x07014788 - 0x07014818
gsDPPipeSync
gsDPSetCombineMode1Cycle G_CCMUX_TEXEL0, G_CCMUX_0, G_CCMUX_SHADE, G_CCMUX_0, G_ACMUX_0, G_ACMUX_0, G_ACMUX_0, G_ACMUX_SHADE
gsSPClearGeometryMode G_SHADING_SMOOTH
gsDPSetTile G_IM_FMT_RGBA, G_IM_SIZ_16b, 0, 0, G_TX_LOADTILE, 0, G_TX_WRAP | G_TX_NOMIRROR, G_TX_NOMASK, G_TX_NOLOD, G_TX_WRAP | G_TX_NOMIRROR, G_TX_NOMASK, G_TX_NOLOD
gsSPTexture -1, -1, 0, 0, 1
gsDPTileSync
gsDPSetTile G_IM_FMT_RGBA, G_IM_SIZ_16b, 8, 0, G_TX_RENDERTILE, 0, G_TX_CLAMP | G_TX_NOMIRROR, 5, G_TX_NOLOD, G_TX_WRAP | G_TX_NOMIRROR, 5, G_TX_NOLOD
gsDPSetTileSize 0, 0, 0, 124, 124
gsSPDisplayList lll_seg7_dl_070144F8
gsDPTileSync
gsDPSetTile G_IM_FMT_RGBA, G_IM_SIZ_16b, 8, 0, G_TX_RENDERTILE, 0, G_TX_WRAP | G_TX_NOMIRROR, 5, G_TX_NOLOD, G_TX_WRAP | G_TX_NOMIRROR, 5, G_TX_NOLOD
gsDPSetTileSize 0, 0, 0, 124, 124
gsSPDisplayList lll_seg7_dl_070146B8
gsSPTexture -1, -1, 0, 0, 0
gsDPPipeSync
gsDPSetCombineMode1Cycle G_CCMUX_0, G_CCMUX_0, G_CCMUX_0, G_CCMUX_SHADE, G_ACMUX_0, G_ACMUX_0, G_ACMUX_0, G_ACMUX_SHADE
gsSPSetGeometryMode G_SHADING_SMOOTH
gsSPEndDisplayList