|
|
u8 | tag_magic |
| | Tag magic (always 0xA5: https://www.3dbrew.org/wiki/Amiibo#Page_layout).
|
| |
|
u8 | reserved1 [0x1] |
| |
|
u16 | tag_write_counter |
| | Incremented every tag write.
|
| |
|
u32 | crc32_1 |
| | CRC32 of some internal 8-byte data.
|
| |
|
u8 | reserved2 [0x38] |
| |
|
NfpDate | last_write_date |
| | Updated every write.
|
| |
|
u16 | write_counter |
| | Incremented every write, until it maxes out at 0xFFFF.
|
| |
|
u16 | version |
| | Version.
|
| |
|
u32 | application_area_size |
| | Size of the application area.
|
| |
|
u8 | reserved3 [0x34] |
| |
|
MiiVer3StoreData | mii_v3 |
| | Ver3StoreData (Mii format used in 3DS).
|
| |
|
u8 | pad [0x2] |
| |
|
u16 | mii_v3_crc16 |
| | CRC16 of Ver3StoreData.
|
| |
|
MiiNfpStoreDataExtension | mii_store_data_extension |
| | StoreDataExtension.
|
| |
|
NfpDate | first_write_date |
| | Set when the amiibo is first written to.
|
| |
|
u16 | amiibo_name [10+1] |
| | Amiibo name (utf-16, null-terminated).
|
| |
|
u8 | font_region |
| | Font region.
|
| |
|
u8 | unknown1 |
| | Normally zero.
|
| |
|
u32 | crc32_2 |
| | CRC32 of Ver3StoreData + application_id_byte + unknown1 + StoreDataExtension + unknown2 (0x7E bytes total)
|
| |
|
u32 | unknown2 [0x5] |
| | Normally zero.
|
| |
|
u8 | reserved4 [0x64] |
| |
|
u64 | application_id |
| | Modified application ID (Application ID & 0xFFFFFFFF0FFFFFFF | 0x30000000)
|
| |
|
u32 | access_id |
| | Application area access ID.
|
| |
|
u16 | settings_crc32_change_counter |
| |
|
u8 | flags |
| | NfpAmiiboFlag
|
| |
|
u8 | tag_type |
| | NfcTagType
|
| |
|
u8 | application_area_version |
| | NfpApplicationAreaVersion
|
| |
|
u8 | application_id_byte |
| | Application ID byte ((Application ID >> 28) & 0xFF)
|
| |
|
u8 | reserved5 [0x2E] |
| |
|
u8 | application_area [0xD8] |
| | Application area.
|
| |
The documentation for this struct was generated from the following file:
- include/switch/services/nfc.h