dragonbane

OoT Wacky Fun

Nov 23rd, 2018
194
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 13.03 KB | None | 0 0
  1. Links:
  2. https://github.com/RainingChain/Z64LuaHooks/blob/master/OOT/Addr.wch
  3. https://www.zeldaxtreme.com/ocarina-of-time/gameshark-codes-version-1.0/
  4. https://github.com/glankk/gz/blob/master/src/gz/z64.h
  5. https://wiki.cloudmodding.com/oot/Function_Map#Within_code
  6. https://wiki.cloudmodding.com/oot/Main_Page
  7. Weather control, sand and coloring: https://wiki.cloudmodding.com/oot/Cheat:Weather_(Debug)
  8. https://docs.google.com/spreadsheets/d/1xKMd4W9tVhPHbT5BeZx4eEYZSdj685ClTXY6dFURN-E/edit#gid=0
  9. http://web.archive.org/web/20071017025905/http://zso.krahs-emag.com:80/codes/index.html
  10. http://wiki.spinout182.com/w/Actor_List
  11. https://sites.google.com/site/jamesskingdom/Home/game-codes-by-james-s/the-legend-of-zelda-ocarina-of-time-codes (alt HUDs)
  12. https://docs.google.com/spreadsheets/d/1Sl_ay1qPxTrs6xBTpVeqhKFrJjOGYyh3Tg1W0Ch5aHw/edit
  13. https://cloudmodding.com/zelda/oot
  14.  
  15. item codes: http://wiki.spinout182.com/w/Ocarina_of_Time_Item_Codes
  16.  
  17. manipulate controls (swap buttons, disable buttons, inverse analog stick, activate wireframe?)
  18. http://tasvideos.org/Bizhawk/LuaFunctions.html (use gui to display the fuckery to the player)
  19.  
  20. Design:
  21. -Seperate nodecg instance to avoid crash risk (can communicate with main instance via socket for layout effects)
  22. -use firebase to see the items of each player/team member and adjust locked products accordingly
  23. -allow dashboard control over tier 1,2,3 levels of boosters/handicaps above auto lock/unlock based on having an item
  24. -lock away an ability after it has been used until a timestamp is up (Now + itemEffectDuration + itemCooldown), or maybe until next loading zone
  25. -each entry has a relatedProducts field with the uid of all the products that should also get locked for the indicated time when a user buys a product (e.g. lock away infinite magic use as well after a user just bought no magic use)
  26. -disable buttons in extension and show the cooldown timer ticking down to users (if a request slips through, have the server reject it with an user alert). Extensions updates locked abilities periodically
  27. -push accepted tasks into a query to send to each player/team (one query per connection)
  28. -allow dashboard control over wheel of terror (spin asap button, change effect between set or random effect)
  29. -wheel of terror has its own set of tier 1,2,3 levels of effects (distinct from each other) unlocked over time/with dashboard control. Seperate from abilities users can buy
  30. -dashboard shows time until next wheel of terror autospin (maybe every 30 mins) (show notification in omnibar and in chat)
  31. -Allow 1,10,100,1000,10000 bits spending on wheel of terror
  32. -Render wheel of terror bar and all incoming bits exclusively on omnibar when active
  33. -Render boosters/handicaps to GUI on the BizHawk emulator for the respective player
  34. -Print twitch user name/initials somewhere in the BizHawk GUI? Maybe print biggest benefactor/enemy side by by automatically based on most bits spent. Maintain biggest spender lists on server
  35. -Give some bonus/free ride if a user subs
  36. -Have set products with fixed bit pricing
  37. -Maybe allow certain cosmetical changes to be queued by users instead of a cooldown timer
  38.  
  39. Features (wheel of terror):
  40. -steal all rupees and give it the other player
  41. -steal all explosives and give it the other player
  42. -swap ages of players
  43.  
  44.  
  45. Codes:
  46. -NPCs fly to you, all NPCs switch size take from Z64LuaHooks github
  47. -spawn certain actors taken from mm assembly inject github (requires BizHawk 1.13.1)
  48.  
  49. Infinite Carrots on Epona:
  50. Read Epona ptr at 0x1DAE60, check if > 0, take the actor addr (subtract 0x80000000) + 0x228 = carrot address. Set it to 5 and repeat every second
  51.  
  52. Epona Speed Modifier:
  53. Read Epona ptr at 0x1DAE60, check if > 0, take the actor addr (subtract 0x80000000) + 0x68 = speed address. Set it to 0x4270 for Turbo speed and repeat every 0.1 seconds. Freeze at 0 to stop Epona in place pretty much completely
  54.  
  55. Cucco Attack:
  56. Spawn Cucco with id 0x0019 (0x0013), variable 0x00 with assembly inject (use unused variable somewhere as the trigger)
  57. Search for actor type Cucco. Break at the first find if one exists, take the actor prop addr + 0x295 = health address. Set it to 0 for immediate Cucco attack
  58.  
  59. Void Out: (reloads the current scene, starting from the last room entrance as if Link voided out)
  60. 0x11B934 4 bytes to 0x00000001 (void_flag)
  61. 0x11B948 2 bytes store and copy to... (void_entrance)
  62. 0x11A5D0 4 bytes (z64_file.entrance_index)
  63. 0x114DE0 4 bytes = ptr + 0x11E1A = write to this address 2 bytes (z64_game.entrance_index)
  64. 0x1DA2B5 1 byte to 0x14 (trigger loading)
  65.  
  66. Cosmetics:
  67.  
  68. Targeting Style:
  69. 0x11B9DC 1 byte to ?? (0 for Switch Targeting, 1 for Hold Targeting)
  70.  
  71. Current Tunic Color:
  72. 0x1DAB6C 1 byte to ?? (colorcodes here: http://www.hotcheats.com/legendofzeldatuniccolorgamesharkcheatsnintendo64.html#10)
  73.  
  74. Current Navi Color:
  75. 0x1E2154 2 bytes to 0x43RR (sometimes RGB and sometimes RBG, table here: http://www.am.uni-duesseldorf.de/de/Links/Tools/farbtabelle.html)
  76. 0x1E2158 2 bytes to 0x43BB
  77. 0x1E215C 2 bytes to 0x43GG
  78.  
  79. Player Name:
  80. 0x11A5F4 8 bytes to ?? (0xDF denotes an empty/non existing char and should be used as padding if length is < 8)
  81. A-Z = 0xAB-0xC4
  82. a-z = 0xC5-0xDE
  83. 0-9 = 0x00-0x09
  84. . = 0xEA
  85. - = 0xE4
  86.  
  87. Navi Timer:
  88. 0x11A608 2 bytes to ???? (0x0258 triggers Navi's "Hey", alternate between 0x0257 and 0x0258 to constantly/infinitely trigger Navi)
  89.  
  90. Sword Active:
  91. 0x1DB263 1 byte set to 0x00/0xFF (freeze to forbid sword use except magic spin attacks, freeze at 0x01 for ISG)
  92.  
  93. Music Modifier:
  94. 0x11B81E 1 byte to 0x?? (e.g. 0x5F for Gerudo Valley)
  95. 0x11B9DF 1 byte to 0x??
  96. http://wiki.spinout182.com/w/Zelda_64:_OoT_Music_Values
  97.  
  98. Turn Music off:
  99. 0x1D8FA4 1 byte to 0x00 (freeze) (0 = off, 1/unfreeze = on)
  100.  
  101. No Sound Effects (after next loading zone):
  102. 0x11B9AE 2 bytes to 0x0000 (freeze)
  103. 0x11B9B0 2 bytes to 0x0000 (freeze)
  104.  
  105.  
  106.  
  107. 0x482F Gain Rupee Repeater (This is the sound that repeats while gaining or losing rupees)
  108. 0x4803 Gain Rupee (The main sound that plays when gaining a rupee)
  109. 0x4806 Disabled Item
  110. 0x4807 Success (Played the correct song at a location, etc.)
  111. 0x4808 Change Menu Screen
  112. 0x4809 Move Menu Cursor
  113. 0x480A Emulator Crash
  114. 0x480C Enter Z-Target
  115. 0x4824 Pick Up Ammo / Magic
  116. 0x0835 Pull out Item
  117.  
  118.  
  119. (world.navisfxoverworld, [0xAE7EF2, 0xC26C7E], NaviSFX), # Navi Overworld Hint (0x685F)
  120. (world.navisfxenemytarget, [0xAE7EC6], NaviSFX), # Navi Enemy Target Hint (0x6843)
  121. (world.healthSFX, [0xADBA1A], HealthSFX) # Low Health Beep (0x481B)
  122.  
  123.  
  124.  
  125. Current Age (read only):
  126. 0x11A5D4 4 bytes (0 = adult, 1 = child)
  127.  
  128. Hearts:
  129. 0x11A600 2 byte
  130. 0x10 per full heart
  131.  
  132. Magic:
  133. 0x11A603 1 byte
  134. 0x30 = normal, 0x60 = double
  135.  
  136. Magic Usage Modifier:
  137. 0x7259A 2 bytes to ???? (default: 2C00)
  138. 2C40=2x Magic Use
  139. 2C80=4x Magic Use
  140. 2CC0=6x Magic Use
  141. 2D00=8x Magic Use
  142.  
  143. Age Modifier for Next Scene:
  144. 0x1DA288 1 byte
  145. 0 = adult, 1 = child
  146.  
  147. LinkX:
  148. 0x1DAA54 4 bytes float
  149.  
  150. LinkY:
  151. 0x1DAA58 4 bytes float
  152.  
  153. LinkZ:
  154. 0x1DAA5C 4 bytes float
  155.  
  156. Facing Angle:
  157. 0x1DAAE6 2 bytes
  158.  
  159. Movement Angle (can use it to get drunk movement by adding, subtracting randomly):
  160. 0x1DB25C 2 bytes signed
  161.  
  162. Speed:
  163. 0x1DB258 4 byte float
  164.  
  165. Rupees:
  166. 0x11A604 2 bytes
  167.  
  168. Alter Footstep Speed:
  169. 0x1C6EF0 2 bytes to 0x1234 (for funny looking footsteps)
  170.  
  171. Item Quantities:
  172. Sticks:
  173. 0011A65C 1 byte
  174.  
  175. Nuts:
  176. 0011A65D 1 byte
  177.  
  178. Bombs:
  179. 0011A65E 1 byte
  180.  
  181. Arrows:
  182. 0011A65F 1 byte
  183.  
  184. Seeds:
  185. 0011A662 1 byte
  186.  
  187. Bombchus:
  188. 0011A664 1 byte
  189.  
  190. Item Quantities Usage Modifier:
  191. 0x721FE 2 bytes to ???? (default: 2C00)
  192. 2C40=2x Item Use
  193. 2C80=4x Item Use
  194. 2CC0=6x Item Use
  195. 2D00=8x Item Use
  196.  
  197. Bottle Slots:
  198. 0x11A656 - 0x11A659
  199. 14 - Empty Bottle
  200. 15 - Red Potion
  201. 16 - Green Potion
  202. 17 - Blue Potion
  203. 18 - Fairy
  204. 19 - Fish
  205. 1A - Milk
  206. 1B - Letter in a Bottle
  207. 1C - Blue Fire
  208. 1D - Bug
  209. 1E - Big Poe
  210. 1F - Lon-Lon Milk (Half)
  211. 20 - Poe
  212.  
  213. Equipped: Tunic/Boots
  214. 0x11A640
  215. bits 0x0F: tunic equipped; bits 0xF0: boots equipped (1,2,3)
  216.  
  217. bit 1 = hero tunic
  218. bit 2 = goron tunic
  219. bit 1 and 2 = zora tunic
  220.  
  221. bit 16 = normal boots
  222. bit 32 = iron boots
  223. bit 16 and 32 = hover boots
  224.  
  225. Equipped: Sword/Shield
  226. 0x11A641
  227. bits 0x0F: sword equipped; bits 0xF0: shield equipped
  228.  
  229. bit 1 = kokiri sword
  230. bit 2 = master sword
  231. bit 1 and 2 = biggoron sword
  232.  
  233. bit 16 = kokiri shield
  234. bit 32 = hylian shield
  235. bit 16 and 32 = mirror shield
  236.  
  237. (1 = green tunic, normal boots, kokiri sword, kokiri shield, 2 = goron tunic, iron boots, hylian shield, master sword, 3 = blue tunic, hover boots, biggoron sword, mirror shield)
  238.  
  239. Magic Meter won't Decrease:
  240. 0x11B9C0 4 bytes to 0x00000000 (need to freeze)
  241.  
  242. Make Hover Boots last forever:
  243. 0x1DB2B2 2 byte to 0x000D (need to force the timer to that value to keep hover boots effect forever)
  244.  
  245. Y Velocity/Gravity:
  246. 0x1DAA90 float
  247. -4 = default, 0 = super low gravity (can not climb walls), -10 = can no longer jump anywhere (heavy) (can not climb walls)
  248.  
  249. Link's X (width) size modifier
  250. 0x1DAA80 2 bytes ????
  251.  
  252. Link's Y (height) size modifier
  253. 0x1DAA84 ????
  254.  
  255. Link's Z (depth) size modifier
  256. 0x1DAA88 ????
  257. 0x0 = 2D cardboard Link with rest at default (0x3C23)
  258.  
  259. 1 inch Link all to 0x3AA0
  260. Giant Link all to 0x3D3F (Combine Giant Link with Camera Distance: 0x3D00)
  261.  
  262. Values: "????" Invisible 3FFF Largest 3DFF Giant 3A00 1 inch 3AA0 3 inch 3B00 6 inch 3B50 1 foot 3BA0 2 foot 3C00 3 foot 3C23 Defaut 3C42 5 foot 3C61 6 foot 3C80 7 foot 3CA0 8 foot 3CB7 9 foot 3CCF 10 foot 3CD7 11 foot 3CDF 12 foot 3CE7 13 foot 3C3F 14 foot 3CF7 15 foot 3CFF 16 foot
  263.  
  264. Camera Distance:
  265. 0x106BEC 2 bytes
  266. default: 3C23 Higher values will move the camera further away, lower values bring the camera closer. Setting it to zero gives you a sort of first-person perspective, except much lower than Link's eyes.
  267.  
  268. 0x30F0 = messy camera close in
  269.  
  270. Upside Down Camera View:
  271. 0x10A504 1 byte 0x41 (default: 0x40)
  272.  
  273. Corrupted, Tunnel and Fish Eye vision [CosmoCortney]
  274. 0x1888D4 2 bytes XXXX (default: 0)
  275. 0x1764C4 2 bytes XXXX (default: 0)
  276.  
  277. The best:
  278. 0008 = strong Fish Eye/OoB Vision
  279. FFF8 = corrupted/flat vision
  280.  
  281. * for XXXX:
  282. FFFF = Tunnel vision
  283. 0004 = low Fish Eye Vision
  284. 0008 = strong Fish Eye Vision
  285. FFF8 = corrupted vision
  286.  
  287. Currently Equipped Mask/Hide all Actors:
  288. 0x1DAB7F 1 byte to ??
  289. 0x7 Gerudo Mask (makes every actor on the map invisible for some reason)
  290.  
  291. Link State:
  292. 0x1DB09C 4 bytes to ??
  293. 00000001 Disable control
  294. 00000010 Reset action icon
  295. 00000080 Freeze all object animations (too broken)
  296. 00000400 Navi will run away (weird)
  297. 00002000 Camera Side View (Ledge)
  298. 00004000 Camera Overhead View
  299. 02000000 Lock Camera
  300.  
  301. Crazy Fog glitch:
  302. 0x0F1640 1 byte to 0x05
  303.  
  304. Sword spin charge spawns Arwings:
  305. 0x38E03A 2 bytes to 0x013B
  306. or spawn Arwing with id 0x013B (0x0001), variable 0x(00)01 with assembly inject (use unused variable somewhere as the trigger)
  307.  
  308. Reload last Area:
  309. 0x1DA2B5 1 byte to 0x14
  310.  
  311. Return to File Menu:
  312. 0x11B92F 1 byte to 0x02 (set all only once!)
  313. 0x1DA2B5 1 byte to 0x14
  314. 0x1DA2B4 1 byte to 0x00
  315.  
  316. Allow Magic Use: (fully depletes magic meter after one magic use if not allowed, magic spin is deactivated asap)
  317. 0x11A60A 1 byte to 0x00 (default: 0x01)
  318.  
  319. Clone Link:
  320. 0x38E03A 2 bytes to 0x0000 (spin attack to spawn more Links)
  321. or spawn Link with id 0x0000 (0x0000), variable 0x(0F)02 with assembly inject (use unused variable somewhere as the trigger)
  322.  
  323. Always In Letterbox Mode
  324. 0x0EF1FB 1 byte 01 (freeze)
  325.  
  326. Disable HUD/Interface/Pause Menu:
  327. 0x11B92F 1 byte to 0x01 (default: 0x00) (this will crash on an exit, so disable when 0x1DA2B5 = 0x14 and re-enable when = 0xEC)
  328. Alt: http://wiki.spinout182.com/w/Interface_Hacking (move all HUD elements off-screen manually)
  329.  
  330. Can't Use Items or B:
  331. 0x11B9B2 2 bytes 0xFFFF (default: 0x0000) (need to freeze, stops when unfrozen)
  332. 0x11B9B4 2 bytes 0xFFFF
  333.  
  334. Can't use B:
  335. 0x11B9B2 1 byte 0xFF
  336.  
  337. Can't Use Items:
  338. 0x11B9B3 1 byte 0xFF
  339. 0x11B9B4
  340. 0x11B9B5
  341.  
  342. Start decreasing Rupees (as long as value 0xFFFF is frozen):
  343. 0x11B99C 2 bytes to 0xFFFF (default: 0x0000)
  344.  
  345. Nayru's Love always on after next area transition (lasts 60 seconds) (constantly force to 0 to force disable after on next transition)
  346. 0x11B998 2 bytes FFFF
  347.  
  348. Makes Dust Storm:
  349. 0x1D8FAA 1 byte 0x01
  350. 0x1D8FAB 2 byte 0xFFEE
  351.  
  352. Heavy Rain, Cloudy and Lighting:
  353. 0x1D8FA1 1 byte 0x01
  354. 0x1D8FA3 1 byte 0x01
  355. 0x1D8FB2 1 byte 0xFF
  356.  
  357. Damage Taken Modifier:
  358. 0x38E5EA 2 bytes to ???? (default: 0x2C03)
  359.  
  360. 2C83 1/4 Damage
  361. 2C43 1/2 Damage
  362. 2C03 1x Damage
  363. 2BC3 2x Damage
  364. 2B83 4x Damage
  365. 2B43 8x Damage
  366. 2B03 16x Damage
  367. 2AC3 32x Damage
  368. 2A03 80x Damage (1 hit KO)
  369.  
  370. Freeze Player:
  371. 0x1DAB40 2 bytes to 0xXXXX (time left until actor becomes unfrozen in frames)
  372.  
  373. Electrified Link (visual only):
  374. 0x1DB2B1 1 byte to 0x2A (freeze)
  375.  
  376. Green Glow Around Everything:
  377. 0x1D8F52 1 byte to 0x01 (works with every color)
  378.  
  379. Immediate Day Transition: (like Sun's Song)
  380. 0x11B9F2 2 bytes 0x0101 (only set once)
  381.  
  382. Actual Time of Day:
  383. 0x11A5DC 2 bytes to ????
  384. 4000 At Sunrise
  385. 5800 Daylight Out
  386. 7000 Very Bright Out
  387. C000 At Sunset
  388. D000 Fairly Dark
  389.  
  390. Time of Day Speed Modifier:
  391. 0x0F1650 2 bytes to 0x0FFF for constant day turns (default: 0x000A)
Add Comment
Please, Sign In to add comment