Use a text editor such as notepad to edit the "civ4config" file in the game folder. Change the "CheatCode = 0" line to "CheatCode = chipotle". Press ~ during game play to display the console window. Enter one of the following case-sensitive codes to activate the corresponding cheat function.
| Effect | Code | 
|---|
| Display all console window codes
 |  | 
|  |  | 
|  |  | 
| Stop Soundscape from playing
 |  | 
| Play sound - AS2D, AS3D, ASSS
 | Sound.play string [filename]  
 | 
| Finds entities with black emissivity
 | Graphics.FindBlackPlotsAndCities  
 | 
|  |  | 
| Force light update on all entities
 | Graphics.ForceLightingUpdate  
 | 
| Rebuild terrain and lighting
 |  | 
|  | Graphics.SetHillScale [floating number]  
 | 
|  | Graphics.SetPeakScale [floating number]  
 | 
|  | Graphics.setWaterHeight [floating number]  
 | 
| Set render depth for quad tree
 | Graphics.quadTreeDepth [integer]  
 | 
|  |  | 
|  | Graphics.displayTerrain bool bOn  
 | 
|  |  | 
|  | Graphics.showTexturePalette  
 | 
|  | Graphics.setTextureMode bool bOn  
 | 
|  | Graphics.setWireframe bool bOn  
 | 
| Morph the globeview count times.
 | Profile.morphGlobe [integer]  
 | 
| Rebuild city indicated number of times
 | Profile.rebuildCity [x coordinate], [y coordinate], [integer]  
 | 
| Rebuild plot indicated number of times
 | Profile.rebuildPlot [x coordinate], [y coordinate], [integer]  
 | 
| Dump animation information to debugging window
 |  | 
| Set minimum time to capture spikes; set to 0 to disable spikelock
 | Profile.setSpikeThreshold [milliseconds]  
 | 
| Dump console command history
 |  | 
| Writes HTML documentation for the current console commands
 | Console.CreateDocumentation [filename]  
 | 
|  |  | 
| Display current logging status
 |  | 
|  |  | 
|  |  | 
| Erase units and cities from map
 |  | 
| Fill map with units and cities for performance testing
 |  | 
|  |  | 
|  |  | 
|  |  | 
|  |  | 
| Erase Rivers, Features, Bonuses and Goodies
 |  | 
| Replace Rivers, Features, Bonuses and Goodie
 |  | 
| Change the active landscape info
 | Map.setActiveLandscapeID [landscape number]  
 | 
|  |  | 
| Reload Game Text xml files
 |  | 
| Reload Civ4TerrainSettings.xml
 |  | 
| Reload Civ4ArtDefines.xml
 |  | 
| Toggle output of texture loads/accesses to debug output
 | Game.toggleTextureAccessInfo  
 | 
| Force AI to play for indicated number of turns
 |  | 
| Create sequences associated with the selected unit
 | Game.createSelectedUnitKFs  
 | 
| Free sequences associated with the selected unit
 |  | 
| Save WorldBuilder save description file
 | Game.saveWorldBuilderSave [filename]  
 | 
| Toggle Animation Test Tool
 |  | 
| Show GFC directory chooser
 |  | 
|  |  | 
|  |  | 
|  | Game.testFont bool bEnable  
 | 
| Show the Python test popup
 |  | 
|  |  | 
|  |  | 
|  |  | 
|  |  | 
|  |  | 
|  |  | 
|  | Game.showWBPalette bool bCreate  
 | 
| Compute md5 checksum for the directory tree specified
 | App.calcFolderChechsum [directory]  
 | 
|  | App.setMooseDbg2 [integer]  
 | 
|  | App.setMooseDbg1 [integer]  
 | 
| TGA full screen shot in .ScreenShot directory; requires "AllowScreenShots=1" in ini.
 |  | 
| TGA screen shot in .ScreenShot directory; requires "AllowScreenShots=1" in ini.
 |  | 
| Set maximum frame rate; 0 to disable
 | App.setMaxFrameRate [floating number]  
 | 
| Update existing value in the ini file
 | App.setIniFile [group key], [key], [value]  
 | 
|  |  | 
| Return the application link time
 |  | 
| Test player unit iteration
 | Player.testUnitIter [integer]  
 | 
| Change players gold; 0 is active player
 | Player.changeGold [player number], [gold]  
 | 
| Set players gold; 0 is active player
 | Player.setGold [player number], [gold]
 |