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.
 
 
 
 
 

254 lines
13 KiB

rr_seg7_light_07019B68: # 0x07019B68 - 0x07019B70
.byte 0x32, 0x32, 0x32, 0x00, 0x32, 0x32, 0x32, 0x00
rr_seg7_light_07019B70: # 0x07019B70 - 0x07019B80
.byte 0xC8, 0xC8, 0xC8, 0x00, 0xC8, 0xC8, 0xC8, 0x00
.byte 0x28, 0x28, 0x28, 0x00, 0x00, 0x00, 0x00, 0x00
rr_seg7_light_07019B80: # 0x07019B80 - 0x07019B88
.byte 0x23, 0x2B, 0x14, 0x00, 0x23, 0x2B, 0x14, 0x00
rr_seg7_light_07019B88: # 0x07019B88 - 0x07019B98
.byte 0x8E, 0xAC, 0x52, 0x00, 0x8E, 0xAC, 0x52, 0x00
.byte 0x28, 0x28, 0x28, 0x00, 0x00, 0x00, 0x00, 0x00
rr_seg7_light_07019B98: # 0x07019B98 - 0x07019BA0
.byte 0x1F, 0x2B, 0x14, 0x00, 0x1F, 0x2B, 0x14, 0x00
rr_seg7_light_07019BA0: # 0x07019BA0 - 0x07019BB0
.byte 0x7F, 0xAC, 0x52, 0x00, 0x7F, 0xAC, 0x52, 0x00
.byte 0x28, 0x28, 0x28, 0x00, 0x00, 0x00, 0x00, 0x00
rr_seg7_light_07019BB0: # 0x07019BB0 - 0x07019BB8
.byte 0x2F, 0x2A, 0x0F, 0x00, 0x2F, 0x2A, 0x0F, 0x00
rr_seg7_light_07019BB8: # 0x07019BB8 - 0x07019BC8
.byte 0xBF, 0xAA, 0x3F, 0x00, 0xBF, 0xAA, 0x3F, 0x00
.byte 0x28, 0x28, 0x28, 0x00, 0x00, 0x00, 0x00, 0x00
rr_seg7_light_07019BC8: # 0x07019BC8 - 0x07019BD0
.byte 0x14, 0x23, 0x2B, 0x00, 0x14, 0x23, 0x2B, 0x00
rr_seg7_light_07019BD0: # 0x07019BD0 - 0x07019BE0
.byte 0x52, 0x8E, 0xAC, 0x00, 0x52, 0x8E, 0xAC, 0x00
.byte 0x28, 0x28, 0x28, 0x00, 0x00, 0x00, 0x00, 0x00
rr_seg7_vertex_07019BE0: # 0x07019BE0 - 0x07019CD0
vertex 133, 614, -382, 2570, 2202, 0x00, 0x7F, 0x00, 0xFF
vertex -387, 614, -139, 662, 2896, 0x00, 0x7F, 0x00, 0xFF
vertex -387, 614, 138, 0, 2202, 0x00, 0x7F, 0x00, 0xFF
vertex -387, 410, -139, 662, 2896, 0xA7, 0x00, 0xA7, 0xFF
vertex -387, 614, -139, 662, 2896, 0xA7, 0x00, 0xA7, 0xFF
vertex -144, 614, -382, 1876, 2896, 0xA7, 0x00, 0xA7, 0xFF
vertex -144, 410, -382, 1876, 2896, 0xA7, 0x00, 0xA7, 0xFF
vertex -387, 410, 138, 0, 2202, 0x81, 0x00, 0x00, 0xFF
vertex -387, 614, -139, 662, 2896, 0x81, 0x00, 0x00, 0xFF
vertex -387, 410, -139, 662, 2896, 0x81, 0x00, 0x00, 0xFF
vertex -144, 614, -382, 1876, 2896, 0x00, 0x7F, 0x00, 0xFF
vertex -144, 410, -382, 1876, 2896, 0x00, 0x00, 0x81, 0xFF
vertex -144, 614, -382, 1876, 2896, 0x00, 0x00, 0x81, 0xFF
vertex 133, 614, -382, 2570, 2202, 0x00, 0x00, 0x81, 0xFF
vertex 133, 410, -382, 2570, 2202, 0x00, 0x00, 0x81, 0xFF
rr_seg7_vertex_07019CD0: # 0x07019CD0 - 0x07019DD0
vertex 133, 410, -382, 2570, 2202, 0x59, 0x00, 0xA7, 0xFF
vertex 133, 614, -382, 2570, 2202, 0x59, 0x00, 0xA7, 0xFF
vertex 376, 614, -139, 2570, 990, 0x59, 0x00, 0xA7, 0xFF
vertex 376, 410, -139, 2570, 990, 0x59, 0x00, 0xA7, 0xFF
vertex -144, 410, 381, 0, 990, 0xA7, 0x00, 0x59, 0xFF
vertex -387, 614, 138, 0, 2202, 0xA7, 0x00, 0x59, 0xFF
vertex -387, 410, 138, 0, 2202, 0xA7, 0x00, 0x59, 0xFF
vertex -387, 410, 138, 0, 2202, 0x81, 0x00, 0x00, 0xFF
vertex -387, 614, 138, 0, 2202, 0x81, 0x00, 0x00, 0xFF
vertex -387, 614, -139, 662, 2896, 0x81, 0x00, 0x00, 0xFF
vertex 133, 614, -382, 2570, 2202, 0x00, 0x7F, 0x00, 0xFF
vertex 133, 614, 381, 662, 296, 0x00, 0x7F, 0x00, 0xFF
vertex 376, 614, 138, 1876, 296, 0x00, 0x7F, 0x00, 0xFF
vertex -144, 614, 381, 0, 990, 0xA7, 0x00, 0x59, 0xFF
vertex -144, 614, 381, 0, 990, 0x00, 0x7F, 0x00, 0xFF
vertex -387, 614, 138, 0, 2202, 0x00, 0x7F, 0x00, 0xFF
rr_seg7_vertex_07019DD0: # 0x07019DD0 - 0x07019E80
vertex 376, 410, 138, 1876, 296, 0x59, 0x00, 0x59, 0xFF
vertex 376, 614, 138, 1876, 296, 0x59, 0x00, 0x59, 0xFF
vertex 133, 614, 381, 662, 296, 0x59, 0x00, 0x59, 0xFF
vertex 133, 410, 381, 662, 296, 0x59, 0x00, 0x59, 0xFF
vertex 376, 410, -139, 2570, 990, 0x7F, 0x00, 0x00, 0xFF
vertex 376, 614, 138, 1876, 296, 0x7F, 0x00, 0x00, 0xFF
vertex 376, 410, 138, 1876, 296, 0x7F, 0x00, 0x00, 0xFF
vertex 376, 614, -139, 2570, 990, 0x7F, 0x00, 0x00, 0xFF
vertex 133, 614, -382, 2570, 2202, 0x00, 0x7F, 0x00, 0xFF
vertex 376, 614, 138, 1876, 296, 0x00, 0x7F, 0x00, 0xFF
vertex 376, 614, -139, 2570, 990, 0x00, 0x7F, 0x00, 0xFF
rr_seg7_vertex_07019E80: # 0x07019E80 - 0x07019EC0
vertex 133, 410, 381, 1510, 990, 0x00, 0x00, 0x7F, 0xFF
vertex -144, 614, 381, 0, 0, 0x00, 0x00, 0x7F, 0xFF
vertex -144, 410, 381, 0, 990, 0x00, 0x00, 0x7F, 0xFF
vertex 133, 614, 381, 1510, 0, 0x00, 0x00, 0x7F, 0xFF
rr_seg7_vertex_07019EC0: # 0x07019EC0 - 0x07019F40
vertex -1114, 461, 138, 734, 990, 0x81, 0x00, 0x00, 0xFF
vertex -1114, 563, 138, 734, 480, 0x81, 0x00, 0x00, 0xFF
vertex -1114, 563, -117, 224, 480, 0x81, 0x00, 0x00, 0xFF
vertex -1114, 461, -117, 224, 990, 0x81, 0x00, 0x00, 0xFF
vertex 1103, 461, -139, 990, 0, 0x7F, 0x00, 0x00, 0xFF
vertex 1103, 563, 138, 990, 524, 0x7F, 0x00, 0x00, 0xFF
vertex 1103, 461, 138, 990, 524, 0x7F, 0x00, 0x00, 0xFF
vertex 1103, 563, -139, 990, 0, 0x7F, 0x00, 0x00, 0xFF
rr_seg7_vertex_07019F40: # 0x07019F40 - 0x0701A040
vertex -1114, 461, -117, -3096, 1032, 0xFD, 0x00, 0x82, 0xFF
vertex -1114, 563, -117, -3096, 1032, 0xFD, 0x00, 0x82, 0xFF
vertex -387, 563, -139, 990, 990, 0xFD, 0x00, 0x82, 0xFF
vertex 376, 461, -139, 990, 990, 0x00, 0x00, 0x81, 0xFF
vertex 376, 563, -139, 990, 990, 0x00, 0x00, 0x81, 0xFF
vertex 1103, 563, -139, -3096, 1032, 0x00, 0x00, 0x81, 0xFF
vertex 1103, 461, -139, -3096, 1032, 0x00, 0x00, 0x81, 0xFF
vertex 1103, 461, 138, -3096, 1032, 0x00, 0x00, 0x7F, 0xFF
vertex 1103, 563, 138, -3096, 1032, 0x00, 0x00, 0x7F, 0xFF
vertex 376, 563, 138, 990, 990, 0x00, 0x00, 0x7F, 0xFF
vertex 376, 461, 138, 990, 990, 0x00, 0x00, 0x7F, 0xFF
vertex -387, 461, 138, 990, 990, 0x00, 0x00, 0x7F, 0xFF
vertex -387, 563, 138, 990, 990, 0x00, 0x00, 0x7F, 0xFF
vertex -1114, 563, 138, -3096, 1032, 0x00, 0x00, 0x7F, 0xFF
vertex -1114, 461, 138, -3096, 1032, 0x00, 0x00, 0x7F, 0xFF
vertex -387, 461, -139, 990, 990, 0xFD, 0x00, 0x82, 0xFF
rr_seg7_vertex_0701A040: # 0x0701A040 - 0x0701A140
vertex 376, 563, 138, -3096, 472, 0x00, 0x7F, 0x00, 0xFF
vertex 1103, 563, -139, 990, 0, 0x00, 0x7F, 0x00, 0xFF
vertex 376, 563, -139, -3096, 0, 0x00, 0x7F, 0x00, 0xFF
vertex -1114, 461, -117, 990, 990, 0x00, 0x81, 0x00, 0xFF
vertex -387, 461, -139, -3096, 1032, 0x00, 0x81, 0x00, 0xFF
vertex -387, 461, 138, -3096, 480, 0x00, 0x81, 0x00, 0xFF
vertex -1114, 461, 138, 990, 480, 0x00, 0x81, 0x00, 0xFF
vertex 376, 461, -139, -3096, 0, 0x00, 0x81, 0x00, 0xFF
vertex 1103, 461, 138, 990, 524, 0x00, 0x81, 0x00, 0xFF
vertex 376, 461, 138, -3096, 524, 0x00, 0x81, 0x00, 0xFF
vertex 1103, 461, -139, 990, 0, 0x00, 0x81, 0x00, 0xFF
vertex -1114, 563, 138, 1246, 480, 0x00, 0x7F, 0x00, 0xFF
vertex -387, 563, 138, -2840, 480, 0x00, 0x7F, 0x00, 0xFF
vertex -387, 563, -139, -2840, 982, 0x00, 0x7F, 0x00, 0xFF
vertex -1114, 563, -117, 1246, 942, 0x00, 0x7F, 0x00, 0xFF
vertex 1103, 563, 138, 990, 472, 0x00, 0x7F, 0x00, 0xFF
rr_seg7_vertex_0701A140: # 0x0701A140 - 0x0701A230
vertex 0, 0, 0, 692, -288, 0x5D, 0xAB, 0x00, 0xFF
vertex 376, 410, -139, 2570, 2012, 0x5D, 0xAB, 0x00, 0xFF
vertex 376, 410, 138, 2570, 2012, 0x5D, 0xAB, 0x00, 0xFF
vertex 133, 410, -382, 1356, 2012, 0x43, 0xAC, 0xBD, 0xFF
vertex 376, 410, -139, 2570, 2012, 0x43, 0xAC, 0xBD, 0xFF
vertex 0, 0, 0, 692, -288, 0x43, 0xAC, 0xBD, 0xFF
vertex 0, 0, 0, 692, -288, 0x43, 0xAC, 0x43, 0xFF
vertex 376, 410, 138, 2570, 2012, 0x43, 0xAC, 0x43, 0xFF
vertex 133, 410, 381, 1356, 2012, 0x43, 0xAC, 0x43, 0xFF
vertex 0, 0, 0, 692, -288, 0x00, 0xAA, 0x5D, 0xFF
vertex 133, 410, 381, 1356, 2012, 0x00, 0xAA, 0x5D, 0xFF
vertex -144, 410, 381, 0, 2012, 0x00, 0xAA, 0x5D, 0xFF
vertex 0, 0, 0, 692, -288, 0xBE, 0xAB, 0x42, 0xFF
vertex -144, 410, 381, 0, 2012, 0xBE, 0xAB, 0x42, 0xFF
vertex -387, 410, 138, -1244, 2012, 0xBE, 0xAB, 0x42, 0xFF
rr_seg7_vertex_0701A230: # 0x0701A230 - 0x0701A2C0
vertex 0, 0, 0, 692, -288, 0xA4, 0xA9, 0x00, 0xFF
vertex -387, 410, 138, -1244, 2012, 0xA4, 0xA9, 0x00, 0xFF
vertex -387, 410, -139, -1244, 2012, 0xA4, 0xA9, 0x00, 0xFF
vertex 0, 0, 0, 692, -288, 0xBE, 0xAB, 0xBE, 0xFF
vertex -387, 410, -139, -1244, 2012, 0xBE, 0xAB, 0xBE, 0xFF
vertex -144, 410, -382, 0, 2012, 0xBE, 0xAB, 0xBE, 0xFF
vertex 0, 0, 0, 692, -288, 0x00, 0xAA, 0xA4, 0xFF
vertex -144, 410, -382, 0, 2012, 0x00, 0xAA, 0xA4, 0xFF
vertex 133, 410, -382, 1356, 2012, 0x00, 0xAA, 0xA4, 0xFF
rr_seg7_dl_0701A2C0: # 0x0701A2C0 - 0x0701A3A8
gsDPSetTextureImage G_IM_FMT_RGBA, G_IM_SIZ_16b, 1, sky_09001800
gsDPLoadSync
gsDPLoadBlock 7, 0, 0, 0x3FF, 0x100
gsSPLight rr_seg7_light_07019B70, 1
gsSPLight rr_seg7_light_07019B68, 2
gsSPVertex rr_seg7_vertex_07019BE0, 15, 0
gsSP2Triangles 0, 1, 2, 0x0, 3, 4, 5, 0x0
gsSP2Triangles 3, 5, 6, 0x0, 7, 8, 9, 0x0
gsSP2Triangles 0, 10, 1, 0x0, 11, 12, 13, 0x0
gsSP1Triangle 11, 13, 14, 0x0
gsSPVertex rr_seg7_vertex_07019CD0, 16, 0
gsSP2Triangles 0, 1, 2, 0x0, 0, 2, 3, 0x0
gsSP2Triangles 4, 5, 6, 0x0, 7, 8, 9, 0x0
gsSP2Triangles 10, 11, 12, 0x0, 4, 13, 5, 0x0
gsSP2Triangles 10, 14, 11, 0x0, 10, 15, 14, 0x0
gsSPVertex rr_seg7_vertex_07019DD0, 11, 0
gsSP2Triangles 0, 1, 2, 0x0, 0, 2, 3, 0x0
gsSP2Triangles 4, 5, 6, 0x0, 4, 7, 5, 0x0
gsSP1Triangle 8, 9, 10, 0x0
gsSPEndDisplayList
rr_seg7_dl_0701A3A8: # 0x0701A3A8 - 0x0701A3E0
gsDPSetTextureImage G_IM_FMT_RGBA, G_IM_SIZ_16b, 1, sky_09007800
gsDPLoadSync
gsDPLoadBlock 7, 0, 0, 0x3FF, 0x100
gsSPVertex rr_seg7_vertex_07019E80, 4, 0
gsSP2Triangles 0, 1, 2, 0x0, 0, 3, 1, 0x0
gsSPEndDisplayList
rr_seg7_dl_0701A3E0: # 0x0701A3E0 - 0x0701A4E8
gsDPSetTextureImage G_IM_FMT_RGBA, G_IM_SIZ_16b, 1, sky_09003000
gsDPLoadSync
gsDPLoadBlock 7, 0, 0, 0x3FF, 0x100
gsSPLight rr_seg7_light_07019B88, 1
gsSPLight rr_seg7_light_07019B80, 2
gsSPVertex rr_seg7_vertex_07019EC0, 8, 0
gsSP2Triangles 0, 1, 2, 0x0, 0, 2, 3, 0x0
gsSP2Triangles 4, 5, 6, 0x0, 4, 7, 5, 0x0
gsSPLight rr_seg7_light_07019BA0, 1
gsSPLight rr_seg7_light_07019B98, 2
gsSPVertex rr_seg7_vertex_07019F40, 16, 0
gsSP2Triangles 0, 1, 2, 0x0, 3, 4, 5, 0x0
gsSP2Triangles 3, 5, 6, 0x0, 7, 8, 9, 0x0
gsSP2Triangles 7, 9, 10, 0x0, 11, 12, 13, 0x0
gsSP2Triangles 11, 13, 14, 0x0, 0, 2, 15, 0x0
gsSPLight rr_seg7_light_07019BB8, 1
gsSPLight rr_seg7_light_07019BB0, 2
gsSPVertex rr_seg7_vertex_0701A040, 16, 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
gsSP2Triangles 11, 13, 14, 0x0, 0, 15, 1, 0x0
gsSPEndDisplayList
rr_seg7_dl_0701A4E8: # 0x0701A4E8 - 0x0701A568
gsDPSetTextureImage G_IM_FMT_RGBA, G_IM_SIZ_16b, 1, sky_09002000
gsDPLoadSync
gsDPLoadBlock 7, 0, 0, 0x7FF, 0x100
gsSPLight rr_seg7_light_07019BD0, 1
gsSPLight rr_seg7_light_07019BC8, 2
gsSPVertex rr_seg7_vertex_0701A140, 15, 0
gsSP2Triangles 0, 1, 2, 0x0, 3, 4, 5, 0x0
gsSP2Triangles 6, 7, 8, 0x0, 9, 10, 11, 0x0
gsSP1Triangle 12, 13, 14, 0x0
gsSPVertex rr_seg7_vertex_0701A230, 9, 0
gsSP2Triangles 0, 1, 2, 0x0, 3, 4, 5, 0x0
gsSP1Triangle 6, 7, 8, 0x0
gsSPEndDisplayList
glabel rr_seg7_dl_0701A568 # 0x0701A568 - 0x0701A608
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_SHADING_SMOOTH
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 rr_seg7_dl_0701A2C0
gsSPDisplayList rr_seg7_dl_0701A3A8
gsSPDisplayList rr_seg7_dl_0701A3E0
gsDPTileSync
gsDPSetTile G_IM_FMT_RGBA, G_IM_SIZ_16b, 8, 0, G_TX_RENDERTILE, 0, G_TX_WRAP | G_TX_NOMIRROR, 6, G_TX_NOLOD, G_TX_WRAP | G_TX_NOMIRROR, 5, G_TX_NOLOD
gsDPSetTileSize 0, 0, 0, 124, 252
gsSPDisplayList rr_seg7_dl_0701A4E8
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_SHADING_SMOOTH
gsSPEndDisplayList