[Tutorial] Finding Values - Floats

Section's for general approaches on hacking various options in games. No online-related discussions/posts OR warez!
Post Reply
User avatar
Fearless Donors
Fearless Donors
Posts: 295
Joined: Fri Mar 03, 2017 12:31 am
Reputation: 69

[Tutorial] Finding Values - Floats

Post by TheyCallMeTim13 » Sat Apr 21, 2018 10:52 am

From post at the WIKI.
Finding Values - Floats

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: [Tutorial] Attach to a process

Float: A real number (that is, a number that can contain a fractional part).
wikipedia.org - Single-precision_floating-point_format
wikipedia.org - Double-precision_floating-point_format

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.

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

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

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.

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.

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 Basic

See also
"We live in a society exquisitely dependent on science and technology, in which hardly anyone knows anything about science and technology."
-- Carl Sagan

Post Reply