Treasure of the Ocean Cave

From Ukikipedia
Jump to navigation Jump to search
Treasure of the Ocean Cave
Star Info
Course Jolly Roger Bay
Height Above Ground 312
Course Records
TAS World Record 17.53[1]
RTA World Record 30.96(Real Time) 26.26(IGT)[2]
ABC Minimum 0.5[3]
ABZ Minimum 2.5 (2.5/0/0)
For a tutorial on speedrunning this star, see the RTA Guide
For a tutorial on RTABC for this star, see the RTABC Guide

Treasure of the Ocean Cave is the third star in Jolly Roger Bay. The star can be collected by swimming down to an underwater tunnel, which has a cave at the end. In the cave, the star can be activated by touching the chests in a specific order- top, left, right, bottom (when viewing the front of the chests).

TAS History

Treasure of the Ocean Cave History
Date Time Improvement (Frames) Improvement Author(s) Save Description/Notes
2009 Dec 12 28.90[4] bobmario511, sonicpacker
2010 Feb 10 25.83[5] 92 sonicpacker
2010 Apr 6 19.13[6] 201 sonicpacker
2010 Apr 27 18.97[7] 5 Mario2009SM64 (Run has been lost)
2010 Jun 27 18.67[8] 10 ぱすた
2012 May 1 18.43[9] 7 Mickey/VIS Part of the 2012 120 TAS
2013 Sep 23 37.16[10] SM64 Shindou Edition TAS Project Although not a global World Record, this is the Shindou World Record. It's notable for the lack of BLJs
2017 Oct 21 18.33[11] 3 Superdavo0001 Saved 2f by staying out of the water for an extra frame. Saved 1f by activating the final chest earlier.
2017 Oct 31 18.30[12] 1 Superdavo0001 Chose a better angle for the jump-dive from the 2nd to the 3rd chest
2020 May 16 17.77[13] 16 Eru Conserved speed from BLJ to open the chests faster
2020 May 18 17.63[14] 4 Superdavo0001 Entered water later and improved the movement at the chests
2022 Oct 11 17.53[15] 3 Crackhex, AlexPalix1 New BLJ setup

TAS Strategy

The TAS starts by collecting the metal cap, returning next to the BLJ spot. The combination of stop+punch-trick+long jump allows Mario to reduce his speed so that he can strain back far enough, which is faster than a quickturn long-jump combo. Speed is gained via BLJing in the low ceiling spot under the rock, starting with -15.99 speed. This area used is quite precise with the BLJ being done at an angle which keeps Mario stuck for as long as possible (to get more speed). Mario breaks out of the ceiling when he reaches -826 speed. From there, the BLJ becomes a slope-BLJ, and so pause-buffering allows for more speed gain, up to a final speed of -1855.

After the BLJ, Mario turns around (clockwise) to move towards the water. By making Mario face into the wall slightly, he can still move but doesn't move quite as far. This is just enough to allow Mario to stay out of the water for an additional frame, while only losing a small amount of distance. Since entering the water divides Mario's speed by 4 (with the metal cap), this means he has 1 more frame at full speed. This ultimately saves 2 frames (the theoretical max is just under 3 frames here). Mario then enters the water, losing 3/4 of his speed, but he can now turn around in the water. He turns towards the area above the hole that leads to the chest star.

When Mario reaches the edge of the water, he enters the ceiling hitbox above the top of the hole, causing him to downwarp into the cave. He then exits the water and turns as sharply as possible anticlockwise to enter the cave. Inside the cave, Mario clips through a wall, cutting a corner and saving time. He then clips under the raised platform with the chests. He eventually reaches the wall behind the chests, pushing on it for 1 frame which kills his speed. To start moving back towards the chests, Mario kicks against the wall, giving him negative speed.

During the kick Mario passes the first chest, activating it. He then turns to face the second chest and jumps. During the dust-frames he (barely) reaches the chest, activating it. He then turns towards the third chest and jumps before dive/recovering. He will have to turn back the other way to face the correct angle to activate the chest later, so the angle chosen must balance allowing Mario to turn for as few frames as possible while still allowing him to actually reach the chest (without losing too much speed through straining). Davo saved a frame here by using a better angle than the previous run.

