SMB2J Palette Question

Discuss technical or other issues relating to programming the Nintendo Entertainment System, Famicom, or compatible systems.

Moderator: Moderators

User avatar
ShaneM
Posts: 353
Joined: Wed Apr 04, 2012 4:15 pm
Location: United States of America (USA)
Contact:

SMB2J Palette Question

Post by ShaneM »

I am trying to change the underwater cheep-cheeps to a shade of green (to the one the mountains share) instead of gray. It seems the cheeps share the same color gray as the bloober outline, castle bricks, and anything underwater supposed to be green, is there a tool i could use to change each color individually instead of messing with 6502? Also I've tried yy-chr but red and green cheeps share the same sprite, so that cannot bo used, thanks.
User avatar
mikejmoffitt
Posts: 1352
Joined: Sun May 27, 2012 8:43 pm

Re: SMB2J Palette Question

Post by mikejmoffitt »

Look for the three colors of the cheep-cheep in order, and try changing the value of the grey within the group of three colors. There will be trial and error, as that same group could represent instructions.

There is a tool NES Palette Editor that may help visualize this sequence. Using an emulator that lets you view the palette in real-time will help you see which values are being used during that part of the game.

I do not think the bloopers use the same palette as the grey cheep-cheeps so this should not be a problem.
User avatar
ShaneM
Posts: 353
Joined: Wed Apr 04, 2012 4:15 pm
Location: United States of America (USA)
Contact:

Re: SMB2J Palette Question

Post by ShaneM »

actually i tested it on nestopia 1.40u6 in the palette editor, and I changed the grey to pink and the outline to bloober also changed though bloober's color is white, it also affects castle stages...
User avatar
ShaneM
Posts: 353
Joined: Wed Apr 04, 2012 4:15 pm
Location: United States of America (USA)
Contact:

Re: SMB2J Palette Question

Post by ShaneM »

is there a tool to just change Cheep's color, or how would i find the hex editor area?
User avatar
ShaneM
Posts: 353
Joined: Wed Apr 04, 2012 4:15 pm
Location: United States of America (USA)
Contact:

Re: SMB2J Palette Question

Post by ShaneM »

your tool does not seem compatible with win7 ultimate
User avatar
Hamtaro126
Posts: 786
Joined: Thu Jan 19, 2006 5:08 pm

Re: SMB2J Palette Question

Post by Hamtaro126 »

I belive it doable with FCEUX and a hex editor:

find 10 30 27 in the ROM, And correct it to 1A 30 27!
AKA SmilyMZX/AtariHacker.
User avatar
ShaneM
Posts: 353
Joined: Wed Apr 04, 2012 4:15 pm
Location: United States of America (USA)
Contact:

Re: SMB2J Palette Question

Post by ShaneM »

It worked, how did you do that in FCEUX (as I also wanted to change the green to the Koopa Troopas in castle stages)?
User avatar
Hamtaro126
Posts: 786
Joined: Thu Jan 19, 2006 5:08 pm

Re: SMB2J Palette Question

Post by Hamtaro126 »

Shanem wrote:It worked, how did you do that in FCEUX (as I also wanted to change the green to the Koopa Troopas in castle stages)?
It is actually a simple thing, if you use the PPU viewer, the Palette Display values are under the Character Display.

Palettes are one of the simplest thing to hack ever, really!

EDIT: Koopas are 1C 36 17 in both castle and underground levels.

Here are what they mean

1C = Dark Cyan
36 = Light Peach
17 = Brown
AKA SmilyMZX/AtariHacker.
User avatar
mikejmoffitt
Posts: 1352
Joined: Sun May 27, 2012 8:43 pm

Re: SMB2J Palette Question

Post by mikejmoffitt »

Shanem wrote:actually i tested it on nestopia 1.40u6 in the palette editor, and I changed the grey to pink and the outline to bloober also changed though bloober's color is white, it also affects castle stages...
You were likely changing the whole palette itself.
User avatar
ShaneM
Posts: 353
Joined: Wed Apr 04, 2012 4:15 pm
Location: United States of America (USA)
Contact:

Re: SMB2J Palette Question

Post by ShaneM »

In world A-1, the Allstars version adds two star blocks above the last upside-down pipe, but fds version has the pipe hanging in mid-air (without two star blocks) at the end close to the flagpole, so can FCEUX tell me hex-wise what I need to do to add these two blocks? or some other tool I could use?
User avatar
ShaneM
Posts: 353
Joined: Wed Apr 04, 2012 4:15 pm
Location: United States of America (USA)
Contact:

Re: SMB2J Palette Question

Post by ShaneM »

From what I see FCEUX does not have this feature, any more suggestions?
User avatar
Hamtaro126
Posts: 786
Joined: Thu Jan 19, 2006 5:08 pm

Re: SMB2J Palette Question

Post by Hamtaro126 »

Shanem wrote:From what I see FCEUX does not have this feature, any more suggestions?
Look under Debug > PPU Viewer, Contains both Character and Palette viewers,

Then, Look for values via your HEX editor (excluding color 0 of any palette slot, they are transparent!)

EDIT: What you originally did is change the .pal data (64 colors of the NES palette), What you want is the above ROM hacking method!
AKA SmilyMZX/AtariHacker.
User avatar
ShaneM
Posts: 353
Joined: Wed Apr 04, 2012 4:15 pm
Location: United States of America (USA)
Contact:

Re: SMB2J Palette Question

Post by ShaneM »

Actually I figured the palette, I was referring to my post from before dealing with World A-1... thanks though :)

Do you or anybpdy else know if FCEUX can do what I needed help with from my post about A-1?
3gengames
Formerly 65024U
Posts: 2281
Joined: Sat Mar 27, 2010 12:57 pm

Re: SMB2J Palette Question

Post by 3gengames »

FCEUX is a TOOL to hack the ROM, it won't do anything to help you otherwise. You have to use the tools it has to figure out and edit the ROM data the way you want.
User avatar
ShaneM
Posts: 353
Joined: Wed Apr 04, 2012 4:15 pm
Location: United States of America (USA)
Contact:

Re: SMB2J Palette Question

Post by ShaneM »

I can't seem to get FCEUX to do what I need it to do at A-1 even with debugger/hex editor, I can't find the hex offsets. I am trying to upload a screenshot with the World in it and I tried Img, how do I upload screenshot? Also, anybody who knows SMB2J well enough, what other user-friendly hack tool could I use or where is the offset for this?
Post Reply