Why does PUNCHING Sonic 3D trigger a Secret Level Select?

Channel:Coding Secrets · Length:3:05 · Published:2020-07-01 · Views:509892

Watch on YouTube

Summary

A short Coding Secrets episode explaining why hitting a Sonic 3D cartridge triggers a hidden level select. The cause was a custom crash handler that redirected CPU error interrupts to the level select screen.

Why HN recommends it

Shared as a favorite game-development anecdote with a clear technical explanation.

For those who don't know, Burton explains this in depth here — HN, 2021

Game history & retro gaming · Speedrunning, glitches & game hacking

Subtitles (excerpt)

Some of you may have seen videos showing how you can trigger a secret level select on Sonic 3D just by wiggling or hitting the cartridge like this. This is something I never intended or programmed, but I'll try and explain why it happens. Much like today, back in the early '90s, if you wanted a game published, it had to pass a series of checks that Sega and the other console manufacturers would perform on it. These tests generally took a few weeks, and if you failed for some reason, you had to resubmit and start the whole process again. One of the hardest tests was that the game should never crash, and it would be left running for days at a time to test for this. If it crashed, it was sent back to you with a cryptic error report, and you had to try and recreate the issue and fix it. While I was programming Mickey Mania, I tried to think of any possible bug and wrote error messaging code if anything untoward happened during gameplay. In debug mode, this message would appear, and so I'd know what had gone wrong. You can see here in the code the kind of things that I'd trap, like decompression failure or too many sprites on screen at once. When it came time to submit the game, I altered the code so that instead of

On Hacker News

I love little game dev anecdotes such as these. Interesting relics of the development process. One of my favourites is Sonic 3D's secret level select screen: [VIDEO] — LeonenTheDK, 2023-11
For those who don't know, Burton explains this in depth here: [VIDEO] Another one of my favorite ones describes copy protection via intentionally destroyed floppy sectors: [LINK] — LaserDiscMan, 2021-10
This reminds me of a hack that Traveller's Tales implemented for Sonic 3D Blast on the Sega Genesis/Megadrive. If you physically wiggle or hit the game cartridge enough while the the console is powered on with the game inserted in it, a "secret level select" screen pops up where you can select a level. It was long considered to be an easter egg, but actually, it was a custom crash handler that th… — theevilsharpie, 2023-09

Related videos