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.
 
 
 
 
 

157 lines
8.9 KiB

rr_seg7_vertex_07014FA8: # 0x07014FA8 - 0x070150A8
vertex 3077, -315, -751, -1052, 0, 0xBF, 0xBF, 0x3F, 0xFF
vertex 2668, -315, -136, 990, 990, 0xBF, 0xBF, 0x3F, 0xFF
vertex 3077, -315, -136, 990, 0, 0xBF, 0xBF, 0x3F, 0xFF
vertex 2668, -315, -751, -1052, 990, 0xBF, 0xBF, 0x3F, 0xFF
vertex 2081, 1114, -765, -1052, 0, 0xBF, 0xBF, 0x3F, 0xFF
vertex 1672, 1114, -150, 990, 990, 0xBF, 0xBF, 0x3F, 0xFF
vertex 2081, 1114, -150, 990, 0, 0xBF, 0xBF, 0x3F, 0xFF
vertex 1672, 1114, -765, -1052, 990, 0xBF, 0xBF, 0x3F, 0xFF
vertex 2081, -162, -150, 990, 0, 0xBF, 0xBF, 0x3F, 0xFF
vertex 1672, -162, -150, 990, 990, 0xBF, 0xBF, 0x3F, 0xFF
vertex 1672, -162, -765, -1052, 990, 0xBF, 0xBF, 0x3F, 0xFF
vertex 2081, -162, -765, -1052, 0, 0xBF, 0xBF, 0x3F, 0xFF
vertex 2668, -1083, -751, -1052, 990, 0xBF, 0xAA, 0x3F, 0xFF
vertex 3077, -1083, -751, -1052, 0, 0xBF, 0xAA, 0x3F, 0xFF
vertex 3077, -1083, -136, 990, 0, 0xBF, 0xAA, 0x3F, 0xFF
vertex 2668, -1083, -136, 990, 990, 0xBF, 0xAA, 0x3F, 0xFF
rr_seg7_vertex_070150A8: # 0x070150A8 - 0x07015198
vertex 1672, 1062, -765, 224, 990, 0x96, 0x96, 0x96, 0xFF
vertex 1672, 1114, -765, 0, 990, 0x96, 0x96, 0x96, 0xFF
vertex 2081, 1114, -765, 0, -1054, 0x96, 0x96, 0x96, 0xFF
vertex 1672, -162, -765, 224, 990, 0x96, 0x96, 0x96, 0xFF
vertex 1672, -111, -765, 0, 990, 0x96, 0x96, 0x96, 0xFF
vertex 2081, -111, -765, 0, -1054, 0x96, 0x96, 0x96, 0xFF
vertex 2081, -162, -765, 224, -1054, 0x96, 0x96, 0x96, 0xFF
vertex 2081, -162, -150, 224, -1054, 0x96, 0x96, 0x96, 0xFF
vertex 1672, -111, -150, 0, 990, 0x96, 0x96, 0x96, 0xFF
vertex 1672, -162, -150, 224, 990, 0x96, 0x96, 0x96, 0xFF
vertex 2081, -111, -150, 0, -1054, 0x96, 0x96, 0x96, 0xFF
vertex 2081, 1062, -150, 224, -1054, 0x96, 0x96, 0x96, 0xFF
vertex 1672, 1114, -150, 0, 990, 0x96, 0x96, 0x96, 0xFF
vertex 1672, 1062, -150, 224, 990, 0x96, 0x96, 0x96, 0xFF
vertex 2081, 1114, -150, 0, -1054, 0x96, 0x96, 0x96, 0xFF
rr_seg7_vertex_07015198: # 0x07015198 - 0x07015288
vertex 3077, -1083, -136, 224, -1054, 0x96, 0x96, 0x96, 0xFF
vertex 2668, -1032, -136, 0, 990, 0x96, 0x96, 0x96, 0xFF
vertex 2668, -1083, -136, 224, 990, 0x96, 0x96, 0x96, 0xFF
vertex 1672, 1062, -765, 224, 990, 0x96, 0x96, 0x96, 0xFF
vertex 2081, 1114, -765, 0, -1054, 0x96, 0x96, 0x96, 0xFF
vertex 2081, 1062, -765, 224, -1054, 0x96, 0x96, 0x96, 0xFF
vertex 2668, -367, -751, 224, 990, 0x96, 0x96, 0x96, 0xFF
vertex 2668, -315, -751, 0, 990, 0x96, 0x96, 0x96, 0xFF
vertex 3077, -315, -751, 0, -1054, 0x96, 0x96, 0x96, 0xFF
vertex 3077, -367, -751, 224, -1054, 0x96, 0x96, 0x96, 0xFF
vertex 3077, -367, -136, 224, -1054, 0x96, 0x96, 0x96, 0xFF
vertex 2668, -315, -136, 0, 990, 0x96, 0x96, 0x96, 0xFF
vertex 2668, -367, -136, 224, 990, 0x96, 0x96, 0x96, 0xFF
vertex 3077, -315, -136, 0, -1054, 0x96, 0x96, 0x96, 0xFF
vertex 3077, -1032, -136, 0, -1054, 0x96, 0x96, 0x96, 0xFF
rr_seg7_vertex_07015288: # 0x07015288 - 0x07015378
vertex 2668, -1083, -751, 224, 990, 0x96, 0x96, 0x96, 0xFF
vertex 2668, -1032, -751, 0, 990, 0x96, 0x96, 0x96, 0xFF
vertex 3077, -1032, -751, 0, -1054, 0x96, 0x96, 0x96, 0xFF
vertex 3077, -1083, -751, 224, -1054, 0x96, 0x96, 0x96, 0xFF
vertex 1672, 1062, -150, 224, -2076, 0x64, 0x64, 0x64, 0xFF
vertex 1672, 1114, -765, 0, 990, 0x64, 0x64, 0x64, 0xFF
vertex 1672, 1062, -765, 224, 990, 0x64, 0x64, 0x64, 0xFF
vertex 1672, -162, -150, 224, -2076, 0x64, 0x64, 0x64, 0xFF
vertex 1672, -111, -765, 0, 990, 0x64, 0x64, 0x64, 0xFF
vertex 1672, -162, -765, 224, 990, 0x64, 0x64, 0x64, 0xFF
vertex 1672, -111, -150, 0, -2076, 0x64, 0x64, 0x64, 0xFF
vertex 2081, -162, -765, 224, 990, 0x64, 0x64, 0x64, 0xFF
vertex 2081, -111, -150, 0, -2076, 0x64, 0x64, 0x64, 0xFF
vertex 2081, -162, -150, 224, -2076, 0x64, 0x64, 0x64, 0xFF
vertex 2081, -111, -765, 0, 990, 0x64, 0x64, 0x64, 0xFF
rr_seg7_vertex_07015378: # 0x07015378 - 0x07015458
vertex 2081, 1062, -765, 224, 990, 0x64, 0x64, 0x64, 0xFF
vertex 2081, 1114, -765, 0, 990, 0x64, 0x64, 0x64, 0xFF
vertex 2081, 1114, -150, 0, -2076, 0x64, 0x64, 0x64, 0xFF
vertex 2081, 1062, -150, 224, -2076, 0x64, 0x64, 0x64, 0xFF
vertex 3077, -1083, -751, 224, 990, 0x64, 0x64, 0x64, 0xFF
vertex 3077, -1032, -751, 0, 990, 0x64, 0x64, 0x64, 0xFF
vertex 3077, -1032, -136, 0, -2076, 0x64, 0x64, 0x64, 0xFF
vertex 1672, 1062, -150, 224, -2076, 0x64, 0x64, 0x64, 0xFF
vertex 1672, 1114, -150, 0, -2076, 0x64, 0x64, 0x64, 0xFF
vertex 1672, 1114, -765, 0, 990, 0x64, 0x64, 0x64, 0xFF
vertex 2668, -367, -136, 224, -2076, 0x64, 0x64, 0x64, 0xFF
vertex 2668, -315, -136, 0, -2076, 0x64, 0x64, 0x64, 0xFF
vertex 2668, -315, -751, 0, 990, 0x64, 0x64, 0x64, 0xFF
vertex 2668, -367, -751, 224, 990, 0x64, 0x64, 0x64, 0xFF
rr_seg7_vertex_07015458: # 0x07015458 - 0x07015508
vertex 3077, -367, -751, 224, 990, 0x64, 0x64, 0x64, 0xFF
vertex 3077, -315, -751, 0, 990, 0x64, 0x64, 0x64, 0xFF
vertex 3077, -315, -136, 0, -2076, 0x64, 0x64, 0x64, 0xFF
vertex 3077, -367, -136, 224, -2076, 0x64, 0x64, 0x64, 0xFF
vertex 3077, -1083, -751, 224, 990, 0x64, 0x64, 0x64, 0xFF
vertex 3077, -1032, -136, 0, -2076, 0x64, 0x64, 0x64, 0xFF
vertex 3077, -1083, -136, 224, -2076, 0x64, 0x64, 0x64, 0xFF
vertex 2668, -1083, -136, 224, -2076, 0x64, 0x64, 0x64, 0xFF
vertex 2668, -1032, -751, 0, 990, 0x64, 0x64, 0x64, 0xFF
vertex 2668, -1083, -751, 224, 990, 0x64, 0x64, 0x64, 0xFF
vertex 2668, -1032, -136, 0, -2076, 0x64, 0x64, 0x64, 0xFF
rr_seg7_dl_07015508: # 0x07015508 - 0x07015570
gsDPSetTextureImage G_IM_FMT_RGBA, G_IM_SIZ_16b, 1, sky_09000000
gsDPLoadSync
gsDPLoadBlock 7, 0, 0, 0x3FF, 0x100
gsSPVertex rr_seg7_vertex_07014FA8, 16, 0
gsSP2Triangles 0, 1, 2, 0x0, 0, 3, 1, 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
rr_seg7_dl_07015570: # 0x07015570 - 0x070156B8
gsDPSetTextureImage G_IM_FMT_RGBA, G_IM_SIZ_16b, 1, sky_09003800
gsDPLoadSync
gsDPLoadBlock 7, 0, 0, 0x7FF, 0x080
gsSPVertex rr_seg7_vertex_070150A8, 15, 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
gsSP1Triangle 11, 14, 12, 0x0
gsSPVertex rr_seg7_vertex_07015198, 15, 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
gsSP1Triangle 0, 14, 1, 0x0
gsSPVertex rr_seg7_vertex_07015288, 15, 0
gsSP2Triangles 0, 1, 2, 0x0, 0, 2, 3, 0x0
gsSP2Triangles 4, 5, 6, 0x0, 7, 8, 9, 0x0
gsSP2Triangles 7, 10, 8, 0x0, 11, 12, 13, 0x0
gsSP1Triangle 11, 14, 12, 0x0
gsSPVertex rr_seg7_vertex_07015378, 14, 0
gsSP2Triangles 0, 1, 2, 0x0, 0, 2, 3, 0x0
gsSP2Triangles 4, 5, 6, 0x0, 7, 8, 9, 0x0
gsSP2Triangles 10, 11, 12, 0x0, 10, 12, 13, 0x0
gsSPVertex rr_seg7_vertex_07015458, 11, 0
gsSP2Triangles 0, 1, 2, 0x0, 0, 2, 3, 0x0
gsSP2Triangles 4, 5, 6, 0x0, 7, 8, 9, 0x0
gsSP1Triangle 7, 10, 8, 0x0
gsSPEndDisplayList
glabel rr_seg7_dl_070156B8 # 0x070156B8 - 0x07015748
gsDPPipeSync
gsDPSetCombineMode1Cycle G_CCMUX_TEXEL0, G_CCMUX_0, G_CCMUX_SHADE, G_CCMUX_0, G_ACMUX_TEXEL0, G_ACMUX_0, G_ACMUX_SHADE, 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_CLAMP | G_TX_NOMIRROR, 5, G_TX_NOLOD, G_TX_WRAP | G_TX_NOMIRROR, 5, G_TX_NOLOD
gsDPSetTileSize 0, 0, 0, 124, 124
gsSPDisplayList rr_seg7_dl_07015508
gsDPTileSync
gsDPSetTile G_IM_FMT_RGBA, G_IM_SIZ_16b, 16, 0, G_TX_RENDERTILE, 0, G_TX_WRAP | G_TX_NOMIRROR, 5, G_TX_NOLOD, G_TX_WRAP | G_TX_NOMIRROR, 6, G_TX_NOLOD
gsDPSetTileSize 0, 0, 0, 252, 124
gsSPDisplayList rr_seg7_dl_07015570
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
gsSPEndDisplayList