Amiibo: Difference between revisions
Create table for nfc page 0x4 |
|||
(2 intermediate revisions by 2 users not shown) | |||
Line 38: | Line 38: | ||
| 0x4 | | 0x4 | ||
| style="background: green" | Yes | | style="background: green" | Yes | ||
| Last 3-bytes here are used with the following HMAC where the size is 0x1DF-bytes. The u16 starting at byte1 is used for the first two bytes in the 0x40-byte input buffer for Amiibo [[Process_Services_PXI|crypto]] init. | | Last 3-bytes here are used with the following HMAC where the size is 0x1DF-bytes. The u16 starting at byte1 is used for the first two bytes in the 0x40-byte input buffer for Amiibo [[Process_Services_PXI|crypto]] init. | ||
{| class="wikitable" border="1" | |||
|- | |||
! Offset | |||
! Size | |||
! Description | |||
|- | |||
| 0x0 | |||
| 0x1 | |||
| Magic (Always 0xA5) | |||
|- | |||
| 0x1 | |||
| 0x2 | |||
| Incremented each time the Amiibo is written to. | |||
|- | |||
| 0x3 | |||
| 0x1 | |||
| Figure version (always 0x00) | |||
|} | |||
|- | |- | ||
| 0x5 | | 0x5 | ||
Line 137: | Line 155: | ||
! Size | ! Size | ||
! Description | ! Description | ||
! Notes | |||
|- | |- | ||
| 0x0 | | 0x0 | ||
| 0x2 | | 0x2 | ||
| Game & Character ID | | Game & Character ID | ||
| First 10 bits are the Game ID and last 6 bits are Character ID. | |||
|- | |- | ||
| 0x2 | | 0x2 | ||
| 0x1 | | 0x1 | ||
| Character variant | | Character variant | ||
| | |||
|- | |- | ||
| 0x3 | | 0x3 | ||
| 0x1 | | 0x1 | ||
| Amiibo Figure Type | | Amiibo Figure Type | ||
| | |||
|- | |- | ||
| 0x4 | | 0x4 | ||
| 0x2 | | 0x2 | ||
| Amiibo Model Number | | Amiibo Model Number | ||
| | |||
|- | |- | ||
| 0x6 | | 0x6 | ||
| | | 0x1 | ||
| Amiibo Series | | Amiibo Series | ||
| | |||
|- | |||
| 0x7 | |||
| 0x1 | |||
| Format Version | |||
| Always 0x02 | |||
|} | |} | ||