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.
 
 
 
 
 

120 lines
6.9 KiB

vcutm_seg7_vertex_07008E80: # 0x07008E80 - 0x07008F70
vertex 0, -6553, 6554, -6160, 9164, 0x00, 0x00, 0x00, 0xFF
vertex -6553, -6553, 6554, 10188, 9164, 0x00, 0x00, 0x00, 0xFF
vertex -6553, -4505, 6554, 10188, 4054, 0x99, 0x99, 0x99, 0xFF
vertex -1637, -6553, -2917, 3172, 5076, 0x00, 0x00, 0x00, 0xFF
vertex -2457, -4505, -2917, 1128, 0, 0x99, 0x99, 0x99, 0xFF
vertex -2457, -6553, -2917, 1128, 5076, 0x00, 0x00, 0x00, 0xFF
vertex -1637, -4505, -2917, 3172, 0, 0x99, 0x99, 0x99, 0xFF
vertex -2457, -6553, -1177, 2012, 9164, 0x00, 0x00, 0x00, 0xFF
vertex -1637, -4505, -1177, 992, 6610, 0x99, 0x99, 0x99, 0xFF
vertex -1637, -6553, -1177, 992, 9164, 0x00, 0x00, 0x00, 0xFF
vertex -2457, -4505, -1177, 2012, 6610, 0x99, 0x99, 0x99, 0xFF
vertex -6553, -4505, 1638, -8204, 990, 0x99, 0x99, 0x99, 0xFF
vertex -6553, -6553, 1638, -8204, 6098, 0x00, 0x00, 0x00, 0xFF
vertex -1637, -6553, 1638, 4056, 6098, 0x00, 0x00, 0x00, 0xFF
vertex -1637, -4505, 1638, 4056, 990, 0x99, 0x99, 0x99, 0xFF
vcutm_seg7_vertex_07008F70: # 0x07008F70 - 0x07009060
vertex -1637, -6553, -6553, 0, 3032, 0x00, 0x00, 0x00, 0xFF
vertex 0, -4505, -6553, 4056, -2076, 0x99, 0x99, 0x99, 0xFF
vertex -1637, -4505, -6553, 0, -2076, 0x99, 0x99, 0x99, 0xFF
vertex 0, -6553, 6554, -6160, 9164, 0x00, 0x00, 0x00, 0xFF
vertex -6553, -4505, 6554, 10188, 4054, 0x99, 0x99, 0x99, 0xFF
vertex 0, -4505, 6554, -6160, 4054, 0x99, 0x99, 0x99, 0xFF
vertex 4915, -4505, 6554, -6160, 4054, 0x99, 0x99, 0x99, 0xFF
vertex 4915, -6553, 6554, -6160, 9164, 0x00, 0x00, 0x00, 0xFF
vertex 0, -6553, 6554, 6100, 9164, 0x00, 0x00, 0x00, 0xFF
vertex 0, -4505, 6554, 6100, 4054, 0x99, 0x99, 0x99, 0xFF
vertex 0, -6553, -6553, -4116, 9164, 0x00, 0x00, 0x00, 0xFF
vertex 3738, -6553, -6553, 5076, 9164, 0x00, 0x00, 0x00, 0xFF
vertex 3738, -4505, -6553, 5076, 4054, 0x99, 0x99, 0x99, 0xFF
vertex 0, -4505, -6553, -4116, 4054, 0x99, 0x99, 0x99, 0xFF
vertex 0, -6553, -6553, 4056, 3032, 0x00, 0x00, 0x00, 0xFF
vcutm_seg7_vertex_07009060: # 0x07009060 - 0x07009140
vertex 3738, -6553, -5938, 4568, 9164, 0x00, 0x00, 0x00, 0xFF
vertex 4915, -4505, -5938, 7632, 4054, 0x99, 0x99, 0x99, 0xFF
vertex 3738, -4505, -5938, 4568, 4054, 0x99, 0x99, 0x99, 0xFF
vertex 4915, -6553, -5938, 7632, 9164, 0x00, 0x00, 0x00, 0xFF
vertex -1637, -4505, -4914, 2012, -2076, 0xFF, 0xFF, 0xFF, 0xFF
vertex -1637, -6553, -6553, 6100, 3032, 0x00, 0x00, 0x00, 0xFF
vertex -1637, -4505, -6553, 6100, -2076, 0xFF, 0xFF, 0xFF, 0xFF
vertex -1637, -6553, -4914, 2012, 3032, 0x00, 0x00, 0x00, 0xFF
vertex -1637, -6553, -2917, -2968, 3032, 0x00, 0x00, 0x00, 0xFF
vertex -1637, -4505, -2917, -2968, -2076, 0xFF, 0xFF, 0xFF, 0xFF
vertex -2457, -6553, -1177, -7308, 3032, 0x00, 0x00, 0x00, 0xFF
vertex -2457, -4505, -2917, -2968, -2076, 0xFF, 0xFF, 0xFF, 0xFF
vertex -2457, -4505, -1177, -7308, -2076, 0xFF, 0xFF, 0xFF, 0xFF
vertex -2457, -6553, -2917, -2968, 3032, 0x00, 0x00, 0x00, 0xFF
vcutm_seg7_vertex_07009140: # 0x07009140 - 0x07009230
vertex -6553, -6553, 6554, -6160, 9164, 0x00, 0x00, 0x00, 0xFF
vertex -6553, -6553, 1638, 6100, 9164, 0x00, 0x00, 0x00, 0xFF
vertex -6553, -4505, 1638, 6100, 4054, 0xFF, 0xFF, 0xFF, 0xFF
vertex -6553, -4505, 6554, -6160, 4054, 0xFF, 0xFF, 0xFF, 0xFF
vertex 4915, -6553, 0, -8204, 9164, 0x00, 0x00, 0x00, 0xFF
vertex 4915, -4505, 6554, 8144, 4054, 0xFF, 0xFF, 0xFF, 0xFF
vertex 4915, -4505, 0, -8204, 4054, 0xFF, 0xFF, 0xFF, 0xFF
vertex -1637, -6553, 1638, -4116, 4054, 0x00, 0x00, 0x00, 0xFF
vertex -1637, -6553, -1177, 2908, 4054, 0x00, 0x00, 0x00, 0xFF
vertex -1637, -4505, -1177, 2908, -1054, 0xFF, 0xFF, 0xFF, 0xFF
vertex -1637, -4505, 1638, -4116, -1054, 0xFF, 0xFF, 0xFF, 0xFF
vertex 3738, -4505, -6553, -9228, 4054, 0xFF, 0xFF, 0xFF, 0xFF
vertex 3738, -6553, -5938, -7692, 9164, 0x00, 0x00, 0x00, 0xFF
vertex 3738, -4505, -5938, -7692, 4054, 0xFF, 0xFF, 0xFF, 0xFF
vertex 3738, -6553, -6553, -9228, 9164, 0x00, 0x00, 0x00, 0xFF
vcutm_seg7_vertex_07009230: # 0x07009230 - 0x070092A0
vertex 4915, -6553, -5938, -6672, 9164, 0x00, 0x00, 0x00, 0xFF
vertex 4915, -6553, 0, 8144, 9164, 0x00, 0x00, 0x00, 0xFF
vertex 4915, -4505, 0, 8144, 4054, 0xFF, 0xFF, 0xFF, 0xFF
vertex 4915, -4505, -5938, -6672, 4054, 0xFF, 0xFF, 0xFF, 0xFF
vertex 4915, -6553, 0, -8204, 9164, 0x00, 0x00, 0x00, 0xFF
vertex 4915, -6553, 6554, 8144, 9164, 0x00, 0x00, 0x00, 0xFF
vertex 4915, -4505, 6554, 8144, 4054, 0xFF, 0xFF, 0xFF, 0xFF
vcutm_seg7_dl_070092A0: # 0x070092A0 - 0x070093E8
gsDPSetTextureImage G_IM_FMT_RGBA, G_IM_SIZ_16b, 1, vcutm_seg7_texture_07000800
gsDPLoadSync
gsDPLoadBlock 7, 0, 0, 0x7FF, 0x080
gsSPVertex vcutm_seg7_vertex_07008E80, 15, 0
gsSP2Triangles 0, 1, 2, 0x0, 3, 4, 5, 0x0
gsSP2Triangles 3, 6, 4, 0x0, 7, 8, 9, 0x0
gsSP2Triangles 7, 10, 8, 0x0, 11, 12, 13, 0x0
gsSP1Triangle 11, 13, 14, 0x0
gsSPVertex vcutm_seg7_vertex_07008F70, 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, 14, 1, 0x0
gsSPVertex vcutm_seg7_vertex_07009060, 14, 0
gsSP2Triangles 0, 1, 2, 0x0, 0, 3, 1, 0x0
gsSP2Triangles 4, 5, 6, 0x0, 4, 7, 5, 0x0
gsSP2Triangles 8, 7, 4, 0x0, 8, 4, 9, 0x0
gsSP2Triangles 10, 11, 12, 0x0, 10, 13, 11, 0x0
gsSPVertex vcutm_seg7_vertex_07009140, 15, 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, 13, 0x0
gsSP1Triangle 11, 14, 12, 0x0
gsSPVertex vcutm_seg7_vertex_07009230, 7, 0
gsSP2Triangles 0, 1, 2, 0x0, 0, 2, 3, 0x0
gsSP1Triangle 4, 5, 6, 0x0
gsSPEndDisplayList
glabel vcutm_seg7_dl_070093E8 # 0x070093E8 - 0x07009458
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, 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 vcutm_seg7_dl_070092A0
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