+  RHDN Forum Archive
|-+  Romhacking
| |-+  ROM Hacking Discussion
| | |-+  Megaman X - Help Needed
Pages: [1]
Author Topic: Megaman X - Help Needed  (Read 426 times)
pladams9
Guest
« on: July 03, 2007, 03:31:00 pm »

Hey! I am in the process of making a Megaman X (SNES) hack.  I have no delusions of making an all new MX, and the hacks I need help with are (I hope) very simple.  All I need is to disable the effects of two of the body part capsules.  Specfically, the armor and the arm cannon.  My hack is, basically, a "three hearts" version of the original with some modified looks and replaced text.  Text, palettes, and uncompressed graphics I can do.  I have not been able to find a way to disable the upgrades via patching PAR codes to the rom, so I assume I'll either need to find some level data to remove the capsules or something.  Possibly use some ASM (which confuses me to no end).  Any ideas/suggestions/knowledge that would help me?

Edit: After some more playing around with Geiger's Snes9X Debugger, I made a discovery.  I used one of my cheat codes that changes your upgrades and discovered that it did indeed correspond to the same position ($7E1F99) in the RAM.  I confirmed this using the hex editor in the program.  I then put a breakpoint on writing to that spot, and BOOM! I got this little line:

$87/D0B2 0C 99 1F    TSB $1F99  [$86:1F99]   A:B101 X:0000 Y:0002 P:enVMXdizc

Now, I suppose I have a new question.  How can I hack the rom so that the address never gets written to?
« Last Edit: July 03, 2007, 06:57:01 pm by pladams9 »
hippiejake
Guest
« Reply #1 on: July 04, 2007, 03:01:26 am »

Have you tried tracing just before the capsule appears? It should check a flag to decide whether to make it appear, and just make it evaluate to false, and you've got it.
You won't get the cool looking armor that way, but oh well.
pladams9
Guest
« Reply #2 on: July 04, 2007, 09:15:25 am »

Well, like I said I'm mostly groping in the dark here.  So, what sort of thing should I be looking for? And, when I find it, how do I make the actual changes?
Pages: [1]  


Powered by SMF 1.1.4 | SMF © 2006-2007, Simple Machines LLC