Difference between revisions of "FRD Savegame"

From 3dbrew
Jump to navigation Jump to search
(Fix NEX Password length in account structure)
(3 intermediate revisions by 2 users not shown)
Line 19: Line 19:
 
|-
 
|-
 
| 0x08
 
| 0x08
| 0x3A
+
| 8
 +
| Padding
 +
|-
 +
| 0x10
 +
| 4
 
| Unknown
 
| Unknown
 +
|-
 +
| 0x14
 +
| 4
 +
| PrincipalID
 +
|-
 +
| 0x18
 +
| 8
 +
| LocalFriendCode
 +
|-
 +
| 0x20
 +
| (16 + 1) * 2
 +
| NEX Password
 
|-
 
|-
 
| 0x42
 
| 0x42
 
| (8 + 1) * 2
 
| (8 + 1) * 2
| UTF16 string of some identifier
+
| PrincipalID HMAC (Used for logging into NASC server)
 
|-
 
|-
 
| 0x54
 
| 0x54
| 4
+
| 1
 +
| Unknown
 +
|-
 +
| 0x55
 +
| 1
 +
| Unknown
 +
|-
 +
| 0x56
 +
| 1
 
| Unknown
 
| Unknown
 +
|-
 +
| 0x57
 +
| 1
 +
| Padding
 
|}
 
|}
  
Line 72: Line 100:
 
   u8 platform = 2
 
   u8 platform = 2
 
   u8 padding[3]
 
   u8 padding[3]
|-
 
| 0x50
 
| 8
 
| Unknown
 
|-
 
| 0x58
 
| 4
 
| PrinipalID
 
 
|-
 
|-
 
| 0x5C
 
| 0x5C

Revision as of 12:44, 23 May 2019

This page describes the contents of the friend sysmodule savegame.


account

Offset Size Description
0x00 4 File magic "FPAC" (Friends Preference Account Config)
0x04 4 File magic number (0x20101021)
0x08 8 Padding
0x10 4 Unknown
0x14 4 PrincipalID
0x18 8 LocalFriendCode
0x20 (16 + 1) * 2 NEX Password
0x42 (8 + 1) * 2 PrincipalID HMAC (Used for logging into NASC server)
0x54 1 Unknown
0x55 1 Unknown
0x56 1 Unknown
0x57 1 Padding

mydata

Offset Size Description
0x00 4 File magic "FPMD" (Friends Preference My Data/Device)
0x04 4 File magic number (0x20101021)
0x08 8 Padding
0x10 0x20 Unknown
0x30 16 * 2 UTF16 string of personal message
0x50 8 Unknown
0x58 8
 u8 region
 u8 country
 u8 area
 u8 language
 u8 platform = 2
 u8 padding[3]
0x5C 4 Unknown padding
0x60 8 LocalFriendCodeSeed u64
0x68 (12 + 1) * 2 UTF16 string of unknown hexadecimal identifier
0x82 (15 + 1) * 2 UTF16 string of console serial number without the checksum digit
0xA2 (10 + 1) * 2 UTF16 string of Display name
0xBB 0x60 Unaligned Mii data
0x11B 5 Padding (0x120)

friendlist

Header

Offset Size Description
0x00 4 File magic "FPFL" (Friends Preference Friend List)
0x04 4 File magic number (0x20101021)
0x08 8 Padding
0x10 ? * 0x100 Friend entries...

Friend entry

Offset Size Description
0x00 0x15 Unknown
0x15 8
 u8 region
 u8 country
 u8 area
 u8 language
 u8 platform = 2
 u8 padding[3]
0x1C 0x14 Unknown
0x30 16 * 2 UTF16 string of personal message
0x50 0x20 Unknown
0x70 0x60 Mii data
0xD0 (10 + 1) * 2 UTF16 string of display name
0xE8 0x18 Unknown