PDA

View Full Version : MegaMan 1 Troubles


Eli
05-05-2005, 10:31 PM
I want to replace MegaMan's Sprite with another of mine. I can do most of them without any trouble, but some don't fit within the original tile space given. I don't know how to change this, and if this require use of ASM, what exactly do I need to do, and where can I get an assembler for windows and maybe a disassembler you would recommend to go with it.

<P ID="signature"></P>

Insomnia DMX
05-05-2005, 10:59 PM
Sorry, but you just have to cut out some pixels. off either the top or the bottom.

<P ID="signature">"16, when they repaired you at capsule corp, they took the bomb out of your chest!" - Krillin
"Cocaine is a hell of a drug!" - Rick James</P>

Eli
05-05-2005, 11:31 PM
> Sorry, but you just have to cut out some pixels. off either
> the top or the bottom.
>
...Um, that would cut off a slightly noticable portion...

<P ID="signature"></P>

Ugly Joe
05-05-2005, 11:42 PM
> ...Um, that would cut off a slightly noticable portion...

It's practically impossible to do what you're asking. Someone new to ASM won't stand a chance. You're best off redrawing your sprites and trying again.

<P ID="signature"></P>

MooglyGuy
05-06-2005, 12:35 AM
> ...Um, that would cut off a slightly noticable portion...

...Um, then you're shit outta luck...

<P ID="signature"></P>

Eli
05-06-2005, 12:38 AM
> > ...Um, that would cut off a slightly noticable portion...
>
> ...Um, then you're shit outta luck...
>
XD, gee thanks for the advice.

<P ID="signature"></P>

Vagla
05-06-2005, 03:24 AM
> I want to replace MegaMan's Sprite with another of mine. I
> can do most of them without any trouble, but some don't fit
> within the original tile space given. I don't know how to
> change this, and if this require use of ASM, what exactly do
> I need to do, and where can I get an assembler for windows
> and maybe a disassembler you would recommend to go with it.

No, you don't need ASM, just some knowledge about the following data:

$18010 - Sprite frame data pointers
$1834A - Sprite frame pattern data
$18816 - Sprite frame data

The sprite frame data defines the tiles that a sprite uses and the palette that each tile uses. The sprite frame data pointers point to where each sprite frame starts in the frame data. The sprite frame pattern data says where each sprite tile appears onscreen in relation to the sprite's coordinates.

So with this data, you should be able to add sprite tiles to any sprite you want, so long as you aren't adding to the overall number of sprite tiles (read: if you add a tile somewhere, you'll probably have to remove a tile elsewhere).

This all is probably still difficult for ROMhacking newbies, but it's not an impossible task without ASM knowledge. Please don't jump to conclusions if you haven't looked into the data yourself (this is directed to those who've replied to this thread already, not Eli).

I hope that helps.

<P ID="signature"></P>

SivakDrac
05-06-2005, 03:25 AM
You can only do stuff with the space given. I had to do this with my Bass sprites for my old 2001 MM2 hack (anyone still play it? <img src=smilies/magbiggrin.gif>) NES graphics are basically limited to what is there. If there is nothing more, you can't do anything to (easily) expand their sizes.

<P ID="signature"><HR>http://www.geocities.com/lordsivak/index.htmlVisit my Mega Man page</A>

- Sivak Drac</P>

Eli
05-07-2005, 12:19 AM
Vagla:
Thank you SOOO much. I think I should (Note the should) be able to use that to add the tile I need. Where did you find this information anyhow?

<P ID="signature"></P>

Vagla
05-07-2005, 12:32 AM
> Vagla:
> Thank you SOOO much. I think I should (Note the should) be
> able to use that to add the tile I need. Where did you find
> this information anyhow?

I found it in the ROM. And no, I didn't use ASM to find it, either. For the tile and palette data, I did a search for the tile ID followed by the palette ID for several tiles of Mega Man's standing sprite and found the start of the data. I used that address to find the pointers for that data. As for the pattern data (tile coordinates in relation to sprite coordinates), I honestly don't remember; it's been a while. It's the kind of thing, though, that's easily found just by looking through the ROM in a hex editor.

Much of this sort of stuff can be learned from http://desnet.fobby.net/doc/AoRH.htmlthis document here</a>, if you're interested.

<P ID="signature"></P>

The 9th Sage
05-07-2005, 12:40 AM
> No, you don't need ASM, just some knowledge about the
> following data:

I was wondering when you were gonna get in there you Megaman guru you. <img src=smilies/magbiggrin.gif>

<P ID="signature">http://www.xanga.com/ZeldaDDhttp://x08.xanga.com/da780106154315936581/z5022510.png


Why else would you carry such a big sword?</a></P>

Eli
05-07-2005, 03:23 AM
> Much of this sort of stuff can be learned from this document
> here, if you're interested.
>

Vagla, I've been looking for a document like that for a long time. Thanks. If you get the chance and are able to, IM me on AIM at CE102 Alpha. I'd like to ask some questions.

<P ID="signature"></P><P ID="edit"><FONT class="small">Edited by Eli on 05/06/05 10:30 PM.</FONT></P>