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 - Custom Mario/Luigi Palettes by Power Up
  
User name:
Password:
Reply:
 

UserPost
d4s
Posts: 188/325
Originally posted by BMF3PO
Originally posted by HabsoluteFate
The good news here is that mario/luigi use their own 8 color (16 bytes) palette therefore this code shouldn't affect any other characters in the game (although i havent really tested much it doesnt look like yoshi is using mario's palette so he's untouched)
Actually, quite a few brown sprites use the Mario/Luigi palette, such as blocks (the ? blocks right after you hit them, for example) and the ball-and-chain platforms (the ones that swing around when you jump on them).


i think making them use different palettes wouldnt be too difficult.
iirc, the palette number of most(i say most because i havent checked them all) sprites are hardcoded and very easy to find.
but i think youre the pro when it comes to smw palette stuff anyway, arent you, bmf?
BMF98567
Posts: 800/1261
Originally posted by HabsoluteFate
The good news here is that mario/luigi use their own 8 color (16 bytes) palette therefore this code shouldn't affect any other characters in the game (although i havent really tested much it doesnt look like yoshi is using mario's palette so he's untouched)
Actually, quite a few brown sprites use the Mario/Luigi palette, such as blocks (the ? blocks right after you hit them, for example) and the ball-and-chain platforms (the ones that swing around when you jump on them).
Sokarhacd
Posts: 1187/1757
wow...doing an awesome job habsolute...I think this may change smw hacking as much as LM when you get finished
XPeter
Posts: 380/963
Nice work Hab, i'm really looking forward to this. Keep it up.
Sukasa
Posts: 460/1981
Great job Habsolute! I'm looking forward to being able to use this. I can't show you any code segments, but if you 'copy' LM's palette dialogs, it might give you a head start. (i.e. one box selects mario's size, another selects his powerup, etc...)
HabsoluteFate
Posts: 150/179
Some news on the power up stuff I'm working on. I finally got the chance to work on it again and i totally figured out how the current palette loading code works...this means i will be able to begin work on changing the code so it loads from a much bigger set of palettes.
The new version of the SMW Dev Env will allow you to set the palette for mario & luigi by power up. Although the project wont be completed you will be able to set the palette for power ups that dont exist yet since I might as well support it from the start.

The original SMW uses 4 palettes total:
1 for small, large, and cape mario
1 for small, large, and cape luigi
1 for fire mario
1 for fire luigi

The new code will seperate these so that small, large, and cape mario no longer share the same palette. This means that with my changes alone 8 pallettes will be used for mario and luigi instead of 4. With these palette changes alone i'm sure some of you could add some fun to mario's overall colors. That will not be all that will be changed of course, i will support palettes for a total of up to 32 marios and 32 luigis (this means 64 palettes total maximum). The good news here is that mario/luigi use their own 8 color (16 bytes) palette therefore this code shouldn't affect any other characters in the game (although i havent really tested much it doesnt look like yoshi is using mario's palette so he's untouched)

in case your wondering no the next version of the tool will not allow you to change the graphic for mario/luigi itself yet...only the palette. I will tackle the graphics next once this version is out. No timelines for when the palette changing code will get released yet...it all depends on time...and honestly i have to build the GUI for it as well and i'm trying to figure out how i'm going to create the tool that lets you pick a color for the palette...if anyone has code samples you would like to share i wouldnt mind since it would speed up development.


For those techies yes seperating palettes means that it will use more ROM space but honestly....32 palettes x 32 bytes per palette is only 1024 bytes total...considering the original rom was only 512KB....we have a lot of room available if we went expended the ROM as high as 6MB....

Edit: oops its actually 32 palettes x 16 bytes per palette x 2 (2=mario & luigi)...still equals 1024 bytes though
Acmlm's Board - I2 Archive - Super Mario World hacking - Custom Mario/Luigi Palettes by Power Up


ABII


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



Page rendered in 0.004 seconds.