CIA: Difference between revisions
→Banner: icons explenation |
|||
Line 80: | Line 80: | ||
| Reserved = 0 | | Reserved = 0 | ||
|} | |} | ||
This small 'table' is immediately followed by a | This small 'table' is immediately followed by a meta-data described like that: | ||
* | * first title (0x80 bytes) | ||
* | * second title (0x100 bytes) | ||
* | * publisher name (0x80 bytes) | ||
All encoded in UTF-16. | |||
This order will repeat | This order will repeat 11 times (each block for different language supported). | ||
=== Icons === | |||
At offset 0x2400 into the banner (inside the Banner's meta-data) to the end, There are two icons (Small - 24x24 & Large - 48x48). | |||
Both of the icons are encoded in RGB655 (havn't been checked for sure yet) meaning 16bpp. | |||
There's a header of 0x40 bytes and then comes the raw data. | |||
The data is encoded in tiles (starting from size 8x8). | |||
If the buffer is like this: | |||
{| class="wikitable" border="1" | |||
|- | |||
! 0 | |||
! 1 | |||
! 2 | |||
! 3 | |||
! 4 | |||
! 5 | |||
! 6 | |||
! 7 | |||
! 8 | |||
! 9 | |||
! 10 | |||
! 11 | |||
! 12 | |||
! 13 | |||
! 14 | |||
! 15 | |||
! 16 | |||
|- | |||
|} | |||
Then the image would look like this: | |||
{| class="wikitable" border="1" | |||
|- | |||
! x=0 | |||
! x=1 | |||
! x=2 | |||
! x=3 | |||
! x=4 | |||
|- | |||
| 0 | |||
| 1 | |||
| 4 | |||
| 5 | |||
| 16 | |||
|- | |||
| 2 | |||
| 3 | |||
| 6 | |||
| 7 | |||
| ... | |||
|- | |||
| 8 | |||
| 9 | |||
| 12 | |||
| 13 | |||
|- | |||
| 10 | |||
| 11 | |||
| 14 | |||
| 15 | |||
|- | |||
|} |