Page 1 of 1

Paradox games

Posted: Sat Apr 04, 2020 5:12 pm
by Yesser
Some games are easy, you search for the int or float value and change it.
Other games are not that straightforward.
For instance Battletech or Paradox games like Imperator Rome or Europa Universalis 4 etc.

Do they use some kind of memory scrambling xor technique when writing and reading to data stores?
Or what is the trick there?
How are they protecting their games from just finding plain int or float values?

Re: Paradox games

Posted: Fri May 01, 2020 8:33 am
by specific
I think protection goes in some other way. [Link]

Re: Paradox games

Posted: Fri May 01, 2020 8:55 am
by Artykalamata
I only have EU4 so I can only talk about it.
When for example treasury shows a total of 284.83 it is not stored as a float, as one would expect, but as 4 bytes: 284839.
Because the last decimal number is not shown ingame, you have to scan for "Value between..." 284830 and 284839 to find the address in my example case.