Romhack Thursday: Super Mario Bros. Mini

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

It’s been difficult to keep up a consistent stream of romhacks for Thursdays, due partly to the demise of romhacking.net. Although… it doesn’t look very shut down to me? In fact, it’s been switched to news only, so while it’s no longer a (somewhat) comprehensive database of hacks, through the efforts of a dedicated staff, it still passes along information about particularly prominent hacks.

Today’s subject, however, is not one of them. It’s not a hack at all, actually, it’s homebrew! It’s a homebrew remake of Super Mario Bros. for the Gameboy Color, created by Mico27.

But hold on a moment, didn’t Nintendo already make one of those? Yep, it was Super Mario Bros. DX, and it made excellent use of the hardware. But the GBC had a smaller screen, and so the levels were slightly modified to account for the change in scale. This new hack, Super Mario Bros. Mini, keeps the designs of the original eight worlds, choosing instead to redraw all the characters at a small resolution. There are other changes, too. The engine is completely different, recreased using GB Studio, with just enough of the physics changed to completely screw with your muscle memory. If you’ve mastered the original SMB, this fan remake will prove unexpectedly deadly. There are other rule changes, like awarding extra lives from defeating many enemies with a Starman and reaching the top of the flagpole, that award enough extra lives to make up for it.

While the eight original worlds are here, the main attraction is another full set of eight worlds you can access after finishing the originals. They include many new features, such as new bosses, vertically scrolling areas, and other surprised that I won’t spoil… although you can see them as the later half of this complete, 1:27 playthrough of the whole game.

Super Mario Bros. celebrates its 40th birthday next year! The players who grew up with it are aging steadily. It remains to be seen if its legacy will extend onward among new generations of players. It’s impossible to say for certain, but I think it has a good shot at it. Hold on Peach, there’s still millions of players coming to rescue you!

Here’s some more screenshots from the first worlds of Super Mario Bros. Mini, showing off some of the redrawn graphics.

Super Mario Bros. Mini (by Mico27, itch.io, Gameboy Color ROM, $0)

Score Keeping on the NES

Sometimes I feel like I should put a content warning here when the technical level of a post is higher than usual. This one would probably be a five out of five for geekery. It’s a video from NESHacker on counting score on the Nintendo Entertainment System. But I don’t want to discourage you from watching it! It’s nine minutes long, and it contains a definition of the term double dabble.

Human-readable numbers are tracked by computers in a number of different ways. Nowadays we basically just do a printf or some version of it, but on a 1 megahertz platform, optimization really matters. It’s easy to think of computers as being impossibly fast, but in truth speed only ever counts relative to the efficiency of the algorithm you use. Computers are fast, but they aren’t all that fast.

One of the big tradeoffs in processor design is, fewer complex instructions that do a lot but take a lot of cycles, and processor complexity, to execute, or many simple instructions, each doing little and being relatively simple, and not needing a complex processor design to implement.

The 6502 microprocessor generally follows the latter design philosophy. It made some important tradeoffs to keep costs down. For example, it doesn’t have hardware that can multiply arbitrary numbers together. It relies on the programmer, or else a library author, to use the instructions given to code their own multiplication algorithm, if they need one. The result is going to be slower, probably, that if the chip had the circuits to do this automatically in silicon, but it reduced the cost of the chip, basically allowing more to be made, or else increasing the profits for the manufacturer.

Personally I’m a fan of just storing the score as a series of digits that match up to their positions in the character set. Gain 1,000 points? Just bump the 1000s-place up by one, and if it goes past 9, subtract 10 and bump the 10,000s place. That’s a tried-and-true system that many games use, and works well if all you ever have to do is add numbers. Comparing values, like for detecting extra life award levels, make things slightly more complex, but not by much. There’s sometimes other factors involved though, and that may explain why Super Mario Bros. uses different systems for its counters, as explained by NESHacker.

More NES Glitches Tested in Nintendo World Championships

We already linked to what turns out to be Part 1, back on Monday. This is Looygi Bros’ part two, nine minutes long:

Here’s our post on Part 1, and here’s a link to its video.

Looygi Bros. tends to make a series of videos on topics, so there will probably be a Part 3, and more. Instead of linking them all individually, I may wait for a bit and collect them all into one post, or maybe even add them to this post retroactively.

