Why Is “Snowman’s Lost His Head” So Hard?

Super Mario 64 has 120 Stars to collect, 90 of them from individual named missions in the game’s 15 courses. Many players find that a fairly early one, Snowman’s Lost His Head in Course 4, Cool Cool Mountain, is among the most vexing. When I played it, I found it a illustrative example of what happens when the game gives you imprecise directions, and just asks you to try. I did try, time after time, until it just seemed to work, for some reason I couldn’t figure figure out, and by that point I was just happy to be done with it.

Cool Cool Mountain is a big area with sloped paths leading from the top leading to the bottom. For this Star, some ways up there’s a snowball that talks to you, asking if you could lead it to its body, a larger snowball, some ways down. As it rolls it grows in size. Ideally you stay ahead of it the whole way, and managed to get it to crash into its body. If this happens, it spawns a Star; if it doesn’t, then it doesn’t appear, leaving you to exit the course from the pause button or collect a different star before trying again.

Image from Mario Party Legacy

The problem is, you can do exactly what I explained and the snowhead still won’t collide with the snowbody. Sometimes the head seems to aim at your position near the end of its route, but sometimes it doesn’t, and even when it does, you have to be standing in a narrow region in order for it to produce the necessary impact.

As it turns out there’s three requirements. Kaze Emanuar broke them down in a two-minute Youtube video last year. It’s pretty short as far as these videos go!

The requirements are:

  • You must enter a single invisible sphere partway down, on the bridge along the route, before the snowball does on its trip. If you don’t, the snowball will continue, but it won’t even try to hit the body. You’ve already failed it.
  • At a specific spot towards the end of its route, it’ll check if you’re within a cone in front of its movement. If you aren’t, then it’ll just continue on and out off the course as if you hadn’t hit he sphere.
  • If you are within that cone, it will then direct its movement towards your location. If you aren’t standing so it’ll collide with the body, it can still miss it and you’ll fail the star.

The thing is, to a player, it looks like you’re only really needed at the end of the route. Why do you have to hit the sphere first? Even if you manage to stay ahead off the snowball the whole way, if you don’t touch the completely invisible sphere, the whole thing will break. And since it’s on a bridge, it looks like it should be fine to take a shortcut off onto the lower path.

Further, you have to be both within the cone and in a place where the snowball will collide with the body. There are many places you can stand that would direct the snowball to hit the body, but aren’t in the cone! The cone is also invisible, and the range off places you can stand to complete it is quite narrow.

Watch the video for the full details, it’s really short! Kaze does a good job of explaining it.

Banjo-Kazooie Decompiled

Kaze Emanuar on Youtube passes along the info that Rare’s terrific N64 platformer, Banjo-Kazooie, has been decompiled (7 minutes):

What does that mean? It’s that they’ve created source code (up on GitLab) that, when put through the same C compiler that originally generated Banjo-Kazooie’s object code, produces an exact binary image of the game. They can now rebuild Banjo-Kazooie. They don’t know the original variable names or any comments that were in the code, so it doesn’t mean that the code is perfectly understandable, but it is a major breakthrough in using the game engine for other things, including game improvements, mods, repurposings, and even compiling it for other platforms.

One result of this is that we now have a complete list of the codes that can be entered into the infamous Sandcastle Room, which are obfuscated in the original binary. The Sandcastle Room is a board of letters on the ground in the second level that can be used to spell things out, and if the proper text is entered it can unlock things in the game, or even enable the items in the abandoned “STOP N SWOP” feature that had been planned to allow players to transfer data between cartridges. If you decide to take a look yourself, the codes are listed out in the file named code_3E30.c.

Kaze Emanuar’s Adventures in Mario 64 Optimization: Calculating Sine

I’ve mentioned Kaze Emanuar’s efforts to make the best Mario 64 there can possibly be on its native hardware. He’s compiled it with optimization flags turned on, made its platforming engine much more efficient, and worked hard to minimize cache misses, which was a major source of slowdowns in the game’s code. Under his efforts, he’s gotten the engine running at 60fps (although not yet in a playable version of the original). While these optimizations are not the kind of thing that can keep being found indefinitely, he’s bound to run out of ways to tune up the code, currently he’s still finding new ways to speed it up.

I hope you’re ready for some F-U-N (approximation FUNctions)

He made a Youtube video detailing his most recent optimization find: getting the game’s trigonometric functions executing at their speediest. What is interesting is that the Mario 64 code already uses a couple of tricks to get sine and cosine results in a rapid manner: the game only uses 4096 discrete angles of movement direction, and contains a lookup table that covers each of those angles. But it turns out that this optimization is actually a mis-optimization, because the RAM bus hits incurred to read the values into the cache are actually more expensive than just figuring out the values in code on the N64’s hardware!

The video starts out decently comprehensible, but eventually descends into the process of figuring out sine and cosine on the fly, and the virtues of the various ways this can be done, so you can’t be faulted for bailing before the end, possibly at the moment the dreaded words “Taylor series” are mentioned. But it’s a fairly interesting watch until then!

