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.

157 lines
8.8 KiB

6 years ago
  1. bits_seg7_vertex_0700D620: # 0x0700D620 - 0x0700D720
  2. vertex 1581, 51, -108, 1246, 2328, 0xEC, 0xEF, 0x8E, 0xFF
  3. vertex 1536, 51, 0, 478, 2010, 0xEC, 0xEF, 0x8E, 0xFF
  4. vertex 1581, 51, 109, 162, 1244, 0xEC, 0xEF, 0x8E, 0xFF
  5. vertex 1690, 51, 154, 480, 478, 0xEC, 0xEF, 0x8E, 0xFF
  6. vertex 1798, 51, 109, 1246, 162, 0xEC, 0xEF, 0x8E, 0xFF
  7. vertex 1843, 51, 0, 2012, 480, 0xEC, 0xEF, 0x8E, 0xFF
  8. vertex 1798, 51, -108, 2330, 1244, 0xEC, 0xEF, 0x8E, 0xFF
  9. vertex 1690, 51, -153, 2012, 2010, 0xEC, 0xEF, 0x8E, 0xFF
  10. vertex 1798, 0, 109, 1246, 162, 0x96, 0x96, 0x00, 0xFF
  11. vertex 1690, 51, 154, 480, 478, 0x96, 0x96, 0x00, 0xFF
  12. vertex 1690, 0, 154, 478, 480, 0x96, 0x96, 0x00, 0xFF
  13. vertex 1798, 51, 109, 1246, 162, 0x96, 0x96, 0x00, 0xFF
  14. vertex 1690, 0, -153, 2012, 2010, 0x96, 0x96, 0x00, 0xFF
  15. vertex 1690, 51, -153, 2012, 2010, 0x96, 0x96, 0x00, 0xFF
  16. vertex 1798, 51, -108, 2330, 1244, 0x96, 0x96, 0x00, 0xFF
  17. vertex 1798, 0, -108, 2330, 1244, 0x96, 0x96, 0x00, 0xFF
  18. bits_seg7_vertex_0700D720: # 0x0700D720 - 0x0700D820
  19. vertex 1581, 0, 109, 162, 1244, 0x5D, 0x5D, 0x00, 0xFF
  20. vertex 1536, 51, 0, 478, 2010, 0x5D, 0x5D, 0x00, 0xFF
  21. vertex 1536, 0, 0, 478, 2010, 0x5D, 0x5D, 0x00, 0xFF
  22. vertex 1581, 51, 109, 162, 1244, 0x5D, 0x5D, 0x00, 0xFF
  23. vertex 1798, 0, -108, 2330, 1244, 0x5D, 0x5D, 0x00, 0xFF
  24. vertex 1843, 51, 0, 2012, 480, 0x5D, 0x5D, 0x00, 0xFF
  25. vertex 1843, 0, 0, 2012, 480, 0x5D, 0x5D, 0x00, 0xFF
  26. vertex 1798, 51, -108, 2330, 1244, 0x5D, 0x5D, 0x00, 0xFF
  27. vertex 1536, 0, 0, 478, 2010, 0x6B, 0x6B, 0x00, 0xFF
  28. vertex 1581, 51, -108, 1246, 2328, 0x6B, 0x6B, 0x00, 0xFF
  29. vertex 1581, 0, -108, 1246, 2328, 0x6B, 0x6B, 0x00, 0xFF
  30. vertex 1536, 51, 0, 478, 2010, 0x6B, 0x6B, 0x00, 0xFF
  31. vertex 1843, 0, 0, 2012, 480, 0x6B, 0x6B, 0x00, 0xFF
  32. vertex 1843, 51, 0, 2012, 480, 0x6B, 0x6B, 0x00, 0xFF
  33. vertex 1798, 51, 109, 1246, 162, 0x6B, 0x6B, 0x00, 0xFF
  34. vertex 1798, 0, 109, 1246, 162, 0x6B, 0x6B, 0x00, 0xFF
  35. bits_seg7_vertex_0700D820: # 0x0700D820 - 0x0700D8A0
  36. vertex 1581, 0, -108, 1246, 2328, 0x78, 0x78, 0x00, 0xFF
  37. vertex 1690, 51, -153, 2012, 2010, 0x78, 0x78, 0x00, 0xFF
  38. vertex 1690, 0, -153, 2012, 2010, 0x78, 0x78, 0x00, 0xFF
  39. vertex 1581, 51, -108, 1246, 2328, 0x78, 0x78, 0x00, 0xFF
  40. vertex 1690, 0, 154, 478, 480, 0x78, 0x78, 0x00, 0xFF
  41. vertex 1690, 51, 154, 480, 478, 0x78, 0x78, 0x00, 0xFF
  42. vertex 1581, 51, 109, 162, 1244, 0x78, 0x78, 0x00, 0xFF
  43. vertex 1581, 0, 109, 162, 1244, 0x78, 0x78, 0x00, 0xFF
  44. bits_seg7_vertex_0700D8A0: # 0x0700D8A0 - 0x0700D980
  45. vertex -7, 2068, -12, 224, -19654, 0xB1, 0xBF, 0xFA, 0xFF
  46. vertex 15, 2068, 0, 280, -19424, 0xB1, 0xBF, 0xFA, 0xFF
  47. vertex 8, 2068, -12, 262, -19502, 0xB1, 0xBF, 0xFA, 0xFF
  48. vertex 8, 2068, 13, 262, -19502, 0xB1, 0xBF, 0xFA, 0xFF
  49. vertex -14, 2068, 0, 204, -19732, 0xB1, 0xBF, 0xFA, 0xFF
  50. vertex -7, 2068, 13, 224, -19654, 0xB1, 0xBF, 0xFA, 0xFF
  51. vertex 15, 0, 0, 280, 1218, 0x97, 0xB2, 0xCD, 0xFF
  52. vertex 8, 2068, 13, 262, -19502, 0x97, 0xB2, 0xCD, 0xFF
  53. vertex 8, 0, 13, 262, 1142, 0x97, 0xB2, 0xCD, 0xFF
  54. vertex 15, 2068, 0, 280, -19424, 0x97, 0xB2, 0xCD, 0xFF
  55. vertex -14, 0, 0, 204, 914, 0x97, 0xA9, 0xCD, 0xFF
  56. vertex -14, 2068, 0, 204, -19732, 0x97, 0xA9, 0xCD, 0xFF
  57. vertex -7, 2068, -12, 224, -19654, 0x97, 0xA9, 0xCD, 0xFF
  58. vertex -7, 0, -12, 224, 990, 0x97, 0xA9, 0xCD, 0xFF
  59. bits_seg7_vertex_0700D980: # 0x0700D980 - 0x0700DA80
  60. vertex -7, 0, -12, 224, 990, 0x52, 0x70, 0xAC, 0xFF
  61. vertex 8, 2068, -12, 262, -19502, 0x52, 0x70, 0xAC, 0xFF
  62. vertex 8, 0, -12, 262, 1142, 0x52, 0x70, 0xAC, 0xFF
  63. vertex -7, 2068, -12, 224, -19654, 0x52, 0x70, 0xAC, 0xFF
  64. vertex 8, 0, 13, 262, 1142, 0x52, 0x70, 0xAC, 0xFF
  65. vertex 8, 2068, 13, 262, -19502, 0x52, 0x70, 0xAC, 0xFF
  66. vertex -7, 2068, 13, 224, -19654, 0x52, 0x70, 0xAC, 0xFF
  67. vertex -7, 0, 13, 224, 990, 0x52, 0x70, 0xAC, 0xFF
  68. vertex 8, 0, -12, 262, 1142, 0x8C, 0x98, 0xD8, 0xFF
  69. vertex 8, 2068, -12, 262, -19502, 0x8C, 0x98, 0xD8, 0xFF
  70. vertex 15, 2068, 0, 280, -19424, 0x8C, 0x98, 0xD8, 0xFF
  71. vertex 15, 0, 0, 280, 1218, 0x8C, 0x98, 0xD8, 0xFF
  72. vertex -7, 0, 13, 224, 990, 0x8C, 0x98, 0xD8, 0xFF
  73. vertex -7, 2068, 13, 224, -19654, 0x8C, 0x98, 0xD8, 0xFF
  74. vertex -14, 2068, 0, 204, -19732, 0x8C, 0x98, 0xD8, 0xFF
  75. vertex -14, 0, 0, 204, 914, 0x8C, 0x98, 0xD8, 0xFF
  76. bits_seg7_vertex_0700DA80: # 0x0700DA80 - 0x0700DB20
  77. vertex 1690, 307, 0, 480, 0, 0x96, 0x96, 0x96, 0xFF
  78. vertex 1587, 51, 0, 0, 1672, 0x96, 0x96, 0x96, 0xFF
  79. vertex 1690, 51, 102, 480, 1672, 0x96, 0x96, 0x96, 0xFF
  80. vertex 1792, 51, 0, 990, 1672, 0x96, 0x96, 0x96, 0xFF
  81. vertex 1690, 51, -101, 480, 1672, 0x96, 0x96, 0x96, 0xFF
  82. vertex 1690, 51, 102, 480, 1672, 0xC8, 0xC8, 0xC8, 0xFF
  83. vertex 1792, 51, 0, 990, 1672, 0xC8, 0xC8, 0xC8, 0xFF
  84. vertex 1690, 307, 0, 480, 0, 0xC8, 0xC8, 0xC8, 0xFF
  85. vertex 1690, 51, -101, 480, 1672, 0xC8, 0xC8, 0xC8, 0xFF
  86. vertex 1587, 51, 0, 0, 1672, 0xC8, 0xC8, 0xC8, 0xFF
  87. bits_seg7_dl_0700DB20: # 0x0700DB20 - 0x0700DC08
  88. gsDPSetTextureImage G_IM_FMT_RGBA, G_IM_SIZ_16b, 1, sky_09007000
  89. gsDPLoadSync
  90. gsDPLoadBlock 7, 0, 0, 0x3FF, 0x100
  91. gsSPVertex bits_seg7_vertex_0700D620, 16, 0
  92. gsSP2Triangles 0, 1, 2, 0x0, 0, 3, 4, 0x0
  93. gsSP2Triangles 0, 4, 5, 0x0, 0, 2, 3, 0x0
  94. gsSP2Triangles 0, 6, 7, 0x0, 0, 5, 6, 0x0
  95. gsSP2Triangles 8, 9, 10, 0x0, 8, 11, 9, 0x0
  96. gsSP2Triangles 12, 13, 14, 0x0, 12, 14, 15, 0x0
  97. gsSPVertex bits_seg7_vertex_0700D720, 16, 0
  98. gsSP2Triangles 0, 1, 2, 0x0, 0, 3, 1, 0x0
  99. gsSP2Triangles 4, 5, 6, 0x0, 4, 7, 5, 0x0
  100. gsSP2Triangles 8, 9, 10, 0x0, 8, 11, 9, 0x0
  101. gsSP2Triangles 12, 13, 14, 0x0, 12, 14, 15, 0x0
  102. gsSPVertex bits_seg7_vertex_0700D820, 8, 0
  103. gsSP2Triangles 0, 1, 2, 0x0, 0, 3, 1, 0x0
  104. gsSP2Triangles 4, 5, 6, 0x0, 4, 6, 7, 0x0
  105. gsSPEndDisplayList
  106. bits_seg7_dl_0700DC08: # 0x0700DC08 - 0x0700DCB8
  107. gsDPSetTextureImage G_IM_FMT_RGBA, G_IM_SIZ_16b, 1, sky_09008000
  108. gsDPLoadSync
  109. gsDPLoadBlock 7, 0, 0, 0x3FF, 0x100
  110. gsSPVertex bits_seg7_vertex_0700D8A0, 14, 0
  111. gsSP2Triangles 0, 1, 2, 0x0, 0, 3, 1, 0x0
  112. gsSP2Triangles 0, 4, 5, 0x0, 0, 5, 3, 0x0
  113. gsSP2Triangles 6, 7, 8, 0x0, 6, 9, 7, 0x0
  114. gsSP2Triangles 10, 11, 12, 0x0, 10, 12, 13, 0x0
  115. gsSPVertex bits_seg7_vertex_0700D980, 16, 0
  116. gsSP2Triangles 0, 1, 2, 0x0, 0, 3, 1, 0x0
  117. gsSP2Triangles 4, 5, 6, 0x0, 4, 6, 7, 0x0
  118. gsSP2Triangles 8, 9, 10, 0x0, 8, 10, 11, 0x0
  119. gsSP2Triangles 12, 13, 14, 0x0, 12, 14, 15, 0x0
  120. gsSPEndDisplayList
  121. bits_seg7_dl_0700DCB8: # 0x0700DCB8 - 0x0700DD00
  122. gsDPSetTextureImage G_IM_FMT_RGBA, G_IM_SIZ_16b, 1, sky_09002000
  123. gsDPLoadSync
  124. gsDPLoadBlock 7, 0, 0, 0x7FF, 0x100
  125. gsSPVertex bits_seg7_vertex_0700DA80, 10, 0
  126. gsSP2Triangles 0, 1, 2, 0x0, 0, 3, 4, 0x0
  127. gsSP2Triangles 5, 6, 7, 0x0, 7, 8, 9, 0x0
  128. gsSPEndDisplayList
  129. glabel bits_seg7_dl_0700DD00 # 0x0700DD00 - 0x0700DD98
  130. gsDPPipeSync
  131. 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
  132. gsSPClearGeometryMode G_LIGHTING
  133. 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
  134. gsSPTexture -1, -1, 0, 0, 1
  135. gsDPTileSync
  136. 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
  137. gsDPSetTileSize 0, 0, 0, 124, 124
  138. gsSPDisplayList bits_seg7_dl_0700DB20
  139. gsSPDisplayList bits_seg7_dl_0700DC08
  140. gsDPTileSync
  141. gsDPSetTile G_IM_FMT_RGBA, G_IM_SIZ_16b, 8, 0, G_TX_RENDERTILE, 0, G_TX_WRAP | G_TX_NOMIRROR, 6, G_TX_NOLOD, G_TX_WRAP | G_TX_NOMIRROR, 5, G_TX_NOLOD
  142. gsDPSetTileSize 0, 0, 0, 124, 252
  143. gsSPDisplayList bits_seg7_dl_0700DCB8
  144. gsSPTexture -1, -1, 0, 0, 0
  145. gsDPPipeSync
  146. 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
  147. gsSPSetGeometryMode G_LIGHTING
  148. gsSPEndDisplayList