Points of Required Attention™
Please chime in on a proposed restructuring of the ROM hacking sections.
Views: 88,441,072
Main | FAQ | Uploader | IRC chat | Radio | Memberlist | Active users | Latest posts | Calendar | Stats | Online users | Search 04-20-24 08:07 AM
Guest: Register | Login

0 users currently in ROM Hacking | 3 guests | 1 bot

Main - ROM Hacking - Help with simple hack to each Mega Man game? New thread | New reply


Tesserex
Posted on 09-01-16 04:57 AM Link | Quote | ID: 163978

Newcomer
Level: 4

Posts: 1/3
EXP: 274
Next: 5

Since: 09-01-16

Last post: 2787 days
Last view: 2782 days
I'm a fan of a small group of Let's Players called the Snupsters. If you haven't heard of them they run races of the classic series, sometimes with unusual rules. I thought it might be fun to give them rom hacks that help enforce their rules using one modification.

On attempting to fire the regular mega buster, you are instantly killed.

I have a friend who is really familiar with the MM4 rom and he helped me complete this hack for that game, using the following code changes:

$E814:A9 3A LDA #$3A (Bank with kill method)
$E816:85 F5 STA $F5 = #$3C (address to change bank for $FF37)
$E818:20 37 FF JSR $FF37 (bank change)
$E81B:A9 07 LDA #$07 (dead status)
$E81D:85 30 STA $30 = #$00 (status of MM)
$E81F:20 43 82 JSR $8243 (killing MM explosiion)
$E822:A9 3C LDA #$3C (bank we made the call from...)
$E824:85 F5 STA $F5 = #$3C
$E826:20 37 FF JSR $FF37
$E829:60 RTS

This code was placed in an unused location, and a jump to it was placed in the shoot input check code after the BEQ that would skip over it. It works well.

I would like to get some help with the other games from whoever here knows some of the following:

1. Where is the proper entry point for the kill method
2. The correct location of shooting code
3. What banks contain these sections
4. The location of the bank switching functions
5. Perhaps most importantly, where is a safe unused place to stick this new code without causing any issues? The rest of these I may be able to deduce on my own.

I was tinkering with MM5 and since the engine is almost the same as 4, I was able to find most of what I needed. I think the death method was around $8351, and I think the bank switch method was $ff43 (compared to $ff37 in MM4). The banks I needed to swap (which I read from RAM location F3) were 1B and 1C. That's as far as I got, I don't know where I can place the new code.

f anyone can verify my work on MM5, or help with 1, 2, 3, or 6 I'd really appreciate it. Thanks!

kuja killer
Posted on 09-01-16 05:23 AM (rev. 2 of 09-01-16 05:25 AM) Link | Quote | ID: 163979


Level: 55

Posts: 529/628
EXP: 1243266
Next: 70923

Since: 03-20-07
From: Lake Havasu City, Arizona

Last post: 276 days
Last view: 1 day
I have a question first, why kill yourself when shooting ??

How are you even supposed to play the game at all like that...

how do you even complete your 1st level without any weapons besides rush coil.

In megaman 1 and 2, and 6 specifically...there is nothing else you start with, mega buster only. What is the point of this ?

Tesserex
Posted on 09-01-16 07:13 AM Link | Quote | ID: 163980

Newcomer
Level: 4

Posts: 2/3
EXP: 274
Next: 5

Since: 09-01-16

Last post: 2787 days
Last view: 2782 days
Hello! I heard from my friend that you'd be able to help me.

The snupsters sometimes play with rules like "X weapon only" where they give themselves a cheat for infinite ammo and have to play through with only that weapon. In the past it has included hyper bombs, rolling cutter, metal blade, gemini laser, hard knuckle, beat, etc.

Whenever they accidentally fire the buster, according to their own race rules, they have to kill themselves. This hack is to help enforce that process.

kuja killer
Posted on 09-01-16 11:16 AM (rev. 4 of 09-01-16 11:19 AM) Link | Quote | ID: 163983


Level: 55

Posts: 530/628
EXP: 1243266
Next: 70923

Since: 03-20-07
From: Lake Havasu City, Arizona

Last post: 276 days
Last view: 1 day
This is what i have so far - i dont feel like trying the other games right now, just mm3 and 5 for the momment. If anyone was to ever speedrun or do anything like that with megaman 3 improvement, i would be highly interested in watching those streams

=======================
megaman 3 (normal rom)

3D113:
206FF5EAEAEAEA

3F57F:
A5B1D00568684CC6F0A532D0032070D360

=======================

megaman 3 improvement (recommended!)

7D113:
20BFF9EAEAEAEA

7F9CF:
A5B1D00568684CC6F0A532D0032070D360

=======================

megaman 5

370F9:
20DE9F

37FEE:
A52ED01868686868A5F585F62043FF4CF0BFA91C85F52043FF4C3283AD010360

=======================

Tesserex
Posted on 09-01-16 07:16 PM Link | Quote | ID: 163990

Newcomer
Level: 4

Posts: 3/3
EXP: 274
Next: 5

Since: 09-01-16

Last post: 2787 days
Last view: 2782 days
Thanks! Didn't know you were an expert at all of them! They work great.

I'll pass along MM3 Improvement to the Snupsters and see if they can do a run. I'm their biggest Patron so they might listen to me.

Main - ROM Hacking - Help with simple hack to each Mega Man game? New thread | New reply

Acmlmboard 2.1+4δ (2023-01-15)
© 2005-2023 Acmlm, blackhole89, Xkeeper et al.

Page rendered in 0.019 seconds. (339KB of memory used)
MySQL - queries: 47, rows: 72/72, time: 0.015 seconds.