Line 951: |
Line 951: |
| = NfpData = | | = NfpData = |
| This is "nn::nfp::NfpData". This is a 0x298-byte struct. | | This is "nn::nfp::NfpData". This is a 0x298-byte struct. |
| + | |
| + | {| class="wikitable" border="1" |
| + | |- |
| + | ! Offset || Size || Description |
| + | |- |
| + | | 0x0 || 0x1 || Magic (Always 0xA5) |
| + | |- |
| + | | 0x1 || 0x1 || Reserved |
| + | |- |
| + | | 0x2 || 0x1 || Write counter |
| + | |- |
| + | | 0x3 || 0x1 || Reserved |
| + | |- |
| + | | 0x4 || 0x4 || Settings CRC32 |
| + | |- |
| + | | 0x8 || 0x38 || Reserved |
| + | |- |
| + | | 0x40 || 0x40 || [[#CommonInfo]] |
| + | |- |
| + | | 0x80 || 0x5C || Mii char info V3 (see https://www.3dbrew.org/wiki/Mii#Mii_format) |
| + | |- |
| + | | 0xDC || 0x2 || Padding |
| + | |- |
| + | | 0xDE || 0x2 || Mii char info V3 CRC16 |
| + | |- |
| + | | 0xE0 || 0x8 || Mii StoreDataExtension |
| + | |- |
| + | | 0xE8 || 0x4 || First write date (see [[#Date]]) |
| + | |- |
| + | | 0xEC || 0xB * 2 || Amiibo name (NUL-terminated UTF-16 string) |
| + | |- |
| + | | 0x102 || 0x1 || Settings flags (bit4 = amiibo was initialized in console settings, bit5 = has application area) |
| + | |- |
| + | | 0x103 || 0x1 || Unknown, normally zero |
| + | |- |
| + | | 0x104 || 0x4 || Register Info CRC32 |
| + | |- |
| + | | 0x108 || 0x4 * 5 || Unknown, normally zero |
| + | |- |
| + | | 0x11c || 0x64 || Reserved |
| + | |- |
| + | | 0x180 || 0x8 || Program ID (From the Wii U, 3DS or Switch title who created the application area) |
| + | |- |
| + | | 0x188 || 0x4 || [[#Access ID]] |
| + | |- |
| + | | 0x18c || 0x2 || Settings CRC32 change counter |
| + | |- |
| + | | 0x18e || 0x1 || Font region |
| + | |- |
| + | | 0x18f || 0x1 || Tag type, hardcoded to 0x2 |
| + | |- |
| + | | 0x190 || 0x1 || Console type, (3DS = 0, Wiiu = 1, 3DSv2 = 2, switch = 3, not set = 0xFF) |
| + | |- |
| + | | 0x191 || 0x1 || (Original Program ID >> 0x24) & 0xF byte (Program ID has this byte swapped with console type) |
| + | |- |
| + | | 0x192 || 0x2E || Reserved |
| + | |- |
| + | | 0x1c0 || 0xd8 || Application area data |
| + | |} |
| | | |
| = BreakType = | | = BreakType = |