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 - SMW Palettes?
  
User name:
Password:
Reply:
 

UserPost
Smallhacker
Posts: 623/2273
Thanks a lot.
BMF98567
Posts: 388/1261
They're stored in BGR format, 5 bits per channel, like so:

0bbbbbgg gggrrrrr

0=unused, b=blue intensity, g=green intensity, r=red intensity. Of course, in the ROM, the two bytes are going to be stored in reverse order (FF 7F, not 7F FF). Lunar Magic shows the SNES format for each color, so you could just write down the first few colors of a sprite palette and search for them that way...
Smallhacker
Posts: 611/2273
Thanks, but in what format are they stored and where can I find a description of it?
cpubasic13
Posts: 625/1346
Hmmm...
*opens up SNESPal*

Address $00348C is the start of the sprite palettes (starting with the grey colors). I don't know where Mario's palette is... but this should be useful to you.
Smallhacker
Posts: 606/2273
Read the last word. :/
cds113089
Posts: 8/46
If you mean the ones already stored in the game, I don't know what to tell you. They are .plt files, but I think your best bet is to ask FuSoYa. You could try looking in the .zip folder LM originally came in.
Smallhacker
Posts: 597/2273
Where are the SMW palettes stored and in which format? I'm planning on making a new Sprite Paint version which shows a preview of the sprites. Using a hardcoded palette would be lame, so it would be nice if it could read directly from the ROM.
Acmlm's Board - I2 Archive - Super Mario World hacking - SMW Palettes?


ABII


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



Page rendered in 0.004 seconds.