Why does PUNCHING Sonic 3D trigger a Secret Level Select?
Channel:Coding Secrets · Length:3:05 · Published:2020-07-01 · Views:509892
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
- How a Laser-Shot Disk Defeats Hackers & Pirates (Coding Secrets) · GameHut · 5:01
- "Programming a 144-computer chip to minimize power" - Chuck Moore (2013) · Strange Loop Conference · 40:12
- 8 Bit & '8 Bitish' Graphics-Outside the Box · GDC Festival of Gaming · 1:25:34
- SM64 - Watch for Rolling Rocks - 0.5x A Presses (Commentated) [OUTDATED] · pannenkoek2012 · 24:38
- Reverse emulating the NES to give it SUPER POWERS! · suckerpinch · 22:21
- The Ultimate Game Boy Talk (33c3) · media.ccc.de · 1:01:06
- How Crash Bandicoot Hacked The Original Playstation | War Stories | Ars Technica · Ars Technica · 31:37
- MarI/O - Machine Learning for Video Games · SethBling · 5:57
- The Engoodening of No Man's Sky · Internet Historian · 53:51
- Computer program that learns to play classic NES games · suckerpinch · 16:17
- SNES Code Injection -- Flappy Bird in SMW · SethBling · 6:31
- 'Diablo': A Classic Game Postmortem · GDC Festival of Gaming · 1:17:43
- FIXING the ENTIRE SM64 Source Code (INSANE N64 performance) · Kaze Emanuar · 18:20
- How we fit an NES game into 40 Kilobytes · Morphcat Games · 12:04
- Old pinball machines are amazingly complex · Technology Connections · 50:08
- Classic Game Postmortem: Sid Meier's Civilization · GDC Festival of Gaming · 1:02:15