Changes

β†’β€ŽPrize (prb): Added clarification on badge image data
Line 319: Line 319:  
|}
 
|}
   βˆ’
If the tile size is 1x1:
+
Following the badges metadata is it's image data. Each badge contains multiple images used in different places during gameplay
   βˆ’
{| class="wikitable"
+
An image can be either RGB565 or ETC1A4. RGB565 images are immediately followed with A4 data for itself, whereas ETC1A4 images are immediately followed with A8 data for itself
βˆ’
|-
+
 
βˆ’
! Offset
+
A badge may take up multiple spaces on the Home Menu, and as such contains images for each space called "tiles". The number of image tiles a badge uses is found in the badge metadata at offsets 0xB8 and 0xBC
βˆ’
! Size
+
 
βˆ’
! Description
+
All badge image data begins with a 64x64 RGB565 image of the full badge. Following the 64x64 image is a  32x32 RGB565 image of the full badge, which is used in the badge selector in Home Menu
βˆ’
|-
+
 
βˆ’
| 0x1100
+
If the badge is 1x1 tiles, then the first 64x64 RGB565 image is used in Home Menu to display the badge. If the badge is ''not'' 1x1, then the badge contains x*y number of additional 64x64 and 32x32 RGB565 images, where x is the number of horizontal tiles and y is the number of vertical tiles. These tiles are then used in Home Menu to display the badge. These additional images are stored immediately after the 32x32 image
βˆ’
| 0x2000
  βˆ’
| 64x64 RGB565 image (used in Home Menu)
  βˆ’
|-
  βˆ’
| 0x3100
  βˆ’
| 0x800
  βˆ’
| 64x64 A4 data of previous image
  βˆ’
|-
  βˆ’
| 0x3900
  βˆ’
| 0x800
  βˆ’
| 32x32 RGB565 image (used in badge selector in Home Menu)
  βˆ’
|-
  βˆ’
| 0x4100
  βˆ’
| 0x200
  βˆ’
| 32x32 A4 data of previous image
  βˆ’
|-
  βˆ’
| 0x4300
  βˆ’
| 0x4000
  βˆ’
| 128x128 ETC1A4 image (used ingame)
  βˆ’
|-
  βˆ’
| 0x8300
  βˆ’
| 0x4000
  βˆ’
| 128x128 A8 data of previous image
  βˆ’
|}
     βˆ’
If the tile size is anything other than 1x1:
+
Finally, the last image in the badge image data is a single 128x128 ETC1A4 image of the full badge which is used in game
    
{| class="wikitable"
 
{| class="wikitable"
Line 362: Line 339:  
| 0x1100
 
| 0x1100
 
| 0x2000
 
| 0x2000
βˆ’
| 64x64 RGB565 image of full tile
+
| 64x64 RGB565 image of full badge (used in Home Menu if badge is 1x1)
 
|-
 
|-
 
| 0x3100
 
| 0x3100
 
| 0x800
 
| 0x800
βˆ’
| 64x64 A4 data of previous image
+
| A4 data
 
|-
 
|-
 
| 0x3900
 
| 0x3900
 
| 0x800
 
| 0x800
βˆ’
| 32x32 RGB565 image of full tile
+
| 32x32 RGB565 image of full badge (used in badge selector in Home Menu)
 
|-
 
|-
 
| 0x4100
 
| 0x4100
 
| 0x200
 
| 0x200
βˆ’
| 32x32 A4 data of previous image
+
| A4 data
 
|-
 
|-
βˆ’
| ...
+
|  
 
| 0x2000
 
| 0x2000
βˆ’
| 64x64 RGB565 image of tile x
+
| 64x64 Optional additional RGB565 image tile(s). Only exists if badge is not 1x1 (used in Home Menu if badge is not 1x1)
 
|-
 
|-
βˆ’
| ...
+
|  
 
| 0x800
 
| 0x800
βˆ’
| 64x64 A4 data of previous image
+
| A4 data
 
|-
 
|-
βˆ’
| ...
+
|  
 
| 0x800
 
| 0x800
βˆ’
| 32x32 RGB565 image of tile x
+
| 32x32 Optional additional RGB565 image tile(s). Only exists if badge is not 1x1 (unknown use)
 
|-
 
|-
βˆ’
| ...
+
|  
 
| 0x200
 
| 0x200
βˆ’
| 32x32 A4 data of previous image
+
| A4 data
 
|-
 
|-
βˆ’
| ...
+
|  
 
| 0x4000
 
| 0x4000
βˆ’
| 128x128 ETC1A4 image of full tile
+
| 128x128 ETC1A4 image (used in game)
 
|-
 
|-
βˆ’
| ...
+
|  
 
| 0x4000
 
| 0x4000
βˆ’
| 128x128 A8 data of previous image
+
| A8 data
 
|}
 
|}
  
6

edits