Points of Required Attention™
Please chime in on a proposed restructuring of the ROM hacking sections.
Views: 88,472,364
Main | FAQ | Uploader | IRC chat | Radio | Memberlist | Active users | Latest posts | Calendar | Stats | Online users | Search 04-23-24 05:46 PM
Guest: Register | Login

0 users currently in ROM Hacking | 2 guests

Main - ROM Hacking - Anybody happen to know how... New thread | New reply


RetroRain
Posted on 08-13-08 05:41 AM (rev. 4 of 08-13-08 07:08 PM) Link | Quote | ID: 88859


Fuzz Ball
Level: 66

Posts: 207/994
EXP: 2437642
Next: 24209

Since: 09-30-07

Last post: 1932 days
Last view: 954 days
Does anyone know how Mega Man 2 writes to the Pattern Table, exactly? The game has no CHR-ROM, only PRG, and I have been searching for a couple of days, and haven't had any luck. It is possible that address $F7 has something to do with it, but I don't know how. I will keep looking, but if somebody already has information about this, I would appreciate it. It is the last part I need to complete the new game engine I coded. I need to know how it writes to the Pattern Table, because I want to swap Mega Man's graphics in/out.

EDIT - Why am I so stupid sometimes? I know how to do this.

You have to set $2006 to $0000 (Pattern Table 1), then you can write what you want using $2007. And the game most likely has something that handles this.

I think I figured this out on my own.

____________________
My YouTube Channel

kuja killer
Posted on 08-13-08 07:09 PM (rev. 2 of 08-13-08 07:11 PM) Link | Quote | ID: 88873


Level: 55

Posts: 53/628
EXP: 1243605
Next: 70584

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

Last post: 279 days
Last view: 4 days
That's an extremely difficult task to do. MM 1, 2, 4 and 6 use CHR-RAM
MM3, and 5 are the only games that used CHR-ROM.

In my personal experience, it is much more difficult to deal with a game using CHR-RAM in this case as opposed to ROM. It's just so much different and complex. :-s
I've converted mm4 to fully 100% compatible CHR-ROM once, but it was a very long and difficult process.

Sorry I cant be of any help to you in concern to mm2 since i know nothing at all about that game's inner workings.

Every indidivual tile has to be written to through the ppu registers. It sucks. :-\ While on the other hand, if a game were CHR-ROM, it only takes like 1 or 2 writes to mapper registers and it'll swap the graphics all instantly without any delay or time or extra code needed at all.

RetroRain
Posted on 08-13-08 07:14 PM Link | Quote | ID: 88874


Fuzz Ball
Level: 66

Posts: 208/994
EXP: 2437642
Next: 24209

Since: 09-30-07

Last post: 1932 days
Last view: 954 days
I think you have to set $2006 to $0000 (Pattern Table 1), then you can write the data to the Pattern Table instead of the Name Table, using $2007. And I was poking around the ROM last night, so it probably has code that handles this. I'm used to games that have CHR-ROM as well. But then again, I'm kinda glad that in this instance, there is no CHR-ROM, because now I get to learn something new.

Thanks for trying to help. I appreciate your reply.

____________________
My YouTube Channel

Main - ROM Hacking - Anybody happen to know how... New thread | New reply

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

Page rendered in 0.018 seconds. (339KB of memory used)
MySQL - queries: 42, rows: 64/65, time: 0.015 seconds.