Difference between revisions of "Tutorials:Finding values:Floats"

From Cheat Engine
Jump to navigation Jump to search
Line 67: Line 67:
 
* [[Tutorials:AttachToProcess|Attach to a process]]
 
* [[Tutorials:AttachToProcess|Attach to a process]]
 
* [[Tutorials:Finding values:Integers|Finding values - Integers]]
 
* [[Tutorials:Finding values:Integers|Finding values - Integers]]
* [[Tutorials:Auto_Assembler:Injection|Code Injection]]
+
* [[Tutorials:Auto_Assembler:Injection_basic|Code Injection]]

Revision as of 10:07, 12 March 2017

The most basic thing to do with Cheat Engine is to find Values to change or freeze.

So let's go over how to find some float values.

Any game will work but I will be using Windows Minesweeper.

If unsure how to attach to the process see: How to attach to a process


Floats

Float
A real number (that is, a number that can contain a fractional part).


Timer

Lets start with the timer. If you play or have played a round then you know that the visible timer is an integer, but this one isn't an integer it's a float.

And this is easier to just use Unknown initial value and Increased value.

Step 1

So with the value type combo box select Float.

And with the scan type combo box select Unknown initial value.

CEForm.FindValue.floats.timer.02.png

Step 2

Now make a move to start the timer, and click first scan.

CEForm.FindValue.floats.timer.03.png

Step 3

Now with the scan type combo box select Increased value, and after the timer has increased click next scan.

CEForm.FindValue.floats.timer.04.png

Step 4

And you keep doing this, scanning for increased values, until a value or list of values that looks right is captured.

If you want to refine the scan you can select Value between or Exact value scan types, since this is a known value.

CEForm.FindValue.floats.timer.05.png

Step 5

So now that you have an address double click it in the found list, and it should create a memory record in the address list of the cheat table.

Double click the value to change it and enter 0. You should now have 0 as your time.

CEForm.FindValue.floats.timer.06.png

Freezing Values

When you have the address in the address list you can click the box to freeze the address.

Note that the timer still shows '1' as a value, to change that we would need to use code injection.

See: Code Injection


See also

Related Tutorials