As a matter of fact: yes, we could simply use a search for "double" to find our health. But, at least for me, this does not always work, using for the last 4 Bytes of the double works better.
Anyway: embarassing not to have the found values checked for being a double and starting 4 bytes earlier.
Code: Select all
0 = 0 (who would have thought that)
1 = 1072693248 (or 1.875 as float)
----------------------------------------------------------
2 = 1073741824 (or 2.000 as float = previous + 0.125)
3 = 1074266112 (or 2,125 as float = previous + 0.125)
4 = 1074790400 (or 2.25 as float = previous + 0.125)
----------------------------------------------------------
5 = 1075052544 (or 2.3125 as float = previous + 0.0625)
6 = 1075314688 (or 2.375 as float = previous + 0.0625)
7 = 1075576832 (or 2.4375 as float = previous + 0.0625)
8 = 1075838976 (or 2.5 as float = previous + 0.0625)
----------------------------------------------------------
9 = 1075970048 (or 2.53125 as float = previous + 0.03125)
10 = 1076101120 (or 2.5625 as float = previous + 0.03125)
11 = 1076232192 (or 2.59375 as float = previous + 0.03125)
The crystals (at least between missions) are stored as double, too.
You'll find the gold value twice, one is the real value, the other one is climbing up to the real value.
Had no luck with differencing between party members and enemies yet...
Accordings to the license.txt, they are using LUAJit. Since I never had any luck with Games using LUA (Victor Vran, Gauntlet) this looks like a job for someone else
have fun,
Marc