Changes

Jump to navigation Jump to search
358 bytes added ,  19:41, 13 February 2011
m
[[Image:icon_5.gif]]
These are converted by a tool bLAStY blasty wrote. Icon files were supplied by loopy.
== Basic File Structure ==
|-
| 0x0000
| 21| File Version/Magic Number of titles (should be 0x03015+N)|-| 0x0001| 1| Animated (1=contains animated icon at 0x1240)
|-
| 0x0002
| 2*4
| 4 CRC checksums(polynomial 0xA001)
|-
| 0x000A
| Default Bitmap
|-
| 0x02300x0220
| 32
| Palette for above
|-
| 0x02500x0240| 256*816| Application Title (in 8 languages)Titles, wide chars|-| 0x0A40| 2048| Padding (00's)
|-
| 0x1240
|-
| 0x2340
| 80128
| Animation Sequence
|}
Languages (in correct order) are: Japanese, English, French, German, Italian, Spanish, Unknown?Chinese?, UnknownKorean.
== Animation Sequence ==
|-
| 8
| Frame Duration (in frames(one frame = 1/60sec))
| 0x00FF
|}
The conversion to RGB888 is made like this (C):
<source lang="c"> u8 r = ((color ) & 0x1f)<<3; u8 g = ((color >> 5) & 0x1f)<<3; u8 b = ((color >> 10) & 0x1f; r )<<= 3; g <</source> == Checksums ==The CRC-output is not bitwise inverted after the calculation, but it is byte-swapped to big-endian. Polynomial used is: 0xA001, same for all. {| class="wikitable"|- style= 3"background-color: #ddd;"! Number! Range b <<= |-| 0| 020-83F|-| 1| 020-93F|-| 2| 020-A3F|-| 3;| 1240-23C0|}
71

edits

Navigation menu