Romhack Thursday: All Mario 64 Levels Combined Into One Huge Map

On Romhack Thursdays, we bring you interesting finds from the world of game modifications.

Another of Mario 64 internals expert Maze Emanuar’s amazing hacks, this puts the geometry of all of the levels of Mario 64 into into huge world! It does offer gameplay in that you can collect some stars that are scattered around the huge area, but few of the original objectives remain. For more information and the download link to the hack, check the description of the video.

Super Mario “All Levels In One” Hack (Youtube, 13 minutes, download link to hack in video description)

News 2/2/2022: Konami, Link to the Past, Listicles

“We scour the Earth web for indie, retro, and niche gaming news so you don’t have to, drebnar!” – your faithful reporter

My cell walls are feeling kind of rigid at the moment due to a computer issue that caused me to lose the first draft of this post. All of my witty remarks, lost to the electronic void. You missed out on my entertaining usage of the phrase “odoriferous blorpy.” Truly we are in the worst timeline. It’s all left me feeling kind of cranky, let’s get through it quickly this week.

Ted Litchfield at PC Gamer on a RuneScape player playing a minigame for eight years and turn turning in all his progress at once. RuneScape is an early MMORPG that began in 2001.

Several things to do with Konami, a once-great publisher that’s become pretty hidebound lately:

Dustin Bailey at GamesRadar: fans are working on a PC remake of Castlevania II: Simon’s Quest. I’m sure this won’t get obliterated by legal threats. They should have gone with the cheeky route taken by The Transylvania Adventure of Simon Quest. The article mentions that its creators consider the fact that many townsfolk lie to you to be a problem, instead of awesome as it really is.

Charles Harte at Gamespot organ Game Informer says Dead Cells’ upcoming Castlevania-themed DLC is really big.

Also from Charles Harte, Konami is shutting down their recently-released game CRIMESIGHT, not just removing it from the Steam store but even making it unplayable. Great way to reward people giving you money, K. It’s not even a year old yet!:

Tyler Wilde, also from PC Gamer, on a $2,000 game on Steam and what it’s about. Summarized: it costs $2,000 but is short enough that people can finish it within the return period, and it amounts to a screed against women. Blech!

Dean Howell at Neowin: a fan-made decompilation of The Legend of Zelda: A Link to the Past can now be compiled for Windows and (presumably if your device is jailbroken) Switch.

Christ Moyse at Destructoid tells us that Taito’s classic The New Zealand Story is coming to the Arcade Archives series. Gandalf could not be reached at press time for comment.

Two listicles:

Zoey Handley at Destructoid on the 10 best NES soundtracks. The list is Bucky O’Hare, Kirby’s Adventure, Castlevania 3 (Japanese version), Contra, Dr. Mario, Super Mario Bros. 2, Mega Man 2, Castlevania II, Journey to Silius, and… Silver Surfer?

Gavin Lane and the NintendoLife staff on the 50 best SNES games. The list is compiled algorithmically from reader scores, and can change even after publication. At this time, the top ten are, starting from $10: Donkey Kong Country 2, Earthbound, Teenage Mutant Ninja Turtles IV, Super Mario RPG, Yoshi’s Island, Final Fantasy III, Super Metroid, Chrono Trigger, Zelda: A Link to the Past and Super Mario World on top.

Tom Phillips at EuroGamer mentions that the original developers of Goldeneye 007, recently rereleased after 25 years on Switch and Xbox platforms, were a bit miffed that they weren’t asked to participate in the festivities. At the time most of its developers were completely new to the game industry, and they’ve been generally snubbed by its publishers in talking about the new versions. Does feel pretty shabby, Nintendo and Microsoft!

Andrew Liezewski at Gizmodo talks about the graphics in an upcoming Mario 64 hack made by Kaze Emanuar. I’ve followed Kaze’s hacking videos quite a bit (I think one’s been posted on Set Side B before), and the optimizations they’ve made to Mario 64’s engine are amazing, not only eliminating lag but great increasing its frame rate and making it look better to boot.

And, at Kotaku, Isaiah Colbert reports on various things being done to celebrate Final Fantasy VII’s 26th birthday, including official recognition in Japan of “Final Fantasy VII day” and a crossover with Power Wash Simulator. Maybe they can do something about cleaning out all the grunge from Midgar, that city could use a bath.

Romhack Thursday: Super Mario 64 Reduced Lag

It’s not so much a hack as a recompilation, but it’s distributed in patch form so I’m accepting it. A person identified as “Nintendo 64 Wizard” took the source code created by decompiling Super Mario 64, and, simply, did something that Nintendo didn’t do: compile the game with -O2 optimization turned on. The result is a much more consistent frame rate.

From the romhacking.net article, a scene from the star with Bowser’s Sub in it, which is notorious for causing the game to lag.

If optimizing Super Mario 64 is an appealing concept to you, you might be interested in some of the videos made by Youtuber Kaze Emanuar, that goes into why the game has lag, and his own efforts into improving it.

Super Mario 64 Reduced Lag hack (romhacking.net)