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.
 
 
 
 
 

144 lines
8.3 KiB

bitdw_seg7_vertex_07003C60: # 0x07003C60 - 0x07003D60
vertex -1074, 102, 51, 1330, 1568, 0x2B, 0x5C, 0x54, 0xFF
vertex -1074, -101, -50, 1500, 1396, 0x2B, 0x5C, 0x54, 0xFF
vertex -1074, -101, -460, 2182, 1534, 0x2B, 0x5C, 0x54, 0xFF
vertex -1074, 102, -562, 2352, 1772, 0x2B, 0x5C, 0x54, 0xFF
vertex -2309, -204, 1075, -370, 922, 0x37, 0x7E, 0x69, 0xFF
vertex -2309, -613, 1075, -370, 514, 0x37, 0x7E, 0x69, 0xFF
vertex -1795, -51, 47, 1338, 1414, 0x37, 0x7E, 0x69, 0xFF
vertex -1795, -307, -55, 1508, 1194, 0x37, 0x7E, 0x69, 0xFF
vertex -2718, -613, 1280, 0, 650, 0x37, 0x7E, 0x69, 0xFF
vertex -2923, -204, 1280, 0, 990, 0x37, 0x7E, 0x69, 0xFF
vertex -2004, 0, -557, -3088, 1668, 0x37, 0x7E, 0x69, 0xFF
vertex -1898, -307, -259, -2592, 1330, 0x37, 0x7E, 0x69, 0xFF
vertex -1898, -307, -259, -3434, 1766, 0x2E, 0x9A, 0x73, 0xFF
vertex -2004, 0, -557, -3612, 2010, 0x2E, 0x9A, 0x73, 0xFF
vertex -1074, -101, -460, -2064, 1716, 0x2E, 0x9A, 0x73, 0xFF
vertex -1074, 102, -562, -2064, 1862, 0x2E, 0x9A, 0x73, 0xFF
bitdw_seg7_vertex_07003D60: # 0x07003D60 - 0x07003E60
vertex -1795, -51, 47, -3264, 1924, 0x2E, 0x9A, 0x73, 0xFF
vertex -1795, -307, -55, -3264, 1742, 0x2E, 0x9A, 0x73, 0xFF
vertex -1074, 102, 51, -2064, 1862, 0x2E, 0x9A, 0x73, 0xFF
vertex -1074, -101, -50, -2064, 1716, 0x2E, 0x9A, 0x73, 0xFF
vertex -1795, -51, 47, 2442, 4142, 0xFF, 0xFF, 0xFF, 0xFF
vertex -1074, 102, 52, 3038, 3538, 0xFF, 0xFF, 0xFF, 0xFF
vertex -2004, 0, -557, 2772, 4818, 0xFF, 0xFF, 0xFF, 0xFF
vertex -1074, 102, -562, 3550, 4050, 0xFF, 0xFF, 0xFF, 0xFF
vertex -2309, -204, 1075, 1160, 3714, 0xFF, 0xFF, 0xFF, 0xFF
vertex -2923, -204, 1280, 478, 4054, 0xFF, 0xFF, 0xFF, 0xFF
vertex -1898, -307, -259, 2614, 4482, 0x00, 0x43, 0x43, 0xFF
vertex -1795, -307, -55, 2528, 4226, 0x00, 0x43, 0x43, 0xFF
vertex -2309, -613, 1075, 1160, 3714, 0x00, 0x43, 0x43, 0xFF
vertex -1074, -101, -50, 3124, 3624, 0x00, 0x43, 0x43, 0xFF
vertex -2718, -613, 1280, 650, 3884, 0x00, 0x43, 0x43, 0xFF
vertex -1074, -101, -460, 3464, 3964, 0x00, 0x43, 0x43, 0xFF
bitdw_seg7_vertex_07003E60: # 0x07003E60 - 0x07003F60
vertex 272, 307, -613, -540, 480, 0x7C, 0x89, 0x79, 0xFF
vertex 272, -306, -613, 990, -1054, 0x7C, 0x89, 0x79, 0xFF
vertex -341, -306, -613, 2524, 478, 0x7C, 0x89, 0x79, 0xFF
vertex -341, 307, -613, 990, 2010, 0x7C, 0x89, 0x79, 0xFF
vertex -341, 307, 102, 990, 2010, 0x7C, 0x89, 0x79, 0xFF
vertex -341, -306, 102, 2524, 478, 0x7C, 0x89, 0x79, 0xFF
vertex 272, -306, 102, 990, -1054, 0x7C, 0x89, 0x79, 0xFF
vertex 272, 307, 102, -540, 480, 0x7C, 0x89, 0x79, 0xFF
vertex 1792, 102, -101, 1246, 1244, 0x59, 0x7D, 0x4C, 0xFF
vertex 1741, -50, -101, 1628, 862, 0x59, 0x7D, 0x4C, 0xFF
vertex 1741, -50, -409, 862, 96, 0x59, 0x7D, 0x4C, 0xFF
vertex 1792, 102, -409, 480, 480, 0x59, 0x7D, 0x4C, 0xFF
vertex 1024, 102, -562, 96, 96, 0x59, 0x7D, 0x4C, 0xFF
vertex 1024, -204, -50, 2140, 606, 0x59, 0x7D, 0x4C, 0xFF
vertex 1024, 102, 51, 1628, 1626, 0x59, 0x7D, 0x4C, 0xFF
vertex 1024, -204, -460, 1118, -416, 0x59, 0x7D, 0x4C, 0xFF
bitdw_seg7_vertex_07003F60: # 0x07003F60 - 0x07004060
vertex 272, 307, 102, 1246, 2266, 0x68, 0x7B, 0x6E, 0xFF
vertex 272, -306, -613, 990, -1054, 0x68, 0x7B, 0x6E, 0xFF
vertex 272, 307, -613, -542, 480, 0x68, 0x7B, 0x6E, 0xFF
vertex 272, -306, 102, 2778, 734, 0x68, 0x7B, 0x6E, 0xFF
vertex -341, 307, -613, -542, 480, 0x68, 0x7B, 0x6E, 0xFF
vertex -341, -306, -613, 990, -1054, 0x68, 0x7B, 0x6E, 0xFF
vertex -341, -306, 102, 2778, 734, 0x68, 0x7B, 0x6E, 0xFF
vertex -341, 307, 102, 1246, 2266, 0x68, 0x7B, 0x6E, 0xFF
vertex -341, 307, 102, 0, 990, 0xB7, 0xCD, 0xBA, 0xFF
vertex 272, 307, -613, 3290, 1244, 0xB7, 0xCD, 0xBA, 0xFF
vertex -341, 307, -613, 1756, 2776, 0xB7, 0xCD, 0xBA, 0xFF
vertex 272, 307, 102, 1500, -542, 0xB7, 0xCD, 0xBA, 0xFF
vertex -341, -306, -613, 1756, 2776, 0x55, 0x55, 0x55, 0xFF
vertex 272, -306, -613, 3290, 1244, 0x55, 0x55, 0x55, 0xFF
vertex 272, -306, 102, 1500, -542, 0x55, 0x55, 0x55, 0xFF
vertex -341, -306, 102, 0, 990, 0x55, 0x55, 0x55, 0xFF
bitdw_seg7_vertex_07004060: # 0x07004060 - 0x07004160
vertex 1741, -50, -101, 2352, 1498, 0x3A, 0x48, 0x35, 0xFF
vertex 1024, -204, -460, 0, 2692, 0x3A, 0x48, 0x35, 0xFF
vertex 1741, -50, -409, 2352, 2522, 0x3A, 0x48, 0x35, 0xFF
vertex 1024, -204, -50, 0, 1328, 0x3A, 0x48, 0x35, 0xFF
vertex 1792, 102, -409, -3734, -3736, 0x66, 0x88, 0x67, 0xFF
vertex 1741, -50, -409, -3224, -3992, 0x66, 0x88, 0x67, 0xFF
vertex 1024, 102, -562, -1818, -1820, 0x66, 0x88, 0x67, 0xFF
vertex 1024, -204, -460, -1052, -2588, 0x66, 0x88, 0x67, 0xFF
vertex 1024, 102, 51, -1818, -1820, 0x66, 0x88, 0x67, 0xFF
vertex 1024, -204, -50, -1052, -2588, 0x66, 0x88, 0x67, 0xFF
vertex 1741, -50, -101, -3224, -3992, 0x66, 0x88, 0x67, 0xFF
vertex 1792, 102, -101, -3734, -3736, 0x66, 0x88, 0x67, 0xFF
vertex 1792, 102, -409, 6484, -2970, 0xBD, 0xDB, 0xB3, 0xFF
vertex 1024, 102, 51, 3418, -2204, 0xBD, 0xDB, 0xB3, 0xFF
vertex 1792, 102, -101, 5716, -3736, 0xBD, 0xDB, 0xB3, 0xFF
vertex 1024, 102, -562, 4950, -670, 0xBD, 0xDB, 0xB3, 0xFF
bitdw_seg7_dl_07004160: # 0x07004160 - 0x07004220
gsDPSetTextureImage G_IM_FMT_RGBA, G_IM_SIZ_16b, 1, bitdw_seg7_texture_07000800
gsDPLoadSync
gsDPLoadBlock 7, 0, 0, 0x3FF, 0x100
gsSPVertex bitdw_seg7_vertex_07003C60, 16, 0
gsSP2Triangles 0, 1, 2, 0x0, 0, 2, 3, 0x0
gsSP2Triangles 4, 5, 6, 0x0, 5, 7, 6, 0x0
gsSP2Triangles 8, 9, 10, 0x0, 8, 10, 11, 0x0
gsSP2Triangles 12, 13, 14, 0x0, 13, 15, 14, 0x0
gsSPVertex bitdw_seg7_vertex_07003D60, 16, 0
gsSP2Triangles 0, 1, 2, 0x0, 1, 3, 2, 0x0
gsSP2Triangles 4, 5, 6, 0x0, 5, 7, 6, 0x0
gsSP2Triangles 8, 4, 9, 0x0, 4, 6, 9, 0x0
gsSP2Triangles 10, 11, 12, 0x0, 13, 11, 10, 0x0
gsSP2Triangles 10, 12, 14, 0x0, 10, 15, 13, 0x0
gsSPEndDisplayList
bitdw_seg7_dl_07004220: # 0x07004220 - 0x07004318
gsDPSetTextureImage G_IM_FMT_RGBA, G_IM_SIZ_16b, 1, sky_09007000
gsDPLoadSync
gsDPLoadBlock 7, 0, 0, 0x3FF, 0x100
gsSPVertex bitdw_seg7_vertex_07003E60, 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, 15, 13, 0x0
gsSPVertex bitdw_seg7_vertex_07003F60, 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, 11, 9, 0x0
gsSP2Triangles 12, 13, 14, 0x0, 12, 14, 15, 0x0
gsSPVertex bitdw_seg7_vertex_07004060, 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, 10, 11, 0x0
gsSP2Triangles 12, 13, 14, 0x0, 12, 15, 13, 0x0
gsSPEndDisplayList
glabel bitdw_seg7_dl_07004318 # 0x07004318 - 0x07004390
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_07004160
gsSPDisplayList bitdw_seg7_dl_07004220
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