Uploaded January 2020 | Updated November 2026, 22 minutes ago
Several new innovations means that SRM ACE any% can now be done on humans on the N64 console. Speedruns can be done in under 14 minutes using this method, meaning over three minutes are saved by it.
- By adding a few more transitions back and forth between the deku and kokiri room, spawning different actors each time, we add a lot of degrees of freedom to manipulate the heap. This allows us to find a heap manip that not only allows us to SRM an actors's function draw pointer (which is harder on N64 compared to iQue), we can also influence the angle we have to drop our unloaded rock at to be C000, a cardinal angle which is fairly easy to get. Finding this manip required hacking together a heap simulator specific to Kokiri forest (which has many unusual actor allocation behaviours).
- Two obvious things I missed previously: you can pause during Walking While Talking to make the A button no longer softlock, giving unlimited tries and picking up and SRMing the rock. Also you can walk behind the kokiri shop which makes navigating during the blind section safe and easy.
- The camera "likes" to lock to cardinal angles, especially when Link is almost facing them, holds ess forward, and some other situations. This lets us drop the rock with angle C000 making a certain immobile rock's draw function pointer be 801F0000
- Thanks to the new heap manip, when we spawn the seed its rotation will itself be located at 801FC000. We get its horizontal angle to the right value by climbing the fence and pause buffering an exact number of max inputs to the right, and its vertical angle using an idea by Jolin012 where we can tell exactly what our Y input is by going into c-up mode and checking exactly where the camera settles. We use the N64 controller's neutral reset feature (L+R+Start on a real controller) to transfer such an exactly measured input into slingshot mode and rotate up by a certain number of frames, then max input down and rotate a bit more. All this gives Link an overall angle of 0CAE5DA3. At this point, we need to ready a seed and cancel it at the third frame, giving it an angle of 0804697D. Interpreted as code, this is a jump to filename (on version 1.0).
- Finally, the ACE itself had to be reworked to not require any non-RTA viable inputs (meaning no precise joysticks). Brainstorming together with Natalyahasdied we were just barely able to find a way to do this. The immobile rock next to the punching Kokiri has been SRM'd to jump to seed rotation. The seed rotation jumps to filename. The filename stores the value in the "$gp" register into the game's current cutscene, and then jumps to controller 1. Controller 1 loads the value FFF6 or FFF7 into $gp (both work) using the buttons Z + ddown + cup + cdown + R, and the joystick in position X = -1, Y = -9/-10. The Y position can be found easily enough using the visual cue of the screen rotating very slowly with the slingshot out. The X position has no cue, but if you get the value wrong, the game will simply continue without any issue and you can continue to adjust the stick (also -1 isn't exactly a hard value to begin with). Controller 3 is simply a jump to safety that uses only easy inputs, specifically ddup + cleft with the joystick at -128,-128 (which requires resetting neutral while the stick is in the top right, then moving it to the bottom left). All this code actually has to run twice before the credits warp will be triggered, but this happens anyway because draw functions run every time. So if our heap manip, drop angle, seed angle, and controllers were all right, we get a credits warp!
Already gave specific shoutouts to Jolin and Nat above, but also a more general credit goes to Tharo who's been involved all over the place in the development of this run to where it is today.
Sketch of the entire route: pastebin.com/eXHEyW5w (fairly rough instructions, but given that runners are already looking into doing runs with this method, I figure better to release it sooner rather than later.)
A more complete writeup about how this works and how to do it should come in time, but for now feel free to ask about anything.
(Update: MZX has written a pretty good explanation in the reddit discussion on this video, check it out: reddit.com/r/speedrun/comments/ep0edw/rta_viable_credits_warp_in_kokiri_forest/fehg486 )
(And now a much more elaborated explanation by GlitchesAndStuff. Well worth watching, check it out: youtube.com/watch?v=wdRJWDKb5Bo )
Several new innovations means that SRM ACE any% can now be done on humans on the N64 console. Speedruns can be done in under 14 minutes using this method, meaning over three minutes are saved by it.
- By adding a few more transitions back and forth between the deku and kokiri room, spawning different actors each time, we add a lot of degrees of freedom to manipulate the heap. This allows us to find a heap manip that not only allows us to SRM an actors's function draw pointer (which is harder on N64 compared to iQue), we can also influence the angle we have to drop our unloaded rock at to be C000, a cardinal angle which is fairly easy to get. Finding this manip required hacking together a heap simulator specific to Kokiri forest (which has many unusual actor allocation behaviours).
- Two obvious things I missed previously: you can pause during Walking While Talking to make the A button no longer softlock, giving unlimited tries and picking up and SRMing the rock. Also you can walk behind the kokiri shop which makes navigating during the blind section safe and easy.
- The camera "likes" to lock to cardinal angles, especially when Link is almost facing them, holds ess forward, and some other situations. This lets us drop the rock with angle C000 making a certain immobile rock's draw function pointer be 801F0000
- Thanks to the new heap manip, when we spawn the seed its rotation will itself be located at 801FC000. We get its horizontal angle to the right value by climbing the fence and pause buffering an exact number of max inputs to the right, and its vertical angle using an idea by Jolin012 where we can tell exactly what our Y input is by going into c-up mode and checking exactly where the camera settles. We use the N64 controller's neutral reset feature (L+R+Start on a real controller) to transfer such an exactly measured input into slingshot mode and rotate up by a certain number of frames, then max input down and rotate a bit more. All this gives Link an overall angle of 0CAE5DA3. At this point, we need to ready a seed and cancel it at the third frame, giving it an angle of 0804697D. Interpreted as code, this is a jump to filename (on version 1.0).
- Finally, the ACE itself had to be reworked to not require any non-RTA viable inputs (meaning no precise joysticks). Brainstorming together with Natalyahasdied we were just barely able to find a way to do this. The immobile rock next to the punching Kokiri has been SRM'd to jump to seed rotation. The seed rotation jumps to filename. The filename stores the value in the "$gp" register into the game's current cutscene, and then jumps to controller 1. Controller 1 loads the value FFF6 or FFF7 into $gp (both work) using the buttons Z + ddown + cup + cdown + R, and the joystick in position X = -1, Y = -9/-10. The Y position can be found easily enough using the visual cue of the screen rotating very slowly with the slingshot out. The X position has no cue, but if you get the value wrong, the game will simply continue without any issue and you can continue to adjust the stick (also -1 isn't exactly a hard value to begin with). Controller 3 is simply a jump to safety that uses only easy inputs, specifically ddup + cleft with the joystick at -128,-128 (which requires resetting neutral while the stick is in the top right, then moving it to the bottom left). All this code actually has to run twice before the credits warp will be triggered, but this happens anyway because draw functions run every time. So if our heap manip, drop angle, seed angle, and controllers were all right, we get a credits warp!
Already gave specific shoutouts to Jolin and Nat above, but also a more general credit goes to Tharo who's been involved all over the place in the development of this run to where it is today.
Sketch of the entire route: pastebin.com/eXHEyW5w (fairly rough instructions, but given that runners are already looking into doing runs with this method, I figure better to release it sooner rather than later.)
A more complete writeup about how this works and how to do it should come in time, but for now feel free to ask about anything.
(Update: MZX has written a pretty good explanation in the reddit discussion on this video, check it out: reddit.com/r/speedrun/comments/ep0edw/rta_viable_credits_warp_in_kokiri_forest/fehg486 )
(And now a much more elaborated explanation by GlitchesAndStuff. Well worth watching, check it out: youtube.com/watch?v=wdRJWDKb5Bo )
![Ocarina of Time - any% Slingshot Skip (TAS Only)
Since the discovery of the Kokiri credits warp, there have been two holy grails left for OoT any% speedruns: ocarina skip and slingshot skip. (Sword/shield/nuts cannot realistically ever be skipped.)
On Jan. 18, Jolin012 and r0bd0g found the first ocarina skip, but it was kinda slow, dependent on an RNG seed drop, and required calculating a new heap manip: https://www.youtube.com/watch?v=b45xe0GooZ4
On Jan. 30, before we had even worked out a new heap for the previous method, Blini found a new ocarina skip that suffered none of these issues: https://www.youtube.com/watch?v=hYXq5NgEWcI
So all that remained for any% to be solved is slingshot skip. The reason slingshot has been needed so far is this: Using SRM, we can make it so that the code intended to run a certain immobile rocks draw function instead jumps to elsewhere in memory. But via SRM alone, we can only jump to locations within the actor heap, not to truly manipulable locations such as filename. But slingshot seed rotation gave us one extremely manipulable 32 bit word on the heap, so we were able to use draw pointer SRM to jump to seed rotation, and from seed rotation to filename, and use filename to credits warp.
Eliminating slingshot from the run means either finding something else on the heap we can manipulate enough to form a jump to filename, or else coming up with a new ACE entrypoint other than draw pointer.
One candidate for this is short coordinates. Certain actors, such as deku nuts and spin magic, have their coordinates stored within them as short ints. In particular, their Y and Z coordinates form a single 32 bit word that we can use as an instruction for ACE purposes. Unfortunately were constrained by what Y and Z coordinates are actually achievable in Kokiri Forest, so we cant form a jump to filename instruction. One of the few meaningful instructions we can form is jr, meaning jump to the address currently located in some register. Taking a look at what addresses happen to be located in registers at this time (https://pastebin.com/PGc5f6aH), most of them dont seem to point to manipulable memory... with one notable exception. By some amazing freak coincidence, register $t3 JUST HAPPENS to be pointing exactly at controller 3 inputs in memory. Thats right, controller 3 is making a comeback with this strat. By inputting an exact input on controller 3 - including, most notably, a unit-exact joystick input - we can jump to filename and finally use the filename itself in order to trigger the credits warp, in the same manner as the previous strat.
So, the overall ACE flow goes like this:
Immobile rock draw function pointer (801F9004) - using SRM, we manip this to have a value of 801F8000, so that execution jumps there when we look at the rock.
Spin magic YZ position (801F8000) - climb the cliff and use the setup that I do to set its Y position to 0160-0x017F (decimal 352-383) and its Z position to XX[048C]8 (decimal 8+64*n). Anything satisfying these constraints will form the instruction jr $t3, which jumps us to the address already there for us in the register, which is 801C84E4.
Controller 3 (801C84E4) - Should have the inputs dup + cdown + (105,125) , which forms the instruction j 8011A5F4.
Filename (8011A5F4) - This filename uses the same code as in the previous strat: 3. dベNgべ which is 03EADFC8 A3B8CB53 which is jr $ra; sb $t8, 0xCB53($sp) which will set the next cutscene value to FFF8 on every other frame the kid rock draws, and then return.
Of these steps, only the need for an exact controller 3 joystick makes this whole strat a TAS one. But with this particular execution path, theres no way around that requirement. Ocarina of Time - any% Slingshot Skip (TAS Only)](https://i.ytimg.com/vi/mamKr3ITNaI/mqdefault.jpg)









