Age of Empires 2: Age of Kings
Press Enter to bring up the communication window and type the codes below.

POLO = Remove Shadow
MARCO = Reveal Map
AEGIS = Immediate Building
ROCK ON = 1000 Stone
LUMBERJACK = 1000 Wood
ROBIN HOOD = 1000 Gold
CHEESE STEAK JIMMY'S = 1000 Food
NATURAL WONDERS = Control Nature
RESIGN = Defeat yourself
WIMPYWIMPYWIMPY = Destroy yourself
I LOVE THE MONKEY HEAD = Gives a VDML
HOW DO YOU TURN THIS ON = Gives a 'cobra' car
TORPEDOx = Kills opponent x (where x is the opponent number)
TO SMITHEREENS = Gives a saboteur
BLACK DEATH = Destroying all the enemies
I R DEATH = Victory

You may also start the game with the following command-line parameters:

800
Sets the screen resolution for the game to 800 x 600 pixels.

1024
Sets the screen resolution for the game to 1024 x 768 pixels.

1280
Sets the screen resolution for the game to 1280 x 1024 pixels.

autompsave
This will cause the game to save every 5 (or so) minutes.

Mfill
Fixes horizontal line display issues and black screen areas that may occur with some video adapter configurations.

Msync
Fixes a problem where the computer stops responding with some SoundBlaster AWE configurations.

NoMusic
Turns off all music.

NormalMouse
Replaces the custom mouse pointer with a standard mouse pointer.

NoSound
Turns off all sounds, except those played in cinematics.

NoStartup
Skips all cinematic sequences before the game starts.

NoTerrainSound
Turns off all terrain sounds.

Cheat mode (alternate):
Enter one of the following codes during game play to activate the corresponding cheat function.

CTRL+P Build Immutable Structure
CTRL+T Alternate Resource Menu
CTRL+Q Quick Build
CTRL+C View End Sequence