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.

208 lines
12 KiB

5 years ago
  1. # combined model file. LLL is weird
  2. lll_seg7_vertex_070154F8: # 0x070154F8 - 0x070155E8
  3. vertex 640, 307, 512, 0, 224, 0x00, 0x00, 0x7F, 0xFF
  4. vertex 896, 307, 512, 606, 224, 0x00, 0x00, 0x7F, 0xFF
  5. vertex 819, 410, 512, 416, 0, 0x00, 0x00, 0x7F, 0xFF
  6. vertex 640, 307, 0, 0, 224, 0x00, 0x00, 0x7F, 0xFF
  7. vertex 896, 0, 0, 606, 990, 0x00, 0x00, 0x7F, 0xFF
  8. vertex 896, 307, 0, 606, 224, 0x00, 0x00, 0x7F, 0xFF
  9. vertex 640, 0, 0, 0, 990, 0x00, 0x00, 0x7F, 0xFF
  10. vertex 819, 410, 0, 416, 0, 0x00, 0x00, 0x7F, 0xFF
  11. vertex 640, 0, 384, 3162, 990, 0x00, 0x00, 0x81, 0xFF
  12. vertex 896, 307, 384, 2524, 224, 0x00, 0x00, 0x81, 0xFF
  13. vertex 896, 0, 384, 2524, 990, 0x00, 0x00, 0x81, 0xFF
  14. vertex 640, 307, 384, 3162, 224, 0x00, 0x00, 0x81, 0xFF
  15. vertex 819, 410, 384, 2714, 0, 0x00, 0x00, 0x81, 0xFF
  16. vertex 640, 0, 512, 0, 990, 0x00, 0x00, 0x7F, 0xFF
  17. vertex 896, 0, 512, 606, 990, 0x00, 0x00, 0x7F, 0xFF
  18. lll_seg7_vertex_070155E8: # 0x070155E8 - 0x070156E8
  19. vertex 896, 0, -127, 2268, 990, 0x7F, 0x00, 0x00, 0xFF
  20. vertex 896, 307, -127, 2268, 224, 0x7F, 0x00, 0x00, 0xFF
  21. vertex 896, 307, 0, 1948, 224, 0x7F, 0x00, 0x00, 0xFF
  22. vertex 896, 0, 384, 990, 990, 0x7F, 0x00, 0x00, 0xFF
  23. vertex 896, 307, 512, 670, 224, 0x7F, 0x00, 0x00, 0xFF
  24. vertex 896, 0, 512, 670, 990, 0x7F, 0x00, 0x00, 0xFF
  25. vertex 896, 307, 384, 990, 224, 0x7F, 0x00, 0x00, 0xFF
  26. vertex 640, 0, -127, 3162, 990, 0x00, 0x00, 0x81, 0xFF
  27. vertex 896, 307, -127, 2524, 224, 0x00, 0x00, 0x81, 0xFF
  28. vertex 896, 0, -127, 2524, 990, 0x00, 0x00, 0x81, 0xFF
  29. vertex 640, 307, -127, 3162, 224, 0x00, 0x00, 0x81, 0xFF
  30. vertex 819, 410, -127, 2714, 0, 0x00, 0x00, 0x81, 0xFF
  31. vertex 896, 0, 0, 1948, 990, 0x7F, 0x00, 0x00, 0xFF
  32. vertex 640, 0, -127, -604, 990, 0x81, 0x00, 0x00, 0xFF
  33. vertex 640, 0, 0, -286, 990, 0x81, 0x00, 0x00, 0xFF
  34. vertex 640, 307, 0, -286, 224, 0x81, 0x00, 0x00, 0xFF
  35. lll_seg7_vertex_070156E8: # 0x070156E8 - 0x07015758
  36. vertex 640, 0, -127, -604, 990, 0x81, 0x00, 0x00, 0xFF
  37. vertex 640, 307, 0, -286, 224, 0x81, 0x00, 0x00, 0xFF
  38. vertex 640, 307, -127, -604, 224, 0x81, 0x00, 0x00, 0xFF
  39. vertex 640, 0, 384, 670, 990, 0x81, 0x00, 0x00, 0xFF
  40. vertex 640, 0, 512, 990, 990, 0x81, 0x00, 0x00, 0xFF
  41. vertex 640, 307, 512, 990, 224, 0x81, 0x00, 0x00, 0xFF
  42. vertex 640, 307, 384, 670, 224, 0x81, 0x00, 0x00, 0xFF
  43. lll_seg7_vertex_07015758: # 0x07015758 - 0x07015858
  44. vertex 819, 410, -127, -1052, 990, 0xC1, 0x6E, 0x00, 0xFF
  45. vertex 640, 307, -127, -1052, 1502, 0xC1, 0x6E, 0x00, 0xFF
  46. vertex 640, 307, 0, -732, 1502, 0xC1, 0x6E, 0x00, 0xFF
  47. vertex 896, 307, 384, 990, 990, 0x65, 0x4C, 0x00, 0xFF
  48. vertex 819, 410, 512, 670, 670, 0x65, 0x4C, 0x00, 0xFF
  49. vertex 896, 307, 512, 670, 990, 0x65, 0x4C, 0x00, 0xFF
  50. vertex 819, 410, 384, 990, 670, 0x65, 0x4C, 0x00, 0xFF
  51. vertex 819, 410, 384, 224, 990, 0xC1, 0x6E, 0x00, 0xFF
  52. vertex 640, 307, 512, 542, 1502, 0xC1, 0x6E, 0x00, 0xFF
  53. vertex 819, 410, 512, 542, 990, 0xC1, 0x6E, 0x00, 0xFF
  54. vertex 640, 307, 384, 224, 1502, 0xC1, 0x6E, 0x00, 0xFF
  55. vertex 896, 307, -127, 2268, 990, 0x65, 0x4C, 0x00, 0xFF
  56. vertex 819, 410, 0, 1948, 670, 0x65, 0x4C, 0x00, 0xFF
  57. vertex 896, 307, 0, 1948, 990, 0x65, 0x4C, 0x00, 0xFF
  58. vertex 819, 410, -127, 2268, 670, 0x65, 0x4C, 0x00, 0xFF
  59. vertex 819, 410, 0, -732, 990, 0xC1, 0x6E, 0x00, 0xFF
  60. lll_seg7_vertex_07015858: # 0x07015858 - 0x07015948
  61. vertex 128, 0, 128, 990, 1192, 0x81, 0x00, 0x00, 0xFF
  62. vertex 128, 307, -127, 0, 0, 0x81, 0x00, 0x00, 0xFF
  63. vertex 128, 0, -127, 0, 1192, 0x81, 0x00, 0x00, 0xFF
  64. vertex 640, 0, 768, 5078, 1192, 0x00, 0x00, 0x7F, 0xFF
  65. vertex -639, 307, 768, 0, 0, 0x00, 0x00, 0x7F, 0xFF
  66. vertex -639, 0, 768, 0, 1192, 0x00, 0x00, 0x7F, 0xFF
  67. vertex 640, 307, 768, 5078, 0, 0x00, 0x00, 0x7F, 0xFF
  68. vertex -639, 0, -767, 990, 1192, 0x00, 0x00, 0x81, 0xFF
  69. vertex 640, 307, -767, -4118, 0, 0x00, 0x00, 0x81, 0xFF
  70. vertex 640, 0, -767, -4118, 1192, 0x00, 0x00, 0x81, 0xFF
  71. vertex -639, 307, -767, 990, 0, 0x00, 0x00, 0x81, 0xFF
  72. vertex 640, 0, -767, 990, 990, 0x7F, 0x00, 0x00, 0xFF
  73. vertex 640, 307, -767, 990, -236, 0x7F, 0x00, 0x00, 0xFF
  74. vertex 640, 307, 768, -5140, -236, 0x7F, 0x00, 0x00, 0xFF
  75. vertex 640, 0, 768, -5140, 990, 0x7F, 0x00, 0x00, 0xFF
  76. lll_seg7_vertex_07015948: # 0x07015948 - 0x07015A38
  77. vertex -127, 0, 128, 990, 1192, 0x00, 0x00, 0x81, 0xFF
  78. vertex -127, 307, 128, 990, 0, 0x00, 0x00, 0x81, 0xFF
  79. vertex 128, 307, 128, 0, 0, 0x00, 0x00, 0x81, 0xFF
  80. vertex 128, 0, 128, 990, 1192, 0x81, 0x00, 0x00, 0xFF
  81. vertex 128, 307, 128, 990, 0, 0x81, 0x00, 0x00, 0xFF
  82. vertex 128, 307, -127, 0, 0, 0x81, 0x00, 0x00, 0xFF
  83. vertex -639, 0, 768, 990, 1192, 0x81, 0x00, 0x00, 0xFF
  84. vertex -639, 307, -767, -5140, 0, 0x81, 0x00, 0x00, 0xFF
  85. vertex -639, 0, -767, -5140, 1192, 0x81, 0x00, 0x00, 0xFF
  86. vertex -639, 307, 768, 990, 0, 0x81, 0x00, 0x00, 0xFF
  87. vertex -127, 0, -127, 990, 990, 0x7F, 0x00, 0x00, 0xFF
  88. vertex -127, 307, 128, 0, -236, 0x7F, 0x00, 0x00, 0xFF
  89. vertex -127, 0, 128, 0, 990, 0x7F, 0x00, 0x00, 0xFF
  90. vertex -127, 307, -127, 990, -236, 0x7F, 0x00, 0x00, 0xFF
  91. vertex 128, 0, 128, 0, 1192, 0x00, 0x00, 0x81, 0xFF
  92. lll_seg7_vertex_07015A38: # 0x07015A38 - 0x07015B38
  93. vertex 128, 0, -127, 990, 1192, 0x00, 0x00, 0x7F, 0xFF
  94. vertex -127, 307, -127, 0, 0, 0x00, 0x00, 0x7F, 0xFF
  95. vertex -127, 0, -127, 0, 1192, 0x00, 0x00, 0x7F, 0xFF
  96. vertex 128, 307, -127, 990, 0, 0x00, 0x00, 0x7F, 0xFF
  97. vertex -127, 307, -127, 2012, -2586, 0x00, 0x7F, 0x00, 0xFF
  98. vertex 128, 307, -767, 3034, -5142, 0x00, 0x7F, 0x00, 0xFF
  99. vertex -127, 307, -767, 2012, -5142, 0x00, 0x7F, 0x00, 0xFF
  100. vertex 128, 307, -127, 3034, -2586, 0x00, 0x7F, 0x00, 0xFF
  101. vertex 640, 307, 768, 5078, 990, 0x00, 0x7F, 0x00, 0xFF
  102. vertex 640, 307, -767, 5078, -5142, 0x00, 0x7F, 0x00, 0xFF
  103. vertex 128, 307, 768, 3034, 990, 0x00, 0x7F, 0x00, 0xFF
  104. vertex -639, 307, 768, 0, 990, 0x00, 0x7F, 0x00, 0xFF
  105. vertex -639, 307, -767, 0, -5142, 0x00, 0x7F, 0x00, 0xFF
  106. vertex -127, 307, 768, 2012, 990, 0x00, 0x7F, 0x00, 0xFF
  107. vertex 128, 307, 128, 3034, -1564, 0x00, 0x7F, 0x00, 0xFF
  108. vertex -127, 307, 128, 2012, -1564, 0x00, 0x7F, 0x00, 0xFF
  109. lll_seg7_dl_07015B38: # 0x07015B38 - 0x07015C20
  110. gsDPSetTextureImage G_IM_FMT_RGBA, G_IM_SIZ_16b, 1, fire_09006800
  111. gsDPLoadSync
  112. gsDPLoadBlock 7, 0, 0, 0x3FF, 0x100
  113. gsSPLight lll_seg7_light_0700FC08, 1
  114. gsSPLight lll_seg7_light_0700FC00, 2
  115. gsSPVertex lll_seg7_vertex_070154F8, 15, 0
  116. gsSP2Triangles 0, 1, 2, 0x0, 3, 4, 5, 0x0
  117. gsSP2Triangles 3, 6, 4, 0x0, 3, 5, 7, 0x0
  118. gsSP2Triangles 8, 9, 10, 0x0, 8, 11, 9, 0x0
  119. gsSP2Triangles 12, 9, 11, 0x0, 0, 13, 14, 0x0
  120. gsSP1Triangle 0, 14, 1, 0x0
  121. gsSPVertex lll_seg7_vertex_070155E8, 16, 0
  122. gsSP2Triangles 0, 1, 2, 0x0, 3, 4, 5, 0x0
  123. gsSP2Triangles 3, 6, 4, 0x0, 7, 8, 9, 0x0
  124. gsSP2Triangles 7, 10, 8, 0x0, 11, 8, 10, 0x0
  125. gsSP2Triangles 0, 2, 12, 0x0, 13, 14, 15, 0x0
  126. gsSPVertex lll_seg7_vertex_070156E8, 7, 0
  127. gsSP2Triangles 0, 1, 2, 0x0, 3, 4, 5, 0x0
  128. gsSP1Triangle 3, 5, 6, 0x0
  129. gsSPEndDisplayList
  130. lll_seg7_dl_07015C20: # 0x07015C20 - 0x07015C88
  131. gsDPSetTextureImage G_IM_FMT_RGBA, G_IM_SIZ_16b, 1, fire_09006000
  132. gsDPLoadSync
  133. gsDPLoadBlock 7, 0, 0, 0x3FF, 0x100
  134. gsSPVertex lll_seg7_vertex_07015758, 16, 0
  135. gsSP2Triangles 0, 1, 2, 0x0, 3, 4, 5, 0x0
  136. gsSP2Triangles 3, 6, 4, 0x0, 7, 8, 9, 0x0
  137. gsSP2Triangles 7, 10, 8, 0x0, 11, 12, 13, 0x0
  138. gsSP2Triangles 11, 14, 12, 0x0, 0, 2, 15, 0x0
  139. gsSPEndDisplayList
  140. glabel lll_seg7_dl_07015C88 # 0x07015C88 - 0x07015D18
  141. gsDPPipeSync
  142. 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
  143. gsSPClearGeometryMode G_SHADING_SMOOTH
  144. 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
  145. gsSPTexture -1, -1, 0, 0, 1
  146. gsDPTileSync
  147. gsDPSetTile G_IM_FMT_RGBA, G_IM_SIZ_16b, 8, 0, G_TX_RENDERTILE, 0, G_TX_CLAMP | G_TX_NOMIRROR, 5, G_TX_NOLOD, G_TX_WRAP | G_TX_NOMIRROR, 5, G_TX_NOLOD
  148. gsDPSetTileSize 0, 0, 0, 124, 124
  149. gsSPDisplayList lll_seg7_dl_07015B38
  150. gsDPTileSync
  151. 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
  152. gsDPSetTileSize 0, 0, 0, 124, 124
  153. gsSPDisplayList lll_seg7_dl_07015C20
  154. gsSPTexture -1, -1, 0, 0, 0
  155. gsDPPipeSync
  156. 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
  157. gsSPSetGeometryMode G_SHADING_SMOOTH
  158. gsSPEndDisplayList
  159. lll_seg7_dl_07015D18: # 0x07015D18 - 0x07015E20
  160. gsDPSetTextureImage G_IM_FMT_RGBA, G_IM_SIZ_16b, 1, fire_09000800
  161. gsDPLoadSync
  162. gsDPLoadBlock 7, 0, 0, 0x3FF, 0x100
  163. gsSPLight lll_seg7_light_0700FC08, 1
  164. gsSPLight lll_seg7_light_0700FC00, 2
  165. gsSPVertex lll_seg7_vertex_07015858, 15, 0
  166. gsSP2Triangles 0, 1, 2, 0x0, 3, 4, 5, 0x0
  167. gsSP2Triangles 3, 6, 4, 0x0, 7, 8, 9, 0x0
  168. gsSP2Triangles 7, 10, 8, 0x0, 11, 12, 13, 0x0
  169. gsSP1Triangle 11, 13, 14, 0x0
  170. gsSPVertex lll_seg7_vertex_07015948, 15, 0
  171. gsSP2Triangles 0, 1, 2, 0x0, 3, 4, 5, 0x0
  172. gsSP2Triangles 6, 7, 8, 0x0, 6, 9, 7, 0x0
  173. gsSP2Triangles 10, 11, 12, 0x0, 10, 13, 11, 0x0
  174. gsSP1Triangle 0, 2, 14, 0x0
  175. gsSPVertex lll_seg7_vertex_07015A38, 16, 0
  176. gsSP2Triangles 0, 1, 2, 0x0, 0, 3, 1, 0x0
  177. gsSP2Triangles 4, 5, 6, 0x0, 4, 7, 5, 0x0
  178. gsSP2Triangles 5, 8, 9, 0x0, 5, 10, 8, 0x0
  179. gsSP2Triangles 11, 6, 12, 0x0, 11, 13, 6, 0x0
  180. gsSP2Triangles 13, 10, 14, 0x0, 13, 14, 15, 0x0
  181. gsSPEndDisplayList
  182. glabel lll_seg7_dl_07015E20 # 0x07015E20 - 0x07015E90
  183. gsDPPipeSync
  184. gsDPSetCombineMode1Cycle G_CCMUX_TEXEL0, G_CCMUX_0, G_CCMUX_SHADE, G_CCMUX_0, G_ACMUX_TEXEL0, G_ACMUX_0, G_ACMUX_SHADE, G_ACMUX_0
  185. gsSPClearGeometryMode G_CULL_BACK | G_SHADING_SMOOTH
  186. 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
  187. gsSPTexture -1, -1, 0, 0, 1
  188. gsDPTileSync
  189. 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
  190. gsDPSetTileSize 0, 0, 0, 124, 124
  191. gsSPDisplayList lll_seg7_dl_07015D18
  192. gsSPTexture -1, -1, 0, 0, 0
  193. gsDPPipeSync
  194. 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
  195. gsSPSetGeometryMode G_CULL_BACK | G_SHADING_SMOOTH
  196. gsSPEndDisplayList