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.8 KiB

bits_seg7_vertex_0700D620: # 0x0700D620 - 0x0700D720
vertex 1581, 51, -108, 1246, 2328, 0xEC, 0xEF, 0x8E, 0xFF
vertex 1536, 51, 0, 478, 2010, 0xEC, 0xEF, 0x8E, 0xFF
vertex 1581, 51, 109, 162, 1244, 0xEC, 0xEF, 0x8E, 0xFF
vertex 1690, 51, 154, 480, 478, 0xEC, 0xEF, 0x8E, 0xFF
vertex 1798, 51, 109, 1246, 162, 0xEC, 0xEF, 0x8E, 0xFF
vertex 1843, 51, 0, 2012, 480, 0xEC, 0xEF, 0x8E, 0xFF
vertex 1798, 51, -108, 2330, 1244, 0xEC, 0xEF, 0x8E, 0xFF
vertex 1690, 51, -153, 2012, 2010, 0xEC, 0xEF, 0x8E, 0xFF
vertex 1798, 0, 109, 1246, 162, 0x96, 0x96, 0x00, 0xFF
vertex 1690, 51, 154, 480, 478, 0x96, 0x96, 0x00, 0xFF
vertex 1690, 0, 154, 478, 480, 0x96, 0x96, 0x00, 0xFF
vertex 1798, 51, 109, 1246, 162, 0x96, 0x96, 0x00, 0xFF
vertex 1690, 0, -153, 2012, 2010, 0x96, 0x96, 0x00, 0xFF
vertex 1690, 51, -153, 2012, 2010, 0x96, 0x96, 0x00, 0xFF
vertex 1798, 51, -108, 2330, 1244, 0x96, 0x96, 0x00, 0xFF
vertex 1798, 0, -108, 2330, 1244, 0x96, 0x96, 0x00, 0xFF
bits_seg7_vertex_0700D720: # 0x0700D720 - 0x0700D820
vertex 1581, 0, 109, 162, 1244, 0x5D, 0x5D, 0x00, 0xFF
vertex 1536, 51, 0, 478, 2010, 0x5D, 0x5D, 0x00, 0xFF
vertex 1536, 0, 0, 478, 2010, 0x5D, 0x5D, 0x00, 0xFF
vertex 1581, 51, 109, 162, 1244, 0x5D, 0x5D, 0x00, 0xFF
vertex 1798, 0, -108, 2330, 1244, 0x5D, 0x5D, 0x00, 0xFF
vertex 1843, 51, 0, 2012, 480, 0x5D, 0x5D, 0x00, 0xFF
vertex 1843, 0, 0, 2012, 480, 0x5D, 0x5D, 0x00, 0xFF
vertex 1798, 51, -108, 2330, 1244, 0x5D, 0x5D, 0x00, 0xFF
vertex 1536, 0, 0, 478, 2010, 0x6B, 0x6B, 0x00, 0xFF
vertex 1581, 51, -108, 1246, 2328, 0x6B, 0x6B, 0x00, 0xFF
vertex 1581, 0, -108, 1246, 2328, 0x6B, 0x6B, 0x00, 0xFF
vertex 1536, 51, 0, 478, 2010, 0x6B, 0x6B, 0x00, 0xFF
vertex 1843, 0, 0, 2012, 480, 0x6B, 0x6B, 0x00, 0xFF
vertex 1843, 51, 0, 2012, 480, 0x6B, 0x6B, 0x00, 0xFF
vertex 1798, 51, 109, 1246, 162, 0x6B, 0x6B, 0x00, 0xFF
vertex 1798, 0, 109, 1246, 162, 0x6B, 0x6B, 0x00, 0xFF
bits_seg7_vertex_0700D820: # 0x0700D820 - 0x0700D8A0
vertex 1581, 0, -108, 1246, 2328, 0x78, 0x78, 0x00, 0xFF
vertex 1690, 51, -153, 2012, 2010, 0x78, 0x78, 0x00, 0xFF
vertex 1690, 0, -153, 2012, 2010, 0x78, 0x78, 0x00, 0xFF
vertex 1581, 51, -108, 1246, 2328, 0x78, 0x78, 0x00, 0xFF
vertex 1690, 0, 154, 478, 480, 0x78, 0x78, 0x00, 0xFF
vertex 1690, 51, 154, 480, 478, 0x78, 0x78, 0x00, 0xFF
vertex 1581, 51, 109, 162, 1244, 0x78, 0x78, 0x00, 0xFF
vertex 1581, 0, 109, 162, 1244, 0x78, 0x78, 0x00, 0xFF
bits_seg7_vertex_0700D8A0: # 0x0700D8A0 - 0x0700D980
vertex -7, 2068, -12, 224, -19654, 0xB1, 0xBF, 0xFA, 0xFF
vertex 15, 2068, 0, 280, -19424, 0xB1, 0xBF, 0xFA, 0xFF
vertex 8, 2068, -12, 262, -19502, 0xB1, 0xBF, 0xFA, 0xFF
vertex 8, 2068, 13, 262, -19502, 0xB1, 0xBF, 0xFA, 0xFF
vertex -14, 2068, 0, 204, -19732, 0xB1, 0xBF, 0xFA, 0xFF
vertex -7, 2068, 13, 224, -19654, 0xB1, 0xBF, 0xFA, 0xFF
vertex 15, 0, 0, 280, 1218, 0x97, 0xB2, 0xCD, 0xFF
vertex 8, 2068, 13, 262, -19502, 0x97, 0xB2, 0xCD, 0xFF
vertex 8, 0, 13, 262, 1142, 0x97, 0xB2, 0xCD, 0xFF
vertex 15, 2068, 0, 280, -19424, 0x97, 0xB2, 0xCD, 0xFF
vertex -14, 0, 0, 204, 914, 0x97, 0xA9, 0xCD, 0xFF
vertex -14, 2068, 0, 204, -19732, 0x97, 0xA9, 0xCD, 0xFF
vertex -7, 2068, -12, 224, -19654, 0x97, 0xA9, 0xCD, 0xFF
vertex -7, 0, -12, 224, 990, 0x97, 0xA9, 0xCD, 0xFF
bits_seg7_vertex_0700D980: # 0x0700D980 - 0x0700DA80
vertex -7, 0, -12, 224, 990, 0x52, 0x70, 0xAC, 0xFF
vertex 8, 2068, -12, 262, -19502, 0x52, 0x70, 0xAC, 0xFF
vertex 8, 0, -12, 262, 1142, 0x52, 0x70, 0xAC, 0xFF
vertex -7, 2068, -12, 224, -19654, 0x52, 0x70, 0xAC, 0xFF
vertex 8, 0, 13, 262, 1142, 0x52, 0x70, 0xAC, 0xFF
vertex 8, 2068, 13, 262, -19502, 0x52, 0x70, 0xAC, 0xFF
vertex -7, 2068, 13, 224, -19654, 0x52, 0x70, 0xAC, 0xFF
vertex -7, 0, 13, 224, 990, 0x52, 0x70, 0xAC, 0xFF
vertex 8, 0, -12, 262, 1142, 0x8C, 0x98, 0xD8, 0xFF
vertex 8, 2068, -12, 262, -19502, 0x8C, 0x98, 0xD8, 0xFF
vertex 15, 2068, 0, 280, -19424, 0x8C, 0x98, 0xD8, 0xFF
vertex 15, 0, 0, 280, 1218, 0x8C, 0x98, 0xD8, 0xFF
vertex -7, 0, 13, 224, 990, 0x8C, 0x98, 0xD8, 0xFF
vertex -7, 2068, 13, 224, -19654, 0x8C, 0x98, 0xD8, 0xFF
vertex -14, 2068, 0, 204, -19732, 0x8C, 0x98, 0xD8, 0xFF
vertex -14, 0, 0, 204, 914, 0x8C, 0x98, 0xD8, 0xFF
bits_seg7_vertex_0700DA80: # 0x0700DA80 - 0x0700DB20
vertex 1690, 307, 0, 480, 0, 0x96, 0x96, 0x96, 0xFF
vertex 1587, 51, 0, 0, 1672, 0x96, 0x96, 0x96, 0xFF
vertex 1690, 51, 102, 480, 1672, 0x96, 0x96, 0x96, 0xFF
vertex 1792, 51, 0, 990, 1672, 0x96, 0x96, 0x96, 0xFF
vertex 1690, 51, -101, 480, 1672, 0x96, 0x96, 0x96, 0xFF
vertex 1690, 51, 102, 480, 1672, 0xC8, 0xC8, 0xC8, 0xFF
vertex 1792, 51, 0, 990, 1672, 0xC8, 0xC8, 0xC8, 0xFF
vertex 1690, 307, 0, 480, 0, 0xC8, 0xC8, 0xC8, 0xFF
vertex 1690, 51, -101, 480, 1672, 0xC8, 0xC8, 0xC8, 0xFF
vertex 1587, 51, 0, 0, 1672, 0xC8, 0xC8, 0xC8, 0xFF
bits_seg7_dl_0700DB20: # 0x0700DB20 - 0x0700DC08
gsDPSetTextureImage G_IM_FMT_RGBA, G_IM_SIZ_16b, 1, sky_09007000
gsDPLoadSync
gsDPLoadBlock 7, 0, 0, 0x3FF, 0x100
gsSPVertex bits_seg7_vertex_0700D620, 16, 0
gsSP2Triangles 0, 1, 2, 0x0, 0, 3, 4, 0x0
gsSP2Triangles 0, 4, 5, 0x0, 0, 2, 3, 0x0
gsSP2Triangles 0, 6, 7, 0x0, 0, 5, 6, 0x0
gsSP2Triangles 8, 9, 10, 0x0, 8, 11, 9, 0x0
gsSP2Triangles 12, 13, 14, 0x0, 12, 14, 15, 0x0
gsSPVertex bits_seg7_vertex_0700D720, 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, 11, 9, 0x0
gsSP2Triangles 12, 13, 14, 0x0, 12, 14, 15, 0x0
gsSPVertex bits_seg7_vertex_0700D820, 8, 0
gsSP2Triangles 0, 1, 2, 0x0, 0, 3, 1, 0x0
gsSP2Triangles 4, 5, 6, 0x0, 4, 6, 7, 0x0
gsSPEndDisplayList
bits_seg7_dl_0700DC08: # 0x0700DC08 - 0x0700DCB8
gsDPSetTextureImage G_IM_FMT_RGBA, G_IM_SIZ_16b, 1, sky_09008000
gsDPLoadSync
gsDPLoadBlock 7, 0, 0, 0x3FF, 0x100
gsSPVertex bits_seg7_vertex_0700D8A0, 14, 0
gsSP2Triangles 0, 1, 2, 0x0, 0, 3, 1, 0x0
gsSP2Triangles 0, 4, 5, 0x0, 0, 5, 3, 0x0
gsSP2Triangles 6, 7, 8, 0x0, 6, 9, 7, 0x0
gsSP2Triangles 10, 11, 12, 0x0, 10, 12, 13, 0x0
gsSPVertex bits_seg7_vertex_0700D980, 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, 10, 11, 0x0
gsSP2Triangles 12, 13, 14, 0x0, 12, 14, 15, 0x0
gsSPEndDisplayList
bits_seg7_dl_0700DCB8: # 0x0700DCB8 - 0x0700DD00
gsDPSetTextureImage G_IM_FMT_RGBA, G_IM_SIZ_16b, 1, sky_09002000
gsDPLoadSync
gsDPLoadBlock 7, 0, 0, 0x7FF, 0x100
gsSPVertex bits_seg7_vertex_0700DA80, 10, 0
gsSP2Triangles 0, 1, 2, 0x0, 0, 3, 4, 0x0
gsSP2Triangles 5, 6, 7, 0x0, 7, 8, 9, 0x0
gsSPEndDisplayList
glabel bits_seg7_dl_0700DD00 # 0x0700DD00 - 0x0700DD98
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 bits_seg7_dl_0700DB20
gsSPDisplayList bits_seg7_dl_0700DC08
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 bits_seg7_dl_0700DCB8
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