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.
 
 
 
 
 

120 lines
6.9 KiB

bitdw_seg7_vertex_07003688: # 0x07003688 - 0x07003778
vertex 3507, -588, 205, 4226, -542, 0x2B, 0x5C, 0x54, 0xFF
vertex 3712, -485, 614, 4056, -1054, 0x2B, 0x5C, 0x54, 0xFF
vertex 3712, -588, 614, 4056, -1054, 0x2B, 0x5C, 0x54, 0xFF
vertex 3507, -485, 205, 4226, -542, 0x2B, 0x5C, 0x54, 0xFF
vertex -1305, 333, 614, -116, 3118, 0x2B, 0x5C, 0x54, 0xFF
vertex -1305, 640, 614, -116, 3118, 0x2B, 0x5C, 0x54, 0xFF
vertex -2124, 1152, -921, 478, 5076, 0x2B, 0x5C, 0x54, 0xFF
vertex -1919, 742, -921, 650, 4906, 0x2B, 0x5C, 0x54, 0xFF
vertex -1509, 742, -1125, 1160, 4736, 0x2B, 0x5C, 0x54, 0xFF
vertex -895, 640, 0, 734, 3288, 0x2B, 0x5C, 0x54, 0xFF
vertex -895, 230, 0, 734, 3288, 0x2B, 0x5C, 0x54, 0xFF
vertex -1509, 1152, -1125, 1160, 4736, 0x2B, 0x5C, 0x54, 0xFF
vertex 742, 230, 1126, 1160, 990, 0x37, 0x7E, 0x69, 0xFF
vertex -1305, 640, 614, -116, 3118, 0x37, 0x7E, 0x69, 0xFF
vertex -1305, 333, 614, -116, 3118, 0x37, 0x7E, 0x69, 0xFF
bitdw_seg7_vertex_07003778: # 0x07003778 - 0x07003868
vertex 3712, -588, 614, 4056, -1054, 0x37, 0x7E, 0x69, 0xFF
vertex 3712, -485, 614, 4056, -1054, 0x37, 0x7E, 0x69, 0xFF
vertex 2381, -383, 614, 2948, 54, 0x37, 0x7E, 0x69, 0xFF
vertex 2381, -588, 614, 2948, 54, 0x37, 0x7E, 0x69, 0xFF
vertex 2176, -485, 0, 3290, 734, 0x37, 0x7E, 0x69, 0xFF
vertex 3507, -485, 205, 4226, -542, 0x37, 0x7E, 0x69, 0xFF
vertex 3507, -588, 205, 4226, -542, 0x37, 0x7E, 0x69, 0xFF
vertex 2176, -383, 0, 3290, 734, 0x37, 0x7E, 0x69, 0xFF
vertex 742, 230, 512, 1672, 1500, 0x37, 0x7E, 0x69, 0xFF
vertex -895, 230, 0, 734, 3288, 0x37, 0x7E, 0x69, 0xFF
vertex -895, 640, 0, 734, 3288, 0x37, 0x7E, 0x69, 0xFF
vertex 742, -178, 512, 1672, 1500, 0x37, 0x7E, 0x69, 0xFF
vertex 447, -59, 1044, 982, 1302, 0x37, 0x7E, 0x69, 0xFF
vertex 742, 230, 1126, 1160, 990, 0x37, 0x7E, 0x69, 0xFF
vertex -1305, 333, 614, -116, 3118, 0x37, 0x7E, 0x69, 0xFF
bitdw_seg7_vertex_07003868: # 0x07003868 - 0x07003968
vertex 742, 230, 512, 1672, 1500, 0x2E, 0x9A, 0x73, 0xFF
vertex 2176, -383, 0, 3290, 734, 0x2E, 0x9A, 0x73, 0xFF
vertex 2176, -485, 0, 3290, 734, 0x2E, 0x9A, 0x73, 0xFF
vertex 742, -178, 512, 1672, 1500, 0x2E, 0x9A, 0x73, 0xFF
vertex 2381, -588, 614, 2948, 54, 0x2E, 0x9A, 0x73, 0xFF
vertex 742, 230, 1126, 1160, 990, 0x2E, 0x9A, 0x73, 0xFF
vertex 447, -59, 1044, 982, 1302, 0x2E, 0x9A, 0x73, 0xFF
vertex 2381, -383, 614, 2948, 54, 0x2E, 0x9A, 0x73, 0xFF
vertex -1509, 1152, -1125, 1160, 4736, 0xFF, 0xFF, 0xFF, 0xFF
vertex -2124, 1152, -921, 478, 5076, 0xFF, 0xFF, 0xFF, 0xFF
vertex -1305, 640, 614, -116, 3118, 0xFF, 0xFF, 0xFF, 0xFF
vertex 2176, -383, 0, 3290, 734, 0xFF, 0xFF, 0xFF, 0xFF
vertex 2381, -383, 614, 2948, 54, 0xFF, 0xFF, 0xFF, 0xFF
vertex 3712, -485, 614, 4056, -1054, 0xFF, 0xFF, 0xFF, 0xFF
vertex 3507, -485, 205, 4226, -542, 0xFF, 0xFF, 0xFF, 0xFF
vertex 742, 230, 512, 1672, 1500, 0xFF, 0xFF, 0xFF, 0xFF
bitdw_seg7_vertex_07003968: # 0x07003968 - 0x07003A68
vertex 742, 230, 512, 1672, 1500, 0xFF, 0xFF, 0xFF, 0xFF
vertex 742, 230, 1126, 1160, 990, 0xFF, 0xFF, 0xFF, 0xFF
vertex 2381, -383, 614, 2948, 54, 0xFF, 0xFF, 0xFF, 0xFF
vertex 742, 230, 512, 1672, 1498, 0xFF, 0xFF, 0xFF, 0xFF
vertex -895, 640, 0, 734, 3288, 0xFF, 0xFF, 0xFF, 0xFF
vertex -1305, 640, 614, -116, 3118, 0xFF, 0xFF, 0xFF, 0xFF
vertex -1509, 1152, -1125, 1160, 4736, 0xFF, 0xFF, 0xFF, 0xFF
vertex 2176, -485, 0, 3290, 734, 0x00, 0x43, 0x43, 0xFF
vertex 3507, -588, 205, 4226, -542, 0x00, 0x43, 0x43, 0xFF
vertex 2381, -588, 614, 2948, 54, 0x00, 0x43, 0x43, 0xFF
vertex 3712, -588, 614, 4056, -1054, 0x00, 0x43, 0x43, 0xFF
vertex 742, -178, 512, 1672, 1500, 0x00, 0x43, 0x43, 0xFF
vertex 447, -59, 1044, 982, 1302, 0x00, 0x43, 0x43, 0xFF
vertex -1305, 333, 614, -116, 3118, 0x00, 0x43, 0x43, 0xFF
vertex -895, 230, 0, 734, 3288, 0x00, 0x43, 0x43, 0xFF
vertex -1919, 742, -921, 650, 4906, 0x00, 0x43, 0x43, 0xFF
bitdw_seg7_vertex_07003A68: # 0x07003A68 - 0x07003A98
vertex -1919, 742, -921, 650, 4906, 0x00, 0x43, 0x43, 0xFF
vertex -1509, 742, -1125, 1160, 4736, 0x00, 0x43, 0x43, 0xFF
vertex -895, 230, 0, 734, 3288, 0x00, 0x43, 0x43, 0xFF
bitdw_seg7_dl_07003A98: # 0x07003A98 - 0x07003BF0
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_07003688, 15, 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
gsSP1Triangle 12, 13, 14, 0x0
gsSPVertex bitdw_seg7_vertex_07003778, 15, 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
gsSP1Triangle 12, 13, 14, 0x0
gsSPVertex bitdw_seg7_vertex_07003868, 16, 0
gsSP2Triangles 0, 1, 2, 0x0, 3, 0, 2, 0x0
gsSP2Triangles 4, 5, 6, 0x0, 4, 7, 5, 0x0
gsSP2Triangles 8, 9, 10, 0x0, 11, 12, 13, 0x0
gsSP2Triangles 14, 11, 13, 0x0, 11, 15, 12, 0x0
gsSPVertex bitdw_seg7_vertex_07003968, 16, 0
gsSP2Triangles 0, 1, 2, 0x0, 3, 4, 1, 0x0
gsSP2Triangles 4, 5, 1, 0x0, 4, 6, 5, 0x0
gsSP2Triangles 7, 8, 9, 0x0, 8, 10, 9, 0x0
gsSP2Triangles 11, 7, 9, 0x0, 11, 9, 12, 0x0
gsSP2Triangles 13, 14, 11, 0x0, 12, 13, 11, 0x0
gsSP1Triangle 13, 15, 14, 0x0
gsSPVertex bitdw_seg7_vertex_07003A68, 3, 0
gsSP1Triangle 0, 1, 2, 0x0
gsSPEndDisplayList
glabel bitdw_seg7_dl_07003BF0 # 0x07003BF0 - 0x07003C60
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_07003A98
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