https://www.xbox.com/en-US/games/age-of ... ve-edition
Steam/Xbox Games
Age of Empires II: Definitive Edition
Resource data is encrypted. This game does some anti-cheating checks, so just turn on the script when you needed.
Only lock player resources, single player only

Cheat Engine table scripts:
Code: Select all
□Lock resources (skirmish map)
□Steam, Xbox Games (maybe?): Age of Empires II: Definitive Edition 101.102.8319.0 / https://opencheattables.com / CE 7.4Post tagged as gamepass, but Xbox Games is not equal to Game Pass, I did not find other suitable tag....
Table may not be updated for Xbox games version. (I may not have Xbox game pass when game updated).
Technical analysis:
Spoiler
I'm not familiar with game hacking. Lucky the decrypt code is near to the address we found.
- All displayed resources are stored as float format. After search values with CE, we will find the code that store displayed values:

- Scroll up some code, we will find it's encrypted by some sub/xor operations

- All values (Wood, food...) share the same decryption algorithm, get the value with index stored in rdx

- Scroll up the code, there are 4 decryption keys. Table will not be working in Xbox games later if any key decryption changed after game update.

- Here, I have two options:
-
Reverse the decryption, write encrypted value to real value address.
-
Traceback code, find where real address is. Playing game and gain resources & write the encrypted value to the address.
-
- The encrypted value stored in r10 pointer:

Working one (as is)
viewtopic.php?p=4718#p4718
Old releases








