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

ddd_seg7_light_0700B0D8: # 0x0700B0D8 - 0x0700B0E0
.byte 0x3F, 0x3F, 0x3F, 0x00, 0x3F, 0x3F, 0x3F, 0x00
ddd_seg7_light_0700B0E0: # 0x0700B0E0 - 0x0700B0F0
.byte 0xFF, 0xFF, 0xFF, 0x00, 0xFF, 0xFF, 0xFF, 0x00
.byte 0x28, 0x28, 0x28, 0x00, 0x00, 0x00, 0x00, 0x00
ddd_seg7_vertex_0700B0F0: # 0x0700B0F0 - 0x0700B1D0
vertex 4131, -2756, -2425, 2012, 990, 0xD8, 0x09, 0x89, 0xFF
vertex 4122, -2756, -2252, 2012, 0, 0x97, 0x1A, 0x41, 0xFF
vertex 4122, -2551, -2252, 960, 150, 0xB7, 0x67, 0x04, 0xFF
vertex 4326, -2551, -2354, 0, 990, 0x1C, 0x34, 0x91, 0xFF
vertex 4326, -2756, -2354, 0, 990, 0x3E, 0xA2, 0xC6, 0xFF
vertex 4326, -2551, -2354, 2012, 0, 0x1C, 0x34, 0x91, 0xFF
vertex 6989, -2756, -921, 5864, 1996, 0x13, 0x8F, 0x35, 0xFF
vertex 6989, -2551, -921, 6036, 990, 0x1F, 0x5C, 0x50, 0xFF
vertex 5862, -2756, -511, 0, 990, 0xDA, 0xBE, 0x64, 0xFF
vertex 5862, -2551, -511, 140, -18, 0xC7, 0x51, 0x4D, 0xFF
vertex 6067, -2756, -818, 8656, -1210, 0x40, 0xAB, 0xBD, 0xFF
vertex 6022, -4138, 265, 12, 292, 0x1F, 0xB4, 0xA0, 0xFF
vertex 5738, -2756, -738, 8656, 478, 0xAE, 0xC7, 0xB3, 0xFF
vertex 5693, -4138, 345, 12, 1978, 0x82, 0x0A, 0x07, 0xFF
ddd_seg7_vertex_0700B1D0: # 0x0700B1D0 - 0x0700B2D0
vertex 5738, -2756, -738, 9424, -106, 0xAE, 0xC7, 0xB3, 0xFF
vertex 5693, -4138, 345, 652, -106, 0x82, 0x0A, 0x07, 0xFF
vertex 5862, -2756, -511, 8740, 990, 0xDA, 0xBE, 0x64, 0xFF
vertex 5817, -4138, 572, 0, 990, 0xF3, 0x4E, 0x63, 0xFF
vertex 5862, -2756, -511, 8492, 2028, 0xDA, 0xBE, 0x64, 0xFF
vertex 5817, -4138, 572, 0, 0, 0xF3, 0x4E, 0x63, 0xFF
vertex 6116, -2756, -603, 8492, 3378, 0x56, 0x37, 0x4A, 0xFF
vertex 6071, -4138, 480, 0, 1316, 0x7D, 0x0A, 0x12, 0xFF
vertex 6116, -2756, -603, 8084, 106, 0x56, 0x37, 0x4A, 0xFF
vertex 6071, -4138, 480, -684, 106, 0x7D, 0x0A, 0x12, 0xFF
vertex 6067, -2756, -818, 8740, 990, 0x40, 0xAB, 0xBD, 0xFF
vertex 6022, -4138, 265, 0, 990, 0x1F, 0xB4, 0xA0, 0xFF
vertex 5146, -2756, -1945, 8260, -22, 0xFF, 0xA8, 0xA6, 0xFF
vertex 4691, -4138, -1372, 456, -22, 0xA2, 0xFD, 0xAC, 0xFF
vertex 5080, -2756, -1729, 7772, 990, 0x8A, 0x2B, 0x0A, 0xFF
vertex 4625, -4138, -1157, 0, 990, 0xA4, 0x39, 0x41, 0xFF
ddd_seg7_vertex_0700B2D0: # 0x0700B2D0 - 0x0700B3D0
vertex 5080, -2756, -1729, 6100, 544, 0x8A, 0x2B, 0x0A, 0xFF
vertex 4625, -4138, -1157, -1676, -82, 0xA4, 0x39, 0x41, 0xFF
vertex 5248, -2756, -1637, 6100, 1498, 0xC6, 0xCF, 0x65, 0xFF
vertex 4793, -4138, -1065, -1676, 876, 0x32, 0x1D, 0x70, 0xFF
vertex 5248, -2756, -1637, 5568, -290, 0xC6, 0xCF, 0x65, 0xFF
vertex 4793, -4138, -1065, -2232, -290, 0x32, 0x1D, 0x70, 0xFF
vertex 5453, -2756, -1842, 6240, 990, 0x55, 0xA5, 0x16, 0xFF
vertex 4998, -4138, -1270, -1560, 990, 0x59, 0xC6, 0xBB, 0xFF
vertex 5453, -2756, -1842, -508, 1580, 0x55, 0xA5, 0x16, 0xFF
vertex 4998, -4138, -1270, 7120, 0, 0x59, 0xC6, 0xBB, 0xFF
vertex 5146, -2756, -1945, -584, 0, 0xFF, 0xA8, 0xA6, 0xFF
vertex 4691, -4138, -1372, 7044, -1646, 0xA2, 0xFD, 0xAC, 0xFF
vertex 4122, -2756, -2252, -4736, 796, 0x97, 0x1A, 0x41, 0xFF
vertex 2781, -4138, -1874, 5056, 796, 0xBB, 0x54, 0x40, 0xFF
vertex 4291, -2756, -2160, -5224, 0, 0xFC, 0x25, 0x79, 0xFF
vertex 2950, -4138, -1782, 4568, 0, 0x52, 0xC5, 0x4C, 0xFF
ddd_seg7_vertex_0700B3D0: # 0x0700B3D0 - 0x0700B4D0
vertex 4291, -2756, -2160, -7468, 906, 0xFC, 0x25, 0x79, 0xFF
vertex 2950, -4138, -1782, 2320, 906, 0x52, 0xC5, 0x4C, 0xFF
vertex 4326, -2756, -2354, -7776, 0, 0x3E, 0xA2, 0xC6, 0xFF
vertex 2986, -4138, -1976, 2012, 0, 0x40, 0xAE, 0xB8, 0xFF
vertex 4326, -2756, -2354, -2116, 1374, 0x3E, 0xA2, 0xC6, 0xFF
vertex 2986, -4138, -1976, 7632, 480, 0x40, 0xAE, 0xB8, 0xFF
vertex 4131, -2756, -2425, -1596, 478, 0xD8, 0x09, 0x89, 0xFF
vertex 2790, -4138, -2047, 8152, -418, 0xAA, 0x41, 0xBE, 0xFF
vertex 4131, -2756, -2425, -5932, 810, 0xD8, 0x09, 0x89, 0xFF
vertex 2790, -4138, -2047, 3856, 810, 0xAA, 0x41, 0xBE, 0xFF
vertex 4122, -2756, -2252, -5732, 0, 0x97, 0x1A, 0x41, 0xFF
vertex 2781, -4138, -1874, 4056, 0, 0xBB, 0x54, 0x40, 0xFF
vertex 5453, -2551, -1842, 3544, -544, 0x4E, 0x63, 0xFB, 0xFF
vertex 6374, -2346, -2764, -3036, -542, 0x35, 0x5A, 0x46, 0xFF
vertex 5144, -2551, -1937, 4292, 888, 0xDD, 0x5B, 0xB1, 0xFF
vertex 6199, -2387, -2940, -3004, 678, 0xAD, 0x34, 0xB1, 0xFF
ddd_seg7_vertex_0700B4D0: # 0x0700B4D0 - 0x0700B5D0
vertex 5144, -2551, -1937, -968, 480, 0xDD, 0x5B, 0xB1, 0xFF
vertex 4326, -2551, -2354, 3536, 1266, 0x1C, 0x34, 0x91, 0xFF
vertex 4122, -2551, -2252, 4364, 478, 0xB7, 0x67, 0x04, 0xFF
vertex 5248, -2551, -1637, -1908, -798, 0xC9, 0x5B, 0x44, 0xFF
vertex 5453, -2551, -1842, -2584, 480, 0x4E, 0x63, 0xFB, 0xFF
vertex 5248, -2551, -1637, 5748, 990, 0xC9, 0x5B, 0x44, 0xFF
vertex 6067, -2551, -818, 0, 990, 0x02, 0x6D, 0xC0, 0xFF
vertex 5453, -2551, -1842, 5748, 2434, 0x4E, 0x63, 0xFB, 0xFF
vertex 5862, -2551, -511, -388, -816, 0xC7, 0x51, 0x4D, 0xFF
vertex 5862, -2551, -511, -3604, 990, 0xC7, 0x51, 0x4D, 0xFF
vertex 6989, -2551, -921, 2372, 990, 0x1F, 0x5C, 0x50, 0xFF
vertex 6067, -2551, -818, -2120, -102, 0x02, 0x6D, 0xC0, 0xFF
vertex 6067, -2756, -818, 0, 990, 0x40, 0xAB, 0xBD, 0xFF
vertex 6989, -2756, -921, 4596, 990, 0x13, 0x8F, 0x35, 0xFF
vertex 5862, -2756, -511, -1212, -420, 0xDA, 0xBE, 0x64, 0xFF
vertex 6989, -2592, -1187, 2828, -258, 0xE4, 0x5D, 0xAF, 0xFF
ddd_seg7_vertex_0700B5D0: # 0x0700B5D0 - 0x0700B6D0
vertex 5453, -2756, -1842, -1264, 1108, 0x55, 0xA5, 0x16, 0xFF
vertex 6067, -2756, -818, 4676, 1566, 0x40, 0xAB, 0xBD, 0xFF
vertex 5862, -2756, -511, 5588, 0, 0xDA, 0xBE, 0x64, 0xFF
vertex 5146, -2756, -1945, -2404, 0, 0xFF, 0xA8, 0xA6, 0xFF
vertex 5248, -2756, -1637, -804, -260, 0xC6, 0xCF, 0x65, 0xFF
vertex 5248, -2756, -1637, -1560, 478, 0xC6, 0xCF, 0x65, 0xFF
vertex 4122, -2756, -2252, 4756, 1508, 0x97, 0x1A, 0x41, 0xFF
vertex 4326, -2756, -2354, 4260, 478, 0x3E, 0xA2, 0xC6, 0xFF
vertex 5146, -2756, -1945, -216, -418, 0xFF, 0xA8, 0xA6, 0xFF
vertex 6067, -2756, -818, 0, 990, 0x40, 0xAB, 0xBD, 0xFF
vertex 6989, -2756, -1228, 4764, 2512, 0xD3, 0xD2, 0x93, 0xFF
vertex 6989, -2756, -921, 4596, 990, 0x13, 0x8F, 0x35, 0xFF
vertex 5146, -2756, -1945, 3048, -532, 0xFF, 0xA8, 0xA6, 0xFF
vertex 6256, -2520, -2882, -4136, 990, 0xD4, 0xA1, 0xB9, 0xFF
vertex 5453, -2756, -1842, 2524, 990, 0x55, 0xA5, 0x16, 0xFF
vertex 6374, -2551, -2764, -4004, 1824, 0x44, 0xA0, 0x2E, 0xFF
ddd_seg7_vertex_0700B6D0: # 0x0700B6D0 - 0x0700B7D0
vertex 6067, -2756, -818, 2928, 826, 0x40, 0xAB, 0xBD, 0xFF
vertex 6067, -2551, -818, 2840, -166, 0x02, 0x6D, 0xC0, 0xFF
vertex 6989, -2756, -1228, -2072, 1320, 0xD3, 0xD2, 0x93, 0xFF
vertex 6989, -2592, -1187, -2072, 480, 0xE4, 0x5D, 0xAF, 0xFF
vertex 5453, -2756, -1842, 5928, 990, 0x55, 0xA5, 0x16, 0xFF
vertex 5453, -2551, -1842, 5928, 0, 0x4E, 0x63, 0xFB, 0xFF
vertex 6067, -2756, -818, 0, 990, 0x40, 0xAB, 0xBD, 0xFF
vertex 6067, -2551, -818, 0, 0, 0x02, 0x6D, 0xC0, 0xFF
vertex 6374, -2551, -2764, 6552, 990, 0x44, 0xA0, 0x2E, 0xFF
vertex 6374, -2346, -2764, 6712, -20, 0x35, 0x5A, 0x46, 0xFF
vertex 5453, -2756, -1842, 0, 990, 0x55, 0xA5, 0x16, 0xFF
vertex 5453, -2551, -1842, 128, -20, 0x4E, 0x63, 0xFB, 0xFF
vertex 5146, -2756, -1945, 7112, 2010, 0xFF, 0xA8, 0xA6, 0xFF
vertex 5144, -2551, -1937, 7120, 990, 0xDD, 0x5B, 0xB1, 0xFF
vertex 6256, -2520, -2882, -160, 990, 0xD4, 0xA1, 0xB9, 0xFF
vertex 6199, -2387, -2940, -140, 334, 0xAD, 0x34, 0xB1, 0xFF
ddd_seg7_vertex_0700B7D0: # 0x0700B7D0 - 0x0700B890
vertex 4326, -2756, -2354, 4428, 1984, 0x3E, 0xA2, 0xC6, 0xFF
vertex 4326, -2551, -2354, 4652, 990, 0x1C, 0x34, 0x91, 0xFF
vertex 5146, -2756, -1945, 0, 990, 0xFF, 0xA8, 0xA6, 0xFF
vertex 5862, -2551, -511, 6372, 0, 0xC7, 0x51, 0x4D, 0xFF
vertex 5248, -2551, -1637, 0, 0, 0xC9, 0x5B, 0x44, 0xFF
vertex 5248, -2756, -1637, 0, 990, 0xC6, 0xCF, 0x65, 0xFF
vertex 5144, -2551, -1937, 184, -10, 0xDD, 0x5B, 0xB1, 0xFF
vertex 5248, -2756, -1637, 6372, 990, 0xC6, 0xCF, 0x65, 0xFF
vertex 5248, -2551, -1637, 6372, 0, 0xC9, 0x5B, 0x44, 0xFF
vertex 4122, -2756, -2252, 0, 990, 0x97, 0x1A, 0x41, 0xFF
vertex 4122, -2551, -2252, 0, 0, 0xB7, 0x67, 0x04, 0xFF
vertex 5862, -2756, -511, 6372, 990, 0xDA, 0xBE, 0x64, 0xFF
ddd_seg7_dl_0700B890: # 0x0700B890 - 0x0700BAE0
gsDPSetTextureImage G_IM_FMT_RGBA, G_IM_SIZ_16b, 1, ddd_seg7_texture_07002000
gsDPLoadSync
gsDPLoadBlock 7, 0, 0, 0x7FF, 0x080
gsSPLight ddd_seg7_light_0700B0E0, 1
gsSPLight ddd_seg7_light_0700B0D8, 2
gsSPVertex ddd_seg7_vertex_0700B0F0, 14, 0
gsSP2Triangles 0, 1, 2, 0x0, 0, 2, 3, 0x0
gsSP2Triangles 4, 0, 5, 0x0, 6, 7, 8, 0x0
gsSP2Triangles 7, 9, 8, 0x0, 10, 11, 12, 0x0
gsSP1Triangle 11, 13, 12, 0x0
gsSPVertex ddd_seg7_vertex_0700B1D0, 16, 0
gsSP2Triangles 0, 1, 2, 0x0, 1, 3, 2, 0x0
gsSP2Triangles 4, 5, 6, 0x0, 5, 7, 6, 0x0
gsSP2Triangles 8, 9, 10, 0x0, 9, 11, 10, 0x0
gsSP2Triangles 12, 13, 14, 0x0, 13, 15, 14, 0x0
gsSPVertex ddd_seg7_vertex_0700B2D0, 16, 0
gsSP2Triangles 0, 1, 2, 0x0, 1, 3, 2, 0x0
gsSP2Triangles 4, 5, 6, 0x0, 5, 7, 6, 0x0
gsSP2Triangles 8, 9, 10, 0x0, 9, 11, 10, 0x0
gsSP2Triangles 12, 13, 14, 0x0, 13, 15, 14, 0x0
gsSPVertex ddd_seg7_vertex_0700B3D0, 16, 0
gsSP2Triangles 0, 1, 2, 0x0, 1, 3, 2, 0x0
gsSP2Triangles 4, 5, 6, 0x0, 5, 7, 6, 0x0
gsSP2Triangles 8, 9, 10, 0x0, 9, 11, 10, 0x0
gsSP2Triangles 12, 13, 14, 0x0, 13, 15, 14, 0x0
gsSPVertex ddd_seg7_vertex_0700B4D0, 16, 0
gsSP2Triangles 0, 1, 2, 0x0, 2, 3, 4, 0x0
gsSP2Triangles 5, 6, 7, 0x0, 5, 8, 6, 0x0
gsSP2Triangles 9, 10, 11, 0x0, 12, 13, 14, 0x0
gsSP1Triangle 10, 15, 11, 0x0
gsSPVertex ddd_seg7_vertex_0700B5D0, 16, 0
gsSP2Triangles 0, 1, 2, 0x0, 3, 0, 2, 0x0
gsSP2Triangles 2, 4, 3, 0x0, 5, 6, 7, 0x0
gsSP2Triangles 5, 7, 8, 0x0, 9, 10, 11, 0x0
gsSP2Triangles 12, 13, 14, 0x0, 13, 15, 14, 0x0
gsSPVertex ddd_seg7_vertex_0700B6D0, 16, 0
gsSP2Triangles 0, 1, 2, 0x0, 1, 3, 2, 0x0
gsSP2Triangles 4, 5, 6, 0x0, 5, 7, 6, 0x0
gsSP2Triangles 8, 9, 10, 0x0, 9, 11, 10, 0x0
gsSP2Triangles 12, 13, 14, 0x0, 13, 15, 14, 0x0
gsSPVertex ddd_seg7_vertex_0700B7D0, 12, 0
gsSP2Triangles 0, 1, 2, 0x0, 3, 4, 5, 0x0
gsSP2Triangles 1, 6, 2, 0x0, 7, 8, 9, 0x0
gsSP2Triangles 8, 10, 9, 0x0, 11, 3, 5, 0x0
gsSPEndDisplayList
glabel ddd_seg7_dl_0700BAE0 # 0x0700BAE0 - 0x0700BB50
gsDPPipeSync
gsDPSetCombineMode1Cycle G_CCMUX_TEXEL0, G_CCMUX_0, G_CCMUX_SHADE, G_CCMUX_0, G_ACMUX_TEXEL0, G_ACMUX_0, G_ACMUX_SHADE, G_ACMUX_0
gsSPClearGeometryMode G_CULL_BACK
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, 16, 0, G_TX_RENDERTILE, 0, G_TX_WRAP | G_TX_NOMIRROR, 5, G_TX_NOLOD, G_TX_WRAP | G_TX_NOMIRROR, 6, G_TX_NOLOD
gsDPSetTileSize 0, 0, 0, 252, 124
gsSPDisplayList ddd_seg7_dl_0700B890
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_CULL_BACK
gsSPEndDisplayList