Here are the glitches in Part 2 listed out and explicated:

  1. Super Mario Bros, jump over the flagpole in World 1-1: Requires time-consuming setup, and useless for saving time, as the result is Mario can’t finish the level, but it does work.
  2. More invisible ladders in Donkey Kong’s Ramps level: There are more invisible ladders than the one demonstrated in Part 1, and these aren’t caught by traps! The current World Record recorded by the servers uses it, in fact, making it an essential strategy for anyone trying to beat it.
  3. Kirby Credits Warp: One of the levels in the game has a massive trick, where Kirby can get inside a wall, and if they have the Stone ability (possible to get with Mix), can crash the game, and if the Start button is pressed on the same frame as Stone activating, the NES cart jumps straight to the credits! The crash however takes the NWC software back to the selection menu, and the Start button is disabled, so this one’s impossible to do.
  4. Legend of Zelda moving through blocks: A frequently-used trick in speedruns, it’s not caught by the NWC software but there’s no place where it’s useful for saving time.
  5. Super Mario Bros. 4-2 Wrong Warp: This is an alternate way to get to the 8-7-6 Warp Zone without having to reveal the hidden blocks, then hit and climb the vine, by going down the coin pipe shortly after without scrolling the screen far enough to change the secret area destination. Seems to be impossible to make work in NWC, as the game rewinds when the vine block is scrolled off-screen.
  6. Super Mario Bros. 8-4 Wrong Warp: Done under similar conditions to the 4-2 wrong warp, this one is caught by the emulator and rewinds the trial.
  7. Surviving Timeout in Metroid’s Escape Sequence: If Samus uses the final elevator with the right timing at the end of the escape, the explosion happens, but she survives to complete her mission anyway. It’s possible in NWC, but results in the longest-possible time to complete the trial, so it’s only useful to show off.
  8. Super Mario Bros. 8-2 Bullet Bill Flagpole Animation Skip: If Mario bounces off of a low-flying Bullet Bill right at the end of 8-2, it’s possible to trigger the flagpole, but leave Mario before the block on which the pole rests. This results in him walking into it endlessly, but it triggers the level completion sequence, and means he doesn’t have to raise the flag or walk to the castle. It’s really only a slight time save, but it does work in the NWC version of the game.

Looygi Bros. Tests Glitches in Nintendo World Championships

Looygi Bros. obsessively plays various games and finds quirks, glitches and interesting facts about them. Their newest video tries out a bunch of known glitches in NES games and sees if they work in the new Nintendo World Championships speedrunning game. The result: in many, but not all, cases, Nintendo has put in code traps to make sure the games are operating as intended, and if they are set off, like if Mario goes through a wall or Link wraps around the screen, the emulator software declares Strategy Unavailable and resets the run. They tested 11 glitches in a ten-minute video, embedded here:

To summarize them:

  1. Minus World: the trap occurs when Mario tries to slide through the wall at the end of World 1-2.
  2. In Donkey Kong, it’s possible to climb down the first ladder, wrap around the screen, and end up on the girder right below the goal. They caught this one.
  3. Super Mario Bros. 2 (USA) Fast Carpet: with two carpets spawned, you can travel extra fast. This one didn’t get caught, but the set-up time to use it makes its use in the challenge prohibitive.
  4. Wrapping the screen in The Legend of Zelda. This is one of my least favorite glitches honestly. Nintendo caught it, you can’t glitch around the screen horizontally nor get Link into the top-of-screen status area. (I also dislike the term “HUD” for these areas. Dammit Jim, it’s a video game not a jet fighter.)
  5. The “door jump” glitch in Metroid. This lets you use a door to get Samus inside the blocks that make up the edges of the screen, from there you can, depending on the situation, either wrap around the screen vertically or explore “secret worlds” created by interpreting random cartridge data as terrain. This one’s trapped.
  6. Super Mario 2 double jump. I didn’t know about this one! In some circumstances when you’re near an enemy, characters can jump in mid air. This one is both not trapped, and actually useful in the challenge!
  7. Super Mario 3 Fortress skip. In similar circumstances to passing through the wall in Super Mario Bros. to get to the Minus World, you can pass through a wall midway through the fortress to skip an area and go straight to the boss. This one’s trapped, probably checking for the same kind of situation as the Minus World trick.
  8. Super Mario Bros. wall jump. Not trapped, and conceivably useful in the World 8-4 completion challenge to get into the elevated pipe.
  9. Kid Icarus fortress 1 shortcut. There’s a way to glitch through a wall early in the route through the fortress that takes you almost to the end. This one is trapped, but it’s triggered, not when you get through the wall, but when you go through the room’s exit. It probably makes sure you go through all the essential rooms in order.
  10. Super Mario Bros. 2 cave skip. It’s a way to glitch through a wall so you don’t have to wait for a bomb to explode. It’s tricky but possible, you end up taking damage to get through it though.
  11. Super Mario Bros. 2 item attachment. A complex trick that lets you get items into areas where they aren’t intended to go. Technically this is untrapped and usable. In conjunction with the cave skip trick, it’s possible to kill Birdo with a Shy Guy, potentially with one throw instead of having to wait for three eggs to throw back at her. Looygi Bros was unable to get the whole trick to work in the World Championships software, but offers the possibility of it working to whoever can chain together all the necessary techniques.

