Zophar's Message Domain

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

Reply
 
Thread Tools Display Modes
Old 05-07-2005, 07:33 PM   #1
Eli
Junior Member
 
Join Date: May 2005
Posts: 10
Default More fun with MegaMan 1

Alright, this time things are a little easier. I know exactly where the sprite I want to make change to is stored, but I now want to; instead of inserting a new tile, just move an existing one within the sprite. For example, if "t" stands for the sprite tiles and T is the particular one I want to change, then,

... t t
.T t t t
... t t t

<P ID="signature"></P>
Eli is offline   Reply With Quote
Old 05-08-2005, 12:25 AM   #2
Vagla
Senior Member
 
Join Date: Sep 2001
Posts: 413
Default Re: More fun with MegaMan 1

Change the sprite frame pattern data I mentioned in the other thread. There are 2 bytes per tile, telling the game where each tile is in relation to the sprite's onscreen coordinates. They're usually a multiple of 4 and tend to be between F0 and 10. Add to the values to move the tiles downward or rightward, and subtract for upward or leftward (for yy coordinates and xx coordinates, respectively). Good luck.

<P ID="signature"></P>
Vagla is offline   Reply With Quote
Old 05-08-2005, 08:26 AM   #3
Eli
Junior Member
 
Join Date: May 2005
Posts: 10
Default Re: More fun with MegaMan 1

I knew I had to change something in the sprite frame pattern data, but I didn't know exactly what. Thanks. I'm actually starting to understand all this. And by the way, they're reversed? Why do they always tend to reverse the bytes?<P ID="edit"><FONT class="small">Edited by Eli on 05/08/05 03:28 AM.</FONT></P>
Eli is offline   Reply With Quote
Old 05-08-2005, 09:25 AM   #4
Vagla
Senior Member
 
Join Date: Sep 2001
Posts: 413
Default Re: More fun with MegaMan 1

> I knew I had to change something in the sprite frame
> pattern data, but I didn't know exactly what. Thanks. I'm
> actually starting to understand all this. And by the way,
> they're reversed? Why do they always tend to reverse the
> bytes?

What do you mean, exactly? Like, y coordinate first, then x coordinate? If that's the case (I don't know since I haven't messed with the data for a long time and honestly don't feel like looking right now), then that's just how they set it up, I guess. Pointers, though, are reversed (little endian, I think it's called) because they can be processed faster that way.

<P ID="signature"></P>
Vagla is offline   Reply With Quote
Old 05-08-2005, 06:53 PM   #5
Eli
Junior Member
 
Join Date: May 2005
Posts: 10
Default Re: More fun with MegaMan 1

> What do you mean, exactly? Like, y coordinate first, then x
> coordinate?

>Pointers, though, are reversed (little endian,
> I think it's called) because they can be processed faster
> that way.

Yes, and yeah, I believe that's the name as well.

<P ID="signature"></P>
Eli 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 10:58 AM.

Contact Us - Zophar's Domain - Archive - Top

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