Romhacking.net

Romhacking => ROM Hacking Discussion => Topic started by: DragonMage98 on December 13, 2015, 04:54:44 am

Title: How to Hack damage in Mega Man III
Post by: DragonMage98 on December 13, 2015, 04:54:44 am
I was wondering where I could find the damage to the bosses in this game via a Hex editor?
For example, instead of Gemini Man being weak to Search Snake, he would be weak to Shadow Blade instead. If so, thanks.
Title: Re: How to Hack damage in Mega Man III
Post by: FAST6191 on December 13, 2015, 09:37:11 am
I am sure if you stared long enough at http://datacrystal.romhacking.net/wiki/Mega_Man_III:ROM_map , http://datacrystal.romhacking.net/wiki/Mega_Man:RAM_map and http://datacrystal.romhacking.net/wiki/Mega_Man_III that you might see something that interests you here. Megaman as a franchise is quite extensively hacked and documented, quite possibly second only to Mario.
That said this would make an excellent intro to hacking if you wanted it to be.

Step 1. Make an infinite health cheat, except do it for the boss. Now you know the boss' health bar location.
Step 2. Set a breakpoint to break on write for that location you have just found.
Step 3. Fire different weapons at the boss. It should then take different values from the bar. If you have set break on write as well then it will tell you what changed it.
Step 4. You follow that back up the chain and it will tell you things. There are many ways the game could do it but that is the fun of hacking. I imagine it will check what was fired (as you could run out of ammo and thus checking what you have selected might not be useful) and then act accordingly.
Title: Re: How to Hack damage in Mega Man III
Post by: kuja killer on December 13, 2015, 11:12:51 am
megafle

(http://s27.postimg.org/8r94fed0z/zczczxc.png)
Title: Re: How to Hack damage in Mega Man III
Post by: DragonMage98 on December 13, 2015, 07:37:18 pm
Okay, I figured it out. Thanks for the help.