Cheat cartridge

A cheat cartridge is a device that connects to any sort of cartridge-based video game system. It allows a user to input special cheat codes to manipulate a game in a way not permitted by its original programming. Usually the effect is to gain infinite lives, ammunition, unlock secrets, or do things that would otherwise allow an unfair advantage (or disadvantage in some cases). Some games have codes to activate unreleased levels, weapons, or items that may not have been available normally, and some even have codes to access debug menus used by programmers (as for beta testing purposes). Equivalent non-cartridge devices have been released and sold for modern game systems that use optical media instead of cartridges to store games.

Functions
A cheat cartridge's operation is simple. When powered on, the console will run the software stored on the cheat device. This is usually a menu from which the correct game is selected, and various cheats toggled on or off. When the user is ready, the device's software then runs the actual game. However, the activated cheats modify values in the game's code as it runs, producing the desired effects, such as infinite lives and ammunition.

For cartridge-based systems, typically the device connects to the same port as normal game cartridges, thus allowing it to be plugged into the console's game slot. The game to be cheated is then attached to the device itself using another identical port. The cheat cartridge is then "in-between" any communication between the cartridge and the console, allowing it to modify the game to achieve the desired effect.

On systems which do not use cartridges, the cheat software is loaded from a "boot disk". After selecting the correct cheats, the user exchanges the boot disk for their own game disk without resetting the console. The cheat software then launches the game and a trainer, a piece of software that stays in the system's memory and modifies the data to achieve the desired cheat effects.

In a few instances, now largely historical, the cheat cartridge operated by connecting through an expansion port, serial port, or developer interface on the console. The cartridge then exploited weakness in the device's low-level operating system to launch its own software and modify values in the system's memory. Although these are a minority, the low-level access they provided—akin to a hardware debugger—allowed the greatest level of control over the game system.

The original Action Replay cartridge for the Commodore 64, for example, exploited weaknesses presented by a backwards compatibility mode intended for the obscure Commodore MAX Machine. Electronics in the cartridge would briefly stop the console's CPU and direct it to operate on instructions in the cheat cartridge's ROM, in its own bank of RAM memory. As the computer's own RAM was no longer being modified, the game was "frozen" in its current state. That state could then be modified, saved, or reloaded to an earlier state, giving the cartridge its name. When the player was ready, the game was unfrozen, and the CPU picked up where it had left off, operating on instructions in the computer's own memory.

Publisher reaction
Publishers of some video game consoles, such as Nintendo actively attempted to thwart such devices, both through legal action and hardware or software alterations in the platform. Others were indifferent to the existence of such devices, or in the case of the Sega and its Genesis console, actually embraced their development.

Devices
Some popular commercial cheat devices:
 * Galoob's Game Genie — an early cheat cartridge, one of the first.
 * Datel's Action Replay — Also referred to as the "Pro Action Replay" in cartridges starting from the 8-bit era). More recent Action Replay cartridges are simply save game transfer devices.
 * InterAct's and Mad Catz's GameShark
 * Datel's Equalizer for Nintendo 64.
 * Konami's Game Master — No longer developed; made for the MSX.
 * Pelican's Code Breaker — Manufactures cheating devices and books for most consoles.
 * Orbit's i-cheat — A cartridge for the Nintendo DS UK Site US Site
 * EMS's GB Hunter — A Game Boy emulator for the Nintendo 64 which has a built-in cheat device.
 * EMS's N64 Passport — A multi-region adaptor for the Nintendo 64 which has a built-in cheat device.
 * Cheaters Evolved's Illusion Cheat Device. Official Website