Mario then turns left to reach the required angle to activate the chest, using the chest's hitbox to hold him in place, before turning right again to head for the next chest. Once he reaches the required angle to activate the chest, he dives into it, activating it immediately. Davo saved a frame here by diving earlier than the previous run and hitting the chest earlier. After that, Mario collects the star. The optimal way to do this is to GP above it at the right time so you reach the bottom of its hitbox when it becomes collectible.

ABC Strategy

Since at least 2007, Treasure of the Ocean Cave was thought to be only completable with a singular A press, used to grab the star.[16] However, in February of 2023, Tyler Kehne brought back an idea he once discarded due to issues with the joystick magnitude not allowing the strategy to work. He had an idea to get it to properly build suffecient speed, which was shortly after confirmed to be true, meaning that the star was completable in 0.5x A presses.

There were a few dead-end strategies for this star before this:

  • 0x Hyperspeed: Utilizing hyperspeed, it is theoretically possible to launch yourself onto the star, avoiding the need to jump. It was shown by pannenkoek2012 that 500 speed would be sufficient to reach the star.[17] This speed requirement was subsequently lowered to 280 by Superdavo0001,[18] and then to 262.[19] Although significantly more feasible than 500, these speeds are notably above the maximum speed currently achievable in the course, which is around 160. A new hyperspeed method/application would be needed to make this work, otherwise, the speed needed would need to be greatly reduced again.
  • Water Shell Cloning: Typically to clone with a water shell an instant loading zone is required, such as in Dire, Dire Docks. It was shown by bad_boot that a loading zone would not be needed if there was a way to activate timestop while keeping control of Mario in the course with a water shell.[20] Cloning would allow Mario to clone either goombas or the star directly. If a timestop glitch existed in JRB this would solve the star, however, there is currently no known way to do this.
  • Spawning Displacement/Speed Conservation into the Demo: Using spawning displacement/speed conservation, it is possible to desync Mario during the demo sequences.[21] One of these sequences exist in JRB, opening the possibility. However, no way to activate the star, even with an ideal placement, has been found. Even if it would be, it seems feasibly unlikely to be possible within the constraints of the ABC.


  1. "[TAS] SM64 - Treasure of the Ocean Cave (17"53)" by Crackhex
  2. "jrb chests 30.96" by Xoofey (Real Time)
    Treasure Of The Ocean Cave 26.26 (IGT)
  3. "SM64 - Treasure of the Ocean Cave - 0.5x A Presses" by pannenkoek2012
  4. "Super Mario 64 - Treasure of the Ocean Cave (with bobmario511) - 28"90 (TAS)" by sonicpacker
  5. "Super Mario 64 - Treasure of the Ocean Cave - New (Epic) Route (TAS)" by sonicpacker
  6. "Super Mario 64 - Treasure of the Ocean Cave - 19"13 (TAS)" by sonicpacker
  7. Super Mario 64 Record Keeping Wiki
  8. "スーパーマリオ64 個別スターTAS比較 パート8 かいぞくのいりえ" by ぱすた
  9. "[TAS] N64 Super Mario 64 "120 Stars" in 1:20:41" by sonicpacker
  10. "120 Stars 1:30:04 No-BLJ TAS" by Super Mario 64 Shindou Edition TAS Project
  11. "[TAS] SM64: Treasure Of The Ocean Cave 18"33 [Outdated]" by Superdavo0001
  12. "[TAS] SM64: Treasure Of The Ocean Cave 18"30" by Superdavo0001
  13. "Super Mario 64 (TAS) - Treasure Of The Ocean Cave - 17"76" by AruaErueru
  14. "[TAS] Super Mario 64: Treasure Of The Ocean Cave in 17"63" by Superdavo0001
  15. "[TAS] SM64 - Treasure of the Ocean Cave (17"53)" by Crackhex
  16. "Super Mario 64 records - A Button Challenge" by Thiago Trujillo
  17. "JRB Speed Conservation to Chest Star" by pannenkoek2012
  18. "JRB Chest Star 0x With 280 Speed (Theory)" by Superdavo0001
  19. "SM64: JRB Chests 0x with 262 Speed (Hacked)" by Nim
  20. "Grabbing Water Shell Fake w/ Timestop (Hacked)" by bad_boot
  21. "Collecting a Star during the Demo Idea" by pannekoek2012