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.
 
 
 
 
 

137 lines
7.6 KiB

bitdw_seg7_vertex_0700A718: # 0x0700A718 - 0x0700A818
vertex 102, 102, 102, 18, 836, 0x8E, 0xAC, 0x52, 0xFF
vertex -420, 162, -49, 82, -532, 0x8E, 0xAC, 0x52, 0xFF
vertex 102, 102, 307, 990, 990, 0x8E, 0xAC, 0x52, 0xFF
vertex -565, 162, 95, 990, -766, 0x8E, 0xAC, 0x52, 0xFF
vertex -995, 314, -334, 990, -574, 0x8E, 0xAC, 0x52, 0xFF
vertex -565, 162, 95, 990, 990, 0x8E, 0xAC, 0x52, 0xFF
vertex -420, 162, -49, 0, 990, 0x8E, 0xAC, 0x52, 0xFF
vertex -850, 314, -479, 0, -574, 0x8E, 0xAC, 0x52, 0xFF
vertex 102, 102, 102, 0, 62, 0x8E, 0xAC, 0x52, 0xFF
vertex 717, 102, 307, 990, 990, 0x8E, 0xAC, 0x52, 0xFF
vertex 717, 102, 102, 0, 990, 0x8E, 0xAC, 0x52, 0xFF
vertex 102, 102, 307, 990, 0, 0x8E, 0xAC, 0x52, 0xFF
vertex -565, 60, 95, 1012, -744, 0x3A, 0x47, 0x2D, 0xFF
vertex -420, 60, -49, 104, -510, 0x3A, 0x47, 0x2D, 0xFF
vertex 102, 0, 102, 40, 858, 0x3A, 0x47, 0x2D, 0xFF
vertex 102, 0, 307, 1012, 1010, 0x3A, 0x47, 0x2D, 0xFF
bitdw_seg7_vertex_0700A818: # 0x0700A818 - 0x0700A918
vertex -565, 60, 95, 990, 1050, 0x3A, 0x47, 0x2D, 0xFF
vertex -1065, 236, -404, 990, -512, 0x3A, 0x47, 0x2D, 0xFF
vertex -920, 236, -549, 0, -512, 0x3A, 0x47, 0x2D, 0xFF
vertex -420, 60, -49, 0, 1050, 0x3A, 0x47, 0x2D, 0xFF
vertex 717, 0, 102, 0, 990, 0x3A, 0x47, 0x2D, 0xFF
vertex 717, 0, 307, 990, 990, 0x3A, 0x47, 0x2D, 0xFF
vertex 102, 0, 307, 990, -542, 0x3A, 0x47, 0x2D, 0xFF
vertex 102, 0, 102, 0, -544, 0x3A, 0x47, 0x2D, 0xFF
vertex 717, 0, 102, -1308, 606, 0x4D, 0x6F, 0x2D, 0xFF
vertex 102, 102, 102, -158, 734, 0x4D, 0x6F, 0x2D, 0xFF
vertex 717, 102, 102, -1308, 352, 0x4D, 0x6F, 0x2D, 0xFF
vertex 102, 0, 102, -158, 990, 0x4D, 0x6F, 0x2D, 0xFF
vertex 102, 102, 307, 0, 734, 0x4D, 0x6F, 0x2D, 0xFF
vertex 717, 0, 307, -1308, 606, 0x4D, 0x6F, 0x2D, 0xFF
vertex 717, 102, 307, -1308, 352, 0x4D, 0x6F, 0x2D, 0xFF
vertex 102, 0, 307, 0, 990, 0x4D, 0x6F, 0x2D, 0xFF
bitdw_seg7_vertex_0700A918: # 0x0700A918 - 0x0700AA18
vertex -420, 60, -49, 1352, 1244, 0x47, 0x61, 0x15, 0xFF
vertex -420, 162, -49, 1352, 990, 0x47, 0x61, 0x15, 0xFF
vertex 102, 102, 102, 2658, 1136, 0x47, 0x61, 0x15, 0xFF
vertex 102, 0, 102, 2658, 1392, 0x47, 0x61, 0x15, 0xFF
vertex -565, 162, 95, 1636, 720, 0x47, 0x61, 0x15, 0xFF
vertex -565, 60, 95, 1636, 890, 0x47, 0x61, 0x15, 0xFF
vertex 102, 0, 307, 0, 990, 0x47, 0x61, 0x15, 0xFF
vertex 102, 102, 307, 0, 820, 0x47, 0x61, 0x15, 0xFF
vertex -420, 162, -49, 1352, 990, 0x44, 0x5F, 0x25, 0xFF
vertex -420, 60, -49, 1352, 1244, 0x44, 0x5F, 0x25, 0xFF
vertex -850, 314, -479, 278, 610, 0x44, 0x5F, 0x25, 0xFF
vertex -920, 236, -549, 102, 804, 0x44, 0x5F, 0x25, 0xFF
vertex -995, 314, -334, -82, 610, 0x44, 0x5F, 0x25, 0xFF
vertex -565, 60, 95, 990, 1244, 0x44, 0x5F, 0x25, 0xFF
vertex -565, 162, 95, 990, 990, 0x44, 0x5F, 0x25, 0xFF
vertex -1065, 236, -404, -256, 804, 0x44, 0x5F, 0x25, 0xFF
bitdw_seg7_vertex_0700AA18: # 0x0700AA18 - 0x0700AAF8
vertex 1126, 0, 0, -90, 1042, 0x4E, 0x69, 0x7E, 0xFF
vertex 1189, -168, 94, -18, 1254, 0x4E, 0x69, 0x7E, 0xFF
vertex 717, 0, 102, 562, 512, 0x4E, 0x69, 0x7E, 0xFF
vertex 717, 0, 307, 888, 758, 0x4E, 0x69, 0x7E, 0xFF
vertex 1189, -168, 315, 336, 1520, 0x4E, 0x69, 0x7E, 0xFF
vertex 1126, 0, 410, 562, 1532, 0x4E, 0x69, 0x7E, 0xFF
vertex 717, 102, 307, 820, 1498, 0x74, 0xB2, 0xBD, 0xFF
vertex 1126, 102, 410, 0, 990, 0x74, 0xB2, 0xBD, 0xFF
vertex 1126, 102, 0, 650, 308, 0x74, 0xB2, 0xBD, 0xFF
vertex 717, 102, 102, 1160, 1158, 0x74, 0xB2, 0xBD, 0xFF
vertex 717, 0, 102, 562, 512, 0x27, 0x35, 0x3E, 0xFF
vertex 1189, -168, 315, 336, 1520, 0x27, 0x35, 0x3E, 0xFF
vertex 717, 0, 307, 888, 758, 0x27, 0x35, 0x3E, 0xFF
vertex 1189, -168, 94, -18, 1254, 0x27, 0x35, 0x3E, 0xFF
bitdw_seg7_vertex_0700AAF8: # 0x0700AAF8 - 0x0700AB78
vertex 717, 0, 307, 0, 480, 0x2D, 0x5E, 0x7C, 0xFF
vertex 1126, 102, 410, 1246, 1244, 0x2D, 0x5E, 0x7C, 0xFF
vertex 717, 102, 307, 224, 224, 0x2D, 0x5E, 0x7C, 0xFF
vertex 1126, 0, 410, 990, 1498, 0x2D, 0x5E, 0x7C, 0xFF
vertex 1126, 0, 0, 990, 1498, 0x2D, 0x5E, 0x7C, 0xFF
vertex 717, 102, 102, 224, 224, 0x2D, 0x5E, 0x7C, 0xFF
vertex 1126, 102, 0, 1246, 1244, 0x2D, 0x5E, 0x7C, 0xFF
vertex 717, 0, 102, 0, 480, 0x2D, 0x5E, 0x7C, 0xFF
bitdw_seg7_dl_0700AB78: # 0x0700AB78 - 0x0700AC70
gsDPSetTextureImage G_IM_FMT_RGBA, G_IM_SIZ_16b, 1, sky_09000800
gsDPLoadSync
gsDPLoadBlock 7, 0, 0, 0x3FF, 0x100
gsSPVertex bitdw_seg7_vertex_0700A718, 16, 0
gsSP2Triangles 0, 1, 2, 0x0, 1, 3, 2, 0x0
gsSP2Triangles 4, 5, 6, 0x0, 7, 4, 6, 0x0
gsSP2Triangles 8, 9, 10, 0x0, 8, 11, 9, 0x0
gsSP2Triangles 12, 13, 14, 0x0, 15, 12, 14, 0x0
gsSPVertex bitdw_seg7_vertex_0700A818, 16, 0
gsSP2Triangles 0, 1, 2, 0x0, 3, 0, 2, 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, 15, 13, 0x0
gsSPVertex bitdw_seg7_vertex_0700A918, 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, 9, 11, 10, 0x0
gsSP2Triangles 12, 13, 14, 0x0, 12, 15, 13, 0x0
gsSPEndDisplayList
bitdw_seg7_dl_0700AC70: # 0x0700AC70 - 0x0700ACC8
gsDPSetTextureImage G_IM_FMT_RGBA, G_IM_SIZ_16b, 1, sky_09001800
gsDPLoadSync
gsDPLoadBlock 7, 0, 0, 0x3FF, 0x100
gsSPVertex bitdw_seg7_vertex_0700AA18, 14, 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
gsSPEndDisplayList
bitdw_seg7_dl_0700ACC8: # 0x0700ACC8 - 0x0700AD10
gsDPSetTextureImage G_IM_FMT_RGBA, G_IM_SIZ_16b, 1, sky_09007000
gsDPLoadSync
gsDPLoadBlock 7, 0, 0, 0x3FF, 0x100
gsSPVertex bitdw_seg7_vertex_0700AAF8, 8, 0
gsSP2Triangles 0, 1, 2, 0x0, 0, 3, 1, 0x0
gsSP2Triangles 4, 5, 6, 0x0, 4, 7, 5, 0x0
gsSPEndDisplayList
glabel bitdw_seg7_dl_0700AD10 # 0x0700AD10 - 0x0700AD90
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_0700AB78
gsSPDisplayList bitdw_seg7_dl_0700AC70
gsSPDisplayList bitdw_seg7_dl_0700ACC8
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