CIA: Difference between revisions
No edit summary |
|||
Line 67: | Line 67: | ||
== Banner == | == Banner == | ||
The banner starts with a 0xF0 large data block, whose purpose is currently unknown. Then at offset 0x400 into the banner section is the actual banner, which contains information about the creator, the first title and the second title (you can see them in the system settings): | The banner starts with a 0xF0 large data block, whose purpose is currently unknown. | ||
Then at offset 0x400 into the banner section is the actual banner (or ICN file), which contains information about the creator, the first title and the second title (you can see them in the system settings): | |||
{| class="wikitable" border="1" | {| class="wikitable" border="1" | ||
|- | |- | ||
Line 82: | Line 84: | ||
| Reserved = 0 | | Reserved = 0 | ||
|} | |} | ||
This | This header is immediately followed by meta-data: | ||
=== | === Application Titles === | ||
{| class="wikitable" border="1" | |||
|- | |||
! START | |||
! SIZE | |||
! DESCRIPTION | |||
|- | |||
| 0x00 | |||
| 0x80 | |||
| Short Description | |||
|- | |||
| 0x80 | |||
| 0x100 | |||
| Long Description | |||
|- | |||
| 0x180 | |||
| 0x80 | |||
| Publisher | |||
|} | |||
All encoded in UTF-16. | |||
This order will repeat 11 times (each block for different language supported). | |||
The languages by order of appearance: | |||
* 1st | * 1st: Japanese title name | ||
* 2nd | * 2nd: English title name | ||
* 3rd | * 3rd: French title name | ||
* 4th | * 4th: German title name | ||
* 5th | * 5th: Italian title name | ||
* 6th | * 6th: Spanish title name | ||
* 7th | * 7th: ??? | ||
* 8th | * 8th: ??? | ||
* 9th | * 9th: (German again?) title name | ||
* 10th | * 10th: Portuguese title name | ||
* 11th | * 11th: Greek title name | ||
=== Icons === | === Icons === | ||
Line 117: | Line 130: | ||
* Large - 48x48 icon (the genral icon). | * Large - 48x48 icon (the genral icon). | ||
Both of the icons are encoded in | Both of the icons are encoded in RGB565 meaning 16bpp. | ||
There's a header of 0x40 bytes and then comes the raw data. | There's a header of 0x40 bytes and then comes the raw data. | ||
The data is encoded in tiles (starting from size 8x8). | The data is encoded in tiles (starting from size 8x8, continuing recursively). | ||
If the buffer is like this: | If the buffer is like this: |