Introduction: Using Cheat Engine to Enhance Single Player Videogames

Picture of Using Cheat Engine to Enhance Single Player Videogames

This is a tutorial that is referenced from my YouTube tutorial based on a similar method:
My YouTube Video

Step 1: Step 1: Attach Your Process.

Picture of Step 1: Attach Your Process.

Step 2: Step 2: Find the Address for Your Value.

Picture of Step 2: Find the Address for Your Value.

Step 3: Step 3: Attach a Debugger to Your Process.

Picture of Step 3: Attach a Debugger to Your Process.

Step 4: Step 4: Determine What Writes to the Address.

Picture of Step 4: Determine What Writes to the Address.

Step 5: Step 5: Inject the Code Into an Assembler.

Picture of Step 5: Inject the Code Into an Assembler.

This part is the most important of the tutorial since it handles how the toggle affects the address.

The last two images shows the before and after which will support the toggle capability for our assembled code.

A NOP is simply a null value, so instead of removing a bullet every time we fire the gun, it will remove nothing.

This is useful for giving us infinite ammo for the current weapon.

Step 6: Step 6: Write Assembled Code to Your Cheat List.

Picture of Step 6: Write Assembled Code to Your Cheat List.

WARNING: DO NOT EXECUTE THE CODE, THE GAME WILL CRASH IF YOU EXECUTE THE CODE.

Step 7: Step 7: Test the Code and Make Adjustments If Necessary.

Picture of Step 7: Test the Code and Make Adjustments If Necessary.

Step 8: Conclusion

I did make a mistake in the images for this tutorial...

I shouldn't have replaced the MOV values with a NOP value.

In assembly, the MOV values are responsible for taking a modified value and moving it into the reserved spot in memory which is responsible for handling the selected value. (Bullets in this case)

You should only replace ADD, SUB, MUL, and DIV values with a NOP value.

ADD will take an address and add to the value, SUB will subtract from the value, MUL will multiply the value, and DIV will divide the value.

What happened when I toggled the code in this tutorial; the game froze and wouldn't allow any user inputs. This effectively crashed the game.

Take note from my mistake, and you'll be on your way to working with Cheat Engine.

Comments

Darknessblade. (author)2015-08-02

you forgot that some games inply different statestic like hex for specified values

That is true, the more finicky aspects of the Cheat Engine program aren't necessarily my strong-points and typically result in some undesirable results from my previous attempts. (Such as full game crashes, memory corruption which toggles BSOD and sometimes causes the system to immediately power off without a single notice which is quite terrifying when working with expensive hardware)

tomatoskins (author)2015-04-02

This is cool! I didn't know that anything like this existed. Thanks for sharing and welcome to the community!

About This Instructable

696views

11favorites

Bio: I am a CompTIA certified Network Administrator and a video maker on YouTube. My main content on YouTube is tutorial-based videos because I have an ... More »
More by KimChoJapFan:Using Cheat Engine to Enhance Single Player Videogames
Add instructable to: