Config Savegame: Difference between revisions
TimmSkiller (talk | contribs) Update config block 0x00030002 |
TimmSkiller (talk | contribs) |
||
| (4 intermediate revisions by the same user not shown) | |||
| Line 220: | Line 220: | ||
| 0x8 | | 0x8 | ||
| 0xE | | 0xE | ||
| | | u64, Current local friend code. Updated by the friends sysmodule when a local friends account is loaded with [[FRDA:LoadLocalAccount]] accordingly. | ||
|- | |- | ||
| 0x00090001 | | 0x00090001 | ||
| 0x8 | | 0x8 | ||
| 0xE | | 0xE | ||
| | | u64, Local friend code base value. This value is sent by the friends sysmodule to the friends gameserver during NEX account creation and serves as a means to find PIDs (and thus "online" friend codes) for other consoles' that were registered using [[FRDA:AddFriendOffline]] when those console(s) hadn't yet registered with the friends services at the time. The lower 34 bits are from [[Nandrw/sys/LocalFriendCodeSeed_B|LocalFriendCodeSeed]], and the upper 16 bits are from the LocalFriendCodeSeed counter (see below block, 0x90002). The remaining bits are left zero. This value is initialized as described by the CFG module when the LocalFriendCodeSeed part is zero. Used by [[Cfg:GenHashConsoleUnique|GenHashConsoleUnique]]. | ||
|- | |- | ||
| 0x00090002 | | 0x00090002 | ||
| 0x4 | | 0x4 | ||
| 0xE | | 0xE | ||
| | | u16, Local friend code counter. This value is initialized by the CFG module alongside block 0x90001 to two random bytes generated by [[PS:GenerateRandomBytes]] and also serves as a component of that block. It is incremented by PTM and stored in MCU storage when PTM save data is formatted. Once incremented, upon reboot, PTM will use the counter stored in MCU storage to update the local friend code base value (block 0x90001). After updating the relevant configuration blocks, PTM sets the storage area reserved for the counter to 0. | ||
|- | |- | ||
| 0x000A0000 | | 0x000A0000 | ||