Line 9: |
Line 9: |
| |- | | |- |
| | 1 | | | 1 |
− | | u8 Unknown, usually 0xFE? | + | | u8 Account index (0xFE to use current account) |
| |- | | |- |
| | 2 | | | 2 |
Line 38: |
Line 38: |
| | | |
| =Description= | | =Description= |
− | This returns NNID account info. | + | This returns NNID account info from account.dat |
| | | |
| =DataBlocks= | | =DataBlocks= |
− |
| |
− | (if not explicitly noted, all blocks below are accessible with param[1]=0xFE)
| |
| | | |
| {| class="wikitable" border="1" | | {| class="wikitable" border="1" |
Line 52: |
Line 50: |
| | 0x5 | | | 0x5 |
| | 0x4 | | | 0x4 |
− | | Persistent ID | + | | PersistentId |
| |- | | |- |
| | 0x6 | | | 0x6 |
| | 0x8 | | | 0x8 |
− | | Transferable ID Base | + | | TransferableIdBase |
| |- | | |- |
| | 0x7 | | | 0x7 |
| | 0x60 | | | 0x60 |
− | | [[Mii#Mii_format|Mii Data]] | + | | [[Mii#Mii_format|MiiData]] |
| |- | | |- |
| | 0x8 | | | 0x8 |
| | 0x11 | | | 0x11 |
− | | ASCII NUL-terminated Nintendo Network ID | + | | AccountId (ASCII NUL-terminated Nintendo Network ID) |
| |- | | |- |
| | 0xA | | | 0xA |
Line 76: |
Line 74: |
| | 0xC | | | 0xC |
| | 0x4 | | | 0x4 |
− | | Principal ID | + | | PrincipalId |
| |- | | |- |
| | 0xE | | | 0xE |
Line 104: |
Line 102: |
| | 0x15 | | | 0x15 |
| | 0x11 | | | 0x11 |
− | | ASCII NUL-terminated Nintendo Network ID | + | | AccountId? (ASCII NUL-terminated Nintendo Network ID) |
| |- | | |- |
| | 0x16 | | | 0x16 |
| | 0x1 | | | 0x1 |
− | | ? | + | | ParentalControlSlotNo |
| |- | | |- |
| | 0x17 | | | 0x17 |
| | 0x4 | | | 0x4 |
− | | ? | + | | SimpleAddressId ([[Config_Savegame#CountryInfo|CountryInfo]]) |
| |- | | |- |
| | 0x19 | | | 0x19 |
| | 0x8 | | | 0x8 |
− | | UTC offset | + | | UtcOffset |
| |- | | |- |
| | 0x1A | | | 0x1A |
Line 124: |
Line 122: |
| | 0x1B | | | 0x1B |
| | 0x16 | | | 0x16 |
− | | (NUL-terminated?) UTF-16 mii name | + | | (NUL-terminated?) UTF-16 Mii name |
| |- | | |- |
| | 0x1C | | | 0x1C |
| | 0x11 | | | 0x11 |
− | | ASCII NUL-terminated Nintendo Network ID | + | | AssignedAccountId? (ASCII NUL-terminated Nintendo Network ID) |
| |- | | |- |
| | 0x1D | | | 0x1D |
Line 136: |
Line 134: |
| | 0x1E | | | 0x1E |
| | 0x41 | | | 0x41 |
− | | ASCII Time Zone Location | + | | TimeZoneId (ASCII Time Zone Location) |
| |- | | |- |
| | 0x1F | | | 0x1F |
Line 152: |
Line 150: |
| | 0x25 | | | 0x25 |
| | 0x101 | | | 0x101 |
− | | ASCII NUL-terminated URL to account mii image | + | | MiiImageUrl (ASCII NUL-terminated URL to account mii image) |
| |- | | |- |
| | 0x26 | | | 0x26 |
| | 0x4 | | | 0x4 |
− | | Principle ID? | + | | AssignedPrincipalId |
| |- | | |- |
| | 0x27 | | | 0x27 |
| | 0x4 | | | 0x4 |
− | | ? | + | | ? (Only accessible with param[1] = 0xFE) |
| |- | | |- |
| | 0x28 | | | 0x28 |
| | 0x24 | | | 0x24 |
− | | ? | + | | NnasNfsEnv? |
| |- | | |- |
| | 0x2B | | | 0x2B |
| | 0x1 | | | 0x1 |
− | | ? | + | | FpLocalAccountId |
| |- | | |- |
| | 0x2C | | | 0x2C |
| | 0x2 | | | 0x2 |
− | | Age (Not accessible with param[1] = 0xFE) | + | | Age (Not accessible?) |
| |- | | |- |
| | 0x2D | | | 0x2D |
Line 184: |
Line 182: |
| | 0x2F | | | 0x2F |
| | 0x4 | | | 0x4 |
− | | [[Config_Savegame#CountryInfo|CountryInfo]] | + | | SimpleAddressId? ([[Config_Savegame#CountryInfo|CountryInfo]]) |
| |} | | |} |