Enabling the console requires modifying a configuration file. No external tools are needed, but administrator privileges may be required to save changes.
Even with this guide, things can go wrong. Here are the top fixes for "console not working."
Problem: I press tilde (~) and nothing happens.
Solution: Your keyboard layout. Try these keys: ** (grave), #, ¬, or ². On some laptops, you need to enable "Function Lock" (Fn + Esc).
Problem: The console opens, but I type PowerUp and nothing happens.
Solution: You are likely in the Ant Farm (strategic layer). PowerUp only works on the tactical layer (battlefield). Move to a mission first.
Problem: Red squares and text appear everywhere on screen.
Solution: You forgot the launch argument. Go back to Steam launch options and add -noRedScreens after -allowconsole.
Problem: My game crashes when I use GiveResource.
Solution: You are using the wrong syntax. Do not use spaces inside the resource name. It is GiveResource Meld 100, not GiveResource Meld 100 Credits. xcom enemy within dev console full
Because Firaxis disabled the native console in the expansion, you need a mod that re-enables it. The most reliable is the "XCOM Enemy Within Dev Console Enabler" available on Nexus Mods.
Note: If you cannot use Nexus, manually find the XComGame.exe config edit method, but the mod launcher is safer for modern systems.
Before we dive into the technical nitty-gritty, let’s address the elephant in the room. Is using the console “cheating”?
The answer depends entirely on your goal.
If you are a purist, stop reading now. For the rest of you—let’s break the game. Enabling the console requires modifying a configuration file
Want to unlock the full developer console and take control of XCOM: Enemy Within? This post shows how to enable the console, the most useful commands, and tips for safe use. Use responsibly — altering game files or using cheats can break saves.
The "Partial" vs "Full" Console: The base console only allows a handful of commands. To get the full dev console with every cheat, you need to navigate to Documents\My Games\XCOM - Enemy Within\XComGame\Config and edit the XComInput.ini file. Bind a key to TypedConsole if it isn't already.
The XCOM: Enemy Within dev console full is the ultimate equalizer. It transforms the game from a punishing survival sim into a tactical sandbox. Whether you are a veteran looking to test a wild squad composition against three Sectopods, or a frustrated player who just lost their entire A-team to a single Cyberdisc, the console is your best friend.
Remember the golden rule: Back up your saves. A console is a tool. A hammer can build a house or break a window. Use your power wisely, Commander.
Now that you have the full command list and the activation method, go forth. Give yourself 10,000 Meld. Teleport your sniper to the roof. And watch those aliens burn. Because Firaxis disabled the native console in the
Did we miss a command? Check the XComConsoleCommands file in your game directory for a complete list of developer strings.
Enabling the full developer console in XCOM: Enemy Within (EW) is more complex than in the original game because most standard methods, like HEX editing or simple launch parameters, were patched out. Steam Community To get full access, you have two primary options: binding commands directly in configuration files or using PatcherGUI to permanently re-enable the console. Steam Community Option 1: The Keybind Method (No Mods Required)
This is the most stable way to use specific commands without modifying core game files. You bind a "Command" to a specific "Key" in the game's configuration. Steam Community Locate the Config File
SteamLibrary\steamapps\common\XCom-Enemy-Unknown\XEW\XcomGame\Config DefaultInput.ini Choose Your Mode Tactical (Battlescape) : For in-mission cheats, find the section [XComGame.XComTacticalInput] Strategy (Geoscape/Base) : For resources and tech, find the section [Engine.PlayerInput] Add the Bindings : Add lines under your chosen section using this format: .Bindings=(Name="F12", Command="restartlevel", Alt=True) (This binds Alt+F12 to restart the mission). Save and Run : Save the file and start the game. Steam Community Option 2: Full Console Re-Enable (Mod Method) To open a live command line (usually the key) as you would in XCOM 2, you must use a patch. Steam Community Download PatcherGUI : Available on Nexus Mods Download the Console Patch
: Search Nexus for "Dev Console" specifically for Enemy Within. Apply the Patch : Point PatcherGUI to your XCom-Enemy-Unknown\XEW folder and run the patch script. This modifies the Engine.upk file to restore the console's functionality. Steam Community Essential Console Commands
Once enabled, these are the most useful commands for "fixing" a run or testing builds: KillAliens Instantly kills every alien on the current map. GiveResource Money 1000 Adds §1,000 to your treasury. GiveResource Elerium 100 Adds 100 Elerium. GiveResource Alloys 100 Adds 100 Alien Alloys. LevelUpBarracks 1 Promotes every soldier in your barracks by one rank. RestartLevel Restarts the current mission from the beginning. ToggleUnlimitedActions Allows your units to move/attack indefinitely this turn. Grants god mode and unlimited ammo to your squad. Advanced Strategy Tool: Strategy.txt If you have many items to add, create a file named Strategy.txt XEW\Binaries List commands inside (e.g., GiveResource Money 5000 GiveResource Scientists 20 DefaultInput.ini , bind a key to exec Strategy.txt
Pressing that key in the base will run all those commands at once. : Always backup your DefaultInput.ini XcomGame.exe