R
Raziel80
Guest
How can be edited the formula for ultimate weapons for Death Penalty and Premium Heart? How does the formulas look like in bytes in the .exe file?
A7 formula for Death Penalty: (10 + [Character's Kills / 128]) / 16, which of these values (10, 128, 16) can be changed in the exe file? The formula is somewhere in the offset 0x1DC920 in the FF7.exe: in bytes, it's around here: 24 99 83 E2 7F 03 C2 C1 F8 07 8B 15 0C CE 99 00. Where does the formula begin and end? For example: The value 128 in the formula can be changed, if you change 07 at offset 0x1DC929. 128 is bit 7, which means (0x80=128), is it true? Can the values 10 or 16 in the formula be changed?If you want details you'll need to be more specific on what exactly you want it to do.
How are these instructions ("C1 F8 04 which is the /16" and "83 C0 0A which is the +10") displayed in RAM(virtual addresses)?The DP modifier starts at 0x1DC916. Changing that 7 will change the divisor for the kills, but it can only be powers of 2 (1, 2, 4, 8, 16, etc). A little further down at 0x1DC93D is the instruction C1 F8 04 which is the /16 and the following instruction at 0x1DC40 is 83 C0 0A which is your +10.
Thanks a lot. Can you help also find out same addresses in RAM for Premium Heart, because this is a bad formula: (1 + [Limit Level * Limit Units / 16]) / 16, for ultimate weapon. It would be nice, if value 1 or value 16 near Limit Units (Limit Units / 16) , in the formula could be changed.0x5DD53D and 0x5DD540