Register | Login
Views: 19364387
Main | Memberlist | Active users | ACS | Commons | Calendar | Online users
Ranks | FAQ | Color Chart | Photo album | IRC Chat
11-02-05 12:59 PM
1 user currently in Rom Hacking: hukka | 2 guests
Acmlm's Board - I2 Archive - Rom Hacking - Oddity with colors in my hack | |
Add to favorites | "RSS" Feed | Next newer thread | Next older thread
User Post
iamhiro1112

Armos
Level: 35

Posts: 279/487
EXP: 259927
For next: 20009

Since: 03-27-04
From: sd

Since last post: 18 days
Last activity: 7 days
Posted on 03-27-05 06:59 AM Link | Quote
I'm currently trying to change the color of the coins in this hack. So I opened nesticle, found the colors hex and I changed every find with my hex editor. It seems that it didn't work until you reach level 2 of world 1. You'll notice I changed the coins to all black (It is only to test if I found the right hex for changing colors). So, what can I do to effect the coins in level 1 of world 1? Any help would be appreciated.

To see the problem I am talking about download the patch below. Attatch it to a USA version of tiny toons.

http://www.geocities.com/iamstillhiro1112/Super_Mario_Adventures_Demo.zip


(edited by iamhiro1112 on 03-26-05 09:00 PM)
Parasyte

Bullet Bill
Level: 35

Posts: 386/514
EXP: 267348
For next: 12588

Since: 05-25-04

Since last post: 104 days
Last activity: 32 days
Posted on 03-27-05 08:52 AM Link | Quote
FCEUXD is your friend!
It seems the game does not use global palette data. It has one palette set per level. Palette data begins at 0x00B1F0 in the ROM file. This is the palette set for stage 1. The palette set for stage 2 is at 0x00B201, etc. etc. (each set is 0x11 bytes in length). Basicly, each "$0F,$27,$2A" in this area is the palette for the carrots.
iamhiro1112

Armos
Level: 35

Posts: 280/487
EXP: 259927
For next: 20009

Since: 03-27-04
From: sd

Since last post: 18 days
Last activity: 7 days
Posted on 03-27-05 09:32 AM Link | Quote
Ok, I think I should be able to fix the colors now. Could you tell me how you found the address for where the colors were located? Cause this won't be the only item I will be wanting to recolor.
Heran_Bago

Rat
Level: 15

Posts: 6/91
EXP: 13080
For next: 3304

Since: 03-20-05
From: Newtrogic High Zone

Since last post: 8 days
Last activity: 1 day
Posted on 03-27-05 03:35 PM Link | Quote
As stated, FCEU(X)D is your friend.

Read the documentation "The art of ROM hacking" on Zophar's Domain. It has all the info you need to know about NEW pallete editing.
iamhiro1112

Armos
Level: 35

Posts: 281/487
EXP: 259927
For next: 20009

Since: 03-27-04
From: sd

Since last post: 18 days
Last activity: 7 days
Posted on 03-27-05 03:49 PM Link | Quote
Ok, Im getting the hang of it now. You pretty much got to do a search for the 3 colors. And dont bother posting the transparent color in your search. I've begun the color transforming in my hack now.
Parasyte

Bullet Bill
Level: 35

Posts: 387/514
EXP: 267348
For next: 12588

Since: 05-25-04

Since last post: 104 days
Last activity: 32 days
Posted on 03-28-05 12:13 AM Link | Quote
Actually, I never did a hex search to find that palette data. I set breakpoints on $3F00 (PPU) to watch for palette writes, then backtraced quite a bit (required two more [conditional] breakpoints) to find where the data was loaded from ROM. And there it is.

Conditional breakpoints are not available in any of the public builds, so you will not be able to use them. But the general idea is that you can cause a break only when a certain condition is met. Say if you are watching an address which is written quite often, and you only want it to break when a certain value is written, you could set the condition to "A == $3C" ($3C being the specific value) And it would break on thatwrite only if the A register contains $3C. I had to use that to skip all of the worthless writes, where the data wasn't the palette.

