+  RHDN Forum Archive
|-+  Romhacking
| |-+  ROM Hacking Discussion
| | |-+  Sprite format help: for Kamen no Ninja Hanamaru
Pages: [1]
Author Topic: Sprite format help: for Kamen no Ninja Hanamaru  (Read 1 times)
Hamtaro126
Guest
« on: April 12, 2011, 06:46:36 pm »

Hello. I need some assisance for a Proof-of-Concept hack of Hanamaru, Since GRDI and Myself know that Wagyan Land was hacked into Hanamaru, and then Yo! Noid, It will be redone as Yo! Wagyan (may change, it is WIP!)

I can't find the sprites in the hex editor, And it should consists of Tiles, Attributes, Cooridnates, and possibly Priority, and I can only do CHR at this time!

Can credit the person if the format is found, Good luck finding it out!
« Last Edit: April 12, 2011, 07:03:11 pm by Hamtaro126 »
KingMike
Guest
« Reply #1 on: April 12, 2011, 08:04:22 pm »

Hanamaru uses CHR-ROM so the sprites are uncompressed. So, it'd take very basic ROM hacking skills to change them.
Almost all NES games store sprites as a single page of RAM (0n00 to 0nFF). Open FCEUX, set a write breakpoint (Debugger, Add, enter the CPU address, click CPU RAM and Write) for $4014 to figure out which page n is used for sprites.
Then you have it narrowed down to a $100-byte range in RAM. Open FCEUX' hex editor, figure out which address each sprite is in, then set a write breakpoint to see where the data for each sprite comes from.
Each sprites data is 4 bytes: first is Y, second is tile number, third is attributes, fourth is X.
Now have fun doing the tedious part of finding where each and every sprite's data is.
Hamtaro126
Guest
« Reply #2 on: April 12, 2011, 08:25:53 pm »

Thank you, Now I can get to finishing my hack,

It may have a release around 2012-2013 at this rate, depending on what I am needing to change

And I am almost done with redoing the script!

Screenshots will come when released, because it is a WIP!
Pages: [1]  


Powered by SMF 1.1.4 | SMF © 2006-2007, Simple Machines LLC