I need help how to reverse-engineer EXE files - assembly

Mods and development for mods. Including WoG & Equilibris (RU) subforums.
User avatar
UndeadHalfOrc
Titan
Titan
Posts: 1363
Joined: 13 Mar 2007

I need help how to reverse-engineer EXE files - assembly

Unread postby UndeadHalfOrc » 22 Mar 2009, 18:47

I need help how to reverse-engineer EXE files - assembly debugging, de-compiler, that kind of tool - what can you expert recommend me?

The reason is that I'm desperate to find the offset in the Heroes 2 exe file where is buried the value 10, (0x0A) which is the multiplier for the damage of spells, FireBall, FireBlast, and Cold Ring. I want to change it to 13 like I did with Heroes 3.

So, what tools do you recommend?

Thanks.

Nomad
Pixie
Pixie
Posts: 131
Joined: 12 Apr 2010
Location: Kaliningrad, Russian Federation
Contact:

Unread postby Nomad » 15 Apr 2010, 13:47

If you want to simply change one byte, then try hex editos like HView or WinHex.
If you're going to analyze the code, use IDA 5.5 + HexRays plugin or Microsoft Visual Studio (C++).

User avatar
Kristo
Round Table Knight
Round Table Knight
Posts: 1548
Joined: 23 Nov 2005
Location: Chicago, IL

Unread postby Kristo » 15 Apr 2010, 19:25

When reading the decompiled code, a good place to start would be the data structures you already know something about. If you can find the declaration for the creature stat tables, for example, you can search the code for where those variables are referenced.
Peace. Love. Penguin.


Return to “Modcrafting Guild”

Who is online

Users browsing this forum: No registered users and 0 guests