Well, there's a simplified answer, for you.
Dish

Spiny
Level: 38

Posts: 305/596
EXP: 355646
For next: 14801

Since: 03-15-04
From: Disch

Since last post: 18 days
Last activity: 18 days
Posted on 03-28-05 01:11 AM Link | Quote
Originally posted by iamhiro1112
So I opened nesticle


Your first mistake.

NESticle may have been nifty 5 years ago -- but it's massively outclassed in every department these days. As has been previously mentioned, you should really get used to using the vastly superior FCEUXD.

Really -- there's no real reason anyone should be using NESticle anymore. It's a very poor emu by todays standards.
Ice Ranger

Leever
Level: 23

Posts: 108/183
EXP: 60462
For next: 7261

Since: 03-16-04

Since last post: 82 days
Last activity: 3 days
Posted on 03-28-05 01:30 AM Link | Quote
Originally posted by iamhiro1112
I'm currently trying to change the color of the coins in this hack. So I opened nesticle, found the colors hex and I changed every find with my hex editor.


As stated above, Nesticle is a bad idea now that FCEUXD is available (why nobody linked to the site yet still confuses me ).

Using FCEUXD, open the PPU viewer (yes, FCEUD does this as well). You should see the pallet appear at the very bottom in 2 rows 16 colors each. Hover the pointer over one of the pallet colors and it should give you the hexidecimal value of it.

Now, open up FCEUXD's hex editor (no, it's not in FCEUD). Do a search for those pallet colors in hex (if they are associated with a sprite, only 3 to 4 values may be included). Probabaly a few or one matches will be made. Make the change and it should be noticable whenever that pallet is loaded into the game again (probably need to leave the area and re-enter, maybe pause then unpause <-doesn't usually work in this case).

That's how I've been doing my pallet hacking, except the FCEUXD allowed me to make changes quicker since I didn't have a seperate hexicemical editor open.

Oh, and one other thing, make sure to save your changes once you have found the results you want.
iamhiro1112

Armos
Level: 35

Posts: 282/487
EXP: 259927
For next: 20009

Since: 03-27-04
From: sd

Since last post: 18 days
Last activity: 7 days
Posted on 03-28-05 01:40 AM Link | Quote
I've been chhanging the colors with a different hex editor. I didnt know that you could make permanent changes with fceuxd's hex editor. That should speed up the process.

The reason I started out on nesticle is cause most of the faqs I was reading were outdated and their instructions told me to use it. I hardly open it anymore now that I am getting to understand fceuxd.
Dish

Spiny
Level: 38

Posts: 306/596
EXP: 355646
For next: 14801

Since: 03-15-04
From: Disch

Since last post: 18 days
Last activity: 18 days
Posted on 03-28-05 02:00 AM Link | Quote
Yes... sadly there are still many outdated docs which recommend NESticle. Also, there are still people who go around recommended NESticle out of ignorance -- which is why I make it a point to step in and object every time I see it happening. ;D
iamhiro1112

Armos
Level: 35

Posts: 300/487
EXP: 259927
For next: 20009

Since: 03-27-04
From: sd

Since last post: 18 days
Last activity: 7 days
Posted on 03-29-05 04:37 AM Link | Quote
Ok, I am having another problem tho. For this level.



Im trying to change the colors of the ground and the building in the background. According to the PPU viewer The metal boxes I wanted to change have colors 0f black, 37 peach, and 00 grey. And the bbuildings have 0f black, 20 white,and 17 brown.

I've tried changing these in a hex editor but haven't found any matches. Anyone got any ideas how I can find the correct addresses in a hex editor?
Add to favorites | "RSS" Feed | Next newer thread | Next older thread
Acmlm's Board - I2 Archive - Rom Hacking - Oddity with colors in my hack | |


ABII


AcmlmBoard vl.ol (11-01-05)
© 2000-2005 Acmlm, Emuz, et al



Page rendered in 0.009 seconds.