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.
 
 
 
 
 

202 lines
12 KiB

bitdw_seg7_vertex_07002928: # 0x07002928 - 0x07002A28
vertex 205, 653, -1101, 480, 990, 0xBE, 0xBE, 0xBE, 0xFF
vertex 102, 653, -1101, 224, 1244, 0xBE, 0xBE, 0xBE, 0xFF
vertex 102, 653, -999, 0, 990, 0xBE, 0xBE, 0xBE, 0xFF
vertex 205, 653, -999, 224, 734, 0xBE, 0xBE, 0xBE, 0xFF
vertex 51, 448, -845, -542, 734, 0x5E, 0x69, 0x58, 0xFF
vertex 102, 294, -999, 0, 990, 0x5E, 0x69, 0x58, 0xFF
vertex 205, 294, -999, 224, 734, 0x5E, 0x69, 0x58, 0xFF
vertex 256, 448, -845, 0, 224, 0x5E, 0x69, 0x58, 0xFF
vertex 307, 448, -1203, 990, 990, 0x5E, 0x69, 0x58, 0xFF
vertex 102, 294, -1101, 224, 1244, 0x5E, 0x69, 0x58, 0xFF
vertex 0, 448, -1203, 224, 1754, 0x5E, 0x69, 0x58, 0xFF
vertex 205, 294, -1101, 480, 990, 0x5E, 0x69, 0x58, 0xFF
vertex 205, 294, -999, 224, 734, 0x38, 0x4A, 0x3D, 0xFF
vertex 102, 294, -999, 0, 990, 0x38, 0x4A, 0x3D, 0xFF
vertex 102, 294, -1101, 224, 1244, 0x38, 0x4A, 0x3D, 0xFF
vertex 205, 294, -1101, 480, 990, 0x38, 0x4A, 0x3D, 0xFF
bitdw_seg7_vertex_07002A28: # 0x07002A28 - 0x07002B28
vertex 256, 448, -845, 0, 224, 0x4F, 0x61, 0x55, 0xFF
vertex 205, 294, -999, 224, 734, 0x4F, 0x61, 0x55, 0xFF
vertex 307, 448, -1203, 990, 990, 0x4F, 0x61, 0x55, 0xFF
vertex 205, 294, -1101, 480, 990, 0x4F, 0x61, 0x55, 0xFF
vertex 0, 448, -1203, 224, 1754, 0x4F, 0x61, 0x55, 0xFF
vertex 102, 294, -999, 0, 990, 0x4F, 0x61, 0x55, 0xFF
vertex 51, 448, -845, -542, 734, 0x4F, 0x61, 0x55, 0xFF
vertex 102, 294, -1101, 224, 1244, 0x4F, 0x61, 0x55, 0xFF
vertex 51, 448, -845, -542, 734, 0x7D, 0x7D, 0x7D, 0xFF
vertex 102, 653, -999, 0, 990, 0x7D, 0x7D, 0x7D, 0xFF
vertex 0, 448, -1203, 224, 1754, 0x7D, 0x7D, 0x7D, 0xFF
vertex 102, 653, -1101, 224, 1244, 0x7D, 0x7D, 0x7D, 0xFF
vertex 307, 448, -1203, 990, 990, 0x7D, 0x7D, 0x7D, 0xFF
vertex 205, 653, -1101, 480, 990, 0x7D, 0x7D, 0x7D, 0xFF
vertex 205, 653, -999, 224, 734, 0x7D, 0x7D, 0x7D, 0xFF
vertex 256, 448, -845, 0, 224, 0x7D, 0x7D, 0x7D, 0xFF
bitdw_seg7_vertex_07002B28: # 0x07002B28 - 0x07002BA8
vertex 0, 448, -1203, 224, 1754, 0x96, 0x96, 0x96, 0xFF
vertex 102, 653, -1101, 224, 1244, 0x96, 0x96, 0x96, 0xFF
vertex 205, 653, -1101, 480, 990, 0x96, 0x96, 0x96, 0xFF
vertex 307, 448, -1203, 990, 990, 0x96, 0x96, 0x96, 0xFF
vertex 256, 448, -845, 0, 224, 0x96, 0x96, 0x96, 0xFF
vertex 205, 653, -999, 224, 734, 0x96, 0x96, 0x96, 0xFF
vertex 102, 653, -999, 0, 990, 0x96, 0x96, 0x96, 0xFF
vertex 51, 448, -845, -542, 734, 0x96, 0x96, 0x96, 0xFF
bitdw_seg7_vertex_07002BA8: # 0x07002BA8 - 0x07002CA8
vertex -972, -204, -304, 4060, 296, 0x70, 0x83, 0x73, 0xFF
vertex -1381, 0, -304, 5082, -44, 0x70, 0x83, 0x73, 0xFF
vertex -972, 0, -304, 4400, 636, 0x70, 0x83, 0x73, 0xFF
vertex -972, 0, 311, 2012, -1054, 0x70, 0x83, 0x73, 0xFF
vertex -1381, 0, 311, 1330, -1736, 0x70, 0x83, 0x73, 0xFF
vertex -1381, -204, 311, 990, -1394, 0x70, 0x83, 0x73, 0xFF
vertex -972, -204, 311, 1672, -714, 0x70, 0x83, 0x73, 0xFF
vertex -147, 412, -508, 3716, 2692, 0x70, 0x83, 0x73, 0xFF
vertex 461, 205, -512, 2356, 3360, 0x70, 0x83, 0x73, 0xFF
vertex -147, 207, -508, 3374, 2350, 0x70, 0x83, 0x73, 0xFF
vertex 461, 410, -512, 2698, 3700, 0x70, 0x83, 0x73, 0xFF
vertex -147, 207, 515, 3728, -28, 0x70, 0x83, 0x73, 0xFF
vertex 466, 412, 515, 5090, 654, 0x70, 0x83, 0x73, 0xFF
vertex -147, 412, 515, 4068, -368, 0x70, 0x83, 0x73, 0xFF
vertex 466, 207, 515, 4750, 992, 0x70, 0x83, 0x73, 0xFF
vertex -1381, -204, -304, 4742, -386, 0x70, 0x83, 0x73, 0xFF
bitdw_seg7_vertex_07002CA8: # 0x07002CA8 - 0x07002D98
vertex -972, 0, 311, 2012, -1054, 0x68, 0x7B, 0x6E, 0xFF
vertex -147, 207, 515, 3728, -28, 0x68, 0x7B, 0x6E, 0xFF
vertex -147, 412, 515, 4068, -368, 0x68, 0x7B, 0x6E, 0xFF
vertex -147, 207, -508, 3374, 2350, 0x68, 0x7B, 0x6E, 0xFF
vertex -972, -204, -304, 4060, 296, 0x68, 0x7B, 0x6E, 0xFF
vertex -147, 412, -508, 3716, 2692, 0x68, 0x7B, 0x6E, 0xFF
vertex -972, 0, -304, 4400, 636, 0x68, 0x7B, 0x6E, 0xFF
vertex 466, 412, 515, 5090, 654, 0x68, 0x7B, 0x6E, 0xFF
vertex 466, 207, 515, 4750, 992, 0x68, 0x7B, 0x6E, 0xFF
vertex 973, 205, 307, 5588, 1840, 0x68, 0x7B, 0x6E, 0xFF
vertex 973, 0, 307, 5248, 2180, 0x68, 0x7B, 0x6E, 0xFF
vertex 973, 205, -307, 1506, 4212, 0x68, 0x7B, 0x6E, 0xFF
vertex 973, 0, -307, 1164, 3870, 0x68, 0x7B, 0x6E, 0xFF
vertex 461, 205, -512, 2356, 3360, 0x68, 0x7B, 0x6E, 0xFF
vertex 461, 410, -512, 2698, 3700, 0x68, 0x7B, 0x6E, 0xFF
bitdw_seg7_vertex_07002D98: # 0x07002D98 - 0x07002E88
vertex 466, -1225, -303, 0, 990, 0x68, 0x7B, 0x6E, 0xFF
vertex -972, -1228, -304, 2356, -1408, 0x68, 0x7B, 0x6E, 0xFF
vertex -147, 207, -508, 3374, 2350, 0x68, 0x7B, 0x6E, 0xFF
vertex -972, 0, 311, 2012, -1054, 0x68, 0x7B, 0x6E, 0xFF
vertex -972, -204, 311, 1672, -714, 0x68, 0x7B, 0x6E, 0xFF
vertex -147, 207, 515, 3728, -28, 0x68, 0x7B, 0x6E, 0xFF
vertex 461, 205, -512, 2356, 3360, 0x68, 0x7B, 0x6E, 0xFF
vertex 973, 0, -307, 1164, 3870, 0x68, 0x7B, 0x6E, 0xFF
vertex 466, 207, 515, 4750, 992, 0x68, 0x7B, 0x6E, 0xFF
vertex 466, -1225, 311, 2366, 3376, 0x68, 0x7B, 0x6E, 0xFF
vertex 973, 0, 307, 5248, 2180, 0x68, 0x7B, 0x6E, 0xFF
vertex -972, -1228, 311, 0, 990, 0x68, 0x7B, 0x6E, 0xFF
vertex -1381, -204, -304, 4742, -386, 0x68, 0x7B, 0x6E, 0xFF
vertex -972, -204, -304, 4060, 296, 0x68, 0x7B, 0x6E, 0xFF
vertex -1381, -204, 311, 990, -1394, 0x68, 0x7B, 0x6E, 0xFF
bitdw_seg7_vertex_07002E88: # 0x07002E88 - 0x07002F88
vertex 973, 0, -307, 990, 3032, 0x5E, 0x69, 0x58, 0xFF
vertex 973, 205, -307, 1502, 2522, 0x5E, 0x69, 0x58, 0xFF
vertex 973, 205, 307, 0, 988, 0x5E, 0x69, 0x58, 0xFF
vertex 973, 0, 307, -544, 1496, 0x5E, 0x69, 0x58, 0xFF
vertex -1381, -204, 311, -808, 1742, 0x5E, 0x69, 0x58, 0xFF
vertex -1381, 0, -304, 982, 3024, 0x5E, 0x69, 0x58, 0xFF
vertex -1381, -204, -304, 726, 3278, 0x5E, 0x69, 0x58, 0xFF
vertex -1381, 0, 311, -552, 1488, 0x5E, 0x69, 0x58, 0xFF
vertex 466, -1225, -304, -28, 992, 0x38, 0x4A, 0x3D, 0xFF
vertex 973, 0, 307, 3030, 2014, 0x38, 0x4A, 0x3D, 0xFF
vertex 466, -1225, 311, 996, -30, 0x38, 0x4A, 0x3D, 0xFF
vertex 973, 0, -307, 2006, 3038, 0x38, 0x4A, 0x3D, 0xFF
vertex -972, -1228, 311, 992, -34, 0x38, 0x4A, 0x3D, 0xFF
vertex -1381, -204, -304, 1672, 2692, 0x38, 0x4A, 0x3D, 0xFF
vertex -972, -1228, -304, 0, 990, 0x38, 0x4A, 0x3D, 0xFF
vertex -1381, -204, 311, 2696, 1668, 0x38, 0x4A, 0x3D, 0xFF
bitdw_seg7_vertex_07002F88: # 0x07002F88 - 0x07003088
vertex -1381, 0, 311, 5842, -4890, 0xCD, 0xDF, 0xCC, 0xFF
vertex -972, 0, 311, 6864, -5912, 0xCD, 0xDF, 0xCC, 0xFF
vertex -972, 0, -304, 8400, -4376, 0xCD, 0xDF, 0xCC, 0xFF
vertex -1381, 0, -304, 7378, -3354, 0xCD, 0xDF, 0xCC, 0xFF
vertex 461, 410, -512, 12496, -7432, 0xCD, 0xDF, 0xCC, 0xFF
vertex -147, 412, 515, 8410, -8480, 0xCD, 0xDF, 0xCC, 0xFF
vertex 466, 412, 515, 9942, -10012, 0xCD, 0xDF, 0xCC, 0xFF
vertex -147, 412, -508, 10964, -5924, 0xCD, 0xDF, 0xCC, 0xFF
vertex -972, 0, 311, 6864, -5912, 0xB7, 0xCD, 0xBA, 0xFF
vertex -147, 412, 515, 8410, -8480, 0xB7, 0xCD, 0xBA, 0xFF
vertex -147, 412, -508, 10964, -5924, 0xB7, 0xCD, 0xBA, 0xFF
vertex -972, 0, -304, 8400, -4376, 0xB7, 0xCD, 0xBA, 0xFF
vertex 973, 205, -307, 3288, 1778, 0xB7, 0xCD, 0xBA, 0xFF
vertex 461, 410, -512, 2522, 3568, 0xB7, 0xCD, 0xBA, 0xFF
vertex 466, 412, 515, 0, 990, 0xB7, 0xCD, 0xBA, 0xFF
vertex 973, 205, 307, 1752, 244, 0xB7, 0xCD, 0xBA, 0xFF
bitdw_seg7_dl_07003088: # 0x07003088 - 0x07003160
gsDPSetTextureImage G_IM_FMT_RGBA, G_IM_SIZ_16b, 1, sky_09001800
gsDPLoadSync
gsDPLoadBlock 7, 0, 0, 0x3FF, 0x100
gsSPVertex bitdw_seg7_vertex_07002928, 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, 11, 9, 0x0
gsSP2Triangles 12, 13, 14, 0x0, 12, 14, 15, 0x0
gsSPVertex bitdw_seg7_vertex_07002A28, 16, 0
gsSP2Triangles 0, 1, 2, 0x0, 1, 3, 2, 0x0
gsSP2Triangles 4, 5, 6, 0x0, 4, 7, 5, 0x0
gsSP2Triangles 8, 9, 10, 0x0, 9, 11, 10, 0x0
gsSP2Triangles 12, 13, 14, 0x0, 12, 14, 15, 0x0
gsSPVertex bitdw_seg7_vertex_07002B28, 8, 0
gsSP2Triangles 0, 1, 2, 0x0, 0, 2, 3, 0x0
gsSP2Triangles 4, 5, 6, 0x0, 4, 6, 7, 0x0
gsSPEndDisplayList
bitdw_seg7_dl_07003160: # 0x07003160 - 0x070032F8
gsDPSetTextureImage G_IM_FMT_RGBA, G_IM_SIZ_16b, 1, sky_09007000
gsDPLoadSync
gsDPLoadBlock 7, 0, 0, 0x3FF, 0x100
gsSPVertex bitdw_seg7_vertex_07002BA8, 16, 0
gsSP2Triangles 0, 1, 2, 0x0, 3, 4, 5, 0x0
gsSP2Triangles 3, 5, 6, 0x0, 7, 8, 9, 0x0
gsSP2Triangles 7, 10, 8, 0x0, 11, 12, 13, 0x0
gsSP2Triangles 11, 14, 12, 0x0, 0, 15, 1, 0x0
gsSPVertex bitdw_seg7_vertex_07002CA8, 15, 0
gsSP2Triangles 0, 1, 2, 0x0, 3, 4, 5, 0x0
gsSP2Triangles 5, 4, 6, 0x0, 7, 8, 9, 0x0
gsSP2Triangles 8, 10, 9, 0x0, 11, 12, 13, 0x0
gsSP1Triangle 14, 11, 13, 0x0
gsSPVertex bitdw_seg7_vertex_07002D98, 15, 0
gsSP2Triangles 0, 1, 2, 0x0, 3, 4, 5, 0x0
gsSP2Triangles 6, 7, 0, 0x0, 2, 6, 0, 0x0
gsSP2Triangles 8, 5, 9, 0x0, 8, 9, 10, 0x0
gsSP2Triangles 11, 9, 5, 0x0, 1, 12, 13, 0x0
gsSP2Triangles 2, 1, 13, 0x0, 4, 14, 11, 0x0
gsSP1Triangle 4, 11, 5, 0x0
gsSPVertex bitdw_seg7_vertex_07002E88, 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, 11, 9, 0x0
gsSP2Triangles 12, 13, 14, 0x0, 12, 15, 13, 0x0
gsSPVertex bitdw_seg7_vertex_07002F88, 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
glabel bitdw_seg7_dl_070032F8 # 0x070032F8 - 0x07003370
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_07003088
gsSPDisplayList bitdw_seg7_dl_07003160
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