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.
 
 
 
 
 

225 lines
13 KiB

bitdw_seg7_vertex_070050F8: # 0x070050F8 - 0x070051F8
vertex 1717, 986, -1074, 480, 990, 0xBE, 0xBE, 0xBE, 0xFF
vertex 1615, 986, -1074, 224, 1244, 0xBE, 0xBE, 0xBE, 0xFF
vertex 1615, 986, -972, 0, 990, 0xBE, 0xBE, 0xBE, 0xFF
vertex 1717, 986, -972, 224, 734, 0xBE, 0xBE, 0xBE, 0xFF
vertex 1819, 782, -1177, 990, 990, 0x68, 0x7B, 0x6E, 0xFF
vertex 1717, 628, -1074, 480, 990, 0x68, 0x7B, 0x6E, 0xFF
vertex 1615, 628, -1074, 224, 1244, 0x68, 0x7B, 0x6E, 0xFF
vertex 1512, 782, -1177, 224, 1754, 0x68, 0x7B, 0x6E, 0xFF
vertex 1563, 782, -818, -542, 734, 0x68, 0x7B, 0x6E, 0xFF
vertex 1615, 628, -972, 0, 990, 0x68, 0x7B, 0x6E, 0xFF
vertex 1717, 628, -972, 224, 734, 0x68, 0x7B, 0x6E, 0xFF
vertex 1768, 782, -818, 0, 224, 0x68, 0x7B, 0x6E, 0xFF
vertex 1717, 628, -972, 224, 734, 0x38, 0x4A, 0x3D, 0xFF
vertex 1615, 628, -972, 0, 990, 0x38, 0x4A, 0x3D, 0xFF
vertex 1615, 628, -1074, 224, 1244, 0x38, 0x4A, 0x3D, 0xFF
vertex 1717, 628, -1074, 480, 990, 0x38, 0x4A, 0x3D, 0xFF
bitdw_seg7_vertex_070051F8: # 0x070051F8 - 0x070052F8
vertex 1512, 782, -1177, 224, 1754, 0x46, 0x65, 0x5D, 0xFF
vertex 1615, 628, -1074, 224, 1244, 0x46, 0x65, 0x5D, 0xFF
vertex 1615, 628, -972, 0, 990, 0x46, 0x65, 0x5D, 0xFF
vertex 1563, 782, -818, -542, 734, 0x46, 0x65, 0x5D, 0xFF
vertex 1717, 628, -972, 224, 734, 0x46, 0x65, 0x5D, 0xFF
vertex 1717, 628, -1074, 480, 990, 0x46, 0x65, 0x5D, 0xFF
vertex 1819, 782, -1177, 990, 990, 0x46, 0x65, 0x5D, 0xFF
vertex 1768, 782, -818, 0, 224, 0x46, 0x65, 0x5D, 0xFF
vertex 1819, 782, -1177, 990, 990, 0x7D, 0x7D, 0x7D, 0xFF
vertex 1717, 986, -1074, 480, 990, 0x7D, 0x7D, 0x7D, 0xFF
vertex 1717, 986, -972, 224, 734, 0x7D, 0x7D, 0x7D, 0xFF
vertex 1768, 782, -818, 0, 224, 0x7D, 0x7D, 0x7D, 0xFF
vertex 1615, 986, -972, 0, 990, 0x7D, 0x7D, 0x7D, 0xFF
vertex 1615, 986, -1074, 224, 1244, 0x7D, 0x7D, 0x7D, 0xFF
vertex 1512, 782, -1177, 224, 1754, 0x7D, 0x7D, 0x7D, 0xFF
vertex 1563, 782, -818, -542, 734, 0x7D, 0x7D, 0x7D, 0xFF
bitdw_seg7_vertex_070052F8: # 0x070052F8 - 0x07005378
vertex 1768, 782, -818, 0, 224, 0x96, 0x96, 0x96, 0xFF
vertex 1717, 986, -972, 224, 734, 0x96, 0x96, 0x96, 0xFF
vertex 1615, 986, -972, 0, 990, 0x96, 0x96, 0x96, 0xFF
vertex 1563, 782, -818, -542, 734, 0x96, 0x96, 0x96, 0xFF
vertex 1512, 782, -1177, 224, 1754, 0x96, 0x96, 0x96, 0xFF
vertex 1717, 986, -1074, 480, 990, 0x96, 0x96, 0x96, 0xFF
vertex 1819, 782, -1177, 990, 990, 0x96, 0x96, 0x96, 0xFF
vertex 1615, 986, -1074, 224, 1244, 0x96, 0x96, 0x96, 0xFF
bitdw_seg7_vertex_07005378: # 0x07005378 - 0x07005478
vertex 0, 128, 128, 1666, 2690, 0x7C, 0x89, 0x79, 0xFF
vertex 1435, 743, 128, 5078, 4054, 0x7C, 0x89, 0x79, 0xFF
vertex 616, 1255, 128, 4568, 1840, 0x7C, 0x89, 0x79, 0xFF
vertex 2, 1050, 128, 3204, 1158, 0x7C, 0x89, 0x79, 0xFF
vertex -817, 129, 128, 308, 1328, 0x7C, 0x89, 0x79, 0xFF
vertex 2, 1255, 128, 3546, 820, 0x7C, 0x89, 0x79, 0xFF
vertex -1840, 129, 538, -2756, -2416, 0x7C, 0x89, 0x79, 0xFF
vertex -1226, -997, 538, -3608, 478, 0x7C, 0x89, 0x79, 0xFF
vertex 616, -997, 538, -542, 3544, 0x7C, 0x89, 0x79, 0xFF
vertex 1435, 743, -485, 3716, 2010, 0x7C, 0x89, 0x79, 0xFF
vertex 616, -997, -485, -542, 3544, 0x7C, 0x89, 0x79, 0xFF
vertex -1226, -997, -485, -3608, 478, 0x7C, 0x89, 0x79, 0xFF
vertex -817, 129, -485, -1052, -714, 0x7C, 0x89, 0x79, 0xFF
vertex 2, 1050, -485, 1842, -884, 0x7C, 0x89, 0x79, 0xFF
vertex -1840, -77, -485, -3100, -2072, 0x7C, 0x89, 0x79, 0xFF
vertex -1840, 129, -485, -2756, -2416, 0x7C, 0x89, 0x79, 0xFF
bitdw_seg7_vertex_07005478: # 0x07005478 - 0x07005568
vertex 2, 1050, -485, 1842, -884, 0x7C, 0x89, 0x79, 0xFF
vertex 616, 1255, -485, 3204, -202, 0x7C, 0x89, 0x79, 0xFF
vertex 1435, 743, -485, 3716, 2010, 0x7C, 0x89, 0x79, 0xFF
vertex 2, 1255, -485, 2182, -1224, 0x7C, 0x89, 0x79, 0xFF
vertex 1947, 538, -485, 4226, 3202, 0x7C, 0x89, 0x79, 0xFF
vertex 616, -997, -485, -542, 3544, 0x7C, 0x89, 0x79, 0xFF
vertex 1947, 743, -485, 4566, 2862, 0x7C, 0x89, 0x79, 0xFF
vertex 616, -997, 538, -542, 3544, 0x7C, 0x89, 0x79, 0xFF
vertex 2, 129, 538, 308, 650, 0x7C, 0x89, 0x79, 0xFF
vertex -1840, 129, 538, -2756, -2416, 0x7C, 0x89, 0x79, 0xFF
vertex -1840, -77, 538, -3100, -2072, 0x7C, 0x89, 0x79, 0xFF
vertex -1226, -997, 538, -3608, 478, 0x7C, 0x89, 0x79, 0xFF
vertex 1947, 743, 538, 4566, 2862, 0x7C, 0x89, 0x79, 0xFF
vertex 1435, 743, 538, 3716, 2010, 0x7C, 0x89, 0x79, 0xFF
vertex 1947, 538, 538, 4226, 3202, 0x7C, 0x89, 0x79, 0xFF
bitdw_seg7_vertex_07005568: # 0x07005568 - 0x07005668
vertex 2, 1050, 128, -438, 582, 0x68, 0x7B, 0x6E, 0xFF
vertex 2, 1255, -485, -1256, 2214, 0x68, 0x7B, 0x6E, 0xFF
vertex 2, 1050, -485, -1666, 1806, 0x68, 0x7B, 0x6E, 0xFF
vertex 2, 1255, 128, 0, 990, 0x68, 0x7B, 0x6E, 0xFF
vertex -1840, -77, 538, 1672, -714, 0x68, 0x7B, 0x6E, 0xFF
vertex -1840, 129, 538, 2016, -368, 0x68, 0x7B, 0x6E, 0xFF
vertex -1840, 129, -485, 312, 1332, 0x68, 0x7B, 0x6E, 0xFF
vertex -1840, -77, -485, 0, 990, 0x68, 0x7B, 0x6E, 0xFF
vertex 1947, 538, -485, 994, 2014, 0x68, 0x7B, 0x6E, 0xFF
vertex 1947, 743, -485, 1334, 2354, 0x68, 0x7B, 0x6E, 0xFF
vertex 1947, 743, 538, 3038, 654, 0x68, 0x7B, 0x6E, 0xFF
vertex 1947, 538, 538, 2698, 312, 0x68, 0x7B, 0x6E, 0xFF
vertex -1226, -997, 538, 340, 1978, 0x38, 0x4A, 0x3D, 0xFF
vertex -1840, -75, 538, 2182, 138, 0x38, 0x4A, 0x3D, 0xFF
vertex -1840, -75, -485, 480, -1564, 0x38, 0x4A, 0x3D, 0xFF
vertex -1226, -997, -485, -1362, 278, 0x38, 0x4A, 0x3D, 0xFF
bitdw_seg7_vertex_07005668: # 0x07005668 - 0x07005748
vertex 616, -997, -485, 1712, 690, 0x38, 0x4A, 0x3D, 0xFF
vertex 1947, 538, 538, 3400, 5782, 0x38, 0x4A, 0x3D, 0xFF
vertex 616, -997, 538, 8, 2392, 0x38, 0x4A, 0x3D, 0xFF
vertex 1947, 538, -485, 5104, 4080, 0x38, 0x4A, 0x3D, 0xFF
vertex 2, 129, 538, 4568, -3610, 0xCD, 0xDF, 0xCC, 0xFF
vertex 0, 128, 128, 5584, -2582, 0xCD, 0xDF, 0xCC, 0xFF
vertex -1021, 129, 128, 3034, 0, 0xCD, 0xDF, 0xCC, 0xFF
vertex -1840, 129, 538, 0, 990, 0xCD, 0xDF, 0xCC, 0xFF
vertex -1840, 129, -485, 2522, 3544, 0xCD, 0xDF, 0xCC, 0xFF
vertex -1021, 129, -485, 4566, 1500, 0xCD, 0xDF, 0xCC, 0xFF
vertex 616, 1255, -485, 6610, -4630, 0xCD, 0xDF, 0xCC, 0xFF
vertex 2, 1255, 128, 3544, -4630, 0xCD, 0xDF, 0xCC, 0xFF
vertex 616, 1255, 128, 5078, -6164, 0xCD, 0xDF, 0xCC, 0xFF
vertex 2, 1255, -485, 5078, -3098, 0xCD, 0xDF, 0xCC, 0xFF
bitdw_seg7_vertex_07005748: # 0x07005748 - 0x070057F8
vertex 1947, 743, -485, 9676, -7696, 0xCD, 0xDF, 0xCC, 0xFF
vertex 1435, 743, 538, 6100, -9230, 0xCD, 0xDF, 0xCC, 0xFF
vertex 1947, 743, 538, 7122, -10252, 0xCD, 0xDF, 0xCC, 0xFF
vertex 1435, 743, -485, 8654, -6674, 0xCD, 0xDF, 0xCC, 0xFF
vertex 1435, 743, 128, 7122, -8208, 0xB7, 0xCD, 0xBA, 0xFF
vertex 616, 1255, -485, 6610, -4630, 0xB7, 0xCD, 0xBA, 0xFF
vertex 616, 1255, 128, 5078, -6164, 0xB7, 0xCD, 0xBA, 0xFF
vertex 1435, 743, -485, 8654, -6674, 0xB7, 0xCD, 0xBA, 0xFF
vertex 0, 128, 128, 3540, -4626, 0xB7, 0xCD, 0xBA, 0xFF
vertex 2, 129, 538, 2524, -5652, 0xB7, 0xCD, 0xBA, 0xFF
vertex 1435, 743, 538, 6100, -9230, 0xB7, 0xCD, 0xBA, 0xFF
bitdw_seg7_vertex_070057F8: # 0x070057F8 - 0x070058F8
vertex 2, 1050, 128, -30, -22, 0x7C, 0x89, 0x79, 0xFF
vertex -1021, 129, 128, 308, 990, 0x7C, 0x89, 0x79, 0xFF
vertex -817, 129, 128, -30, 890, 0x7C, 0x89, 0x79, 0xFF
vertex -202, 1050, 128, 308, 78, 0x7C, 0x89, 0x79, 0xFF
vertex -817, 129, -485, -30, 890, 0x7C, 0x89, 0x79, 0xFF
vertex -1021, 129, -485, 308, 990, 0x7C, 0x89, 0x79, 0xFF
vertex 2, 1050, -485, -30, -22, 0x7C, 0x89, 0x79, 0xFF
vertex -202, 1050, -485, 308, 78, 0x7C, 0x89, 0x79, 0xFF
vertex -202, 1050, 128, 4056, -36, 0xB7, 0xCD, 0xBA, 0xFF
vertex 2, 1050, -485, 0, -148, 0xB7, 0xCD, 0xBA, 0xFF
vertex -202, 1050, -485, 0, -36, 0xB7, 0xCD, 0xBA, 0xFF
vertex 2, 1050, 128, 4056, -148, 0xB7, 0xCD, 0xBA, 0xFF
vertex -1021, 129, -485, 0, 990, 0x8E, 0x9E, 0x8A, 0xFF
vertex -202, 1050, 128, 4056, -36, 0x8E, 0x9E, 0x8A, 0xFF
vertex -202, 1050, -485, 0, -36, 0x8E, 0x9E, 0x8A, 0xFF
vertex -1021, 129, 128, 4056, 990, 0x8E, 0x9E, 0x8A, 0xFF
bitdw_seg7_dl_070058F8: # 0x070058F8 - 0x070059D0
gsDPSetTextureImage G_IM_FMT_RGBA, G_IM_SIZ_16b, 1, sky_09001800
gsDPLoadSync
gsDPLoadBlock 7, 0, 0, 0x3FF, 0x100
gsSPVertex bitdw_seg7_vertex_070050F8, 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 bitdw_seg7_vertex_070051F8, 16, 0
gsSP2Triangles 0, 1, 2, 0x0, 0, 2, 3, 0x0
gsSP2Triangles 4, 5, 6, 0x0, 7, 4, 6, 0x0
gsSP2Triangles 8, 9, 10, 0x0, 8, 10, 11, 0x0
gsSP2Triangles 12, 13, 14, 0x0, 15, 12, 14, 0x0
gsSPVertex bitdw_seg7_vertex_070052F8, 8, 0
gsSP2Triangles 0, 1, 2, 0x0, 0, 2, 3, 0x0
gsSP2Triangles 4, 5, 6, 0x0, 4, 7, 5, 0x0
gsSPEndDisplayList
bitdw_seg7_dl_070059D0: # 0x070059D0 - 0x07005B58
gsDPSetTextureImage G_IM_FMT_RGBA, G_IM_SIZ_16b, 1, sky_09007000
gsDPLoadSync
gsDPLoadBlock 7, 0, 0, 0x3FF, 0x100
gsSPVertex bitdw_seg7_vertex_07005378, 16, 0
gsSP2Triangles 0, 1, 2, 0x0, 3, 4, 0, 0x0
gsSP2Triangles 0, 2, 5, 0x0, 6, 7, 8, 0x0
gsSP2Triangles 9, 10, 11, 0x0, 11, 12, 13, 0x0
gsSP2Triangles 11, 14, 15, 0x0, 9, 11, 13, 0x0
gsSP1Triangle 11, 15, 12, 0x0
gsSPVertex bitdw_seg7_vertex_07005478, 15, 0
gsSP2Triangles 0, 1, 2, 0x0, 0, 3, 1, 0x0
gsSP2Triangles 2, 4, 5, 0x0, 2, 6, 4, 0x0
gsSP2Triangles 7, 8, 9, 0x0, 9, 10, 11, 0x0
gsSP2Triangles 7, 12, 13, 0x0, 7, 13, 8, 0x0
gsSP1Triangle 7, 14, 12, 0x0
gsSPVertex bitdw_seg7_vertex_07005568, 16, 0
gsSP2Triangles 0, 1, 2, 0x0, 0, 3, 1, 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 bitdw_seg7_vertex_07005668, 14, 0
gsSP2Triangles 0, 1, 2, 0x0, 0, 3, 1, 0x0
gsSP2Triangles 4, 5, 6, 0x0, 4, 6, 7, 0x0
gsSP2Triangles 8, 7, 6, 0x0, 8, 6, 9, 0x0
gsSP2Triangles 10, 11, 12, 0x0, 10, 13, 11, 0x0
gsSPVertex bitdw_seg7_vertex_07005748, 11, 0
gsSP2Triangles 0, 1, 2, 0x0, 0, 3, 1, 0x0
gsSP2Triangles 4, 5, 6, 0x0, 4, 7, 5, 0x0
gsSP2Triangles 4, 8, 9, 0x0, 10, 4, 9, 0x0
gsSPEndDisplayList
bitdw_seg7_dl_07005B58: # 0x07005B58 - 0x07005BC0
gsDPSetTextureImage G_IM_FMT_RGBA, G_IM_SIZ_16b, 1, bitdw_seg7_texture_07000000
gsDPLoadSync
gsDPLoadBlock 7, 0, 0, 0x3FF, 0x100
gsSPVertex bitdw_seg7_vertex_070057F8, 16, 0
gsSP2Triangles 0, 1, 2, 0x0, 0, 3, 1, 0x0
gsSP2Triangles 4, 5, 6, 0x0, 5, 7, 6, 0x0
gsSP2Triangles 8, 9, 10, 0x0, 8, 11, 9, 0x0
gsSP2Triangles 12, 13, 14, 0x0, 12, 15, 13, 0x0
gsSPEndDisplayList
glabel bitdw_seg7_dl_07005BC0 # 0x07005BC0 - 0x07005C40
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_LIGHTING
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_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 bitdw_seg7_dl_070058F8
gsSPDisplayList bitdw_seg7_dl_070059D0
gsSPDisplayList bitdw_seg7_dl_07005B58
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_LIGHTING
gsSPEndDisplayList