Title: Cheat Code Hacking
kevstah2004 - August 8, 2009 07:38 PM (GMT)
Quickly threw this together, I'll try to do a proper guide later.
To find current character addresses I look at the file names and try to find files which represent something to do with characters for RE2 it uses .PLD files we already have tools that can search for TIM images in various files so all we have to do is search each PLD for a TIM image of the character where looking for then apply it a value, PL02.PLD would be 02 and PL03.PLD would be 03 so when we you go to search in Cheat Engine all your looking for is a address that switches between 02, 03 and vice versa when swapping between the two characters that are the same as PL02.PLD and PL03.PLD.
I use the same method for switching rooms and weapons too just use the last two digits of the file names although it's slightly easier with weapons because the ammo amount is normally around the same area.
This method doesn't always work though instead it'll apply the values in a run of files 5666.XXX would be 0 and 5667.XXX would be 1 etc.
The Mortician - August 8, 2009 08:05 PM (GMT)
thanks for this info, it will be useful when i'm trying to hack some character related things
i tried to hack zombie hp in re2 but that is a hell of a job..
ok here is my crappy try in words..
i started the game in epsxe, started artmoney and hooked up epsxe to be able to search for values in the game..
then i entered some room with zombies and started a search for "unknown value",
then i shot at a zombie, went into artmoney again and filtered the found values..
there were some option like "has decreased", "has decreased in %" etc..
then i repeated the above step and after every round there were less values left that before, but before i could locate a real value/address the zombie died, which is nothing surprising at all..
so this, my method is not very useful and i'm not into hacking cheatcodes long enough to bring up new ideas for this issue at the moment..
maybe you, or someone other talented at doing such jobs could help me
i also encountered another problem while thinking about the whole zombie hp thing..
once i would have the value/address of one of the zombies, it would mean that i can only edit the HP of him and i would have to find out the HP addresses of the other zombies too.. hmm..
kevstah2004 - August 8, 2009 08:23 PM (GMT)
The HP will probably be near the addresses MarkGrass already listed.
Games sometimes use float values for things like health / power bars etc though, 100% would be 42C80000.http://babbage.cs.qc.edu/IEEE-754/32bit.htmlhttp://babbage.cs.qc.edu/IEEE-754/Decimal.html
As for the only being able change the health of one enemy at a time you maybe be able to do patch codes with Art Money or Cheat Engine you just have to know the distance in addresses between each enemy, i'm not clued on what commands they support.
The Mortician - August 9, 2009 11:47 AM (GMT)
|QUOTE (kevstah2004 @ Aug 8 2009, 08:23 PM)|
| The HP will probably be near the addresses MarkGrass already listed.|
which addresses? i don't know of these, could you give me a link or could you send me this list?
kevstah2004 - August 11, 2009 01:31 AM (GMT)
Sorry I got confused I thought he listed them http://z4.invisionfree.com/Resident_Evil_1...p?showtopic=202
anyway when I searched for Leon's Health in Cheat Engine it was set to C8
05E926A2 Byte ?? - Main Character - Condition
05E926A8 2 Byte ???? Main Character - Position ? value changed every time I moved.
05E926AC 2 Byte ???? Main Character - Position ? value changed every time I moved.
These addresses will probably be different for you, I was using the emulator pSX v1.13 with GameShark.exe just use the C8 value as a guide every time you get attacked it decreases the enemies more than likely use the same starting value as well :P
kevstah2004 - August 16, 2009 02:05 AM (GMT)
A cheat table I through together for Leon's scenario on the US version.
The Mortician - August 22, 2009 11:33 AM (GMT)
thanks for that kevstah, i also got some new clue on finding out how to make zombies stronger, i got a tip that RE2 doesn't really have a HP system like in newer games..
you would have to change the weapon range/strength to achieve what i want
kevstah2004 - August 22, 2009 01:31 PM (GMT)
LeonU.exe+597F54 - Current Stage ? Background or Area?
LeonU.exe+597F56 - Current Room? Background or Area?
LeonU.exe+597F64 - Main Character Modifier
I think there for the background image as the area didn't change when I moved between rooms only the image changed, I believe there's another address for the actual room area irc all the rooms on the psx version up the RPD use the same value for the Background and Room but once you enter the RPD and other stages they differ.