Changes

503 bytes added ,  12:35, 16 November 2011
→‎Banner: icons explenation
Line 80: Line 80:  
|  Reserved = 0
 
|  Reserved = 0
 
|}
 
|}
This small 'table' is immediately followed by a 0x80 large block for the application name (first title) and then a 0x100 bytes large block for the second title (this title will be shown in the system settings). After that there's alway the same order:
+
This small 'table' is immediately followed by a meta-data described like that:
* publisher name (aligned to 0x80 bytes)
+
* first title (0x80 bytes)
* first title (aligned to 0x80 bytes)
+
* second title (0x100 bytes)
* second title (aligned to 0x100 bytes)
+
* publisher name (0x80 bytes)
The titles are UCS-2.
+
All encoded in UTF-16.
This order will repeat 10 times, thus there's a 0x1660 bytes large space for these information.
+
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
 +
|-
 +
|}
399

edits