Zophar's Message Domain

Go Back   Zophar's Message Domain > Emulation Talk > Rom Hack

Reply
 
Thread Tools Display Modes
Old 07-04-2018, 04:46 AM   #1
king killa
Senior Member
 
Join Date: Jun 2002
Posts: 2,121
Default Hypothetical question about adding a score counter to a game like Megaman 2

Probably none of the old school serious hackers are still around, but maybe?

How much work would be involved in creating something like a score tracker in Megaman 2?

I'm thinking, each time you attack an enemy it would need to add to a new memory pointer, while still decreasing the enemies health.

Is this too much to bother with?
king killa is offline   Reply With Quote
Old 07-04-2018, 03:42 PM   #2
Reaper man
Member
 
Reaper man's Avatar
 
Join Date: Apr 2002
Location: Austin, TX
Posts: 5,386
Default

What you would probably want to do is figure out where the hit detection routine is, and slap it in there, but adding code is always tricky, as you need to find unused space in the bank to pull it off. If you can you can JSR to the empty space and then RTS back without the game really knowing.


On top of that, you would need to program in an actual score counter, which would be much more difficult, I would look at megaman 1's code for some of that. :P
__________________
Reaper man is offline   Reply With Quote
Old 07-05-2018, 02:56 AM   #3
king killa
Senior Member
 
Join Date: Jun 2002
Posts: 2,121
Default

Very cool. Displaying the score would probably be the most difficult part, but getting it into storage would be good enough for a start. At least I could pull it up in the emulator debug stuff and see the score that way.

Probably never going to do this, I was just doing a play-through of Megaman 2 and thought it would be interesting.

I guess the idea gave me a nostalgia boner for this place.
king killa is offline   Reply With Quote
Old 07-05-2018, 04:50 AM   #4
Reaper man
Member
 
Reaper man's Avatar
 
Join Date: Apr 2002
Location: Austin, TX
Posts: 5,386
Default

Also, forgot to mention, you would of course need to find unused RAM to store the score in as well, so there are various challenges in this.
__________________
Reaper man is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 11:26 PM.

Contact Us - Zophar's Domain - Archive - Top

Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2018, Jelsoft Enterprises Ltd.