The forums have moved to a new location, visit them at forum.goldensunhacking.net!


Share | 
 

 Image Palettes

View previous topic View next topic Go down 
AuthorMessage
Role
Magister
Magister
avatar

Posts : 313
Join date : 2009-10-11
Age : 30
Location : Austin, Texas

PostSubject: Image Palettes   Wed Oct 14, 2009 8:13 am

Okay, so after finding out about the 16 color palette in the icons, I'm curious as to the OTHER palette restrictions.

For example, what about for Face Portraits, Overworld Sprites, and Battle Sprites?

_________________
My programming skill is moot, so what I can do is provide reference materials for people to work with while the tools are being developed. I'll to my best to contribute! If you see an error in my reference guides, PLEASE LET ME KNOW about it so I can fix it! Thanks! ^-^

Back to top Go down
View user profile
Atrius
Admin
Admin
avatar

Posts : 90
Join date : 2009-09-10
Age : 30
Location : Earth

PostSubject: Re: Image Palettes   Wed Oct 14, 2009 7:11 pm

Face portraits each have their own 16 color palettes (one of which is always transparent, but not used so far)

Overworld, and Battle sprites all use the same 224 color palette.



You may notice that the first 16 colors of this palette are the exact same as the 16 color palette for icons, this is no coincidence. The GBA has room in memory for a 256 color background palette, and a 256 color sprite palette. The remaining 32 colors in the sprite palette are reserved as room for loading up to two face portraits.

The background palette consists of 224 colors that are customized for each area in the game, and 32 for menu/HUD graphics. In battle it uses 128 for the background, 64 for attack graphical effects, and 64 for the menu/HUD (Each of the normal colors has a brighter version so it can highlight the panel for the character whose turn it is.)
Back to top Go down
View user profile http://forums.goldensunhacking.net
Role
Magister
Magister
avatar

Posts : 313
Join date : 2009-10-11
Age : 30
Location : Austin, Texas

PostSubject: Re: Image Palettes   Wed Oct 14, 2009 7:16 pm

What are all the possible colors for the Face Portraits?

_________________
My programming skill is moot, so what I can do is provide reference materials for people to work with while the tools are being developed. I'll to my best to contribute! If you see an error in my reference guides, PLEASE LET ME KNOW about it so I can fix it! Thanks! ^-^

Back to top Go down
View user profile
Atrius
Admin
Admin
avatar

Posts : 90
Join date : 2009-09-10
Age : 30
Location : Earth

PostSubject: Re: Image Palettes   Wed Oct 14, 2009 7:24 pm

Any color you want, their palettes are saved individually with them. The GBA only uses 5 bits for each RGB color channel though, so their values can only be multiples of 8.
Back to top Go down
View user profile http://forums.goldensunhacking.net
Role
Magister
Magister
avatar

Posts : 313
Join date : 2009-10-11
Age : 30
Location : Austin, Texas

PostSubject: Re: Image Palettes   Wed Oct 14, 2009 7:26 pm

I'm guessing it's a standard 256 color palette, or was my calculator not lying to me when it said 32768 (32^3)?

_________________
My programming skill is moot, so what I can do is provide reference materials for people to work with while the tools are being developed. I'll to my best to contribute! If you see an error in my reference guides, PLEASE LET ME KNOW about it so I can fix it! Thanks! ^-^

Back to top Go down
View user profile
Atrius
Admin
Admin
avatar

Posts : 90
Join date : 2009-09-10
Age : 30
Location : Earth

PostSubject: Re: Image Palettes   Wed Oct 14, 2009 7:41 pm

Your calculator is correct. You're limited to 16 colors per portrait, but there are 32768 possibilities for each of those colors.
Back to top Go down
View user profile http://forums.goldensunhacking.net
Role
Magister
Magister
avatar

Posts : 313
Join date : 2009-10-11
Age : 30
Location : Austin, Texas

PostSubject: Re: Image Palettes   Wed Oct 14, 2009 7:53 pm

...Yeaaah... I'm not gonna ask you for a palette sample then. It'd take up half the page. :x

_________________
My programming skill is moot, so what I can do is provide reference materials for people to work with while the tools are being developed. I'll to my best to contribute! If you see an error in my reference guides, PLEASE LET ME KNOW about it so I can fix it! Thanks! ^-^

Back to top Go down
View user profile
Atrius
Admin
Admin
avatar

Posts : 90
Join date : 2009-09-10
Age : 30
Location : Earth

PostSubject: Re: Image Palettes   Wed Oct 14, 2009 7:55 pm

Any color is good so long as the individual RGB values are divisible by 8.

0, 8, 16, 24, 32, 40, 48, 56, 64, 72, 80, 88, 96, 104, 112, 120, 128, 136, 144, 152, 160, 168, 176, 184, 192, 200, 208, 216, 224, 232, 240, 248.
Back to top Go down
View user profile http://forums.goldensunhacking.net
Role
Magister
Magister
avatar

Posts : 313
Join date : 2009-10-11
Age : 30
Location : Austin, Texas

PostSubject: Re: Image Palettes   Wed Oct 14, 2009 8:03 pm

True, though it's always helpful to have a sample palette.

_________________
My programming skill is moot, so what I can do is provide reference materials for people to work with while the tools are being developed. I'll to my best to contribute! If you see an error in my reference guides, PLEASE LET ME KNOW about it so I can fix it! Thanks! ^-^

Back to top Go down
View user profile
Sponsored content




PostSubject: Re: Image Palettes   

Back to top Go down
 
Image Palettes
View previous topic View next topic Back to top 
Page 1 of 1
 Similar topics
-
» Image Rotator
» Tutorial: Thumbnail....24 bit Png Image Creation with Paint.net
» Image Counting
» Image Spam Thread
» Please delete my account

Permissions in this forum:You cannot reply to topics in this forum
Golden Sun Hacking Community :: Hackers Corner :: Golden Sun Hacking-
Jump to:  
Free forum | © phpBB | Free forum support | Contact | Report an abuse | Free forum