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.
 
 
 
 
 

113 lines
6.5 KiB

rr_seg7_vertex_07015748: # 0x07015748 - 0x07015828
vertex -947, -836, 1010, 0, -17856, 0xFF, 0xFF, 0xFF, 0xFF
vertex -1001, -833, 604, 990, -18004, 0xFF, 0xFF, 0xFF, 0xFF
vertex -1784, -844, 1002, -40, -19944, 0xFF, 0xFF, 0xFF, 0xFF
vertex -1780, -844, 593, 990, -19950, 0xFF, 0xFF, 0xFF, 0xFF
vertex -668, -787, 959, 0, -17226, 0xFF, 0xFF, 0xFF, 0xFF
vertex -650, -775, 549, 990, -17022, 0xFF, 0xFF, 0xFF, 0xFF
vertex -1001, -833, 604, 990, -17918, 0xFF, 0xFF, 0xFF, 0xFF
vertex -947, -836, 1010, -50, -17942, 0xFF, 0xFF, 0xFF, 0xFF
vertex -215, -485, 959, 0, -15792, 0xFF, 0xFF, 0xFF, 0xFF
vertex -215, -485, 549, 990, -15792, 0xFF, 0xFF, 0xFF, 0xFF
vertex -650, -775, 549, 990, -17096, 0xFF, 0xFF, 0xFF, 0xFF
vertex -668, -787, 959, 0, -17150, 0xFF, 0xFF, 0xFF, 0xFF
vertex -62, -434, 959, 0, -15388, 0xFF, 0xFF, 0xFF, 0xFF
vertex -62, -434, 549, 990, -15388, 0xFF, 0xFF, 0xFF, 0xFF
rr_seg7_vertex_07015828: # 0x07015828 - 0x07015928
vertex 1477, -155, 543, 0, -11492, 0xFF, 0xFF, 0xFF, 0xFF
vertex 1168, -151, 267, 990, -11612, 0xFF, 0xFF, 0xFF, 0xFF
vertex 1169, -202, 813, -26, -12522, 0xFF, 0xFF, 0xFF, 0xFF
vertex 254, -434, 959, 0, -14596, 0xFF, 0xFF, 0xFF, 0xFF
vertex -62, -434, 549, 990, -15388, 0xFF, 0xFF, 0xFF, 0xFF
vertex -62, -434, 959, 0, -15388, 0xFF, 0xFF, 0xFF, 0xFF
vertex 255, -434, 549, 990, -14594, 0xFF, 0xFF, 0xFF, 0xFF
vertex 859, -239, 960, 0, -13026, 0xFF, 0xFF, 0xFF, 0xFF
vertex 795, -226, 537, 990, -13140, 0xFF, 0xFF, 0xFF, 0xFF
vertex 254, -434, 959, 10, -14608, 0xFF, 0xFF, 0xFF, 0xFF
vertex 255, -434, 549, 990, -14584, 0xFF, 0xFF, 0xFF, 0xFF
vertex 1169, -202, 813, 0, -12378, 0xFF, 0xFF, 0xFF, 0xFF
vertex 940, -196, 468, 990, -12522, 0xFF, 0xFF, 0xFF, 0xFF
vertex 859, -239, 960, 0, -13236, 0xFF, 0xFF, 0xFF, 0xFF
vertex 795, -226, 537, 990, -12930, 0xFF, 0xFF, 0xFF, 0xFF
vertex 940, -196, 468, 990, -12378, 0xFF, 0xFF, 0xFF, 0xFF
rr_seg7_vertex_07015928: # 0x07015928 - 0x07015A28
vertex 1792, -122, 54, 0, -10180, 0xFF, 0xFF, 0xFF, 0xFF
vertex 1390, -112, -74, 990, -10450, 0xFF, 0xFF, 0xFF, 0xFF
vertex 1477, -155, 543, 0, -11630, 0xFF, 0xFF, 0xFF, 0xFF
vertex 1168, -151, 267, 990, -11474, 0xFF, 0xFF, 0xFF, 0xFF
vertex 1817, -85, -315, 0, -9512, 0xFF, 0xFF, 0xFF, 0xFF
vertex 1407, -83, -312, 990, -9588, 0xFF, 0xFF, 0xFF, 0xFF
vertex 1792, -122, 54, 0, -10442, 0xFF, 0xFF, 0xFF, 0xFF
vertex 1390, -112, -74, 990, -10188, 0xFF, 0xFF, 0xFF, 0xFF
vertex 1793, -47, -674, 0, -8680, 0xFF, 0xFF, 0xFF, 0xFF
vertex 1390, -38, -564, 990, -8882, 0xFF, 0xFF, 0xFF, 0xFF
vertex 1817, -85, -315, 0, -9580, 0xFF, 0xFF, 0xFF, 0xFF
vertex 1407, -83, -312, 990, -9520, 0xFF, 0xFF, 0xFF, 0xFF
vertex 1607, 0, -1050, 0, -7828, 0xFF, 0xFF, 0xFF, 0xFF
vertex 1278, 9, -792, 990, -8034, 0xFF, 0xFF, 0xFF, 0xFF
vertex 1793, -47, -674, -28, -8878, 0xFF, 0xFF, 0xFF, 0xFF
vertex 1390, -38, -564, 990, -8682, 0xFF, 0xFF, 0xFF, 0xFF
rr_seg7_vertex_07015A28: # 0x07015A28 - 0x07015B28
vertex 1050, 77, -1519, 0, -6214, 0xFF, 0xFF, 0xFF, 0xFF
vertex 859, 77, -1142, 990, -6448, 0xFF, 0xFF, 0xFF, 0xFF
vertex 1607, 0, -1050, -24, -8042, 0xFF, 0xFF, 0xFF, 0xFF
vertex 1278, 9, -792, 990, -7822, 0xFF, 0xFF, 0xFF, 0xFF
vertex 244, 77, -1700, 0, -4400, 0xFF, 0xFF, 0xFF, 0xFF
vertex 199, 77, -1291, 990, -4514, 0xFF, 0xFF, 0xFF, 0xFF
vertex 1050, 77, -1519, 0, -6462, 0xFF, 0xFF, 0xFF, 0xFF
vertex -1961, 77, -1700, 0, 988, 0xFF, 0xFF, 0xFF, 0xFF
vertex -1039, 77, -1290, 990, -1312, 0xFF, 0xFF, 0xFF, 0xFF
vertex -1039, 77, -1700, -26, -1308, 0xFF, 0xFF, 0xFF, 0xFF
vertex 859, 77, -1142, 990, -6202, 0xFF, 0xFF, 0xFF, 0xFF
vertex -1039, 77, -1700, 0, -1310, 0xFF, 0xFF, 0xFF, 0xFF
vertex -1039, 77, -1290, 990, -1310, 0xFF, 0xFF, 0xFF, 0xFF
vertex 199, 77, -1291, 990, -4400, 0xFF, 0xFF, 0xFF, 0xFF
vertex 244, 77, -1700, 0, -4514, 0xFF, 0xFF, 0xFF, 0xFF
vertex -1961, 35, -1292, 990, 990, 0xFF, 0xFF, 0xFF, 0xFF
rr_seg7_dl_07015B28: # 0x07015B28 - 0x07015C68
gsDPSetTextureImage G_IM_FMT_RGBA, G_IM_SIZ_16b, 1, sky_09005800
gsDPLoadSync
gsDPLoadBlock 7, 0, 0, 0x3FF, 0x100
gsSPVertex rr_seg7_vertex_07015748, 14, 0
gsSP2Triangles 0, 1, 2, 0x0, 1, 3, 2, 0x0
gsSP2Triangles 4, 5, 6, 0x0, 4, 6, 7, 0x0
gsSP2Triangles 8, 9, 10, 0x0, 8, 10, 11, 0x0
gsSP2Triangles 12, 9, 8, 0x0, 12, 13, 9, 0x0
gsSPVertex rr_seg7_vertex_07015828, 16, 0
gsSP2Triangles 0, 1, 2, 0x0, 3, 4, 5, 0x0
gsSP2Triangles 3, 6, 4, 0x0, 7, 8, 9, 0x0
gsSP2Triangles 8, 10, 9, 0x0, 11, 12, 13, 0x0
gsSP2Triangles 12, 14, 13, 0x0, 1, 15, 2, 0x0
gsSPVertex rr_seg7_vertex_07015928, 16, 0
gsSP2Triangles 0, 1, 2, 0x0, 1, 3, 2, 0x0
gsSP2Triangles 4, 5, 6, 0x0, 5, 7, 6, 0x0
gsSP2Triangles 8, 9, 10, 0x0, 9, 11, 10, 0x0
gsSP2Triangles 12, 13, 14, 0x0, 13, 15, 14, 0x0
gsSPVertex rr_seg7_vertex_07015A28, 16, 0
gsSP2Triangles 0, 1, 2, 0x0, 1, 3, 2, 0x0
gsSP2Triangles 4, 5, 6, 0x0, 7, 8, 9, 0x0
gsSP2Triangles 5, 10, 6, 0x0, 11, 12, 13, 0x0
gsSP2Triangles 11, 13, 14, 0x0, 7, 15, 8, 0x0
gsSPEndDisplayList
glabel rr_seg7_dl_07015C68 # 0x07015C68 - 0x07015CE8
gsDPPipeSync
gsDPSetEnvColor 255, 255, 255, 100
gsDPSetCombineMode1Cycle G_CCMUX_TEXEL0, G_CCMUX_0, G_CCMUX_SHADE, G_CCMUX_0, G_ACMUX_TEXEL0, G_ACMUX_0, G_ACMUX_ENVIRONMENT, G_ACMUX_0
gsSPClearGeometryMode G_LIGHTING | G_CULL_BACK
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_CLAMP | G_TX_NOMIRROR, 5, G_TX_NOLOD
gsDPSetTileSize 0, 0, 0, 124, 124
gsSPDisplayList rr_seg7_dl_07015B28
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 | G_CULL_BACK
gsDPSetEnvColor 255, 255, 255, 255
gsSPEndDisplayList