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.
 
 
 
 
 

170 lines
9.4 KiB

pss_seg7_vertex_0700DB48: # 0x0700DB48 - 0x0700DB88
vertex -6720, -4484, 6068, 2382, -1424, 0x8C, 0x8C, 0x8C, 0xFF
vertex -5994, -4484, 6068, 0, -1424, 0x8C, 0x8C, 0x8C, 0xFF
vertex -5994, -4484, 5342, 0, 990, 0x8C, 0x8C, 0x8C, 0xFF
vertex -6720, -4484, 5342, 2382, 990, 0x8C, 0x8C, 0x8C, 0xFF
pss_seg7_vertex_0700DB88: # 0x0700DB88 - 0x0700DC48
vertex -6178, -4561, 5188, 0, 1120, 0xFF, 0xFF, 0xFF, 0xFF
vertex -6178, -4561, 5117, 0, 1264, 0xFF, 0xFF, 0xFF, 0xFF
vertex -6588, -4561, 5117, 786, 1264, 0xFF, 0xFF, 0xFF, 0xFF
vertex -6588, -4561, 5188, 786, 1120, 0xFF, 0xFF, 0xFF, 0xFF
vertex -6588, -4535, 5255, 786, 990, 0xFF, 0xFF, 0xFF, 0xFF
vertex -6178, -4535, 5255, 0, 990, 0xFF, 0xFF, 0xFF, 0xFF
vertex -6178, -4535, 5188, 0, 1120, 0xFF, 0xFF, 0xFF, 0xFF
vertex -6588, -4535, 5188, 786, 1120, 0xFF, 0xFF, 0xFF, 0xFF
vertex -6588, -4510, 5321, 786, 858, 0xFF, 0xFF, 0xFF, 0xFF
vertex -6178, -4510, 5321, 0, 858, 0xFF, 0xFF, 0xFF, 0xFF
vertex -6178, -4510, 5255, 0, 990, 0xFF, 0xFF, 0xFF, 0xFF
vertex -6588, -4510, 5255, 786, 990, 0xFF, 0xFF, 0xFF, 0xFF
pss_seg7_vertex_0700DC48: # 0x0700DC48 - 0x0700DD38
vertex -6588, -4587, 5321, 1088, 480, 0x8C, 0x8C, 0x8C, 0xFF
vertex -6588, -4561, 5117, 542, 352, 0x8C, 0x8C, 0x8C, 0xFF
vertex -6588, -4587, 5117, 542, 480, 0x8C, 0x8C, 0x8C, 0xFF
vertex -6178, -4587, 5117, 550, 480, 0x8C, 0x8C, 0x8C, 0xFF
vertex -6178, -4561, 5188, 360, 352, 0x8C, 0x8C, 0x8C, 0xFF
vertex -6178, -4587, 5321, 6, 480, 0x8C, 0x8C, 0x8C, 0xFF
vertex -6178, -4561, 5117, 550, 352, 0x8C, 0x8C, 0x8C, 0xFF
vertex -6178, -4535, 5255, 182, 224, 0x8C, 0x8C, 0x8C, 0xFF
vertex -6178, -4535, 5188, 360, 224, 0x8C, 0x8C, 0x8C, 0xFF
vertex -6178, -4510, 5255, 182, 96, 0x8C, 0x8C, 0x8C, 0xFF
vertex -6178, -4510, 5321, 6, 96, 0x8C, 0x8C, 0x8C, 0xFF
vertex -6588, -4510, 5255, 910, 96, 0x8C, 0x8C, 0x8C, 0xFF
vertex -6588, -4510, 5321, 1088, 96, 0x8C, 0x8C, 0x8C, 0xFF
vertex -6588, -4535, 5255, 910, 224, 0x8C, 0x8C, 0x8C, 0xFF
vertex -6588, -4561, 5188, 734, 352, 0x8C, 0x8C, 0x8C, 0xFF
pss_seg7_vertex_0700DD38: # 0x0700DD38 - 0x0700DE28
vertex -6588, -4535, 5255, 1484, 224, 0x8C, 0x8C, 0x8C, 0xFF
vertex -6588, -4510, 5255, 1484, 96, 0x8C, 0x8C, 0x8C, 0xFF
vertex -6178, -4510, 5255, 684, 96, 0x8C, 0x8C, 0x8C, 0xFF
vertex -6588, -4561, 5188, 734, 352, 0x8C, 0x8C, 0x8C, 0xFF
vertex -6588, -4535, 5255, 910, 224, 0x8C, 0x8C, 0x8C, 0xFF
vertex -6588, -4535, 5188, 734, 224, 0x8C, 0x8C, 0x8C, 0xFF
vertex -6588, -4587, 5117, 1560, 480, 0x8C, 0x8C, 0x8C, 0xFF
vertex -6588, -4561, 5117, 1560, 352, 0x8C, 0x8C, 0x8C, 0xFF
vertex -6178, -4561, 5117, 540, 352, 0x8C, 0x8C, 0x8C, 0xFF
vertex -6178, -4587, 5117, 540, 480, 0x8C, 0x8C, 0x8C, 0xFF
vertex -6588, -4561, 5188, 1748, 352, 0x8C, 0x8C, 0x8C, 0xFF
vertex -6588, -4535, 5188, 1748, 224, 0x8C, 0x8C, 0x8C, 0xFF
vertex -6178, -4535, 5188, 864, 224, 0x8C, 0x8C, 0x8C, 0xFF
vertex -6178, -4561, 5188, 864, 352, 0x8C, 0x8C, 0x8C, 0xFF
vertex -6178, -4535, 5255, 684, 224, 0x8C, 0x8C, 0x8C, 0xFF
pss_seg7_vertex_0700DE28: # 0x0700DE28 - 0x0700DF18
vertex -6741, -4484, 6089, 0, 0, 0x8C, 0x8C, 0x8C, 0xFF
vertex -6741, -4587, 6089, 0, 480, 0x8C, 0x8C, 0x8C, 0xFF
vertex -5973, -4587, 6089, 2012, 480, 0x8C, 0x8C, 0x8C, 0xFF
vertex -6588, -4510, 5321, 1604, 96, 0x8C, 0x8C, 0x8C, 0xFF
vertex -6588, -4587, 5321, 1604, 480, 0x8C, 0x8C, 0x8C, 0xFF
vertex -6741, -4587, 5321, 2012, 480, 0x8C, 0x8C, 0x8C, 0xFF
vertex -6178, -4510, 5321, 514, 96, 0x8C, 0x8C, 0x8C, 0xFF
vertex -6741, -4484, 5321, 2012, 0, 0x8C, 0x8C, 0x8C, 0xFF
vertex -5973, -4484, 5321, 0, 0, 0x8C, 0x8C, 0x8C, 0xFF
vertex -5973, -4587, 5321, 0, 480, 0x8C, 0x8C, 0x8C, 0xFF
vertex -6178, -4587, 5321, 514, 480, 0x8C, 0x8C, 0x8C, 0xFF
vertex -6741, -4484, 5321, 0, 0, 0x8C, 0x8C, 0x8C, 0xFF
vertex -6741, -4587, 5321, 0, 480, 0x8C, 0x8C, 0x8C, 0xFF
vertex -6741, -4587, 6089, 2012, 480, 0x8C, 0x8C, 0x8C, 0xFF
vertex -6741, -4484, 6089, 2012, 0, 0x8C, 0x8C, 0x8C, 0xFF
pss_seg7_vertex_0700DF18: # 0x0700DF18 - 0x0700DFF8
vertex -5973, -4587, 5321, 2012, 480, 0x8C, 0x8C, 0x8C, 0xFF
vertex -5973, -4484, 6089, 0, 0, 0x8C, 0x8C, 0x8C, 0xFF
vertex -5973, -4587, 6089, 0, 480, 0x8C, 0x8C, 0x8C, 0xFF
vertex -6741, -4484, 6089, 0, 0, 0x8C, 0x8C, 0x8C, 0xFF
vertex -5973, -4587, 6089, 2012, 480, 0x8C, 0x8C, 0x8C, 0xFF
vertex -5973, -4484, 6089, 2012, 0, 0x8C, 0x8C, 0x8C, 0xFF
vertex -5973, -4484, 5321, 2012, 0, 0x8C, 0x8C, 0x8C, 0xFF
vertex -6741, -4484, 5321, 2012, 0, 0xFF, 0xFF, 0xFF, 0xFF
vertex -5994, -4484, 5342, 24, 0, 0xFF, 0xFF, 0xFF, 0xFF
vertex -5973, -4484, 5321, 0, 0, 0xFF, 0xFF, 0xFF, 0xFF
vertex -5973, -4484, 5321, 2012, 0, 0xFF, 0xFF, 0xFF, 0xFF
vertex -5994, -4484, 6068, 24, 0, 0xFF, 0xFF, 0xFF, 0xFF
vertex -5973, -4484, 6089, 0, 0, 0xFF, 0xFF, 0xFF, 0xFF
vertex -5994, -4484, 5342, 1956, 0, 0xFF, 0xFF, 0xFF, 0xFF
pss_seg7_vertex_0700DFF8: # 0x0700DFF8 - 0x0700E0A8
vertex -5973, -4484, 6089, 2012, 0, 0xFF, 0xFF, 0xFF, 0xFF
vertex -6720, -4484, 6068, 24, 0, 0xFF, 0xFF, 0xFF, 0xFF
vertex -6741, -4484, 6089, 0, 0, 0xFF, 0xFF, 0xFF, 0xFF
vertex -5994, -4484, 6068, 1956, 0, 0xFF, 0xFF, 0xFF, 0xFF
vertex -6720, -4484, 5342, 24, 0, 0xFF, 0xFF, 0xFF, 0xFF
vertex -6741, -4484, 6089, 2012, 0, 0xFF, 0xFF, 0xFF, 0xFF
vertex -6720, -4484, 6068, 1956, 0, 0xFF, 0xFF, 0xFF, 0xFF
vertex -6741, -4484, 5321, 0, 0, 0xFF, 0xFF, 0xFF, 0xFF
vertex -6741, -4484, 5321, 2012, 0, 0xFF, 0xFF, 0xFF, 0xFF
vertex -6720, -4484, 5342, 1956, 0, 0xFF, 0xFF, 0xFF, 0xFF
vertex -5994, -4484, 5342, 24, 0, 0xFF, 0xFF, 0xFF, 0xFF
pss_seg7_dl_0700E0A8: # 0x0700E0A8 - 0x0700E0E0
gsDPSetTextureImage G_IM_FMT_RGBA, G_IM_SIZ_16b, 1, mountain_09007000
gsDPLoadSync
gsDPLoadBlock 7, 0, 0, 0x3FF, 0x100
gsSPVertex pss_seg7_vertex_0700DB48, 4, 0
gsSP2Triangles 0, 1, 2, 0x0, 0, 2, 3, 0x0
gsSPEndDisplayList
pss_seg7_dl_0700E0E0: # 0x0700E0E0 - 0x0700E138
gsDPSetTextureImage G_IM_FMT_RGBA, G_IM_SIZ_16b, 1, pss_seg7_texture_07000000
gsDPLoadSync
gsDPLoadBlock 7, 0, 0, 0x3FF, 0x100
gsSPVertex pss_seg7_vertex_0700DB88, 12, 0
gsSP2Triangles 0, 1, 2, 0x0, 0, 2, 3, 0x0
gsSP2Triangles 4, 5, 6, 0x0, 4, 6, 7, 0x0
gsSP2Triangles 8, 9, 10, 0x0, 8, 10, 11, 0x0
gsSPEndDisplayList
pss_seg7_dl_0700E138: # 0x0700E138 - 0x0700E2B0
gsDPSetTextureImage G_IM_FMT_RGBA, G_IM_SIZ_16b, 1, mountain_09005800
gsDPLoadSync
gsDPLoadBlock 7, 0, 0, 0x7FF, 0x100
gsSPVertex pss_seg7_vertex_0700DC48, 15, 0
gsSP2Triangles 0, 1, 2, 0x0, 3, 4, 5, 0x0
gsSP2Triangles 3, 6, 4, 0x0, 4, 7, 5, 0x0
gsSP2Triangles 4, 8, 7, 0x0, 5, 7, 9, 0x0
gsSP2Triangles 5, 9, 10, 0x0, 11, 0, 12, 0x0
gsSP2Triangles 11, 13, 0, 0x0, 14, 0, 13, 0x0
gsSP1Triangle 0, 14, 1, 0x0
gsSPVertex pss_seg7_vertex_0700DD38, 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, 12, 13, 0x0
gsSP1Triangle 0, 2, 14, 0x0
gsSPVertex pss_seg7_vertex_0700DE28, 15, 0
gsSP2Triangles 0, 1, 2, 0x0, 3, 4, 5, 0x0
gsSP2Triangles 6, 3, 7, 0x0, 3, 5, 7, 0x0
gsSP2Triangles 6, 7, 8, 0x0, 9, 6, 8, 0x0
gsSP2Triangles 9, 10, 6, 0x0, 11, 12, 13, 0x0
gsSP1Triangle 11, 13, 14, 0x0
gsSPVertex pss_seg7_vertex_0700DF18, 14, 0
gsSP2Triangles 0, 1, 2, 0x0, 3, 4, 5, 0x0
gsSP2Triangles 0, 6, 1, 0x0, 7, 8, 9, 0x0
gsSP2Triangles 10, 11, 12, 0x0, 10, 13, 11, 0x0
gsSPVertex pss_seg7_vertex_0700DFF8, 11, 0
gsSP2Triangles 0, 1, 2, 0x0, 0, 3, 1, 0x0
gsSP2Triangles 4, 5, 6, 0x0, 4, 7, 5, 0x0
gsSP1Triangle 8, 9, 10, 0x0
gsSPEndDisplayList
glabel pss_seg7_dl_0700E2B0 # 0x0700E2B0 - 0x0700E348
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 pss_seg7_dl_0700E0A8
gsSPDisplayList pss_seg7_dl_0700E0E0
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 pss_seg7_dl_0700E138
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