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.
 
 
 
 
 

152 lines
8.7 KiB

castle_courtyard_seg7_vertex_070049E8: # 0x070049E8 - 0x07004AC8
vertex 0, 4741, -96, 632, -2850, 0x72, 0x72, 0x8C, 0xFF
vertex 0, 3660, -546, 0, 990, 0x72, 0x72, 0x8C, 0xFF
vertex -358, 3662, -375, 1292, 990, 0x72, 0x72, 0x8C, 0xFF
vertex 0, 2136, -792, 638, -734, 0x72, 0x72, 0x8C, 0xFF
vertex 0, 1751, -1195, 0, 990, 0x72, 0x72, 0x8C, 0xFF
vertex -554, 2139, -518, 2694, -662, 0x72, 0x72, 0x8C, 0xFF
vertex -936, 1751, -654, 3566, 990, 0x72, 0x72, 0x8C, 0xFF
vertex 0, 3660, -546, 238, 46, 0x72, 0x72, 0x8C, 0xFF
vertex 0, 3431, -733, 0, 990, 0x72, 0x72, 0x8C, 0xFF
vertex -358, 3662, -375, 1560, 44, 0x72, 0x72, 0x8C, 0xFF
vertex -508, 3430, -487, 1850, 990, 0x72, 0x72, 0x8C, 0xFF
vertex 0, 4741, -96, 628, -2850, 0xC3, 0xC3, 0xCD, 0xFF
vertex 359, 3662, -375, 0, 990, 0xC3, 0xC3, 0xCD, 0xFF
vertex 0, 3660, -546, 1292, 990, 0xC3, 0xC3, 0xCD, 0xFF
castle_courtyard_seg7_vertex_07004AC8: # 0x07004AC8 - 0x07004BB8
vertex 0, 2136, -792, 2896, -738, 0xC3, 0xC3, 0xCD, 0xFF
vertex 555, 2139, -518, 840, -658, 0xC3, 0xC3, 0xCD, 0xFF
vertex 0, 1751, -1195, 3566, 990, 0xC3, 0xC3, 0xCD, 0xFF
vertex 937, 1751, -654, 0, 990, 0xC3, 0xC3, 0xCD, 0xFF
vertex 0, 3660, -546, 1580, 46, 0xC3, 0xC3, 0xCD, 0xFF
vertex 359, 3662, -375, 256, 44, 0xC3, 0xC3, 0xCD, 0xFF
vertex 0, 3431, -733, 1850, 990, 0xC3, 0xC3, 0xCD, 0xFF
vertex 509, 3430, -487, 0, 990, 0xC3, 0xC3, 0xCD, 0xFF
vertex 0, 4741, -96, 738, -2776, 0xDC, 0xDC, 0xE3, 0xFF
vertex 349, 3669, 156, 0, 990, 0xDC, 0xDC, 0xE3, 0xFF
vertex 359, 3662, -375, 1738, 990, 0xDC, 0xDC, 0xE3, 0xFF
vertex 555, 2139, -518, 2982, -824, 0xDC, 0xDC, 0xE3, 0xFF
vertex 562, 2150, 244, 446, -846, 0xDC, 0xDC, 0xE3, 0xFF
vertex 937, 1751, -654, 3426, 990, 0xDC, 0xDC, 0xE3, 0xFF
vertex 945, 1751, 384, 0, 990, 0xDC, 0xDC, 0xE3, 0xFF
castle_courtyard_seg7_vertex_07004BB8: # 0x07004BB8 - 0x07004CA8
vertex 349, 3669, 156, 202, 36, 0xDC, 0xDC, 0xE3, 0xFF
vertex 508, 3431, 227, 0, 990, 0xDC, 0xDC, 0xE3, 0xFF
vertex 359, 3662, -375, 1972, 72, 0xDC, 0xDC, 0xE3, 0xFF
vertex 509, 3430, -487, 2344, 990, 0xDC, 0xDC, 0xE3, 0xFF
vertex 0, 4741, -96, 968, -2776, 0x9C, 0x9C, 0xAE, 0xFF
vertex -358, 3662, -375, 0, 990, 0x9C, 0x9C, 0xAE, 0xFF
vertex -348, 3669, 156, 1738, 990, 0x9C, 0x9C, 0xAE, 0xFF
vertex -554, 2139, -518, 412, -824, 0x9C, 0x9C, 0xAE, 0xFF
vertex -936, 1751, -654, 0, 990, 0x9C, 0x9C, 0xAE, 0xFF
vertex -561, 2150, 244, 2948, -846, 0x9C, 0x9C, 0xAE, 0xFF
vertex -944, 1751, 384, 3426, 990, 0x9C, 0x9C, 0xAE, 0xFF
vertex -348, 3669, 156, 2110, 36, 0x9C, 0x9C, 0xAE, 0xFF
vertex -358, 3662, -375, 340, 72, 0x9C, 0x9C, 0xAE, 0xFF
vertex -507, 3431, 227, 2344, 990, 0x9C, 0x9C, 0xAE, 0xFF
vertex -508, 3430, -487, 0, 990, 0x9C, 0x9C, 0xAE, 0xFF
castle_courtyard_seg7_vertex_07004CA8: # 0x07004CA8 - 0x07004DA8
vertex -936, 1751, -654, 5364, -7748, 0x72, 0x72, 0x8C, 0xFF
vertex 0, 1751, -1195, 0, -7748, 0x72, 0x72, 0x8C, 0xFF
vertex 0, 0, -1195, 0, 990, 0x72, 0x72, 0x8C, 0xFF
vertex 0, 2136, -792, 2036, 990, 0xC3, 0xC3, 0xCD, 0xFF
vertex 0, 3431, -733, 1864, -5480, 0xC3, 0xC3, 0xCD, 0xFF
vertex 509, 3430, -487, -952, -5458, 0xC3, 0xC3, 0xCD, 0xFF
vertex 555, 2139, -518, -1052, 990, 0xC3, 0xC3, 0xCD, 0xFF
vertex 937, 0, -654, -3328, 990, 0xC3, 0xC3, 0xCD, 0xFF
vertex 0, 0, -1195, 2012, 990, 0xC3, 0xC3, 0xCD, 0xFF
vertex 0, 1751, -1195, 1612, -7748, 0xC3, 0xC3, 0xCD, 0xFF
vertex 937, 1751, -654, -3728, -7748, 0xC3, 0xC3, 0xCD, 0xFF
vertex -936, 0, -654, 5364, 990, 0x72, 0x72, 0x8C, 0xFF
vertex -508, 3430, -487, 2960, -5458, 0x72, 0x72, 0x8C, 0xFF
vertex 0, 3431, -733, 136, -5480, 0x72, 0x72, 0x8C, 0xFF
vertex -554, 2139, -518, 3056, 990, 0x72, 0x72, 0x8C, 0xFF
vertex 0, 2136, -792, 0, 990, 0x72, 0x72, 0x8C, 0xFF
castle_courtyard_seg7_vertex_07004DA8: # 0x07004DA8 - 0x07004EA8
vertex 945, 1751, 384, -3096, -7748, 0xDC, 0xDC, 0xE3, 0xFF
vertex 945, 0, 384, -3092, 990, 0xDC, 0xDC, 0xE3, 0xFF
vertex 937, 1751, -654, 2088, -7748, 0xDC, 0xDC, 0xE3, 0xFF
vertex 937, 0, -654, 2088, 990, 0xDC, 0xDC, 0xE3, 0xFF
vertex 509, 3430, -487, 2000, -5454, 0xDC, 0xDC, 0xE3, 0xFF
vertex 508, 3431, 227, -1560, -5410, 0xDC, 0xDC, 0xE3, 0xFF
vertex 555, 2139, -518, 2240, 990, 0xDC, 0xDC, 0xE3, 0xFF
vertex 562, 2150, 244, -1560, 990, 0xDC, 0xDC, 0xE3, 0xFF
vertex -936, 1751, -654, -1052, -7748, 0x9C, 0x9C, 0xAE, 0xFF
vertex -936, 0, -654, -1052, 990, 0x9C, 0x9C, 0xAE, 0xFF
vertex -944, 1751, 384, 4132, -7748, 0x9C, 0x9C, 0xAE, 0xFF
vertex -944, 0, 384, 4132, 990, 0x9C, 0x9C, 0xAE, 0xFF
vertex -508, 3430, -487, 208, -5454, 0x9C, 0x9C, 0xAE, 0xFF
vertex -554, 2139, -518, 0, 990, 0x9C, 0x9C, 0xAE, 0xFF
vertex -507, 3431, 227, 3772, -5410, 0x9C, 0x9C, 0xAE, 0xFF
vertex -561, 2150, 244, 3772, 990, 0x9C, 0x9C, 0xAE, 0xFF
castle_courtyard_seg7_vertex_07004EA8: # 0x07004EA8 - 0x07004ED8
vertex -25, 4639, -96, 0, 0, 0x70, 0x70, 0x8A, 0xFF
vertex 0, 5253, -96, 0, 0, 0x70, 0x70, 0x8A, 0xFF
vertex 26, 4639, -96, 0, 0, 0x70, 0x70, 0x8A, 0xFF
castle_courtyard_seg7_dl_07004ED8: # 0x07004ED8 - 0x07004FB0
gsDPSetTextureImage G_IM_FMT_RGBA, G_IM_SIZ_16b, 1, outside_09007800
gsDPLoadSync
gsDPLoadBlock 7, 0, 0, 0x3FF, 0x100
gsSPVertex castle_courtyard_seg7_vertex_070049E8, 14, 0
gsSP2Triangles 0, 1, 2, 0x0, 3, 4, 5, 0x0
gsSP2Triangles 5, 4, 6, 0x0, 7, 8, 9, 0x0
gsSP2Triangles 9, 8, 10, 0x0, 11, 12, 13, 0x0
gsSPVertex castle_courtyard_seg7_vertex_07004AC8, 15, 0
gsSP2Triangles 0, 1, 2, 0x0, 1, 3, 2, 0x0
gsSP2Triangles 4, 5, 6, 0x0, 5, 7, 6, 0x0
gsSP2Triangles 8, 9, 10, 0x0, 11, 12, 13, 0x0
gsSP1Triangle 12, 14, 13, 0x0
gsSPVertex castle_courtyard_seg7_vertex_07004BB8, 15, 0
gsSP2Triangles 0, 1, 2, 0x0, 2, 1, 3, 0x0
gsSP2Triangles 4, 5, 6, 0x0, 7, 8, 9, 0x0
gsSP2Triangles 9, 8, 10, 0x0, 11, 12, 13, 0x0
gsSP1Triangle 12, 14, 13, 0x0
gsSPEndDisplayList
castle_courtyard_seg7_dl_07004FB0: # 0x07004FB0 - 0x07005060
gsDPSetTextureImage G_IM_FMT_RGBA, G_IM_SIZ_16b, 1, outside_09001000
gsDPLoadSync
gsDPLoadBlock 7, 0, 0, 0x7FF, 0x080
gsSPVertex castle_courtyard_seg7_vertex_07004CA8, 16, 0
gsSP2Triangles 0, 1, 2, 0x0, 3, 4, 5, 0x0
gsSP2Triangles 6, 3, 5, 0x0, 7, 8, 9, 0x0
gsSP2Triangles 7, 9, 10, 0x0, 0, 2, 11, 0x0
gsSP2Triangles 12, 13, 14, 0x0, 13, 15, 14, 0x0
gsSPVertex castle_courtyard_seg7_vertex_07004DA8, 16, 0
gsSP2Triangles 0, 1, 2, 0x0, 2, 1, 3, 0x0
gsSP2Triangles 4, 5, 6, 0x0, 5, 7, 6, 0x0
gsSP2Triangles 8, 9, 10, 0x0, 10, 9, 11, 0x0
gsSP2Triangles 12, 13, 14, 0x0, 14, 13, 15, 0x0
gsSPEndDisplayList
castle_courtyard_seg7_dl_07005060: # 0x07005060 - 0x07005078
gsSPVertex castle_courtyard_seg7_vertex_07004EA8, 3, 0
gsSP1Triangle 0, 1, 2, 0x0
gsSPEndDisplayList
glabel castle_courtyard_seg7_dl_07005078 # 0x07005078 - 0x07005110
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 castle_courtyard_seg7_dl_07004ED8
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 castle_courtyard_seg7_dl_07004FB0
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
gsSPDisplayList castle_courtyard_seg7_dl_07005060
gsSPSetGeometryMode G_LIGHTING
gsSPEndDisplayList