Guest User

Mario Mender 64 - SM64 Sapphire

a guest
Sep 23rd, 2018
21
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. REM Script generated on: 28 May 2018 14:17:35 GMT
  2.  
  3.  
  4. REM Identification Stamp
  5. ADR $3FFFFC8
  6. OVERWRITE 20 22 46 69 78 65 64 22
  7. OVERWRITE 77 69 74 68 20
  8. OVERWRITE 4D 61 72 69 6F 4D 65
  9. OVERWRITE 6E 64 65 72 36 34 20
  10. OVERWRITE 56 30 2E 30 2E 30 2E 31
  11. OVERWRITE 28 31 31 47 29
  12. OVERWRITE 20 20 20 20 20 20 20 20
  13. ADR $3FFFFF8
  14. OVERWRITE 20 28 05 20 18 15 17 35
  15.  
  16.  
  17. REM Included As Standard (No Obvious Side Effects):
  18. REM ---
  19. REM Reverse Any RCVI Changes
  20. ADR $F00C2
  21. OVERWRITE 02 0D
  22. REM ---
  23. REM Fix Alpha Textures in Older Hacks
  24. ADR $0
  25. REPLACEALL 15 06 00 00 0E BY 15 04 00 00 0E
  26. REM ---
  27. REM Set Far Camera Value Back to 7F FF
  28. ADR $0
  29. REPLACEALL 0A 01 00 2D 00 64 96 96 80 29 AA 3C BY 0A 01 00 2D 00 64 7F FF 80 29 AA 3C
  30.  
  31.  
  32. REM Replace all cases of FC 12 7F FF FF FF F8 38 with FC 12 7E 24 FF FF F9 FC from 1200000 onwards.
  33. REM This restores textures to levels without fog, but breaks textures in levels with fog.
  34. REM Normally done from 1200000 onwards (to leave the original SM64 levels alone).
  35. REM Can be set to replace from A00000 instead to try and restore textures to custom title screens.
  36. ADR $1200000
  37. REPLACEALL FC 12 7F FF FF FF F8 38 BY FC 12 7E 24 FF FF F9 FC
  38.  
  39.  
  40. REM Restore Mario Head Screen
  41. ADR $269F4C
  42. OVERWRITE 1D 04 00 00 1F 08 01 00 14 00 03 5C 20 04 00 00
  43. REM --
  44. REM Skip Mario Head Screen using an alternative method which works on console
  45. ADR $269F68
  46. OVERWRITE 05 08 00 00 14 00 02 0C
  47. ADR $269FF4
  48. OVERWRITE 05 08 00 00 14 00 02 0C
  49.  
  50.  
  51. REM Peach Skip
  52. ADR $6BD4
  53. OVERWRITE 24 00
  54.  
  55.  
  56. REM Replace Warp Pipe Behaviours with Normal Warp Behaviours
  57. ADR $1200000
  58. REPLACEALL 00 00 13 00 07 A0 BY 00 00 13 00 07 80
  59.  
  60.  
  61. REM Attempt to apply the Parallel Lakitu Camera Patch by aglab2
  62. ADR $3DC3C
  63. OVERWRITE 3C 08 80 28
  64. OVERWRITE 21 08 6C B4 03 28 40 22
  65. OVERWRITE 19 00 00 03 00 00 00 00
  66. OVERWRITE 3C 19 80 28 23 39 6C C4
  67. OVERWRITE 3C 01 80 34 84 28 AF A2
  68. OVERWRITE 31 08 00 20 11 00 00 07
  69. OVERWRITE 00 00 00 00 3C 01 80 28
  70. OVERWRITE 8C 28 6D 24 20 01 00 01
  71. OVERWRITE 00 28 40 22 3C 01 80 28
  72. OVERWRITE AC 28 6D 24 3C 01 80 28
  73. OVERWRITE 8C 28 6D 24 11 00 00 0F
  74. OVERWRITE 00 00 00 00 3C 08 80 28
  75. OVERWRITE 21 08 6C 84 03 28 40 22
  76. OVERWRITE 11 00 00 08 00 00 00 00
  77. OVERWRITE 3C 08 80 28 21 08 6C A4
  78. OVERWRITE 03 28 40 22 11 00 00 03
  79. OVERWRITE 00 00 00 00 10 00 00 03
  80. OVERWRITE 00 00 00 00 3C 19 80 28
  81. OVERWRITE 23 39 6C C4 3C 01 80 34
  82. OVERWRITE 84 28 AF A0 3C 01 80 34
  83. OVERWRITE 84 24 C7 78 31 01 02 00
  84. OVERWRITE 10 20 00 03 00 00 00 00
  85. OVERWRITE 20 84 FF D0 10 00 00 0C
  86. OVERWRITE 31 01 01 00 10 20 00 03
  87. OVERWRITE 00 00 00 00 20 84 00 30
  88. OVERWRITE 10 00 00 07 3C 01 80 34
  89. OVERWRITE 84 28 AF A2 31 01 0C 00
  90. OVERWRITE 10 20 00 03 00 00 00 00
  91. OVERWRITE 20 84 10 00 30 84 E0 00
  92. OVERWRITE 3C 01 80 34 A4 24 C7 78
  93. OVERWRITE 3C 01 80 28 8C 28 6D 20
  94. OVERWRITE 11 19 00 0A 00 00 00 00
  95. OVERWRITE 3C 01 80 33 8C 28 DF 60
  96. OVERWRITE 85 08 00 12 21 08 90 00
  97. OVERWRITE 31 08 E0 00 3C 01 80 34
  98. OVERWRITE A4 28 C7 78 3C 01 80 28
  99. OVERWRITE AC 39 6D 20 03 20 00 08
  100. OVERWRITE 00 00 00 00 00 00 00 00
  101. REM --
  102. ADR $41BBC
  103. OVERWRITE 10 00 00 45
  104. REM --
  105. ADR $41C7C
  106. OVERWRITE 10 00 EF EF
  107. REM --
  108. ADR $41CD4
  109. OVERWRITE 11 A0 FF DF
  110. OVERWRITE 00 00 00 00 3C 01 80 28
  111. OVERWRITE 8C 28 6D 24 11 00 00 03
  112. OVERWRITE 00 00 00 00 10 00 00 03
  113. OVERWRITE 00 00 00 00 3C 01 80 28
  114. OVERWRITE AC 20 6D 20 10 00 FF B1
  115. OVERWRITE 00 00 00 00 0C 0A 13 3F
  116. OVERWRITE 8F A4 00 40 10 00 00 15
  117. OVERWRITE 00 00 00 00 0C 0A 0B 0F
  118. OVERWRITE 8F A4 00 40 10 00 00 11
  119. OVERWRITE 00 00 00 00 00 00 00 00
  120.  
  121.  
  122. REM CUT HERE
  123. REM -----------------------------------
  124.  
  125.  
  126. REM Restoring Levels With Fog:
  127. REM ---
  128. REM Cool Cool Mountain (Course 4)
  129. ADR $13acbd0
  130. OVERWRITE FC 12 7F FF FF FF F8 38
  131. ADR $13c0af8
  132. OVERWRITE FC 12 7F FF FF FF F8 38
  133. ADR $13c0b58
  134. OVERWRITE FC 12 7F FF FF FF F8 38
  135. REM ---
  136. REM Whomp's Fortress (Course 2)
  137. ADR $2dad810
  138. OVERWRITE FC 12 7F FF FF FF F8 38
  139. ADR $2db5c58
  140. OVERWRITE FC 12 7F FF FF FF F8 38
  141. ADR $2db5cb8
  142. OVERWRITE FC 12 7F FF FF FF F8 38
  143.  
  144.  
  145. MSG This script has made it's changes. But you're not quite done yet.\nYou now need to save the changes (File > Save or File > Save As)\n(you might also want to save a copy of the script for future use)
  146. MSG After saving the changes to the rom, drag and drop the rom onto\nsm64compress.exe - a file called [ROMname].out.z64 will be created.\nFinally, copy [ROMname].out.z64 on to your memory card and try it\nout on your Nintendo 64.
RAW Paste Data