I find it interesting that the tricks were disabled through traps instead of fixing their games, they seem to have enough technical know-how to know how the glitches work to check for them in the emulation layer, but maybe fixing them was deemed against the spirit of the game, or they didn’t want to risk changing the game’s essential behavior?

The Marquee and Instruction Card For Vs. Super Mario Bros.

Vs. Super Mario Bros. was the arcade version of Super Mario Bros., which made it to US arcades a few months after the NES release. It’s a much harder game than the home version, with levels brought in from the Japanese Super Mario Bros. 2, and operator adjustments that can make it even more difficult.

A little remarked-upon aspect of the game is that it came about before the drawn character design of Mario and his enemies had been solidified, at least in the US, so the official arcade release of SMB had a weird marquee, with an image design that was never drawn upon by later releases:

Image scavenged from gameongrafix.com

It’s somewhat reminiscent of the flyer they distributed to promote the game when it was going to be titled Mario’s Adventure:

And even more interesting, it had this title card. Behold, an official Mario looking meaner than he ever had before or has since!

Can’t sleep. Mario will kill me.

Sundry Sunday: Medieval Cover of Super Mario Bros.

Sundry Sunday is our weekly feature of fun gaming culture finds and videos, from across the years and even decades.

It’s a cover of the theme to Super Mario Bros. played in a medieval style (1 1/2 minutes). That’s all for today. This video has lurked in my files for months, I figured I’d go ahead and get it posted. Remixes of the SMB music are one of the oldest genres of internet meme music there is, so here it is in a really old mode. The channel it’s from does medieval covers of a variety of music, so if that sounds entertaining, please ambulate towards that vestibule.

Romhack Thursday: Speculative Super Mario Bros. Prototype Recreation

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

Some months ago there were the “Gigaleaks,” huge troves of internal Nintendo files and documents that revealed a lot about abandoned projects and the development history of popular games.

There was so much information in them that people are still discovering new details. One thing that was surprisingly overlooked was source code for the version of Super Mario Bros. included in the SNES remake within Super Mario All-Stars. The source contained quite a lot of interesting commented-out lines and other data, that seemed to indicate that it may have been a hacked-up version of the source to the original Super Mario Bros.

A lot (but not all!) of this has been covered on the Prerelease page for Super Mario Bros. on The Cutting Room Floor. You can go read about it there. There resides information on scrapped enemies and objects, weird modes and behaviors of existing objects, and lots of other curiosities.

For the 38th anniversary of the release of Super Mario Bros., Nimaginendo Games made a romhack that seeks to recreate many of these abandoned elements, and shows it off in a Youtube video. The hack can be downloaded from a link in the video’s description, but only for a little while! I should emphasize that it’s not a real prototype, but a speculative recreation based on information from the leaked source. It even has an older version of SMB’s title screen.

Extra! Did you know that an early working English title for Super Mario Bros. was Mario’s Adventure? And Nintendo of America even made a promotional flyer with that name! These images come from Flyer Fever:

Super Mario Bros. Beta/Prototype recreated in 2023 (Youtube, 8 minutes, link to rom in the video’s description)

Romhack Thursday: Super Mario Bros. Tweaked

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

The 2D Super Mario Bros. games illustrate pretty well how game design tastes were changing through the NES era. Super Mario Bros. and Japanese Super Mario Bros. 2 still follow an arcade-like paradigm, where players are expected to lose many games before they finally rescue the princess. (Obviously, Vs. Super Mario Bros, being a coin-op game and which was released between those two, adheres to an arcade play ethic out of necessity.)

But Super Mario Bros. 2 is more of an adventure, where a skilled player might finish it on their first try, and an experienced Mario master can amass so many extra lives in Super Mario Bros. 3, as soon as World 1-2, as to make finishing it on the first attempt quite possible. Then when we move into Super Mario World we have outright game saving, and the fear of the Game Over screen recedes almost completely. That is the structure that all the later Mario games have followed, where losing progress is fairly unlikely.

