// HACKER NEWS — CYBERSECURITY
Unearthing a 31 year old Easter egg in Ecco the Dolphin
Today we’re examining the PC version of Ecco the Dolphin. This game is adapted from the 1993 Sega CD version of Ecco, which is an enhanced version of the 1992 Sega Genesis original.
There’s a full-featured debug mode cheat for the console editions. Among other things, it lets you skip stages and become invincible. But on PC, you have to fight your way through this notoriously difficult title the hard way.
…Or do you? There’s some strange code in the function that handles this game’s About dialog:
This is checking whether the bottom-right corner of the dialog box is off-screen as it’s being dismissed.
After that check, the code calls GetKeyState for Shift and Ctrl. If those are being held down as the dialog disappears, LoadMenuA gets called for menu ID 0x70.
What’s that do? It allows you to access a cheat menu by pressing Shift+Ctrl and right-clicking on the main window:
Stage lets you choose your starting stage, of course. Make a selection and press F2 to start playing. All of the items seem to work except for the one marked test only.
Life gives you unlimited health and air. The meters that track those stats disappear entirely when this cheat is enabled.
When the cheat menu is active, you’ll also see positioning information on the bottom of the screen. The numbers change as Ecco moves.
But wait, there’s more. That About EccoWin dialog handler function is checking for more conditions. The code asks: