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 Super Mario World hacking: labmaster | 3 guests
Acmlm's Board - I2 Archive - Super Mario World hacking - [ASM][Sprites][Help] Changing Palette sprites use.
  
User name:
Password:
Reply:
 

UserPost
DisruptiveIdiot
Posts: 141/147
Originally posted by HyperHacker
Alright, looking at those values I know what the palette value is... bits 1, 2 and 3 (starting at 0 on the right) of graphic byte 1; add 7 to get the actual palette number.


Now a question: Why does the para-bomb not change palette if you hit it in mid-air? It changes into a bob-omb, but it doesn't change palette. I think this may point towards how to change sprite palettes and maybe even other characteristics during run-time. Hitting the ground tells the Para-Bomb to do something different than mario hitting it, which is pretty interesting.
HyperLamer
Posts: 7063/8210
Alright, looking at those values I know what the palette value is... bits 1, 2 and 3 (starting at 0 on the right) of graphic byte 1; add 7 to get the actual palette number.
DisruptiveIdiot
Posts: 138/147
Here are some of the results I got, thanks andres for pointing me to graphic byte 1 =P

Interesting things about the Parabomb:

If it lands on the ground normally, its palette will change to the same one as the Bob-Omb, but if its interrupted in the air, the palette will stay the same even if it changes into a bob-omb.
To change the palette of a sprite in Mario World reconfigurator change graphic byte 1 to:

11 palette 8
13 palette 9
15 palette A
17 palette B
19 palette C
1B palette D
1F palette E

This has been tested with Goomba, Paragoomba, Bob-Omb, and Para-Bomb. More tests on the way.
HyperLamer
Posts: 7058/8210
Or I could just rename the thread.

The palette is a few bits on one of the graphic bytes. I forget which, try them all (there's only 3 ).
DisruptiveIdiot
Posts: 137/147
Originally posted by Glyph Phoenix
You idiot!* [HowTo] is when you actually have something to add. Don't go bringing up issues and calling them [HowTo]s, it makes you look like a jerk.

Besides, this problem hasn't been completely solved. Many sprites can't be read or written by MarioWorldReconfigurer. Some palette areas appear to be hardcoded.

*Disruptive, too!


It was a typo actually, I wanted to put in [help] but yeah. Then I rolled with it and tried to make up an excuse.

But now I'm going to go tinker with every sprite and document every code for each sprite and palette, just to correct my mistake.
ExKay
Posts: 1017/1114
Why don't you change the palettes with Sprite Paint 2.0?
Glyph Phoenix
Posts: 560/745
You idiot!* [HowTo] is when you actually have something to add. Don't go bringing up issues and calling them [HowTo]s, it makes you look like a jerk.

Besides, this problem hasn't been completely solved. Many sprites can't be read or written by MarioWorldReconfigurer. Some palette areas appear to be hardcoded.

*Disruptive, too!
andrés
Posts: 52/58
I you want to make a bob-omb with palette C:
100019180080E58A37CC

If you want to make a para-bomb with palette C:
300019014000FBD429C4

Change these codes in Mario World Reconfigurator.
DisruptiveIdiot
Posts: 135/147
Whew, effective use of the tags eh?* I want to know if there's an easy way with mario world reconfigurator or a hex editor to change the palette a sprite uses. I want to make the bob-omb use palette C instead of palette B and I want to make the para-bob-omb use palette C instead of palette A. Funny eh? I just noticed the para and regular bob-omb use a different palette, you just can't notice 'cause they both are black.

*Yes, I know this isn't a thread that tells how to change sprite palettes, but it will be soon. Mwahaha.
Acmlm's Board - I2 Archive - Super Mario World hacking - [ASM][Sprites][Help] Changing Palette sprites use.


ABII


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



Page rendered in 0.004 seconds.