Saturday, March 15, 2014

Playing with Games

 

Did you ever thought how trainers are made for games? Well let’s see it.

What is Needed?

1. Cheat Engine

2. Any Game like IGI, StarCraft, WarCraft…

I am using StarCraft 2.

Steps:

1) First start game & notice mineral count, Now pause the game by clicking on Menu.

starcraft1

Here mineral count is 50.

2) Now start the Cheat Engine, click on File -> Open Process & select your game process.

cheaengine1

3) Now enter 50 in value field & click on First Scan button. This action will list all variables having value 50.

cheatengine2

4) Now go to game & gather some minerals so that we can identify variable location.

strcraft2

5) Now pause game ( clicking on Menu ) & go to Cheat Engine again.Now lets search for new value which is 64. Enter 64 & click on Next scan

cheatengine3

Now if there are still too much variables then again gather some minerals & search for next value this will reduce no of variables.

6) Now if you figured out variable location then change its value to anything you want & click on OK.Now lets see is minerals value changed in game too?

starcraft3

Yes, value changed.

7) Now lets change the code itself so that we don’t need to change value manually.To do so right click on variable address we just found & select “Find what writes this address”

cheatengine4

8) Now there may be same code like which increase & decreases mineral value ( in this case ) or may be different lines for increment & decrement.Now go to game & spend some minerals, build some structures & pause the game.

starcraft4

9) Now go to Cheat Engine, you will see assembly line which writes mineral variable. Select that line & click on Show Disassembler. Now right click on line & select NOP the instruction. (Change code that does nothing)

cheatengine5

Now as we changed instruction that changes variable value, go to game & spend minerals, this time they will not get decreased (& will not increase if you gather minerals).

starcraft5

No comments:

Post a Comment