Cheat Engine How To Find Debug Stuff In Games

Hello guys, in this tutorial I am showing you How to find Memory static Addresses and Offsets and Structures with Cheat Engine. The key addresses and offsets. Most of you are having a problem when trying to cheat Windows 8 Store or Metro games with Cheat Engine. And the problem is Cheat Engine can't list the Window.

In this part, I am going to use dnSpy to enable the Debug HUD. We will analyze how it's enabled and how it can be accessed.

Looking at StatsModificator.intelligence, I went down this rabbit hole to see how items are created.

Item creation call analysis

And I saw these two methods in a class named HUDDebug. They have curious names GiveItemToWill and GiveWeaponToWill. If my guess is correct, there's a debug UI somewhere in the game that allows spawning items.

Cheat Engine How To Find Debug Stuff In Games Online

HUDDebug Class

It has a Start() method, we can analyze it to see what calls it.

Seems like nothing calls it, same with Awake().

HUDDebug analysis

These are unity methods. According to this video https://unity3d.com/learn/tutorials/topics/scripting/awake-and-start:

  1. Awake(): Called first even if the script is not enabled. Used for initialization.
  2. Start(): Called only once after awake and before update if the script is enabled.
  3. Update(): Called after the script is enabled and can be called multiple times.

These are called by the engine, so the Analyze tab will not have the chain.

Inside Update() we can see:

HUDDebug.Update()

Cheat Engine How To Find Debug Stuff In Games To Play

Pay attention to line 76. There's an if condition that enables everything. We can analyze IsDebugEnabled:

IsDebugEnabled analysis

Woot. It seems like we found it. Now we need to modify this to only return true.

IL instructions for get_IsDebugEnabled

To return true, we need to return 1. We can delete lines 0 to 6 and only keep lines 7 and 8:

Highlight lines 0 to 6 and press delete (or use the context menu) to remove them. Press Ok to get the modified C# code.

Modified get_IsDebugEnabled

This enables debug mode for every run. But what else is out there?

Debug Shortcuts

Let's go back to the analysis results for GameManager.IsDebugEnabled

IsDebugEnabled analysisCheat Engine How To Find Debug Stuff In Games

We have already looked at HUDDebug.Update, now we look at the other two.

HeroMerchant.Update() has some shortcuts.

HeroMerchant.Update()

KeyCodes

Input.GetKeyDown detects when a key is pressed and released. The parameter to the method is an enum of type KeyCode or a string. It took me a while to find out the associated numbers.

I found it in the decompiled code at:

Here's a local copy, in case the repository is taken down.

It's based on ASCII-Hex decimal values with extra keys (e.g. gamepad) in the end.

Now we can decipher some debug shortcuts:

Potion Shortcut
  • 104: H
  • 304: LeftShift

Note we can also change the item granted with anything we want.

We can teleport to the last room of any dungeon floor:

  • 98: B
  • 304: LeftShift

And so on.

Controller Shortcuts

Cheat

HeroMerchantController.Update() defines controller shortcuts.

Controller shortcuts

Save/Reset Shortcuts

There are a couple of more shortcuts inside HUDDebug.Update():

Save/reset shortcuts
  • Save: LeftShift + S
  • Reset: LeftShift+ R

Enabling Debug HUD

We still need to enable the HUD. It must have a shortcut key. Searching the internet tells us it's Tab.

See this page about a CheatEngine trainer:

How can we find it ourselves? Back inside HUDDebug.Update() we can see a block that enables and disables consoleDebugPanel:

Enabling and disable consoleDebugPanel

Inside the if we can see that GameManager.Instance.consoleDebug is referenced. Let's analyze that.

consoleDebug analysis

Double-click on GameManager.Update(): Easy anti cheat game 12.

GameManager.Update()

We can see it's triggered by holding the ButtonRightStick for a second (I think). A bit further up we can see the equivalent keyboard shortcut.

It's the Tab key which confirms what we found online. We can press Tab in the game to enable debug HUD.

Debug HUD

And it's quite extensive.

We learned:

  • How to use dnSpy's Analyze feature to track variables/methods/etc.
  • How to enable debug mode.
  • Shortcut keys for various things such as potions.
  • Shortcut key to enable the debug HUD.

My next plan was to use Cheat Engine to make cheats and enable debug HUD. But it's already done. In the next part, I will write my thoughts about some questions that I was asked about such cheating. Maybe after that, I will return and do the Cheat Engine part but I will need to re-learn the tool again.

If you are an ardent PC game cheater, you should’ve by now realized that Cheat Engine is synonymous with over 90 percent of all offline game cheats. But do you know what it really is? Do you know how to install Cheat Engine? Do you know how to use Cheat Engine?

Here is a quick guide to answer all your questions once and for all.

What is it?

Cheat Engine is a free open source tool dedicated to modifying single player games running on the Windows or the Mac platform. The modifications can either make the game easier by giving you added equipment, perks, money, and skill or make it harder by lowering your skill or simply raising game expectations.

The Cheat Engine does this by inspecting memory location modifications done by the game during operation. These changes are then matched to in-game values, for instance, your health bar, your ammo or skill rating. Once you have a successful match, you will know which variables to change in order to affect these readings.

Apart from this, Cheat Engine also packs:

  • A game debugger
  • A disassembler and assembler
  • A speedhack tool
  • A trainer maker
  • Direct 3D manipulation tools

How to Get Started

Head over to the official downloads page and grab the latest copy of the Windows or the Mac installer. Install the given file and launch your Cheat Engine. You will get a popup prompt requesting you to go through the Cheat Engine tutorial. It is wise to go through this tutorial if you don’t want any frustrations in future.

The tutorial teaches you how to mine for actual value changes. Even though this is the engine’s real power, most gamers like you and I just download ready-made Cheat Engine files (.ct) and load them into the cheating engine.

Cheat Engine How To Find Debug Stuff In Games Fortnite

If this isn’t your intent, go through the entire tutorial and learn how to find your own way around different games. Don’t forget to compile your found cheats into a cheat table and share them with the community.

No Set Up (Download and Run) Cheat Engine

Sometimes, it pays to use the no set up version of cheat engine. Just download the set up here, extract the rar file to a folder of your choice and run cheat engine from there. You can even extract it to a flash drive and have your own portable cheat engine.

This makes it easier to clean up cheating records when you want to play an online game. Remember to run the cheat engine as admin for elevated privileges.

How to Load a Cheat Table

Cheat engine how to find debug stuff in games to play

Opening a cheat table is easy.

  1. First, you’ll have to download the game specific cheat table and save it somewhere on your PC.
  2. Open Cheat Engine and click on the Open Folder icon. This will open a file browser
  3. Navigate to where you stored your cheat table (.ct) Select the file you want and click open
  4. Alternatively, you can just double-click the .ct files to open them automatically in the app. If your file associations are right, this should work.
  5. If they are not, right-click the cheat table and select open with> cheat engine and remember to tick the always button

Using Cheat Engine When Playing a Game

  • Start the game you want to play
  • Press ALT+TAB to activate windows switch and choose the Cheat Engine window
  • Click the First Icon and then ‘select a process to open.’ Look for gamename.exe (e.g witcher3.exe for Witcher 3 Cheats), select it and click open
  • Click on the next icon to activate the cheat table explorer or press CTRL+O
  • Load the cheat table you downloaded and head back to The game to implement the cheats you just activated
  • Each cheat table has its own hotkeys. Remember to go through the description so that you know what to press or what to do to evoke a change.

Is Cheat Engine Safe?

Many people have issues with Cheat Engine since they are not sure if it is safe. This has led to the big question: Is Cheat Engine safe. Well. The quick answer is yes. I have been using Cheat Engine on the right games for a year or so now and I have never seen it run away on nefarious missions.

The Cheat Engine installer is safe. However, it does have some toolbars and adware bundled in. You can always uncheck the checkbox for each additional to ensure that you install Cheat Engine and nothing more.

Super mario bros wii cheats. Also 6 users added this cheat at them cheatbooks. And most important we have 13 other cheats for New Super Mario Bros. If cheat is usable don't forgot thumbs up Sonicfan1 and share this with your freinds. Wii, look them as soon as possible!

But why do some antivirus software flag Cheat Engine as a Trojan or a malicious software? Well. This has to do with how Cheat Engine works.

It is an external tool that modifies the operations of an application, counters, pointers and other memory locations. This is basically what Trojans do. They modify application counters and pointers.

However, since Cheat Engine only modifies what you tell it to modify and never goes making changes on its own, it is 100 percent safe. Think of it as a gun that will never fire a bullet unless you aim and pull the trigger.

The only time Cheat Engine will harm you is when you run it on a PC that has a game with a serious anti-cheat system in place. If you want to use Cheat Engine, ensure that:

Cheat Engine How To Find Debug Stuff In Games Free

  • You don’t have a game that punishes cheats installed in your system
  • If the game is installed, use Windows firewall to block it from accessing the internet ever
  • Always clean uninstall Cheat Engine when you have high-risk games in your system

These are the basics you need to get started with your cheats. Remember that the engine was designed for use on offline games where cheating isn’t illegal. Using Cheat Engine to modify online games or games with an online alternative might result in a terminated account. Ensure that you use the engine responsibly.

Check this too: