Nintendo Badge Arcade/PrizeCollection: Difference between revisions
→Prize (prb): Adding missing data to PRBS file structure |
→Prize (prb): Added clarification on badge image data |
||
Line 319: | Line 319: | ||
|} | |} | ||
Following the badges metadata is it's image data. Each badge contains multiple images used in different places during gameplay | |||
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 | |||
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 | |||
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 | |||
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 | |||
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 | | 64x64 RGB565 image of full badge (used in Home Menu if badge is 1x1) | ||
|- | |- | ||
| 0x3100 | | 0x3100 | ||
| 0x800 | | 0x800 | ||
| | | A4 data | ||
|- | |- | ||
| 0x3900 | | 0x3900 | ||
| 0x800 | | 0x800 | ||
| 32x32 RGB565 image of full | | 32x32 RGB565 image of full badge (used in badge selector in Home Menu) | ||
|- | |- | ||
| 0x4100 | | 0x4100 | ||
| 0x200 | | 0x200 | ||
| | | A4 data | ||
|- | |- | ||
| | | | ||
| 0x2000 | | 0x2000 | ||
| 64x64 RGB565 image | | 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 | ||
| | | A4 data | ||
|- | |- | ||
| | | | ||
| 0x800 | | 0x800 | ||
| 32x32 RGB565 image | | 32x32 Optional additional RGB565 image tile(s). Only exists if badge is not 1x1 (unknown use) | ||
|- | |- | ||
| | | | ||
| 0x200 | | 0x200 | ||
| | | A4 data | ||
|- | |- | ||
| | | | ||
| 0x4000 | | 0x4000 | ||
| 128x128 ETC1A4 image | | 128x128 ETC1A4 image (used in game) | ||
|- | |- | ||
| | | | ||
| 0x4000 | | 0x4000 | ||
| | | A8 data | ||
|} | |} | ||