I am not here to claim that this is a bad thing, and of course, even Super Mario Bros. offers to let the player continue on the world they lost on with the use of a code. But the code is still a secret, and while it isn’t a bad thing, it is a different thing. Super Mario Bros. with the copious extra lives and rule changes of later games, would be much a different experience to play through, even if all the levels are unchanged.

The romhack Super Mario Bros. Tweaked, created by Ribiveer, makes those changes. The worlds are exactly the same, but many subtle aspects of SMB have been brought into line with its sequels. Here is a list:

• Starmen count the number of enemies you defeat while invincible, increasing scoring, and if you get enough you start earning extra lives. This change alone will earn you tons of extra lives.

• Extra lives over 10 are displayed correctly on the level start screen, and are limited to 99. Mario’s state on the start screen is properly updated based on his powerup state.

• If you hold the jump button down while stomping on an enemy, you get extra height. This happens in Japanese Super Mario Bros. 2 as well, of course.

• Consecutive stomps and enemies defeated by shells and Starmen increase the pitch of the enemy defeat noise as points increase, as they do in Super Mario World and later 2D Mario games.

• Taking a hit while Fiery Mario reduces you to Super status. Also, if you make a Fire Flower appear, then take a hit before collecting it and get reduced to Small Mario, collecting the Flower still advances you to Fiery state.

• Reaching the top of a flagpole awards you not points but an extra life.

• Invisible extra life blocks aren’t disabled if you failed to collect enough coins in the previous world’s third level, as explained in our previous post.

• Collecting a powerup in midair no longer ends your jump.

• The conditional scroll stop at the end of 1-2 and 4-2, which is broken in the unmodified game, work now, making it much harder to reach the famous Minus World. It’s still possible to reach it; the patch author promises a surprise if you do.

Some of these changes mean that players get a lot more extra lives, greatly decreasing the game’s difficulty. Consider that now, 38 years after the game’s release, far fewer play Super Mario Bros. than they used to. Someone might dust off their old NES some time, or play it on Virtual Console or through Nintendo Online on Switch, or emulate it by some other means.

But most people now who play SMB are probably people who are at least very good at it: streamers and speedrunners. People who don’t need the game to be made any easier. A patch like this might open Super Mario Bros. up to people who always thought it was too difficult, though.

It does feel a touch fairer, without that expectation that players will lose over and over. If you always found the first Super Mario game too challenging, give this hack a try. The challenges are pretty much the same, but you’ll have quite a few more chances to learn to overcome them.

You can now binge on extra lives as easily as you can in later games
You don’t have to trigger the game’s secret condition to make extra life blocks appear
Oh almost forgot, some of the Cheep Cheeps are green now

Super Mario Bros. Tweaked, by Ribiveer (romhacking.net)

Super Mario Bros Level Glitches

The Youtube channel Retro Game Mechanics has done a series of three videos on glitches in Super Mario Bros. One involves using the NES game Tennis, which has a certain property of its code that allows you to load all kinds of funky levels in SMB.

They’re all interesting, but the one that floats my particular boat is the third, which turns into a deep dive in the compressed manner that Super Mario Bros. stores its levels in ROM, and uses to draw them during play in real time.

1. Access Glitch Worlds in Super Mario Bros. via NES Tennis (13 minutes)

2. Exploring Glitch Level Pointers In Super Mario Bros. (15 minutes)

3. Super Mario Bros. Glitch Levels Explained (30 minutes — this is the one embedded above)

Princess Peach Through The Years

Wonderful blog Thrilling Tales of Video Games did a retrospective last month that went through all the various versions of Princess Peach there’s been. Interestingly, while Peach’s look largely solidified in the promo art for Japanese Super Mario Bros. 2 (the insanely hard one, a.k.a. “The Lost Levels”), before that there were all kinds of takes on the character, ranging from Miyamoto’s own drawing (used in the box art of Super Mario Bros. in Japan) to a variety of versions all trying to adapt her single sprite image from the ending of SMB.

Peach in this illustration was drawn by Shigeru Miamoto himself. (Image from blog)
And this is the first version of modern Peach. (Image from blog)

The post features a whole bushel of Peaches, many barely seen outside of Japan. Recommended highly!

Thrilling Tales of Video Games: A Parade of Princess Peach Prototypes

The Secret of SMB’s Hidden 1UP Blocks

