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.
 
 
 
 
 

129 lines
7.2 KiB

rr_seg7_vertex_07018C18: # 0x07018C18 - 0x07018D18
vertex -1381, 256, -1228, 3546, 0, 0xCE, 0xAF, 0x16, 0xFF
vertex -1996, 256, -153, 0, 990, 0xCE, 0xAF, 0x16, 0xFF
vertex -1381, 256, -153, 0, 0, 0xCE, 0xAF, 0x16, 0xFF
vertex -1996, 256, -1228, 3546, 990, 0xCE, 0xAF, 0x16, 0xFF
vertex -806, -972, 485, 990, 990, 0x4C, 0x6A, 0x35, 0xFF
vertex -806, -972, 792, 990, 0, 0x4C, 0x6A, 0x35, 0xFF
vertex -89, -972, 792, -1392, 0, 0x4C, 0x6A, 0x35, 0xFF
vertex -499, -972, 485, 0, 990, 0x4C, 0x6A, 0x35, 0xFF
vertex -767, -153, 307, 3546, 0, 0xDF, 0xBF, 0x1F, 0xFF
vertex -239, -153, 1427, 0, 990, 0xDF, 0xBF, 0x1F, 0xFF
vertex 113, -153, 924, 0, 0, 0xDF, 0xBF, 0x1F, 0xFF
vertex -1119, -153, 810, 3546, 990, 0xDF, 0xBF, 0x1F, 0xFF
vertex -499, -972, 485, 0, 990, 0xFF, 0xFF, 0xFF, 0xFF
vertex -89, -972, 792, -1392, 0, 0xFF, 0xFF, 0xFF, 0xFF
vertex 1855, -972, 792, -7866, 0, 0xFF, 0xFF, 0xFF, 0xFF
vertex 1855, -972, 485, -7866, 990, 0xFF, 0xFF, 0xFF, 0xFF
rr_seg7_vertex_07018D18: # 0x07018D18 - 0x07018E18
vertex -239, -255, 1427, 224, 990, 0x8C, 0x8C, 0x8C, 0xFF
vertex -1119, -153, 810, 0, -3098, 0x8C, 0x8C, 0x8C, 0xFF
vertex -1119, -255, 810, 224, -3098, 0x8C, 0x8C, 0x8C, 0xFF
vertex -239, -153, 1427, 0, 990, 0x8C, 0x8C, 0x8C, 0xFF
vertex -767, -255, 307, 224, -3098, 0x8C, 0x8C, 0x8C, 0xFF
vertex 113, -153, 924, 0, 990, 0x8C, 0x8C, 0x8C, 0xFF
vertex 113, -255, 924, 224, 990, 0x8C, 0x8C, 0x8C, 0xFF
vertex -767, -153, 307, 0, -3098, 0x8C, 0x8C, 0x8C, 0xFF
vertex -1381, 154, -1228, 224, 990, 0x64, 0x64, 0x64, 0xFF
vertex -1381, 256, -1228, 0, 990, 0x64, 0x64, 0x64, 0xFF
vertex -1381, 256, -153, 0, 3670, 0x64, 0x64, 0x64, 0xFF
vertex -1381, 154, -153, 224, 3670, 0x64, 0x64, 0x64, 0xFF
vertex -1996, 154, -153, 224, 3670, 0x64, 0x64, 0x64, 0xFF
vertex -1996, 256, -153, 0, 3670, 0x64, 0x64, 0x64, 0xFF
vertex -1996, 256, -1228, 0, 990, 0x64, 0x64, 0x64, 0xFF
vertex -1996, 154, -1228, 224, 990, 0x64, 0x64, 0x64, 0xFF
rr_seg7_vertex_07018E18: # 0x07018E18 - 0x07018F08
vertex -1381, 154, -153, 224, 990, 0x96, 0x96, 0x96, 0xFF
vertex -1996, 256, -153, 0, -1054, 0x96, 0x96, 0x96, 0xFF
vertex -1996, 154, -153, 224, -1054, 0x96, 0x96, 0x96, 0xFF
vertex -1381, 256, -153, 0, 990, 0x96, 0x96, 0x96, 0xFF
vertex -1996, 154, -1228, 224, -1054, 0x96, 0x96, 0x96, 0xFF
vertex -1381, 256, -1228, 0, 990, 0x96, 0x96, 0x96, 0xFF
vertex -1381, 154, -1228, 224, 990, 0x96, 0x96, 0x96, 0xFF
vertex -1996, 256, -1228, 0, -1054, 0x96, 0x96, 0x96, 0xFF
vertex 113, -255, 924, 224, -1054, 0x64, 0x64, 0x64, 0xFF
vertex -239, -153, 1427, 0, 990, 0x64, 0x64, 0x64, 0xFF
vertex -239, -255, 1427, 224, 990, 0x64, 0x64, 0x64, 0xFF
vertex 1855, -1074, 485, 224, 990, 0x64, 0x64, 0x64, 0xFF
vertex 1855, -972, 485, 0, 990, 0x64, 0x64, 0x64, 0xFF
vertex 1855, -972, 792, 0, -1054, 0x64, 0x64, 0x64, 0xFF
vertex 1855, -1074, 792, 224, -1054, 0x64, 0x64, 0x64, 0xFF
rr_seg7_vertex_07018F08: # 0x07018F08 - 0x07018FF8
vertex -806, -1074, 792, 224, -1054, 0x64, 0x64, 0x64, 0xFF
vertex -806, -972, 792, 0, -1054, 0x64, 0x64, 0x64, 0xFF
vertex -806, -972, 485, 0, 990, 0x64, 0x64, 0x64, 0xFF
vertex -806, -1074, 485, 224, 990, 0x64, 0x64, 0x64, 0xFF
vertex -1119, -255, 810, 224, 990, 0x64, 0x64, 0x64, 0xFF
vertex -767, -153, 307, 0, -1054, 0x64, 0x64, 0x64, 0xFF
vertex -767, -255, 307, 224, -1054, 0x64, 0x64, 0x64, 0xFF
vertex -1119, -153, 810, 0, 990, 0x64, 0x64, 0x64, 0xFF
vertex 113, -255, 924, 224, -1054, 0x64, 0x64, 0x64, 0xFF
vertex 113, -153, 924, 0, -1054, 0x64, 0x64, 0x64, 0xFF
vertex -239, -153, 1427, 0, 990, 0x64, 0x64, 0x64, 0xFF
vertex 1855, -1074, 792, 224, -12296, 0x91, 0x91, 0x91, 0xFF
vertex 1855, -972, 792, 0, -12296, 0x91, 0x91, 0x91, 0xFF
vertex -806, -972, 792, 0, 990, 0x91, 0x91, 0x91, 0xFF
vertex -806, -1074, 792, 224, 990, 0x91, 0x91, 0x91, 0xFF
rr_seg7_vertex_07018FF8: # 0x07018FF8 - 0x07019038
vertex -806, -1074, 485, 224, 990, 0x91, 0x91, 0x91, 0xFF
vertex 1855, -972, 485, 0, -12296, 0x91, 0x91, 0x91, 0xFF
vertex 1855, -1074, 485, 224, -12296, 0x91, 0x91, 0x91, 0xFF
vertex -806, -972, 485, 0, 990, 0x91, 0x91, 0x91, 0xFF
rr_seg7_dl_07019038: # 0x07019038 - 0x070190A0
gsDPSetTextureImage G_IM_FMT_RGBA, G_IM_SIZ_16b, 1, sky_09000000
gsDPLoadSync
gsDPLoadBlock 7, 0, 0, 0x3FF, 0x100
gsSPVertex rr_seg7_vertex_07018C18, 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
gsSPEndDisplayList
rr_seg7_dl_070190A0: # 0x070190A0 - 0x070191A0
gsDPSetTextureImage G_IM_FMT_RGBA, G_IM_SIZ_16b, 1, sky_09003800
gsDPLoadSync
gsDPLoadBlock 7, 0, 0, 0x7FF, 0x080
gsSPVertex rr_seg7_vertex_07018D18, 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
gsSPVertex rr_seg7_vertex_07018E18, 15, 0
gsSP2Triangles 0, 1, 2, 0x0, 0, 3, 1, 0x0
gsSP2Triangles 4, 5, 6, 0x0, 4, 7, 5, 0x0
gsSP2Triangles 8, 9, 10, 0x0, 11, 12, 13, 0x0
gsSP1Triangle 11, 13, 14, 0x0
gsSPVertex rr_seg7_vertex_07018F08, 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, 11, 12, 13, 0x0
gsSP1Triangle 11, 13, 14, 0x0
gsSPVertex rr_seg7_vertex_07018FF8, 4, 0
gsSP2Triangles 0, 1, 2, 0x0, 0, 3, 1, 0x0
gsSPEndDisplayList
glabel rr_seg7_dl_070191A0 # 0x070191A0 - 0x07019230
gsDPPipeSync
gsDPSetCombineMode1Cycle G_CCMUX_0, G_CCMUX_0, G_CCMUX_0, G_CCMUX_TEXEL0, G_ACMUX_0, G_ACMUX_0, G_ACMUX_0, G_ACMUX_TEXEL0
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_07019038
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_070190A0
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