Changes

1,588 bytes added ,  20:32, 23 September 2023
Expand information on FRD sysdata
Line 1: Line 1: −
This page describes the contents of the [[Friend_Services|friend]] sysmodule savegame.
+
This page describes the contents of the [[Friend_Services|friend]] sysmodule savegame. Except for the config file, all of the data is stored inside a folder that represents the local account ID of the account. For example: /1/account stores the data of the main account.
    +
== config ==
 +
 +
{| class="wikitable"
 +
|-
 +
! Offset
 +
! Size
 +
! Description
 +
|-
 +
| 0x00
 +
| 4
 +
| File magic "FPCF" (Friends Preference Config)
 +
|-
 +
| 0x04
 +
| 4
 +
| File magic number (0x20101021)
 +
|-
 +
| 0x08
 +
| 8
 +
| Padding
 +
|-
 +
| 0x10
 +
| 4
 +
| Current Local Account ID
 +
|}
    
== account ==
 
== account ==
Line 24: Line 48:  
| 0x10
 
| 0x10
 
| 4
 
| 4
| Unknown
+
| Local Account ID
 
|-
 
|-
 
| 0x14
 
| 0x14
Line 44: Line 68:  
| 0x54
 
| 0x54
 
| 1
 
| 1
| Unknown
+
| NASC Environment (0: Prod, 1: Test, 2: Dev)
 
|-
 
|-
 
| 0x55
 
| 0x55
 
| 1
 
| 1
| Unknown
+
| server_type_1
 
|-
 
|-
 
| 0x56
 
| 0x56
 
| 1
 
| 1
| Unknown
+
| server_type_2
 
|-
 
|-
 
| 0x57
 
| 0x57
Line 80: Line 104:  
|-
 
|-
 
| 0x10
 
| 0x10
 +
| 4
 +
| My NC Principal ID
 +
|-
 +
| 0x14
 +
| 4
 +
| Unknown
 +
|-
 +
| 0x18
 +
| 4
 +
| [https://github.com/kinnay/NintendoClients/wiki/Friends-Protocol-(3DS)#nintendopresence-structure Changed bit flags]
 +
|-
 +
| 0x1C
 +
| 1
 +
| Is public mode
 +
|-
 +
| 0x1D
 +
| 1
 +
| Is show game mode
 +
|-
 +
| 0x1E
 +
| 1
 +
| Is show played game
 +
|-
 +
| 0x1F
 +
| 1
 +
| Padding
 +
|-
 
| 0x20
 
| 0x20
| Unknown
+
| 0x10
 +
| GameKey of my favorite game:
 +
  u64 title_id
 +
  u32 title_version
 +
  u32 unknown
 
|-
 
|-
 
| 0x30
 
| 0x30
Line 111: Line 166:  
| 0x68
 
| 0x68
 
| (12 + 1) * 2
 
| (12 + 1) * 2
| UTF16 string of unknown hexadecimal identifier
+
| UTF16 string of MAC address of the console (only the digits)
 
|-
 
|-
 
| 0x82
 
| 0x82
Line 166: Line 221:  
|-
 
|-
 
| 0x00
 
| 0x00
| 0x15
+
| 0x10
 +
| FriendKey:
 +
  u32 principal_id
 +
  u32 padding
 +
  u64 friend_code
 +
|-
 +
| 0x10
 +
| 0x4
 
| Unknown
 
| Unknown
 +
|-
 +
| 0x14
 +
| 1
 +
| Friend relationship
 
|-
 
|-
 
| 0x15
 
| 0x15
Line 179: Line 245:  
   u8 padding[3]
 
   u8 padding[3]
 
|-
 
|-
| 0x1C
+
| 0x1D
| 0x14
+
| 3
| Unknown
+
| Padding
 +
|-
 +
 
 +
| 0x20
 +
| 0x10
 +
| GameKey of friend favorite game:
 +
  u64 title_id
 +
  u32 title_version
 +
  u32 unknown
 
|-
 
|-
 
| 0x30
 
| 0x30
Line 188: Line 262:  
|-
 
|-
 
| 0x50
 
| 0x50
| 0x20
+
| 0x8
 
| Unknown
 
| Unknown
 +
|-
 +
| 0x58
 +
| 8
 +
| Message update [https://github.com/kinnay/NintendoClients/wiki/NEX-Common-Types#datetime timestamp]
 +
|-
 +
| 0x60
 +
| 8
 +
| Mii update [https://github.com/kinnay/NintendoClients/wiki/NEX-Common-Types#datetime timestamp]
 +
|-
 +
| 0x68
 +
| 8
 +
| Last online [https://github.com/kinnay/NintendoClients/wiki/NEX-Common-Types#datetime timestamp]
 
|-
 
|-
 
| 0x70
 
| 0x70
Line 200: Line 286:  
|-
 
|-
 
| 0xE8
 
| 0xE8
| 0x18
+
| 8
| Unknown
+
| Friendship? [https://github.com/kinnay/NintendoClients/wiki/NEX-Common-Types#datetime timestamp]
 +
|-
 +
| 0xF0
 +
| 8
 +
| Same as 0x58?
 +
|-
 +
| 0xF8
 +
| 8
 +
| Same as 0x60?
 
|}
 
|}
127

edits