NFC Services: Difference between revisions
Steveice10 (talk | contribs) Fill in some commands that seem to match up with Switch NFC commands. |
Steveice10 (talk | contribs) Adding some amiibo data structures shared with Switch. |
||
Line 623: | Line 623: | ||
| 0xc8a17600 | | 0xc8a17600 | ||
| The current NFC tag [[NFC:GetTagState|state]], or other NFC state, is invalid with the NFC command which was used. | | The current NFC tag [[NFC:GetTagState|state]], or other NFC state, is invalid with the NFC command which was used. | ||
|} | |||
=Data Types= | |||
=AdminInfo= | |||
{| class="wikitable" border="1" | |||
|- | |||
! Offset | |||
! Size | |||
! Description | |||
|- | |||
| 0x00 | |||
| 0x08 | |||
| Program ID (From the Wii U, 3DS or Switch title who created the application area) | |||
|- | |||
| 0x08 | |||
| 0x04 | |||
| [[Amiibo#Games_using_Amiibo_AppData|App ID]] | |||
|- | |||
| 0x0C | |||
| 0x02 | |||
| CRC32 Change Counter | |||
|- | |||
| 0x0E | |||
| 0x01 | |||
| Flags (bit0 = amiibo was initialized in console settings, bit1 = has application area, bit2/bit3 unknown) | |||
|- | |||
| 0x0F | |||
| 0x01 | |||
| Unknown, hardcoded to 0x2 | |||
|- | |||
| 0x10 | |||
| 0x1 | |||
| 0xFF if there is no application area, related to the console of the application area game otherwise (0/2 = 3DS, 1 = Wii U, 3 = Switch) | |||
|- | |||
| 0x11 | |||
| 0x07 | |||
| Padding | |||
|- | |||
| 0x18 | |||
| 0x28 | |||
| Reserved | |||
|} | |||
=RegisterInfoPrivate= | |||
{| class="wikitable" border="1" | |||
|- | |||
! Offset | |||
! Size | |||
! Description | |||
|- | |||
| 0x00 | |||
| 0x44 | |||
| Mii StoreData | |||
|- | |||
| 0x44 | |||
| 0x04 | |||
| First Write [[#Date|Date]] | |||
|- | |||
| 0x48 | |||
| 0x29 | |||
| Amiibo Name (NUL-Terminated) | |||
|- | |||
| 0x71 | |||
| 0x01 | |||
| Unknown | |||
|- | |||
| 0x72 | |||
| 0x8E | |||
| Reserved | |||
|} | |||
=Date= | |||
{| class="wikitable" border="1" | |||
|- | |||
! Offset | |||
! Size | |||
! Description | |||
|- | |||
| 0x00 | |||
| 0x02 | |||
| Year | |||
|- | |||
| 0x02 | |||
| 0x01 | |||
| Month | |||
|- | |||
| 0x03 | |||
| 0x01 | |||
| Day | |||
|} | |} | ||