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.
 
 
 
 
 

166 lines
9.6 KiB

totwc_seg7_vertex_070070C8: # 0x070070C8 - 0x070071C8
vertex 4506, -7679, 3686, 990, 990, 0xFE, 0xFF, 0xCB, 0x00
vertex 3686, -7679, 3686, 0, 990, 0xFE, 0xFF, 0xCB, 0x00
vertex 3686, -5119, 3686, 0, -2204, 0xFE, 0xFF, 0xCB, 0xFF
vertex 4506, -5119, 3686, 990, -2204, 0xFE, 0xFF, 0xCB, 0xFF
vertex 4506, -5119, -3685, 990, -2204, 0xB9, 0xD0, 0xAD, 0xFF
vertex 4506, -7679, -3685, 990, 990, 0xB9, 0xD0, 0xAD, 0x00
vertex 4506, -5119, -4505, 0, -2204, 0xB9, 0xD0, 0xAD, 0xFF
vertex 4506, -7679, -4505, 0, 990, 0xB9, 0xD0, 0xAD, 0x00
vertex 3686, -7679, -4505, 0, 990, 0xB9, 0xD0, 0xAD, 0x00
vertex 3686, -7679, -3685, 990, 990, 0xB9, 0xD0, 0xAD, 0x00
vertex 3686, -5119, -3685, 990, -2204, 0xB9, 0xD0, 0xAD, 0xFF
vertex 3686, -5119, -4505, 0, -2204, 0xB9, 0xD0, 0xAD, 0xFF
vertex -4505, -5119, 4506, 990, -2204, 0x50, 0x86, 0xA3, 0xFF
vertex -4505, -7679, 4506, 990, 990, 0x50, 0x86, 0xA3, 0x00
vertex -3685, -7679, 4506, 0, 990, 0x50, 0x86, 0xA3, 0x00
vertex -3685, -5119, 4506, 0, -2204, 0x50, 0x86, 0xA3, 0xFF
totwc_seg7_vertex_070071C8: # 0x070071C8 - 0x070072C8
vertex -3685, -5119, 4506, 11210, -2204, 0x93, 0xCE, 0xD5, 0xFF
vertex -3685, -7679, 3686, 10188, 990, 0x93, 0xCE, 0xD5, 0x00
vertex -3685, -5119, 3686, 10188, -2204, 0x93, 0xCE, 0xD5, 0xFF
vertex -3685, -7679, 4506, 11210, 990, 0x93, 0xCE, 0xD5, 0x00
vertex -4505, -5119, 3686, 10188, -2204, 0x93, 0xCE, 0xD5, 0xFF
vertex -4505, -7679, 3686, 10188, 990, 0x93, 0xCE, 0xD5, 0x00
vertex -4505, -7679, 4506, 11210, 990, 0x93, 0xCE, 0xD5, 0x00
vertex -4505, -5119, 4506, 11210, -2204, 0x93, 0xCE, 0xD5, 0xFF
vertex -3685, -5119, 3686, 0, -2204, 0xC5, 0xF8, 0xFF, 0xFF
vertex -4505, -7679, 3686, 990, 990, 0xC5, 0xF8, 0xFF, 0x00
vertex -4505, -5119, 3686, 990, -2204, 0xC5, 0xF8, 0xFF, 0xFF
vertex -3685, -7679, 3686, 0, 990, 0xC5, 0xF8, 0xFF, 0x00
vertex -3685, -7679, -4505, -9228, 990, 0xC1, 0xDD, 0xFF, 0x00
vertex -4505, -7679, -4505, -10250, 990, 0xC1, 0xDD, 0xFF, 0x00
vertex -4505, -5119, -4505, -10250, -2204, 0xC1, 0xDD, 0xFF, 0xFF
vertex -3685, -5119, -4505, -9228, -2204, 0xC1, 0xDD, 0xFF, 0xFF
totwc_seg7_vertex_070072C8: # 0x070072C8 - 0x070073C8
vertex 4506, -5119, -4505, 990, -2204, 0xDD, 0xFF, 0xC8, 0xFF
vertex 4506, -7679, -4505, 990, 990, 0xDD, 0xFF, 0xC8, 0x00
vertex 3686, -5119, -4505, 0, -2204, 0xDD, 0xFF, 0xC8, 0xFF
vertex 3686, -7679, -4505, 0, 990, 0xDD, 0xFF, 0xC8, 0x00
vertex 3686, -5119, 4506, 0, -2204, 0xA6, 0xA1, 0x6F, 0xFF
vertex 3686, -7679, 4506, 0, 990, 0xA6, 0xA1, 0x6F, 0x00
vertex 4506, -5119, 4506, 990, -2204, 0xA6, 0xA1, 0x6F, 0xFF
vertex 4506, -7679, 4506, 990, 990, 0xA6, 0xA1, 0x6F, 0x00
vertex -4505, -5119, -3685, -10250, -2204, 0x65, 0x7B, 0x97, 0xFF
vertex -4505, -7679, -3685, -10250, 990, 0x65, 0x7B, 0x97, 0x00
vertex -3685, -5119, -3685, -9228, -2204, 0x65, 0x7B, 0x97, 0xFF
vertex -3685, -7679, -3685, -9228, 990, 0x65, 0x7B, 0x97, 0x00
vertex 3686, -5119, -3685, 0, -2204, 0x95, 0x9E, 0x7B, 0xFF
vertex 3686, -7679, -3685, 0, 990, 0x95, 0x9E, 0x7B, 0x00
vertex 4506, -5119, -3685, 990, -2204, 0x95, 0x9E, 0x7B, 0xFF
vertex 4506, -7679, -3685, 990, 990, 0x95, 0x9E, 0x7B, 0x00
totwc_seg7_vertex_070073C8: # 0x070073C8 - 0x070074C8
vertex -3685, -7679, -3685, 990, 990, 0x97, 0xA9, 0xCD, 0x00
vertex -3685, -7679, -4505, 0, 990, 0x97, 0xA9, 0xCD, 0x00
vertex -3685, -5119, -4505, 0, -2204, 0x97, 0xA9, 0xCD, 0xFF
vertex -3685, -5119, -3685, 990, -2204, 0x97, 0xA9, 0xCD, 0xFF
vertex -4505, -5119, -4505, 0, -2204, 0x97, 0xA9, 0xCD, 0xFF
vertex -4505, -7679, -4505, 0, 990, 0x97, 0xA9, 0xCD, 0x00
vertex -4505, -5119, -3685, 990, -2204, 0x97, 0xA9, 0xCD, 0xFF
vertex -4505, -7679, -3685, 990, 990, 0x97, 0xA9, 0xCD, 0x00
vertex 4506, -5119, 4506, 11210, -2204, 0xCD, 0xC4, 0x97, 0xFF
vertex 4506, -7679, 4506, 11210, 990, 0xCD, 0xC4, 0x97, 0x00
vertex 4506, -5119, 3686, 10188, -2204, 0xCD, 0xC4, 0x97, 0xFF
vertex 4506, -7679, 3686, 10188, 990, 0xCD, 0xC4, 0x97, 0x00
vertex 3686, -7679, 3686, 10188, 990, 0xCD, 0xC4, 0x97, 0x00
vertex 3686, -7679, 4506, 11210, 990, 0xCD, 0xC4, 0x97, 0x00
vertex 3686, -5119, 4506, 11210, -2204, 0xCD, 0xC4, 0x97, 0xFF
vertex 3686, -5119, 3686, 10188, -2204, 0xCD, 0xC4, 0x97, 0xFF
totwc_seg7_vertex_070074C8: # 0x070074C8 - 0x070075C8
vertex -469, -7679, 1135, 350, 13700, 0x9B, 0x51, 0x20, 0x00
vertex -469, -5119, 1135, 350, 7468, 0x9B, 0x51, 0x20, 0xFF
vertex -1134, -5119, 470, 2638, 7468, 0x9B, 0x51, 0x20, 0xFF
vertex -1134, -7679, 470, 2638, 13700, 0x9B, 0x51, 0x20, 0x00
vertex 470, -7679, -1134, 2638, 13700, 0x9B, 0x51, 0x20, 0x00
vertex 1135, -5119, -469, 350, 7468, 0x9B, 0x51, 0x20, 0xFF
vertex 1135, -7679, -469, 350, 13700, 0x9B, 0x51, 0x20, 0x00
vertex 470, -5119, -1134, 2638, 7468, 0x9B, 0x51, 0x20, 0xFF
vertex 470, -7679, 1135, 346, 13700, 0x7D, 0x3E, 0x1C, 0x00
vertex -469, -5119, 1135, 2636, 7468, 0x7D, 0x3E, 0x1C, 0xFF
vertex -469, -7679, 1135, 2636, 13700, 0x7D, 0x3E, 0x1C, 0x00
vertex 470, -5119, 1135, 346, 7468, 0x7D, 0x3E, 0x1C, 0xFF
vertex 1135, -7679, -469, 2638, 13700, 0x7D, 0x3E, 0x1C, 0x00
vertex 1135, -5119, 470, 350, 7468, 0x7D, 0x3E, 0x1C, 0xFF
vertex 1135, -7679, 470, 350, 13700, 0x7D, 0x3E, 0x1C, 0x00
vertex 1135, -5119, -469, 2638, 7468, 0x7D, 0x3E, 0x1C, 0xFF
totwc_seg7_vertex_070075C8: # 0x070075C8 - 0x070076C8
vertex -1134, -7679, 470, 350, 13700, 0xC3, 0x67, 0x2B, 0x00
vertex -1134, -5119, 470, 350, 7468, 0xC3, 0x67, 0x2B, 0xFF
vertex -1134, -5119, -469, 2638, 7468, 0xC3, 0x67, 0x2B, 0xFF
vertex -1134, -7679, -469, 2638, 13700, 0xC3, 0x67, 0x2B, 0x00
vertex -469, -7679, -1134, 2636, 13700, 0xC3, 0x67, 0x2B, 0x00
vertex -469, -5119, -1134, 2636, 7468, 0xC3, 0x67, 0x2B, 0xFF
vertex 470, -5119, -1134, 346, 7468, 0xC3, 0x67, 0x2B, 0xFF
vertex 470, -7679, -1134, 346, 13700, 0xC3, 0x67, 0x2B, 0x00
vertex -1134, -7679, -469, 2604, 13704, 0xE4, 0x87, 0x39, 0x00
vertex -469, -5119, -1134, 330, 7468, 0xE4, 0x87, 0x39, 0xFF
vertex -469, -7679, -1134, 316, 13700, 0xE4, 0x87, 0x39, 0x00
vertex -1134, -5119, -469, 2620, 7474, 0xE4, 0x87, 0x39, 0xFF
vertex 1135, -7679, 470, 322, 13686, 0x5D, 0x2E, 0x00, 0x00
vertex 1135, -5119, 470, 338, 7454, 0x5D, 0x2E, 0x00, 0xFF
vertex 470, -5119, 1135, 2626, 7460, 0x5D, 0x2E, 0x00, 0xFF
vertex 470, -7679, 1135, 2612, 13692, 0x5D, 0x2E, 0x00, 0x00
totwc_seg7_dl_070076C8: # 0x070076C8 - 0x07007808
gsDPSetTextureImage G_IM_FMT_RGBA, G_IM_SIZ_16b, 1, totwc_seg7_texture_07001000
gsDPLoadSync
gsDPLoadBlock 7, 0, 0, 0x3FF, 0x100
gsSPVertex totwc_seg7_vertex_070070C8, 16, 0
gsSP2Triangles 0, 1, 2, 0x0, 3, 0, 2, 0x0
gsSP2Triangles 4, 5, 6, 0x0, 5, 7, 6, 0x0
gsSP2Triangles 8, 9, 10, 0x0, 11, 8, 10, 0x0
gsSP2Triangles 12, 13, 14, 0x0, 12, 14, 15, 0x0
gsSPVertex totwc_seg7_vertex_070071C8, 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, 15, 12, 14, 0x0
gsSPVertex totwc_seg7_vertex_070072C8, 16, 0
gsSP2Triangles 0, 1, 2, 0x0, 1, 3, 2, 0x0
gsSP2Triangles 4, 5, 6, 0x0, 5, 7, 6, 0x0
gsSP2Triangles 8, 9, 10, 0x0, 9, 11, 10, 0x0
gsSP2Triangles 12, 13, 14, 0x0, 13, 15, 14, 0x0
gsSPVertex totwc_seg7_vertex_070073C8, 16, 0
gsSP2Triangles 0, 1, 2, 0x0, 3, 0, 2, 0x0
gsSP2Triangles 4, 5, 6, 0x0, 5, 7, 6, 0x0
gsSP2Triangles 8, 9, 10, 0x0, 9, 11, 10, 0x0
gsSP2Triangles 12, 13, 14, 0x0, 15, 12, 14, 0x0
gsSPEndDisplayList
totwc_seg7_dl_07007808: # 0x07007808 - 0x070078B8
gsDPSetTextureImage G_IM_FMT_RGBA, G_IM_SIZ_16b, 1, sky_09001000
gsDPLoadSync
gsDPLoadBlock 7, 0, 0, 0x3FF, 0x100
gsSPVertex totwc_seg7_vertex_070074C8, 16, 0
gsSP2Triangles 0, 1, 2, 0x0, 0, 2, 3, 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, 15, 13, 0x0
gsSPVertex totwc_seg7_vertex_070075C8, 16, 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, 11, 9, 0x0
gsSP2Triangles 12, 13, 14, 0x0, 12, 14, 15, 0x0
gsSPEndDisplayList
glabel totwc_seg7_dl_070078B8 # 0x070078B8 - 0x07007930
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 totwc_seg7_dl_070076C8
gsSPDisplayList totwc_seg7_dl_07007808
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