Nintendo Badge Arcade/PrizeCollection: Difference between revisions

m Component properties: Expand unknown properties
m Minor corrections
Line 158: Line 158:
| 0xD8
| 0xD8
| 0x8
| 0x8
| Unknown
| Unknown (usually zero?)
|-
|-
| 0xE0
| 0xE0
Line 574: Line 574:
| 0x10
| 0x10
| 0x4
| 0x4
| End address of header data
| End address of header data (ORed with 0x80?)
|-
|-
| 0x14
| 0x14
Line 589: Line 589:
|-
|-
| 0x4C
| 0x4C
| 0x80
| 0xB4
| Unknown (usually zero?)
|-
| 0xCC
| 0x34
| Padding
| Padding
|-
|-
Line 668: Line 664:
| 0x64
| 0x64
| 0x4
| 0x4
| Unknown
| Unknown (related to category ID?)
|-
|-
| 0x68
| 0x68
Line 725: Line 721:
|-
|-
| 0x4C
| 0x4C
| 0xB4
| 0x34
| Padding
| Padding
|-
|-
Line 987: Line 983:
| 0x3900
| 0x3900
| 0x800
| 0x800
| 32x32 RGB565 image of full badge (used in badge selector in Home Menu)
| 32x32 RGB565 image of full badge (used in badge selector in Home Menu if badge is 1x1)
|-
|-
| 0x4100
| 0x4100
Line 1,003: Line 999:
|  
|  
| 0x800
| 0x800
| 32x32 Optional additional RGB565 image tile(s). Only exists if badge is not 1x1 (unknown use)
| 32x32 Optional additional RGB565 image tile(s). Only exists if badge is not 1x1 (used in badge selector in Home Menu if badge is not 1x1)
|-
|-
|  
|  
Line 1,071: Line 1,067:
The data of a polygon starts with the number of vertices. The coordinates of each vertice are then stored as float32 values on an allocated 0x40 byte section.
The data of a polygon starts with the number of vertices. The coordinates of each vertice are then stored as float32 values on an allocated 0x40 byte section.


If the coordinates don't fill the 0x40 byte section, the remaining data is set to null bytes.
The vertices can't be next to each other, there is a 2 pixel circular restricted area around each vertice. If the coordinates don't fill the 0x40 byte section, the remaining data is set to null bytes.


{| class="wikitable"
{| class="wikitable"