In XCOM 2, Supplies are the lifeblood of the Resistance, funding everything from satellite launches to experimental weaponry. While the game provides internal developer tools for resource management, many players prefer using Cheat Engine to precisely manipulate memory values for a customized experience. Setting Up Cheat Engine for XCOM 2
To begin modifying your supply count, you must first link Cheat Engine to the game process.
Install Cheat Engine: Download and install the latest version from the official website. Launch XCOM 2: Start the game and load your current save.
Attach Process: Open Cheat Engine, click the PC icon (Select Process), and choose XCom2.exe from the list.
Configure Value Type: Set the "Value Type" to 4 Bytes, as XCOM 2 typically stores resource counts in this format. Modifying Supplies Value
To find the exact memory address for your supplies, follow this iterative scanning process:
Initial Scan: Look at your current supply total in the Avenger view (e.g., 250). In Cheat Engine, enter 250 in the Value field and click First Scan.
Change the Value: Return to the game and change your supply count. The easiest way is to buy an item or recruit a soldier.
Refine Results: Enter your new supply total (e.g., 215) in Cheat Engine and click Next Scan. xcom 2 cheat engine supplies value install
Finalize: Repeat this until only one or two addresses remain. Double-click the address to add it to the bottom list, then double-click the Value column to set it to your desired amount (e.g., 99999). Faster Alternative: Console Commands
If memory scanning feels tedious, XCOM 2 has a built-in console that can grant supplies instantly without external software.
Enable the Console: In Steam, right-click XCOM 2, select Properties, and in Launch Options, type -allowconsole. Open the Terminal: Press the Tilde (~) key while in-game. Add Supplies: Type the following command and press Enter:
giveresource supplies [amount] (e.g., giveresource supplies 5000). Common Troubleshooting
Value Not Updating: Some values in the UI are "cached." If you change the value in Cheat Engine, try navigating to a different room in the Avenger (like the Armory) and returning to the main view to force a refresh.
Game Crashes: Memory addresses can change every time the game restarts. If you saved a "Cheat Table" (.CT file) from a previous session, it may no longer work unless it uses Pointer Scanning. Reddit·r/Xcomhttps://www.reddit.com
Cheat Engine to modify your supplies is a popular way to bypass the early-game resource crunch without downloading heavy mods. While highly effective for specific value manipulation, many players find the built-in developer console to be a more stable and "official" alternative. Modify Supplies Using Cheat Engine
To manually edit your supply count, follow these steps to install the process and locate the value: Installation & Setup : Download and install the latest version from the Cheat Engine official site Attach to Game , then Alt-Tab to Cheat Engine. Click the and select the Initial Scan In XCOM 2 , Supplies are the lifeblood
: Look at your current supply count in-game (e.g., 150). In Cheat Engine, set Value Type to "4 Bytes," enter "150" in the Value box, and click First Scan Filter Results
: Return to the game and change your supply amount by purchasing something or completing a scan. Enter the new number in Cheat Engine and click Modify Value
: Once only 1–3 addresses remain, double-click them to move them to the bottom list. Change the value to your desired amount (e.g., 50,000). Alternative: Built-in Console Commands
Most veterans recommend using the console as it is less likely to cause memory-related crashes. Guide :: XCOM 2:All console commands and IDs [WOTC]
To modify your Cheat Engine for a manual search or, more efficiently, use the built-in Console Commands which are faster and less prone to crashing the game. Option 1: Using the Developer Console (Recommended)
This is the easiest way to add supplies without needing third-party software like Cheat Engine. Enable the Console Steam Library , right-click and select Properties tab, find the Launch Options field and type -allowconsole Use the Command Launch the game and press the key to open the console. Type the following command and press Enter: giveresource supplies [amount] giveresource supplies 5000 : You must already have at least unit of supplies for this command to work. Option 2: Using Cheat Engine (Manual Value Change) If you prefer using Cheat Engine , follow these steps to find and "install" a new value: View topic - XCOM 2 - Console Commands - Cheat Engine
Purpose: Modify your in-game Supplies (the main currency) to any number you want.
Difficulty: Easy
Works for: XCOM 2, XCOM 2: War of the Chosen, and most mods.
99,999 is safe.Go back to XCOM 2. Your Supplies should now reflect the new number. How to Find and Change Supplies Value in
For the tech-savvy commanders, you can literally install the script yourself without downloading a table. Open Cheat Engine, click Memory View (Ctrl+B), then Tools > Auto Assemble.
Paste this template (script logic for XCOM 2 v1.0.0.67405 WOTC):
[ENABLE] aobscanmodule(INJECT_Supplies,XComGame.exe,8B 45 08 89 85 ? ? ? ? 8B 45 08) // Example AOB alloc(newmem,$2048,INJECT_Supplies) label(returnHere) label(originalCode) label(exit)newmem: mov [rax+08],#50000 // Force supplies to 50000 originalCode: mov eax,[rbp+08] mov [rbp+00000680],eax exit: jmp returnHere
INJECT_Supplies: jmp newmem nop returnHere: [DISABLE] INJECT_Supplies: db 8B 45 08 89 85 80 06 00 00 unregistersymbol(INJECT_Supplies) dealloc(newmem)
Note: Actual AOB arrays change per patch. This is pseudocode for structural understanding.
If Phase 1 and 2 fail, use this fail-safe method.