Config Savegame: Difference between revisions
Parental Restrictions PIN/Answer |
→Configuration blocks: Add an update config blocks based on a savegame sample |
||
| Line 61: | Line 61: | ||
| 0x00000000 | | 0x00000000 | ||
| 0x2 | | 0x2 | ||
| 0xC | |||
| Config savegame version? | |||
|- | |||
| 0x00010000 | |||
| 0x1 | |||
| 0xC | |||
| ? | |||
|- | |||
| 0x00020000 | |||
| 0x134 | |||
| 0xC | |||
| ? | |||
|- | |||
| 0x00030000 | |||
| 0x1 | |||
| 0xC | |||
| ? | | ? | ||
|- | |- | ||
| 0x00030001 | | 0x00030001 | ||
| Line 68: | Line 83: | ||
| 0xE | | 0xE | ||
| User time offset (read by CECD) | | User time offset (read by CECD) | ||
|- | |||
| 0x00030002 | |||
| 0x8 | |||
| 0xC | |||
| ? | |||
|- | |- | ||
| 0x00040000 | | 0x00040000 | ||
| 0x10 | | 0x10 | ||
| | | 0xC | ||
| ? (read by HID) | | ? (read by HID) | ||
|- | |- | ||
| 0x00040001 | | 0x00040001 | ||
| 0x1C | | 0x1C | ||
| | | 0xC | ||
| ? (read by HID) | | ? (read by HID) | ||
|- | |- | ||
| 0x00040002 | | 0x00040002 | ||
| 0x12 | | 0x12 | ||
| | | 0xC | ||
| ? (read by HID) | | ? (read by HID) | ||
|- | |- | ||
| 0x00040003 | | 0x00040003 | ||
| 0xC | | 0xC | ||
| | | 0xC | ||
| ? (read by HID) | | ? (read by HID) | ||
|- | |||
| 0x00050000 | |||
| 0x2 | |||
| 0xC | |||
| ? | |||
|- | |- | ||
| 0x00050001 | | 0x00050001 | ||
| 0x2 | | 0x2 | ||
| | | 0xC | ||
| ? (read by GSP) | | ? (read by GSP) | ||
|- | |- | ||
| 0x00050002 | | 0x00050002 | ||
| 0x38 | | 0x38 | ||
| | | 0xC | ||
| ? (read by GSP) | | ? (read by GSP) | ||
|- | |- | ||
| 0x00050003 | | 0x00050003 | ||
| 0x20 | | 0x20 | ||
| | | 0xC | ||
| ? (read by GSP) | | ? (read by GSP) | ||
|- | |||
| 0x00050004 | |||
| 0x20 | |||
| 0xC | |||
| ? | |||
|- | |- | ||
| 0x00050005 | | 0x00050005 | ||
| 0x20 | | 0x20 | ||
| | | 0xE | ||
| Stereo display settings | | Stereo display settings | ||
|- | |- | ||
| 0x00050006 | | 0x00050006 | ||
| 0x2 | | 0x2 | ||
| 0xC | |||
| ? | |||
|- | |||
| 0x00050007 | |||
| 0x4 | |||
| 0xC | |||
| ? | |||
|- | |||
| 0x00050008 | |||
| 0x10C | |||
| 0xC | |||
| ? | |||
|- | |||
| 0x00050009 | |||
| 0x8 | | 0x8 | ||
| 0xC | |||
| ? | |||
|- | |||
| 0x00060000 | |||
| 0x96 | |||
| 0xC | |||
| ? | |||
|- | |||
| 0x00070000 | |||
| 0x214 | |||
| 0xE | |||
| ? | | ? | ||
|- | |- | ||
| 0x00070001 | | 0x00070001 | ||
| 0x1 | | 0x1 | ||
| | | 0xE | ||
| Sound output mode (mono/stereo/surround)? | | Sound output mode (mono/stereo/surround)? | ||
|- | |- | ||
| 0x00080000 | | 0x00080000 | ||
| 0xC00 | | 0xC00 | ||
| | | 0xC | ||
| WiFi configuration slot 0 | | WiFi configuration slot 0 | ||
|- | |- | ||
| 0x00080001 | | 0x00080001 | ||
| 0xC00 | | 0xC00 | ||
| | | 0xC | ||
| WiFi configuration slot 1 | | WiFi configuration slot 1 | ||
|- | |- | ||
| 0x00080002 | | 0x00080002 | ||
| 0xC00 | | 0xC00 | ||
| | | 0xC | ||
| WiFi configuration slot 2 | | WiFi configuration slot 2 | ||
|- | |- | ||
| 0x00090000 | | 0x00090000 | ||
| 0x8 | | 0x8 | ||
| | | 0xE | ||
| This contains a u64 ID, used by processes using [[NWMUDS:InitializeWithVersion]]. The first word is the same as [[CfgS:GetLocalFriendCodeSeed|LocalFriendCodeSeed]], while the latter is a separate word. | | This contains a u64 ID, used by processes using [[NWMUDS:InitializeWithVersion]]. The first word is the same as [[CfgS:GetLocalFriendCodeSeed|LocalFriendCodeSeed]], while the latter is a separate word. | ||
|- | |- | ||
| Line 142: | Line 197: | ||
| 0x8 | | 0x8 | ||
| 0xE | | 0xE | ||
| This console-unique u64 used by [[Cfg:GenHashConsoleUnique|GenHashConsoleUnique]] is generated with the LocalFriendCodeSeed and with random data | | Same content as 0x0009000? This console-unique u64 used by [[Cfg:GenHashConsoleUnique|GenHashConsoleUnique]] is generated with the LocalFriendCodeSeed and with random data | ||
|- | |||
| 0x00090002 | |||
| 0x4 | |||
| 0xE | |||
| ? | |||
|- | |- | ||
| 0x000A0000 | | 0x000A0000 | ||
| Line 156: | Line 216: | ||
| 0x000A0002 | | 0x000A0002 | ||
| 0x1 | | 0x1 | ||
| | | 0xE | ||
| Language | | Language | ||
|- | |- | ||
| 0x000B0000 | | 0x000B0000 | ||
| 0x4 | | 0x4 | ||
| | | 0xE | ||
| CountryInfo | | CountryInfo | ||
|- | |- | ||
| 0x000B0001 | | 0x000B0001 | ||
| 0x800 | | 0x800 | ||
| | | 0xE | ||
| Country name in UTF-16, every 0x80-bytes is an entry for each language, in the order of the Language table below (not all entries are set) | | Country name in UTF-16, every 0x80-bytes is an entry for each language, in the order of the Language table below (not all entries are set) | ||
|- | |- | ||
| 0x000B0002 | | 0x000B0002 | ||
| 0x800 | | 0x800 | ||
| | | 0xE | ||
| State name in UTF-16, every 0x80-bytes is an entry for each language | | State name in UTF-16, every 0x80-bytes is an entry for each language | ||
|- | |- | ||
| Line 183: | Line 242: | ||
| 0x000C0000 | | 0x000C0000 | ||
| 0xC0 | | 0xC0 | ||
| | | 0xE | ||
| Restricted photo exchange data, and other info (includes a mirror of Parental Restrictions PIN/Secret Answer) | | Restricted photo exchange data, and other info (includes a mirror of Parental Restrictions PIN/Secret Answer) | ||
|- | |- | ||
| 0x000C0001 | | 0x000C0001 | ||
| 0x14 | | 0x14 | ||
| | | 0xE | ||
| Same as above? | | Same as above? | ||
|- | |||
| 0x000C0002 | |||
| 0x200 | |||
| 0xE | |||
| ? | |||
|- | |- | ||
| 0x000D0000 | | 0x000D0000 | ||
| 0x4 | | 0x4 | ||
| | | 0xE | ||
| u16 at offset 0x0: [[SMDH#EULA_Version|EULA Version]] which was agreed to. | | u16 at offset 0x0: [[SMDH#EULA_Version|EULA Version]] which was agreed to. | ||
|- | |||
| 0x000E0000 | |||
| 0x1 | |||
| 0xE | |||
| ? | |||
|- | |- | ||
| 0x000F0000 | | 0x000F0000 | ||
| 0x10 | | 0x10 | ||
| | | 0xC | ||
| Unknown, used by [[NS]] on dev-units for [[SVC|svcKernelSetState]], where Type is 6. During NS startup on debug-units, NS compares the u32 from +8 in this config-block with the [[Configuration_Memory#APPMEMTYPE|APPMEMTYPE]]. When those don't match NS starts a FIRM-launch (with the same FIRM titleID as the currently running one) to boot into a FIRM with the APPMEMTYPE value from this config-block | | Unknown, used by [[NS]] on dev-units for [[SVC|svcKernelSetState]], where Type is 6. During NS startup on debug-units, NS compares the u32 from +8 in this config-block with the [[Configuration_Memory#APPMEMTYPE|APPMEMTYPE]]. When those don't match NS starts a FIRM-launch (with the same FIRM titleID as the currently running one) to boot into a FIRM with the APPMEMTYPE value from this config-block | ||
|- | |||
| 0x000F0001 | |||
| 0x8 | |||
| 0xC | |||
| ? | |||
|- | |||
| 0x000F0003 | |||
| 0x1 | |||
| 0xC | |||
| ? | |||
|- | |- | ||
| 0x000F0004 | | 0x000F0004 | ||
| 0x4 | | 0x4 | ||
| | | 0xC | ||
| The first u8 is the System-Model [[Cfg:GetSystemModel|value]], the last 3-bytes are unknown | | The first u8 is the System-Model [[Cfg:GetSystemModel|value]], the last 3-bytes are unknown | ||
|- | |- | ||
| Line 210: | Line 289: | ||
| 0xC | | 0xC | ||
| The first u8 indicates whether network updates are enabled. (However, NIM only checks this flag with developer UNITINFO). | | The first u8 indicates whether network updates are enabled. (However, NIM only checks this flag with developer UNITINFO). | ||
|- | |||
| 0x000F0006 | |||
| 0x28 | |||
| 0xC | |||
| ? | |||
|- | |||
| 0x00100000 | |||
| 0x2 | |||
| 0xC | |||
| ? | |||
|- | |- | ||
| 0x00100001 | | 0x00100001 | ||
| Line 215: | Line 304: | ||
| 0xC | | 0xC | ||
| Stores Parental Restrictions PIN/Secret Answer and other info | | Stores Parental Restrictions PIN/Secret Answer and other info | ||
|- | |||
| 0x00100002 | |||
| 0x1 | |||
| 0xC | |||
| ? | |||
|- | |||
| 0x00100003 | |||
| 0x10 | |||
| 0xC | |||
| ? | |||
|- | |- | ||
| 0x00110000 | | 0x00110000 | ||
| 0x4 | | 0x4 | ||
| | | 0xC | ||
| The low u16 indicates whether the system setup is required, such as when the system is booted for the first time or after doing a [[System Settings|System Format]]: 0 = setup required, non-zero = no setup required | | The low u16 indicates whether the system setup is required, such as when the system is booted for the first time or after doing a [[System Settings|System Format]]: 0 = setup required, non-zero = no setup required | ||
|- | |- | ||
| 0x00110001 | | 0x00110001 | ||
| 0x8 | | 0x8 | ||
| | | 0xC | ||
| TitleID of the menu to launch, used by [[NS]] on dev units (this block can be edited on dev units with [[3DS Development Unit Software#Config|Config]]) | | TitleID of the menu to launch, used by [[NS]] on dev units (this block can be edited on dev units with [[3DS Development Unit Software#Config|Config]]) | ||
|- | |- | ||
| 0x00120000 | | 0x00120000 | ||
| 0x8 | | 0x8 | ||
| | | 0xC | ||
| ? (read by HID) | | ? (read by HID) | ||
|- | |- | ||
| 0x00130000 | | 0x00130000 | ||
| 0x4 | | 0x4 | ||
| | | 0xE | ||
| If response is 0x100 then debug mode is enabled. | | If response is 0x100 then debug mode is enabled. | ||
|- | |||
| 0x00150000 | |||
| 0x4 | |||
| 0xE | |||
| ? | |||
|- | |||
| 0x00150001 | |||
| 0x8 | |||
| 0xC | |||
| ? | |||
|- | |||
| 0x00150002 | |||
| 0x4 | |||
| 0xE | |||
| ? | |||
|- | |- | ||
| 0x00160000 | | 0x00160000 | ||
| 0x4 | | 0x4 | ||
| | | 0xE | ||
| Unknown, first byte is used by config service-cmd [[Config_Services|0x00070040]]. (Unknown whether the last 3-bytes are used) | | Unknown, first byte is used by config service-cmd [[Config_Services|0x00070040]]. (Unknown whether the last 3-bytes are used) | ||
|- | |||
| 0x00170000 | |||
| 0x4 | |||
| 0xE | |||
| ? | |||
|- | |||
| 0x00180000 | |||
| 0x4 | |||
| 0xC | |||
| ? | |||
|- | |||
| 0x00180001 | |||
| 0x18 | |||
| 0xC | |||
| ? | |||
|- | |- | ||
| 0x00190000 | | 0x00190000 | ||
| 0x1 | | 0x1 | ||
| | | 0xC | ||
| Unknown. NFC-module checks for value1/non-value1. | | Unknown. NFC-module checks for value1/non-value1. | ||
|} | |} | ||