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.
 
 
 
 
 

205 lines
12 KiB

inside_castle_seg7_light_07057FD8: # 0x07057FD8 - 0x07057FE0
.byte 0x3F, 0x33, 0x19, 0x00, 0x3F, 0x33, 0x19, 0x00
inside_castle_seg7_light_07057FE0: # 0x07057FE0 - 0x07057FF0
.byte 0xFF, 0xCC, 0x65, 0x00, 0xFF, 0xCC, 0x65, 0x00
.byte 0x28, 0x28, 0x28, 0x00, 0x00, 0x00, 0x00, 0x00
inside_castle_seg7_light_07057FF0: # 0x07057FF0 - 0x07057FF8
.byte 0x3F, 0x00, 0x00, 0x00, 0x3F, 0x00, 0x00, 0x00
inside_castle_seg7_light_07057FF8: # 0x07057FF8 - 0x07058008
.byte 0xFF, 0x00, 0x00, 0x00, 0xFF, 0x00, 0x00, 0x00
.byte 0x28, 0x28, 0x28, 0x00, 0x00, 0x00, 0x00, 0x00
inside_castle_seg7_vertex_07058008: # 0x07058008 - 0x07058108
vertex 0, 35, 20, 684, 478, 0x81, 0x00, 0x00, 0xFF
vertex 0, 25, 10, 736, 478, 0x81, 0x00, 0x00, 0xFF
vertex 0, 25, 20, 736, 478, 0x81, 0x00, 0x00, 0xFF
vertex 10, 0, 20, 876, 606, 0x00, 0x00, 0x7F, 0xFF
vertex -9, 5, 20, 850, 352, 0x00, 0x00, 0x7F, 0xFF
vertex -9, -19, 20, 990, 352, 0x00, 0x00, 0x7F, 0xFF
vertex 20, 20, 20, 762, 734, 0x00, 0x00, 0x7F, 0xFF
vertex 0, 25, 20, 736, 478, 0x00, 0x00, 0x7F, 0xFF
vertex -9, 5, 20, 850, 352, 0x81, 0x00, 0x00, 0xFF
vertex -9, 5, 10, 850, 352, 0x81, 0x00, 0x00, 0xFF
vertex -9, -19, 10, 990, 352, 0x81, 0x00, 0x00, 0xFF
vertex -9, -19, 20, 990, 352, 0x81, 0x00, 0x00, 0xFF
vertex 0, 25, 20, 736, 478, 0x8D, 0x34, 0x00, 0xFF
vertex -9, 5, 10, 850, 352, 0x8D, 0x34, 0x00, 0xFF
vertex -9, 5, 20, 850, 352, 0x8D, 0x34, 0x00, 0xFF
vertex 0, 25, 10, 736, 478, 0x8D, 0x34, 0x00, 0xFF
inside_castle_seg7_vertex_07058108: # 0x07058108 - 0x070581F8
vertex 10, -19, 20, 990, 606, 0x00, 0x81, 0x00, 0xFF
vertex -9, -19, 10, 990, 352, 0x00, 0x81, 0x00, 0xFF
vertex 10, -19, 10, 990, 606, 0x00, 0x81, 0x00, 0xFF
vertex -9, -19, 20, 990, 352, 0x00, 0x81, 0x00, 0xFF
vertex 10, 0, 20, 876, 606, 0x00, 0x00, 0x7F, 0xFF
vertex -9, -19, 20, 990, 352, 0x00, 0x00, 0x7F, 0xFF
vertex 10, -19, 20, 990, 606, 0x00, 0x00, 0x7F, 0xFF
vertex 10, -19, 20, 990, 606, 0x7F, 0x00, 0x00, 0xFF
vertex 10, -19, 10, 990, 606, 0x7F, 0x00, 0x00, 0xFF
vertex 10, 0, 10, 876, 606, 0x7F, 0x00, 0x00, 0xFF
vertex 10, 0, 20, 876, 606, 0x7F, 0x00, 0x00, 0xFF
vertex 10, 0, 20, 876, 606, 0x71, 0xC8, 0x00, 0xFF
vertex 10, 0, 10, 876, 606, 0x71, 0xC8, 0x00, 0xFF
vertex 20, 20, 10, 762, 734, 0x71, 0xC8, 0x00, 0xFF
vertex 20, 20, 20, 762, 734, 0x71, 0xC8, 0x00, 0xFF
inside_castle_seg7_vertex_070581F8: # 0x070581F8 - 0x070582F8
vertex 20, 41, 20, 650, 734, 0x00, 0x00, 0x7F, 0xFF
vertex 0, 35, 20, 684, 478, 0x00, 0x00, 0x7F, 0xFF
vertex 0, 25, 20, 736, 478, 0x00, 0x00, 0x7F, 0xFF
vertex 20, 20, 20, 762, 734, 0x00, 0x00, 0x7F, 0xFF
vertex 0, 35, 20, 684, 478, 0x81, 0x00, 0x00, 0xFF
vertex 0, 35, 10, 684, 478, 0x81, 0x00, 0x00, 0xFF
vertex 0, 25, 10, 736, 478, 0x81, 0x00, 0x00, 0xFF
vertex 20, 20, 20, 762, 734, 0x7F, 0x00, 0x00, 0xFF
vertex 20, 20, 10, 762, 734, 0x7F, 0x00, 0x00, 0xFF
vertex 20, 41, 10, 650, 734, 0x7F, 0x00, 0x00, 0xFF
vertex 20, 41, 20, 650, 734, 0x7F, 0x00, 0x00, 0xFF
vertex 0, 72, 20, 480, 478, 0x00, 0x00, 0x7F, 0xFF
vertex -19, 65, 20, 514, 224, 0x00, 0x00, 0x7F, 0xFF
vertex -19, 65, 20, 514, 224, 0x95, 0xBD, 0x00, 0xFF
vertex 0, 35, 10, 684, 478, 0x95, 0xBD, 0x00, 0xFF
vertex 0, 35, 20, 684, 478, 0x95, 0xBD, 0x00, 0xFF
inside_castle_seg7_vertex_070582F8: # 0x070582F8 - 0x070583E8
vertex -19, 65, 20, 514, 224, 0x95, 0xBD, 0x00, 0xFF
vertex -19, 65, 10, 514, 224, 0x95, 0xBD, 0x00, 0xFF
vertex 0, 35, 10, 684, 478, 0x95, 0xBD, 0x00, 0xFF
vertex 20, 41, 20, 650, 734, 0x6A, 0x44, 0x00, 0xFF
vertex 20, 41, 10, 650, 734, 0x6A, 0x44, 0x00, 0xFF
vertex 0, 72, 10, 480, 478, 0x6A, 0x44, 0x00, 0xFF
vertex 0, 72, 20, 480, 478, 0x6A, 0x44, 0x00, 0xFF
vertex 0, 82, 20, 422, 478, 0x00, 0x00, 0x7F, 0xFF
vertex -19, 65, 20, 514, 224, 0x00, 0x00, 0x7F, 0xFF
vertex 0, 72, 20, 480, 478, 0x00, 0x00, 0x7F, 0xFF
vertex -19, 87, 20, 396, 224, 0x00, 0x00, 0x7F, 0xFF
vertex -19, 87, 20, 396, 224, 0x81, 0x00, 0x00, 0xFF
vertex -19, 65, 10, 514, 224, 0x81, 0x00, 0x00, 0xFF
vertex -19, 65, 20, 514, 224, 0x81, 0x00, 0x00, 0xFF
vertex -19, 87, 10, 396, 224, 0x81, 0x00, 0x00, 0xFF
inside_castle_seg7_vertex_070583E8: # 0x070583E8 - 0x070584E8
vertex 0, 72, 20, 480, 478, 0x7F, 0x00, 0x00, 0xFF
vertex 0, 72, 10, 480, 478, 0x7F, 0x00, 0x00, 0xFF
vertex 0, 82, 10, 422, 478, 0x7F, 0x00, 0x00, 0xFF
vertex 0, 82, 20, 422, 478, 0x7F, 0x00, 0x00, 0xFF
vertex 10, 102, 20, 308, 606, 0x00, 0x00, 0x7F, 0xFF
vertex -9, 107, 20, 282, 352, 0x00, 0x00, 0x7F, 0xFF
vertex -19, 87, 20, 396, 224, 0x00, 0x00, 0x7F, 0xFF
vertex 0, 82, 20, 422, 478, 0x00, 0x00, 0x7F, 0xFF
vertex -9, 107, 20, 282, 352, 0x8F, 0x38, 0x00, 0xFF
vertex -19, 87, 10, 396, 224, 0x8F, 0x38, 0x00, 0xFF
vertex -19, 87, 20, 396, 224, 0x8F, 0x38, 0x00, 0xFF
vertex -9, 107, 10, 282, 352, 0x8F, 0x38, 0x00, 0xFF
vertex 0, 82, 20, 422, 478, 0x71, 0xC8, 0x00, 0xFF
vertex 0, 82, 10, 422, 478, 0x71, 0xC8, 0x00, 0xFF
vertex 10, 102, 10, 308, 606, 0x71, 0xC8, 0x00, 0xFF
vertex 10, 102, 20, 308, 606, 0x71, 0xC8, 0x00, 0xFF
inside_castle_seg7_vertex_070584E8: # 0x070584E8 - 0x070585A8
vertex -9, 123, 20, 196, 352, 0x81, 0x00, 0x00, 0xFF
vertex -9, 107, 10, 282, 352, 0x81, 0x00, 0x00, 0xFF
vertex -9, 107, 20, 282, 352, 0x81, 0x00, 0x00, 0xFF
vertex 10, 123, 20, 196, 606, 0x00, 0x00, 0x7F, 0xFF
vertex -9, 123, 20, 196, 352, 0x00, 0x00, 0x7F, 0xFF
vertex -9, 107, 20, 282, 352, 0x00, 0x00, 0x7F, 0xFF
vertex 10, 102, 20, 308, 606, 0x00, 0x00, 0x7F, 0xFF
vertex 10, 102, 20, 308, 606, 0x7F, 0x00, 0x00, 0xFF
vertex 10, 123, 10, 196, 606, 0x7F, 0x00, 0x00, 0xFF
vertex 10, 123, 20, 196, 606, 0x7F, 0x00, 0x00, 0xFF
vertex -9, 123, 10, 196, 352, 0x81, 0x00, 0x00, 0xFF
vertex 10, 102, 10, 308, 606, 0x7F, 0x00, 0x00, 0xFF
inside_castle_seg7_vertex_070585A8: # 0x070585A8 - 0x07058698
vertex 0, 164, 20, 0, 478, 0x00, 0x00, 0x7F, 0xFF
vertex -30, 113, 20, 252, 96, 0x00, 0x00, 0x7F, 0xFF
vertex -9, 123, 20, 196, 352, 0x00, 0x00, 0x7F, 0xFF
vertex -9, 123, 10, 196, 352, 0x36, 0x8E, 0x00, 0xFF
vertex -9, 123, 20, 196, 352, 0x36, 0x8E, 0x00, 0xFF
vertex -30, 113, 20, 252, 96, 0x36, 0x8E, 0x00, 0xFF
vertex -30, 113, 10, 252, 96, 0x36, 0x8E, 0x00, 0xFF
vertex -30, 113, 10, 252, 96, 0x93, 0x40, 0x00, 0xFF
vertex -30, 113, 20, 252, 96, 0x93, 0x40, 0x00, 0xFF
vertex 0, 164, 20, 0, 478, 0x93, 0x40, 0x00, 0xFF
vertex 0, 164, 10, 0, 478, 0x93, 0x40, 0x00, 0xFF
vertex 0, 164, 10, 0, 478, 0x6C, 0x41, 0x00, 0xFF
vertex 0, 164, 20, 0, 478, 0x6C, 0x41, 0x00, 0xFF
vertex 31, 113, 20, 252, 862, 0x6C, 0x41, 0x00, 0xFF
vertex 31, 113, 10, 252, 862, 0x6C, 0x41, 0x00, 0xFF
inside_castle_seg7_vertex_07058698: # 0x07058698 - 0x07058718
vertex 31, 113, 10, 252, 862, 0xCA, 0x8E, 0x00, 0xFF
vertex 31, 113, 20, 252, 862, 0xCA, 0x8E, 0x00, 0xFF
vertex 10, 123, 20, 196, 606, 0xCA, 0x8E, 0x00, 0xFF
vertex 10, 123, 10, 196, 606, 0xCA, 0x8E, 0x00, 0xFF
vertex 0, 164, 20, 0, 478, 0x00, 0x00, 0x7F, 0xFF
vertex 10, 123, 20, 196, 606, 0x00, 0x00, 0x7F, 0xFF
vertex 31, 113, 20, 252, 862, 0x00, 0x00, 0x7F, 0xFF
vertex -9, 123, 20, 196, 352, 0x00, 0x00, 0x7F, 0xFF
inside_castle_seg7_dl_07058718: # 0x07058718 - 0x07058950
gsDPSetTextureImage G_IM_FMT_RGBA, G_IM_SIZ_16b, 1, inside_09004800
gsDPLoadSync
gsDPLoadBlock 7, 0, 0, 0x3FF, 0x100
gsSPLight inside_castle_seg7_light_07057FE0, 1
gsSPLight inside_castle_seg7_light_07057FD8, 2
gsSPVertex inside_castle_seg7_vertex_07058008, 16, 0
gsSP2Triangles 0, 1, 2, 0x0, 3, 4, 5, 0x0
gsSP2Triangles 6, 7, 4, 0x0, 6, 4, 3, 0x0
gsSP2Triangles 8, 9, 10, 0x0, 8, 10, 11, 0x0
gsSP2Triangles 12, 13, 14, 0x0, 12, 15, 13, 0x0
gsSPVertex inside_castle_seg7_vertex_07058108, 15, 0
gsSP2Triangles 0, 1, 2, 0x0, 0, 3, 1, 0x0
gsSP2Triangles 4, 5, 6, 0x0, 7, 8, 9, 0x0
gsSP2Triangles 7, 9, 10, 0x0, 11, 12, 13, 0x0
gsSP1Triangle 11, 13, 14, 0x0
gsSPVertex inside_castle_seg7_vertex_070581F8, 16, 0
gsSP2Triangles 0, 1, 2, 0x0, 0, 2, 3, 0x0
gsSP2Triangles 4, 5, 6, 0x0, 7, 8, 9, 0x0
gsSP2Triangles 7, 9, 10, 0x0, 11, 12, 1, 0x0
gsSP2Triangles 11, 1, 0, 0x0, 13, 14, 15, 0x0
gsSPVertex inside_castle_seg7_vertex_070582F8, 15, 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
gsSP1Triangle 11, 14, 12, 0x0
gsSPVertex inside_castle_seg7_vertex_070583E8, 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
gsSPVertex inside_castle_seg7_vertex_070584E8, 12, 0
gsSP2Triangles 0, 1, 2, 0x0, 3, 4, 5, 0x0
gsSP2Triangles 3, 5, 6, 0x0, 7, 8, 9, 0x0
gsSP2Triangles 0, 10, 1, 0x0, 7, 11, 8, 0x0
gsSPLight inside_castle_seg7_light_07057FF8, 1
gsSPLight inside_castle_seg7_light_07057FF0, 2
gsSPVertex inside_castle_seg7_vertex_070585A8, 15, 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
gsSP1Triangle 11, 13, 14, 0x0
gsSPVertex inside_castle_seg7_vertex_07058698, 8, 0
gsSP2Triangles 0, 1, 2, 0x0, 0, 2, 3, 0x0
gsSP2Triangles 4, 5, 6, 0x0, 4, 7, 5, 0x0
gsSPEndDisplayList
glabel inside_castle_seg7_dl_07058950 # 0x07058950 - 0x070589C0
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 inside_castle_seg7_dl_07058718
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