Super Mario Bros. has 10 “1UP” blocks throughout its eight worlds. One of them is in World 1-2, and another is in world 8-2. These are visible (although they appear to be ordinary bricks when hit), and always produce a 1UP Mushroom when hit.

But also, there are a total of eight other 1UP Mushroom blocks in the game. These are hidden, invisible and intangible unless struck from beneath. That causes them to appear and produce a 1UP Mushroom… sometimes.

The 1UP blocks are always in the first level of each world (1-1, 2-1, 3-1, and so on.). They also always appear if you start on that level (say, using the level selection feature unlocked after finishing 8-4) or if the player has just warped to that level. But in other situations, the block usually doesn’t appear.

Image from Stephen Lindholm’s website. Text is from Nintendo’s “How to Win at Super Mario Bros.”

What causes them to appear? Even Nintendo’s guide authors at the time didn’t know. Depending on the source, it either had to do with whether Mario was big when he hit it, or whether he found all the coins in the previous world.

Stephen Lindholm’s website has the details on the true criteria, and you should read it there, but to summarize:

  • There is a flag in the game that is set when a game is begun, when the player warps, or if the player has collected a certain number of coins in the third level of the previous world. 1-3, 2-3, 3-3, etc. That is the deciding factor.
  • How many coins is needed? In World 1-3, it’s all but two. In all the other X-3 levels, you must collect every coin! The game has a short table in its code for the minimum number of coins necessary to earn the mushroom on each level.
  • If you do this, the flag is set. When you get to the following world’s first level, when the 1UP Mushroom block would be generated by the game’s world building code (which operates off the screen to the right of the player’s location), if the flag is set, the invisible block is placed and the flag is unset.
  • If the player dies before collecting it, or never hits it, either way the mushroom is lost.

Romhack Thursday: Vs. Super Mario Bros on NES

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

Nintendo is a company with a long history, having gotten started making playing cards. They jumped into the video gaming market, like a lot of companies, making dedicated consoles that were released only in Japan. It was the release of the arcade game Donkey Kong that started them on the path to becoming the worldwide success they are today.

Title screen for the Vs. Super Mario Bros hack

The sales of Donkey Kong, and successor games like Donkey Kong Kr., Donkey Kong 3, and Mario Bros., put a lot of Nintendo cabinets out there. In the mid 80s there arose a market for upgrade kits, an alternate set of internal components for an arcade machine that could make it into a new game for players to enjoy. Simultaneous with the success of the Famicom and NES, Nintendo sold a kit called the “Vs. System” that their old cabinets could be converted into, as well as dedicated cabinets that used it.

Among the software Nintendo made for their Vs. cabinets, so they made special arcade versions of many of their NES cartridges for it. Many of these are expanded versions of the originals, with new features. We’ve already looked at Vs. Castlevania, a version of Castlevania remixed for the Vs. Unisystem by Konami. One of these updated versions was of Nintendo’s first huge Famicom hit, called Vs. Super Mario Bros.

Hey, that flower’s supposed to be a 1 Up Mushroom!

Vs. Super Mario Bros. seems, at first, a lot like the original game. It’s got a high score screen and some other minor changes. Players familiar with the Famicom/NES version will find that it changes significantly as they get further into it. Many later levels are completely changed, and much harder. When Nintendo released the Japan sequel to Super Mario Bros., they used levels from the Vs. System port to help flesh it out.

Many changes were made to the game to support arcade play. “Loops” where players could farm extra lives were toned down or removed, extra lives in general were reduced in number, and warp zones don’t take the player nearly as far into the game. Another change made was to add operator adjustable difficulty, allowing the cabinet owner to set how many coins were needed for an extra life.

SUPER PLAYER’S

Through emulation, Vs. Super Mario Bros is completely supported in MAME. But for technical reasons, you can’t just play MAME roms in an NES emulator. If you’d like to play it in the emulator of your choice, or have a means to get it running on actual hardware, creator BMF54123 applied all of the play changes of the arcade version back into the NES version of Super Mario Bros., and even added a title screen that allows you to apply the same difficulty settings that were available to an arcade operator.

Expect a number of tricks that would later get reused in the Japanese sequel to Super Mario Bros.

If you’ve never played Super Mario Bros before… then wow, I’m impressed you even found this blog. But also, this is perhaps not the best way to experience the game now. The demands of arcade design make for a much more challenging experience than the original. If you’re very familiar with the home versions, though, it can be an interesting new way to experience it.

Vs. Super Mario Bros for NES (romhacking.net)