Dire, Dire Docks
Dire, Dire Docks is the ninth course in Super Mario 64 and its remake, Super Mario 64 DS. Like Jolly Roger Bay, this course takes place in and about a large, deep body of water. The entrance to the course is above a large pool of water connected to a submarine dock by an underwater passageway. A variety of marine life, including Sushis and a Manta Ray, live in the first pool. This course is located in the lower areas of the castle; it is accessible by having thirty stars to open a star door. The course is notable as the only course which changes based on the completion of another: Bowser's Sub sits in the docking area of this world until Mario defeats him a in Bowser in the Fire Sea, after which Bowser's submarine disappears, the gate blocking the passageway to the pond outside Princess Peach's Castle opens, and moving poles appear in the framework of the docks. In the DS version, there are also Bill Blasters which also disappear after completing Bowser in the Fire Sea. The level contains 106 Yellow Coins, and it has a Blue Coin Block. Barring secret courses, it's the smallest level in the game.
While Mario is swimming underwater, there is additional calm music; when on land, there is a beat to it.
The level titles and numbers correspond to Super Mario 64 unless otherwise noted. Also, this level has a "Through the Jet Stream" level, likewise in Jolly Roger Bay.
 Star 1: Board Bowser's Sub
This level is the same in both Super Mario 64 and its remake, Super Mario 64 DS.
As mentioned previously, Mario must collect this Power Star before he can fight Bowser the second time. Due to the presence of Bowser's sub and other changes throughout the dock area, this is the only Power Star currently accessible to Mario. The hero must dive down into the first pool, swim through the underwater tunnel, find a ! Switch on the dock, and use the blocks that appear for a short time to jump on top of the sub. The Power Star was located at the front of the sub.
Obtaining this Power Star gives Mario access to Bowser in the Fire Sea as the entire painting face is pushed back revealing the opening in the floor. On a side note, Bowser's Sub will disappear after getting the key from Bowser in the Fire Sea, replacing it with the moving poles that are necessary to get a different star. Therefore, re-doing this star after this point is extremely difficult, though it is a lot easier in the DS version because Mario can use the Power Flower.
 Star 2: Chests In The Current
Returning for the second star, Mario should dive down into the pool. Around the whirlpool, treasure chests are located. Mario will need to open all 4 chests in a specific order to reveal the power star while resisting the pull of the swirling vortex. The star will appear near the whirlpool.
This level is the same in Super Mario 64 DS, but there are 3 chests instead of 4.
 Star 3: Pole-Jumping For Red Coins
This level is the same in both Super Mario 64 and its remake. Red coins are scattered throughout the submarine dock. Nearly all are near the ceiling and Mario will need to utilize the moving poles. After collecting the 8 coins, a Power Star will appear above the star marker. The poles necessary to reach the red coins and star in the usual way will not appear unless Mario has completed Bowser in the Fire Sea which will make Bowser's Sub disappear. Alternatively, Mario can jump from the submarine itself and get the red coins and star that way.
 Star 4: Through The Jet Stream
The next star is located on the floor literally underneath where the submarine was. Mario will need to pass through five coin rings that are being emitted from the jet stream. The Star will appear afterward and be right atop the stream generator. Since the current is too powerful to swim against, Mario will need to become metal and sink to the bottom.
In Super Mario 64 DS, the mission is the same as in the original, however Wario must be used to collect the Star, as he is the only playable character who can turn to Metal Wario in this game.
 Star 5: The Manta Ray's Reward
For this Star, Mario must find the Manta Ray in the first part of the course. Mario must swim through five of the Coin Rings that the Manta Ray leaves behind it. When Mario has done this, the star will appear just above the whirlpool. Unless Mario has completed Bowser in the Fire Sea, Manta ray won't appear. This mission is the same in Super Mario 64 DS, although it is moved to Star 7, with Koopa Surfin' Switch Star as Star 5.
 Star 5 (DS): Koopa Surfin' Switch Star
In this Super Mario 64 DS-exclusive mission, Wario must be used to collect the Star. He must swim over to and hit the yellow block, avoiding the shell. Breaking the three black blocks reveals a switch, which can be reached using the shell. Flipping the switch reveals the Power Star, which Wario must retrieve before the time runs out. It is impossible to reach the Star without the shell.
 Star 6: Collect the Caps…
To get this Star, Mario must collect the Vanish Cap and the Metal Cap, (hence the name, Collect the Caps) in the area where Bowser's Sub was, and drop down to the sea floor, into a cage at the side where the Power Star awaits. It is also possible for Mario to simply collect the Vanish Cap and swim down to the cage, though doing this is not what Nintendo had intended upon creating this mission.
In Super Mario 64 DS, the name of the mission is Inside the Cage and the player has to use Luigi in order to retrieve the Star, as he's the only one who can turn invisible in the remake.
 Names in other languages