Icon.bin: Difference between revisions

Remark (talk | contribs)
File Structure documented
Remark (talk | contribs)
Some fixes from bLASTY. :-)
Line 81: Line 81:
|-
|-
| 8
| 8
| Frame Duration (in ms)
| Frame Duration (in frames)
| 0x00FF
| 0x00FF
|}
|}
Line 90: Line 90:


== The Palettes ==  
== The Palettes ==  
Each color in the palette is in the standard 2-byte RGB555 format (used since GBA).
Each color in the palette is in the standard 2-byte RGB5551 format (used since GBA).


The conversion to RGB888 is made like this (C):
The conversion to RGB888 is made like this (C):