09-05-2021, 12:51 PM
The game keep's certain float values as constants in memory that it loads up for various tasks. These constants are always in the same spot in memory. Sometimes a constant is only used by one task.
Basically a lot of these 'constants' were found by various people literally just picking a value in a region of memory, changing it randomly, seeing if it effects anything in the game, then moving onto the next value in memory.
I'm not saying that's how davidevgen found that value, but that is how it was basically done years and years ago.
By the way, Aldelaro5's Memory Engine has the option to search for floats in memory. It's the same way you search for integer values in dynamic memory, but you are searching for single precision floats (in 32-bit form) instead. When searching for the single precision 32-bit floats, you must enter them in using their integer decimal representation (i.e. 1 for 0x3F800000).
Basically a lot of these 'constants' were found by various people literally just picking a value in a region of memory, changing it randomly, seeing if it effects anything in the game, then moving onto the next value in memory.
I'm not saying that's how davidevgen found that value, but that is how it was basically done years and years ago.
By the way, Aldelaro5's Memory Engine has the option to search for floats in memory. It's the same way you search for integer values in dynamic memory, but you are searching for single precision floats (in 32-bit form) instead. When searching for the single precision 32-bit floats, you must enter them in using their integer decimal representation (i.e. 1 for 0x3F800000).