Settings services: Difference between revisions
No edit summary |
No edit summary |
||
(25 intermediate revisions by 2 users not shown) | |||
Line 4: | Line 4: | ||
{| class="wikitable" border="1" | {| class="wikitable" border="1" | ||
|- | |- | ||
! Cmd || Name || | ! Cmd || Name | ||
|- | |||
| 0 || [[#GetLanguageCode]] | |||
|- | |- | ||
| | | 1 || [[#GetAvailableLanguageCodes]] | ||
|- | |- | ||
| | | 2 || [4.0.0+] [[#MakeLanguageCode]] | ||
|- | |- | ||
| | | 3 || [[#GetAvailableLanguageCodeCount]] | ||
|- | |- | ||
| | | 4 || [[#GetRegionCode]] | ||
|- | |- | ||
| | | 5 || [4.0.0+] [[#GetAvailableLanguageCodes2]] | ||
|- | |- | ||
| | | 6 || [4.0.0+] [[#GetAvailableLanguageCodeCount2]] | ||
|- | |- | ||
| | | 7 || [4.0.0+] [[#GetKeyCodeMap]] | ||
|- | |- | ||
| | | 8 || [5.0.0+] [[#GetQuestFlag]] | ||
|- | |- | ||
| | | 9 || [6.0.0+] [[#GetKeyCodeMap2]] | ||
|- | |- | ||
| | | 10 || [9.0.0+] [[#GetFirmwareVersionForDebug]] | ||
|- | |- | ||
| | | 11 || [10.1.0+] [[#GetDeviceNickName]] | ||
|- | |- | ||
| | | 12 || [18.0.0+] GetKeyCodeMapByPort | ||
|} | |} | ||
Line 36: | Line 38: | ||
* During one-time init, GetAvailableLanguageCodes is used to initialize the LanguageCodes array cache, with max_entries=0xF (buffer size in u64s). [4.0.0+] GetAvailableLanguageCodes2 is now used with max_entries 0x40. | * During one-time init, GetAvailableLanguageCodes is used to initialize the LanguageCodes array cache, with max_entries=0xF (buffer size in u64s). [4.0.0+] GetAvailableLanguageCodes2 is now used with max_entries 0x40. | ||
* [4.0.0+] When the input [[#Language]] is larger than the cached total_entries from the above command output, or [[#Language]] is negative, command MakeLanguageCode is used instead of the array. | * [4.0.0+] When the input [[#Language]] is larger than the cached total_entries from the above command output, or [[#Language]] is negative, command MakeLanguageCode is used instead of the array. | ||
== GetLanguageCode == | |||
No input, returns an output [[#LanguageCode]]. This is the current system language. | |||
== GetAvailableLanguageCodes == | |||
Takes a type-0xA buffer containing the [[#LanguageCode]] output array, returns an output s32. | |||
== MakeLanguageCode == | |||
Takes an input [[#Language]], returns an output [[#LanguageCode]]. | |||
== GetAvailableLanguageCodeCount == | |||
No input, returns an output s32. | |||
== GetRegionCode == | |||
No input, returns a [[#RegionCode_2|RegionCode]]. | |||
== GetAvailableLanguageCodes2 == | |||
Takes a type-0x6 buffer containing the [[#LanguageCode]] output array, returns an output s32. | |||
== GetAvailableLanguageCodeCount2 == | |||
No input, returns an output s32. | |||
== GetKeyCodeMap == | == GetKeyCodeMap == | ||
Line 73: | Line 96: | ||
|- | |- | ||
| 23 || [9.0.0+] SetMemoryUsageRateFlag | | 23 || [9.0.0+] SetMemoryUsageRateFlag | ||
|- | |||
| 24 || [20.0.0+] CommitSettings | |||
|} | |} | ||
Line 96: | Line 121: | ||
! Cmd || Name | ! Cmd || Name | ||
|- | |- | ||
| 0 || GetBluetoothBdAddress | | 0 || [[#GetBluetoothBdAddress]] | ||
|- | |- | ||
| 1 || [[#GetConfigurationId1]] | | 1 || [[#GetConfigurationId1]] | ||
|- | |- | ||
| 2 || GetAccelerometerOffset | | 2 || [[#GetAccelerometerOffset]] | ||
|- | |- | ||
| 3 || GetAccelerometerScale | | 3 || [[#GetAccelerometerScale]] | ||
|- | |- | ||
| 4 || GetGyroscopeOffset | | 4 || [[#GetGyroscopeOffset]] | ||
|- | |- | ||
| 5 || GetGyroscopeScale | | 5 || [[#GetGyroscopeScale]] | ||
|- | |- | ||
| 6 || GetWirelessLanMacAddress | | 6 || [[#GetWirelessLanMacAddress]] | ||
|- | |- | ||
| 7 || GetWirelessLanCountryCodeCount | | 7 || [[#GetWirelessLanCountryCodeCount]] | ||
|- | |- | ||
| 8 || GetWirelessLanCountryCodes | | 8 || [[#GetWirelessLanCountryCodes]] | ||
|- | |- | ||
| 9 || GetSerialNumber | | 9 || [[#GetSerialNumber]] | ||
|- | |- | ||
| 10 || SetInitialSystemAppletProgramId | | 10 || [[#SetInitialSystemAppletProgramId]] | ||
|- | |- | ||
| 11 || SetOverlayDispProgramId | | 11 || [[#SetOverlayDispProgramId]] | ||
|- | |- | ||
| 12 || GetBatteryLot | | 12 || [[#GetBatteryLot]] | ||
|- | |- | ||
| 14 || [[#GetEciDeviceCertificate]] | | 14 || [[#GetEciDeviceCertificate]] | ||
Line 138: | Line 163: | ||
| 21 || [[#GetEticketDeviceKey]] | | 21 || [[#GetEticketDeviceKey]] | ||
|- | |- | ||
| 22 || GetSpeakerParameter | | 22 || [[#GetSpeakerParameter]] | ||
|- | |- | ||
| 23 || [4.0.0+] GetLcdVendorId | | 23 || [4.0.0+] [[#GetLcdVendorId]] | ||
|- | |- | ||
| 24 || [5.0.0+] [[#GetEciDeviceCertificate2]] | | 24 || [5.0.0+] [[#GetEciDeviceCertificate2]] | ||
Line 146: | Line 171: | ||
| 25 || [5.0.0+] [[#GetEciDeviceKey2]] | | 25 || [5.0.0+] [[#GetEciDeviceKey2]] | ||
|- | |- | ||
| 26 || [5.0.0+] GetAmiiboKey | | 26 || [5.0.0+] [[#GetAmiiboKey]] | ||
|- | |- | ||
| 27 || [5.0.0+] GetAmiiboEcqvCertificate | | 27 || [5.0.0+] [[#GetAmiiboEcqvCertificate]] | ||
|- | |- | ||
| 28 || [5.0.0+] GetAmiiboEcdsaCertificate | | 28 || [5.0.0+] [[#GetAmiiboEcdsaCertificate]] | ||
|- | |- | ||
| 29 || [5.0.0+] GetAmiiboEcqvBlsKey | | 29 || [5.0.0+] [[#GetAmiiboEcqvBlsKey]] | ||
|- | |- | ||
| 30 || [5.0.0+] GetAmiiboEcqvBlsCertificate | | 30 || [5.0.0+] [[#GetAmiiboEcqvBlsCertificate]] | ||
|- | |- | ||
| 31 || [5.0.0+] GetAmiiboEcqvBlsRootCertificate | | 31 || [5.0.0+] [[#GetAmiiboEcqvBlsRootCertificate]] | ||
|- | |- | ||
| 32 || [5.0.0+] GetUsbTypeCPowerSourceCircuitVersion | | 32 || [5.0.0+] [[#GetUsbTypeCPowerSourceCircuitVersion]] | ||
|- | |- | ||
| 33 || [8.1.1+] GetAnalogStickModuleTypeL | | 33 || [8.1.1+] [[#GetAnalogStickModuleTypeL]] | ||
|- | |- | ||
| 34 || [8.1.1+] GetAnalogStickModelParameterL | | 34 || [8.1.1+] [[#GetAnalogStickModelParameterL]] | ||
|- | |- | ||
| 35 || [8.1.1+] GetAnalogStickFactoryCalibrationL | | 35 || [8.1.1+] [[#GetAnalogStickFactoryCalibrationL]] | ||
|- | |- | ||
| 36 || [8.1.1+] GetAnalogStickModuleTypeR | | 36 || [8.1.1+] [[#GetAnalogStickModuleTypeR]] | ||
|- | |- | ||
| 37 || [8.1.1+] GetAnalogStickModelParameterR | | 37 || [8.1.1+] [[#GetAnalogStickModelParameterR]] | ||
|- | |- | ||
| 38 || [8.1.1+] GetAnalogStickFactoryCalibrationR | | 38 || [8.1.1+] [[#GetAnalogStickFactoryCalibrationR]] | ||
|- | |- | ||
| 39 || [8.1.1+] GetConsoleSixAxisSensorModuleType | | 39 || [8.1.1+] [[#GetConsoleSixAxisSensorModuleType]] | ||
|- | |- | ||
| 40 || [8.1.1+] GetConsoleSixAxisSensorHorizontalOffset | | 40 || [8.1.1+] [[#GetConsoleSixAxisSensorHorizontalOffset]] | ||
|- | |- | ||
| 41 || [6.0.0+] GetBatteryVersion | | 41 || [6.0.0+] [[#GetBatteryVersion]] | ||
|- | |- | ||
| 42 || [10.0.0+] [[#GetDeviceId]] | | 42 || [10.0.0+] [[#GetDeviceId]] | ||
|- | |- | ||
| 43 || [10.0.0+] GetConsoleSixAxisSensorMountType | | 43 || [10.0.0+] [[#GetConsoleSixAxisSensorMountType]] | ||
|} | |} | ||
Used for accessing data calibrated at the factory. | Used for accessing data [[Calibration|calibrated]] at the factory. | ||
== GetBluetoothBdAddress == | |||
No input. Returns a [[#BdAddress|BdAddress]]. | |||
== GetConfigurationId1 == | == GetConfigurationId1 == | ||
Returns | No input. Returns a [[#ConfigurationId1|ConfigurationId1]]. | ||
== GetAccelerometerOffset == | |||
No input. Returns a [[#AccelerometerOffset|AccelerometerOffset]]. | |||
== GetAccelerometerScale == | |||
No input. Returns a [[#AccelerometerScale|AccelerometerScale]]. | |||
== GetGyroscopeOffset == | |||
No input. Returns a [[#GyroscopeOffset|GyroscopeOffset]]. | |||
== GetGyroscopeScale == | |||
No input. Returns a [[#GyroscopeScale|GyroscopeScale]]. | |||
== GetWirelessLanMacAddress == | |||
No input. Returns a [[#MacAddress|MacAddress]]. | |||
== GetWirelessLanCountryCodeCount == | |||
No input. Returns a s32 '''OutCount'''. | |||
== GetWirelessLanCountryCodes == | |||
Takes a type-0x16 output buffer containing an array of [[#CountryCode|CountryCode]]. Returns a s32 '''OutCount'''. | |||
== GetSerialNumber == | |||
No input. Returns a [[#SerialNumber|SerialNumber]]. | |||
== SetInitialSystemAppletProgramId == | |||
Takes an input [[NCM_services#ProgramId|ProgramId]]. No output. | |||
== SetOverlayDispProgramId == | |||
Takes an input [[NCM_services#ProgramId|ProgramId]]. No output. | |||
== GetBatteryLot == | |||
No input. Returns a [[#BatteryLot|BatteryLot]]. | |||
== GetEciDeviceCertificate == | == GetEciDeviceCertificate == | ||
Takes a type-0x16 output buffer containing a [[#EccB233DeviceCertificate]]. | Takes a type-0x16 output buffer containing a [[#EccB233DeviceCertificate|EccB233DeviceCertificate]]. No output. | ||
Returns the device certificate (ECC signed). This is identical to 3DS DeviceCert/CTCert besides the strings. NIM loads the DeviceId from this. | Returns the device certificate (ECC signed). This is identical to 3DS DeviceCert/CTCert besides the strings. NIM loads the DeviceId from this. | ||
== GetEticketDeviceCertificate == | == GetEticketDeviceCertificate == | ||
Takes a type-0x16 output buffer containing a [[#Rsa2048DeviceCertificate]]. | Takes a type-0x16 output buffer containing a [[#Rsa2048DeviceCertificate|Rsa2048DeviceCertificate]]. No output. | ||
Returns the ETicket certificate (RSA signed). | Returns the ETicket certificate (RSA signed). | ||
== GetSslKey == | == GetSslKey == | ||
Takes a type-0x16 output buffer containing a [[#SslKey]]. | Takes a type-0x16 output buffer containing a [[#SslKey|SslKey]]. No output. | ||
Returns the extended SSL key (0x130 bytes) from [[Calibration#CAL0|CAL0]]. If the extended key is not programmed then it falls back to the normal SSL key (0x110 bytes). | Returns the extended SSL key (0x130 bytes) from [[Calibration#CAL0|CAL0]]. If the extended key is not programmed then it falls back to the normal SSL key (0x110 bytes). | ||
Line 206: | Line 267: | ||
== GetSslCertificate == | == GetSslCertificate == | ||
Takes a type-0x16 output buffer containing a [[#SslCertificate]]. | Takes a type-0x16 output buffer containing a [[#SslCertificate|SslCertificate]]. No output. | ||
Used by SSL-sysmodule, see [[SSL_services|here]]. | Used by SSL-sysmodule, see [[SSL_services|here]]. | ||
== GetGameCardKey == | == GetGameCardKey == | ||
Takes a type-0x16 output buffer containing a [[#GameCardKey]]. | Takes a type-0x16 output buffer containing a [[#GameCardKey|GameCardKey]]. No output. | ||
Returns the extended GameCard key (0x130 bytes) from [[Calibration#CAL0|CAL0]]. If the extended key is not programmed then it falls back to the normal GameCard key (0x110 bytes). | Returns the extended GameCard key (0x130 bytes) from [[Calibration#CAL0|CAL0]]. If the extended key is not programmed then it falls back to the normal GameCard key (0x110 bytes). | ||
== GetGameCardCertificate == | == GetGameCardCertificate == | ||
Takes a type-0x16 output buffer containing a [[#GameCardCertificate]]. | Takes a type-0x16 output buffer containing a [[#GameCardCertificate|GameCardCertificate]]. No output. | ||
== GetEciDeviceKey == | == GetEciDeviceKey == | ||
No input | No input. Returns an [[#EccB233DeviceKey|EccB233DeviceKey]]. | ||
Returns the extended device ECC-B233 key (0x50 bytes) from [[Calibration#CAL0|CAL0]]. If the extended key is not programmed then it falls back to the normal device ECC-B233 key (0x30 bytes). | Returns the extended device ECC-B233 key (0x50 bytes) from [[Calibration#CAL0|CAL0]]. If the extended key is not programmed then it falls back to the normal device ECC-B233 key (0x30 bytes). | ||
== GetEticketDeviceKey == | == GetEticketDeviceKey == | ||
Takes a type-0x16 output buffer containing a [[#Rsa2048DeviceKey]]. | Takes a type-0x16 output buffer containing a [[#Rsa2048DeviceKey|Rsa2048DeviceKey]]. No output. | ||
Returns the extended ETicket RSA-2048 key (0x240 bytes) from [[Calibration#CAL0|CAL0]]. If the extended key is not programmed then it falls back to the normal ETicket RSA-2048 key (0x220 bytes). | Returns the extended ETicket RSA-2048 key (0x240 bytes) from [[Calibration#CAL0|CAL0]]. If the extended key is not programmed then it falls back to the normal ETicket RSA-2048 key (0x220 bytes). | ||
== GetSpeakerParameter == | |||
No input. Returns a [[#SpeakerParameter|SpeakerParameter]]. | |||
== GetLcdVendorId == | |||
No input. Returns a [[Calibration#LcdVendorId|LcdVendorId]]. | |||
== GetEciDeviceCertificate2 == | == GetEciDeviceCertificate2 == | ||
Same as [[#GetEciDeviceCertificate]], but [[#Rsa2048DeviceCertificate| | Same as [[#GetEciDeviceCertificate]], but returns a [[#Rsa2048DeviceCertificate|RSA-2048]] variant of the device certificate. | ||
== GetEciDeviceKey2 == | == GetEciDeviceKey2 == | ||
Same as [[#GetEciDeviceKey]], but [[#Rsa2048DeviceKey| | Same as [[#GetEciDeviceKey]], but returns a [[#Rsa2048DeviceKey|RSA-2048]] variant of the device key. | ||
== GetDeviceId == | == GetAmiiboKey == | ||
Returns an u64 '''DeviceId''' by reading and converting the hexadecimal string at offset 0xC6 inside [[#EccB233DeviceCertificate]] or [[#Rsa2048DeviceCertificate]]. | No input. Returns an [[#AmiiboKey|AmiiboKey]]. | ||
== GetAmiiboEcqvCertificate == | |||
No input. Returns an [[#AmiiboEcqvCertificate|AmiiboEcqvCertificate]]. | |||
== GetAmiiboEcdsaCertificate == | |||
No input. Returns an [[#AmiiboEcdsaCertificate|AmiiboEcdsaCertificate]]. | |||
== GetAmiiboEcqvBlsKey == | |||
No input. Returns an [[#AmiiboEcqvBlsKey|AmiiboEcqvBlsKey]]. | |||
== GetAmiiboEcqvBlsCertificate == | |||
No input. Returns an [[#AmiiboEcqvBlsCertificate|AmiiboEcqvBlsCertificate]]. | |||
== GetAmiiboEcqvBlsRootCertificate == | |||
No input. Returns an [[#AmiiboEcqvBlsRootCertificate|AmiiboEcqvBlsRootCertificate]]. | |||
== GetUsbTypeCPowerSourceCircuitVersion == | |||
No input. Returns an [[Calibration#UsbTypeCPowerSourceCircuit|UsbTypeCPowerSourceCircuitVersion]]. | |||
== GetAnalogStickModuleTypeL == | |||
No input. Returns an [[Calibration#AnalogStickModuleType|AnalogStickModuleType]]. | |||
== GetAnalogStickModelParameterL == | |||
No input. Returns an [[#AnalogStickModelParameter|AnalogStickModelParameter]]. | |||
== GetAnalogStickFactoryCalibrationL == | |||
No input. Returns an [[#AnalogStickFactoryCalibration|AnalogStickFactoryCalibration]]. | |||
== GetAnalogStickModuleTypeR == | |||
No input. Returns an [[Calibration#AnalogStickModuleType|AnalogStickModuleType]]. | |||
== GetAnalogStickModelParameterR == | |||
No input. Returns an [[#AnalogStickModelParameter|AnalogStickModelParameter]]. | |||
== GetAnalogStickFactoryCalibrationR == | |||
No input. Returns an [[#AnalogStickFactoryCalibration|AnalogStickFactoryCalibration]]. | |||
== GetConsoleSixAxisSensorModuleType == | |||
No input. Returns a [[Calibration#ConsoleSixAxisSensorModuleType|ConsoleSixAxisSensorModuleType]]. | |||
== GetConsoleSixAxisSensorHorizontalOffset == | |||
No input. Returns a [[#ConsoleSixAxisSensorHorizontalOffset|ConsoleSixAxisSensorHorizontalOffset]]. | |||
== GetBatteryVersion == | |||
No input. Returns a [[Calibration#BatteryVersion|BatteryVersion]]. | |||
== GetDeviceId == | |||
No input. Returns an u64 '''DeviceId''' by reading and converting the hexadecimal string at offset 0xC6 inside [[#EccB233DeviceCertificate]] or [[#Rsa2048DeviceCertificate]]. | |||
== GetConsoleSixAxisSensorMountType == | |||
No input. Returns a [[Calibration#ConsoleSixAxisSensorMountType|ConsoleSixAxisSensorMountType]]. | |||
= set:sys = | = set:sys = | ||
Line 328: | Line 446: | ||
| 44 || SetAudioOutputMode | | 44 || SetAudioOutputMode | ||
|- | |- | ||
| 45 || IsForceMuteOnHeadphoneRemoved | | 45 || GetSpeakerAutoMuteFlag ([1.0.0-12.1.0] IsForceMuteOnHeadphoneRemoved) | ||
|- | |- | ||
| 46 || SetForceMuteOnHeadphoneRemoved | | 46 || SetSpeakerAutoMuteFlag ([1.0.0-12.1.0] SetForceMuteOnHeadphoneRemoved) | ||
|- | |- | ||
| 47 || [[#GetQuestFlag]] | | 47 || [[#GetQuestFlag]] | ||
Line 476: | Line 594: | ||
| 118 || [3.0.0+] SetHeadphoneVolumeUpdateFlag | | 118 || [3.0.0+] SetHeadphoneVolumeUpdateFlag | ||
|- | |- | ||
| 119 || [3.0.0 | | 119 || [3.0.0-14.1.2] NeedsToUpdateHeadphoneVolume | ||
|- | |- | ||
| 120 || [3.0.0+] GetPushNotificationActivityModeOnSleep | | 120 || [3.0.0+] GetPushNotificationActivityModeOnSleep | ||
Line 647: | Line 765: | ||
|- | |- | ||
| 204 || [11.0.0+] SetPanelCrcMode | | 204 || [11.0.0+] SetPanelCrcMode | ||
|} | |- | ||
| 205 || [13.0.0+] GetNxControllerSettingsEx | |||
Official user-processes gets a new service session handle each time a set:sys cmd is used, with the session being closed afterwards. | |- | ||
| 206 || [13.0.0+] SetNxControllerSettingsEx | |||
== SetLanguageCode == | |- | ||
| 207 || [14.0.0+] GetHearingProtectionSafeguardFlag | |||
|- | |||
| 208 || [14.0.0+] SetHearingProtectionSafeguardFlag | |||
|- | |||
| 209 || [14.0.0+] GetHearingProtectionSafeguardRemainingTime | |||
|- | |||
| 210 || [14.0.0+] SetHearingProtectionSafeguardRemainingTime | |||
|- | |||
| 221 || [17.0.0+] GetForceMonauralOutputFlag | |||
|- | |||
| 222 || [17.0.0+] SetForceMonauralOutputFlag | |||
|- | |||
| 251 || [18.0.0+] GetAccountIdentificationSettings | |||
|- | |||
| 252 || [18.0.0+] SetAccountIdentificationSettings | |||
|- | |||
| 263 || [20.0.0+] AcquireVphymDirtyFlagEventHandle | |||
|- | |||
| 264 || [20.0.0+] GetVphymDirtyFlags | |||
|- | |||
| 282 || [20.0.0+] ConvertToProductModel | |||
|- | |||
| 283 || [20.0.0+] ConvertToProductModelName | |||
|- | |||
| 289 || [20.0.0+] GetDefaultAccountIdentificationFlagSet | |||
|- | |||
| 300 || [20.0.0+] AcquirePushNotificationDirtyFlagEventHandle | |||
|- | |||
| 301 || [20.0.0+] GetPushNotificationDirtyFlags | |||
|- | |||
| 306 || [20.0.0+] GetPinCodeReregistrationGuideAccounts | |||
|- | |||
| 307 || [20.0.0+] SetPinCodeReregistrationGuideAccounts | |||
|} | |||
Official user-processes gets a new service session handle each time a set:sys cmd is used, with the session being closed afterwards. | |||
== SetLanguageCode == | |||
Takes an input [[#LanguageCode]], no output. | Takes an input [[#LanguageCode]], no output. | ||
Line 776: | Line 932: | ||
== GetAllowedSslHosts == | == GetAllowedSslHosts == | ||
Takes a type-0x6 output buffer | Takes a type-0x6 output buffer. Returns an output s32 entry count. | ||
== GetRebootlessSystemUpdateVersion == | == GetRebootlessSystemUpdateVersion == | ||
Line 799: | Line 955: | ||
== SetRegionCode == | == SetRegionCode == | ||
Takes an input s32 [[#RegionCode]], no output. | Takes an input s32 [[#RegionCode_2|RegionCode]], no output. | ||
== GetChineseTraditionalInputMethod == | == GetChineseTraditionalInputMethod == | ||
Line 808: | Line 964: | ||
== GetHomeMenuScheme == | == GetHomeMenuScheme == | ||
No input | No input. Returns an output [[#HomeMenuScheme]]. | ||
The colors are loaded from [[Calibration]], with the set of fields to use selected by [[Calibration#ColorVariation|ColorVariation]]. | |||
The colors are loaded from [[Calibration]], with the set of fields to use selected by ColorVariation | |||
== GetT == | == GetT == | ||
Line 831: | Line 985: | ||
== GetHomeMenuSchemeModel == | == GetHomeMenuSchemeModel == | ||
No input | No input. Returns an output u32. | ||
Loads the 0xB-byte setting <"settings_debug", "home_menu_scheme_model">, throwing an error if loading this fails. Depending on the content of the setting, the output u32 is either determined by the value of this setting, or loaded from [[Calibration]]. | Loads the 0xB-byte setting <"settings_debug", "home_menu_scheme_model">, throwing an error if loading this fails. Depending on the content of the setting, the output u32 is either determined by the value of this setting, or loaded from [[Calibration#ColorModel|ColorModel]]. | ||
== GetMemoryUsageRateFlag == | == GetMemoryUsageRateFlag == | ||
Line 1,046: | Line 1,200: | ||
= AnalogStickFactoryCalibration = | = AnalogStickFactoryCalibration = | ||
This is "nn::settings::factory::AnalogStickFactoryCalibration". | This is "nn::settings::factory::AnalogStickFactoryCalibration". Same as [[Calibration#AnalogStickFactoryCalibration|AnalogStickFactoryCalibration]]. | ||
= AnalogStickModelParameter = | = AnalogStickModelParameter = | ||
This is "nn::settings::factory::AnalogStickModelParameter". | This is "nn::settings::factory::AnalogStickModelParameter". Same as [[Calibration#AnalogStickModelParameter|AnalogStickModelParameter]]. | ||
= BatteryLot = | = BatteryLot = | ||
This is | This is "nn::settings::BatteryLot". This is a 0x18-byte struct. | ||
= BdAddress = | = BdAddress = | ||
Line 1,063: | Line 1,217: | ||
{EventType}_{ProductModelType}_{MajorVersion}_{MinorVersion}_{MicroVersion} | {EventType}_{ProductModelType}_{MajorVersion}_{MinorVersion}_{MicroVersion} | ||
== EventType == | |||
= | |||
{| class="wikitable" border="1" | {| class="wikitable" border="1" | ||
|- | |- | ||
! | ! Value | ||
! Description | |||
|- | |||
| "FP" || Functional prototype | |||
|- | |- | ||
| | | "EP" || Engineering prototype | ||
|- | |- | ||
| | | "DP" || Design prototype | ||
|- | |- | ||
| | | "DPRD" || Design prototype for R&D | ||
|- | |||
| "HOAG" || Hoag prototype | |||
|- | |||
| "COPPER" || Copper prototype | |||
|- | |||
| "EDEV" || Extcon development kit for Icosa and Iowa | |||
|- | |||
| "SDEV" || SPI development kit for Icosa and Iowa | |||
|- | |||
| "MEDEV" || Mariko EDEV (deprecated) | |||
|- | |||
| "MSDEV" || Mariko SDEV (deprecated) | |||
|- | |||
| "HDEV" || Development kit for Hoag | |||
|- | |||
| "ADEV" || Development kit for Aula | |||
|- | |||
| "MP" || Mass production (retail Icosa) | |||
|- | |||
| "MNX" || Mariko NX (retail Iowa) | |||
|- | |||
| "HNX" || Hoag NX (retail Hoag) | |||
|- | |||
| "ANX" || Aula NX (retail Aula) | |||
|} | |} | ||
== ProductModelType == | |||
{| class="wikitable" border="1" | |||
|- | |||
! Value | |||
! Description | |||
|- | |||
| "00" || Icosa | |||
|- | |||
| "01" || Iowa (previously Copper) | |||
|- | |||
| "02" || Hoag | |||
|- | |||
| "03" || Calcio | |||
|- | |||
| "04" || Aula | |||
|} | |||
= ConsoleSixAxisSensorHorizontalOffset = | |||
This is "nn::settings::factory::ConsoleSixAxisSensorHorizontalOffset". Same as [[Calibration#ConsoleSixAxisSensorHorizontalOffset|ConsoleSixAxisSensorHorizontalOffset]]. | |||
= CountryCode = | = CountryCode = | ||
Line 1,170: | Line 1,362: | ||
= SpeakerParameter = | = SpeakerParameter = | ||
This is "nn::settings::factory::SpeakerParameter". | This is "nn::settings::factory::SpeakerParameter". This is copied from the first 0x5A bytes of [[Calibration#SpeakerCalibrationValue|SpeakerCalibrationValue]]. | ||
= SslCertificate = | |||
This is "nn::settings::factory::SslCertificate". This is a 0x804-byte struct. | |||
{| class="wikitable" border="1" | {| class="wikitable" border="1" | ||
Line 1,176: | Line 1,371: | ||
! Offset || Size || Description | ! Offset || Size || Description | ||
|- | |- | ||
| 0x0 || | | 0x0 || 0x4 || Size | ||
|- | |- | ||
| | | 0x4 || Variable || Data | ||
|} | |||
= SslKey = | |||
This is "nn::settings::factory::SslKey". This is a 0x110-byte struct or a 0x130-byte struct in the extended version. | |||
If [[Calibration#CAL0|Calibration Version]] >= 9, this is now: | |||
{| class="wikitable" border="1" | |||
|- | |- | ||
| | ! Offset || Size || Description | ||
|- | |- | ||
| | | 0x0 || 0x130 || Key | ||
|- | |- | ||
| | | 0x130 || 0x4 || KeyGeneration | ||
|} | |||
= RegionCode = | |||
This is "nn::settings::factory::RegionCode". | |||
{| class="wikitable" border="1" | |||
|- | |- | ||
! Value | |||
! Description | |||
|- | |- | ||
| | | 0 || Japan | ||
|- | |- | ||
| | | 1 || Usa | ||
|- | |- | ||
| | | 2 || Europe | ||
|- | |- | ||
| | | 3 || Australia | ||
|- | |- | ||
| | | 4 || China | ||
|- | |- | ||
| | | 5 || Korea | ||
|- | |- | ||
| | | 6 || Taiwan | ||
|} | |||
= AudioOutputMode = | |||
| | This is "nn::settings::system::AudioOutputMode". | ||
{| class="wikitable" border="1" | |||
|- | |- | ||
! Value | |||
! Description | |||
|- | |- | ||
| | | 0 || 1ch | ||
|- | |- | ||
| | | 1 || 2ch | ||
|- | |- | ||
| | | 2 || 5_1ch | ||
|- | |- | ||
| | | 3 || 7_1ch | ||
|} | |} | ||
= | = AudioOutputModeTarget = | ||
This is "nn::settings:: | This is "nn::settings::system::AudioOutputModeTarget". | ||
{| class="wikitable" border="1" | {| class="wikitable" border="1" | ||
|- | |- | ||
! | ! Value | ||
! Description | |||
|- | |||
| 0 || Hdmi | |||
|- | |- | ||
| | | 1 || Speaker | ||
|- | |- | ||
| | | 2 || Headphone | ||
|} | |} | ||
= | = AudioVolumeTarget = | ||
This is "nn::settings:: | This is "nn::settings::system::AudioVolumeTarget". | ||
{| class="wikitable" border="1" | |||
|- | |||
! Value | |||
! Description | |||
|- | |||
| 0 || Speaker | |||
|- | |||
| 1 || Headphone | |||
|} | |||
= DeviceNickName = | |||
This is "nn::settings::system::DeviceNickName". This is a 0x80-byte struct. | |||
= Edid = | |||
This is "nn::settings::system::Edid". | |||
{| class="wikitable" border="1" | {| class="wikitable" border="1" | ||
|- | |- | ||
! Offset || Size || Description | ! Offset || Size || Description | ||
|- | |- | ||
| 0x0 || | | 0x0 || 0x80 || Data0 | ||
|- | |||
| 0x80 || 0x80 || Data1 | |||
|- | |||
| 0x100 || 0x80 || [13.0.0+] Data2 | |||
|- | |- | ||
| | | 0x180 || 0x80 || [13.0.0+] Data3 | ||
|} | |} | ||
= RegionCode = | = RegionCode = | ||
This is "nn::settings:: | This is "nn::settings::system::RegionCode". | ||
{| class="wikitable" border="1" | {| class="wikitable" border="1" | ||
Line 1,262: | Line 1,492: | ||
| 3 || Australia | | 3 || Australia | ||
|- | |- | ||
| 4 || | | 4 || HongKongTaiwanKorea | ||
|- | |- | ||
| 5 || | | 5 || China | ||
|} | |} | ||
= | = UserSelectorFlag = | ||
This is "nn::settings::system:: | This is "nn::settings::system::UserSelectorFlag". | ||
{| class="wikitable" border="1" | {| class="wikitable" border="1" | ||
! Bits | |||
! | |||
! Description | ! Description | ||
|- | |- | ||
| 0 || | | 0 || SkipsIfSingleUser | ||
|- | |- | ||
| | | 31 || Unknown | ||
|} | |} | ||
= | = UserSelectorSettings = | ||
This is "nn::settings::system:: | This is "nn::settings::system::UserSelectorSettings". | ||
This contains an u32 bitmask for [[#UserSelectorFlag]]. | |||
= AccountSettings = | |||
This is "nn::settings::system::AccountSettings". | |||
This contains [[#UserSelectorSettings]]. | |||
= ClockSourceId = | |||
This is "nn::settings::system::ClockSourceId". | |||
{| class="wikitable" border="1" | {| class="wikitable" border="1" | ||
Line 1,294: | Line 1,527: | ||
! Description | ! Description | ||
|- | |- | ||
| 0 || | | 0 || NetworkSystemClock | ||
|- | |- | ||
| 1 || | | 1 || SteadyClock | ||
|} | |} | ||
= | = NotificationVolume = | ||
This is "nn::settings::system:: | This is "nn::settings::system::NotificationVolume". | ||
{| class="wikitable" border="1" | {| class="wikitable" border="1" | ||
Line 1,309: | Line 1,540: | ||
! Description | ! Description | ||
|- | |- | ||
| 0 || | | 0 || Mute | ||
|- | |||
| 1 || Low | |||
|- | |- | ||
| | | 2 || High | ||
|} | |} | ||
= | = FriendPresenceOverlayPermission = | ||
This is "nn::settings::system:: | This is "nn::settings::system::FriendPresenceOverlayPermission". | ||
{| class="wikitable" border="1" | {| class="wikitable" border="1" | ||
|- | |- | ||
! | ! Value | ||
! Description | |||
|- | |- | ||
| | | 0 || NotConfirmed | ||
|- | |- | ||
| | | 1 || NoDisplay | ||
| | |||
|- | |- | ||
| | | 2 || FavoriteFriends | ||
|- | |- | ||
| | | 3 || Friends | ||
|} | |} | ||
= | = TvResolution = | ||
This is "nn::settings::system:: | This is "nn::settings::system::TvResolution". | ||
{| class="wikitable" border="1" | {| class="wikitable" border="1" | ||
Line 1,359: | Line 1,572: | ||
! Description | ! Description | ||
|- | |- | ||
| 0 || | | 0 || Auto | ||
|- | |- | ||
| 1 || | | 1 || 1080p | ||
|- | |||
| 2 || 720p | |||
|- | |||
| 3 || 480p | |||
|} | |} | ||
= | = HdmiContentType = | ||
This is "nn::settings::system:: | This is "nn::settings::system::HdmiContentType". | ||
{| class="wikitable" border="1" | {| class="wikitable" border="1" | ||
Line 1,372: | Line 1,589: | ||
! Description | ! Description | ||
|- | |- | ||
| 0 || | | 0 || None | ||
|- | |||
| 1 || Graphics | |||
|- | |||
| 2 || Cinema | |||
|- | |- | ||
| | | 3 || Photo | ||
|- | |- | ||
| | | 4 || Game | ||
|} | |} | ||
= | = RgbRange = | ||
This is "nn::settings::system:: | This is "nn::settings::system::RgbRange". | ||
{| class="wikitable" border="1" | {| class="wikitable" border="1" | ||
Line 1,387: | Line 1,608: | ||
! Description | ! Description | ||
|- | |- | ||
| 0 || | | 0 || Auto | ||
|- | |- | ||
| 1 || | | 1 || Full | ||
|- | |- | ||
| 2 || | | 2 || Limited | ||
|} | |} | ||
= | = CmuMode = | ||
This is "nn::settings::system:: | This is "nn::settings::system::CmuMode". | ||
{| class="wikitable" border="1" | {| class="wikitable" border="1" | ||
Line 1,404: | Line 1,623: | ||
! Description | ! Description | ||
|- | |- | ||
| 0 || | | 0 || None | ||
|- | |- | ||
| 1 || | | 1 || ColorInvert | ||
|- | |- | ||
| 2 || | | 2 || HighContrast | ||
|- | |- | ||
| 3 || | | 3 || GrayScale | ||
|} | |} | ||
= | = HandheldSleepPlan = | ||
This is "nn::settings::system:: | This is "nn::settings::system::HandheldSleepPlan". | ||
{| class="wikitable" border="1" | {| class="wikitable" border="1" | ||
Line 1,421: | Line 1,640: | ||
! Description | ! Description | ||
|- | |- | ||
| 0 || | | 0 || 1Min | ||
|- | |- | ||
| 1 || | | 1 || 3Min | ||
|- | |- | ||
| 2 || | | 2 || 5Min | ||
|- | |- | ||
| 3 || | | 3 || 10Min | ||
|- | |- | ||
| 4 || | | 4 || 30Min | ||
|- | |||
| 5 || Never | |||
|} | |} | ||
= | = ConsoleSleepPlan = | ||
This is "nn::settings::system:: | This is "nn::settings::system::ConsoleSleepPlan". | ||
{| class="wikitable" border="1" | {| class="wikitable" border="1" | ||
Line 1,440: | Line 1,661: | ||
! Description | ! Description | ||
|- | |- | ||
| 0 || | | 0 || 1Hour | ||
|- | |||
| 1 || 2Hour | |||
|- | |||
| 2 || 3Hour | |||
|- | |||
| 3 || 6Hour | |||
|- | |- | ||
| | | 4 || 12Hour | ||
|- | |- | ||
| | | 5 || Never | ||
|} | |} | ||
= | = EulaVersion = | ||
This is "nn::settings::system:: | This is "nn::settings::system::EulaVersion". | ||
{| class="wikitable" border="1" | {| class="wikitable" border="1" | ||
|- | |- | ||
! | ! Offset || Size || Description | ||
|- | |- | ||
| | | 0x0 || 0x4 || Version | ||
|- | |- | ||
| | | 0x4 || 0x4 || [[#RegionCode_2|RegionCode]] | ||
|- | |- | ||
| | | 0x8 || 0x4 || [[#SteadyClockSourceId|ClockType]] | ||
|- | |||
| 0xC || 0x4 || Reserved | |||
|- | |||
| 0x10 || 0x8 || [[Glue_services#PosixTime|NetworkSystemClock]] | |||
|- | |- | ||
| | | 0x18 || 0x18 || [[Glue_services#SteadyClockTimePoint|SteadyClock]] | ||
|} | |} | ||
= | = FirmwareVersion = | ||
This is "nn::settings::system:: | This is "nn::settings::system::FirmwareVersion". | ||
{| class="wikitable" border="1" | {| class="wikitable" border="1" | ||
|- | |- | ||
! | ! Offset || Size || Description | ||
|- | |||
| 0x0 || 0x1 || Major | |||
|- | |- | ||
| | | 0x1 || 0x1 || Minor | ||
|- | |- | ||
| | | 0x2 || 0x1 || Micro | ||
|- | |- | ||
| | | 0x3 || 0x1 || Reserved | ||
|- | |- | ||
| | | 0x4 || 0x4 || ReleaseNumber | ||
|- | |- | ||
| | | 0x8 || 0x20 || Platform | ||
|- | |- | ||
| | | 0x28 || 0x40 || Revision | ||
| | |||
|- | |- | ||
| 0x68 || 0x18 || DisplayVersion | |||
|- | |- | ||
| | | 0x80 || 0x80 || DisplayName | ||
| | |||
| | |||
|} | |} | ||
= | = PtmFuelGaugeParameter = | ||
This is "nn::settings::system:: | This is "nn::settings::system::PtmFuelGaugeParameter". | ||
{| class="wikitable" border="1" | {| class="wikitable" border="1" | ||
Line 1,513: | Line 1,727: | ||
! Offset || Size || Description | ! Offset || Size || Description | ||
|- | |- | ||
| 0x0 || | | 0x0 || 0x2 || Rcomp0 | ||
|- | |- | ||
| | | 0x2 || 0x2 || TempCo | ||
|- | |- | ||
| | | 0x4 || 0x2 || FullCap | ||
|- | |- | ||
| | | 0x6 || 0x2 || FullCapNom | ||
|- | |- | ||
| 0x10 || | | 0x8 || 0x2 || IavgEmpty | ||
|- | |||
| 0xA || 0x2 || QrTable00 | |||
|- | |||
| 0xC || 0x2 || QrTable10 | |||
|- | |||
| 0xE || 0x2 || QrTable20 | |||
|- | |||
| 0x10 || 0x2 || QrTable30 | |||
|- | |||
| 0x12 || 0x2 || Reserved | |||
|- | |- | ||
| | | 0x14 || 0x4 || Cycles | ||
|} | |} | ||
= | = SecuritySettings = | ||
This is "nn::settings::system:: | This is "nn::settings::system::SecuritySettings". | ||
{| class="wikitable" border="1" | {| class="wikitable" border="1" | ||
Line 1,533: | Line 1,757: | ||
! Offset || Size || Description | ! Offset || Size || Description | ||
|- | |- | ||
| 0x0 || | | 0x0 || 0x4 || AuthenticationMode | ||
|- | |- | ||
| | | 0x4 || 0x4 || EncryptionMode | ||
|- | |- | ||
| | | 0x8 || 0x40 || KeyMaterial | ||
|- | |- | ||
| | | 0x48 || 0x4 || KeyMaterialLength | ||
| | |} | ||
| | |||
= NotificationTime = | |||
This is "nn::settings::system::NotificationTime". | |||
{| class="wikitable" border="1" | |||
|- | |- | ||
| | ! Offset || Size || Description | ||
|- | |- | ||
| | | 0x0 || 0x4 || Hour | ||
|- | |- | ||
| | | 0x4 || 0x4 || Minute | ||
|} | |} | ||
= | = NotificationFlag = | ||
This is "nn::settings::system:: | This is "nn::settings::system::NotificationFlag". | ||
{| class="wikitable" border="1" | {| class="wikitable" border="1" | ||
! Bits | |||
! Description | |||
|- | |- | ||
| 0 || RingtoneFlag | |||
|- | |- | ||
| | | 1 || DownloadCompletionFlag | ||
|- | |- | ||
| | | 8 || EnablesNews | ||
|- | |- | ||
| | | 9 || IncomingLampFlag | ||
|} | |||
| | |||
= NotificationSettings = | |||
This is "nn::settings::system::NotificationSettings". | |||
{| class="wikitable" border="1" | |||
|- | |- | ||
| | ! Offset || Size || Description | ||
|- | |- | ||
| | | 0x0 || 0x4 || [[#NotificationFlag|Flags]] | ||
|- | |- | ||
| | | 0x4 || 0x4 || [[#NotificationVolume|Volume]] | ||
|- | |- | ||
| | | 0x8 || 0x8 || [[#NotificationTime|HeadTime]] | ||
|- | |- | ||
| 0x10 || | | 0x10 || 0x8 || [[#NotificationTime|TailTime]] | ||
| | |||
|} | |} | ||
= | = AccountNotificationFlag = | ||
This is "nn::settings::system:: | This is "nn::settings::system::AccountNotificationFlag". | ||
{| class="wikitable" border="1" | {| class="wikitable" border="1" | ||
! Bits | |||
! Description | |||
|- | |- | ||
| 0 || FriendOnlineFlag | |||
|- | |- | ||
| | | 1 || FriendRequestFlag | ||
|- | |- | ||
| | | 8 || CoralInvitationFlag | ||
|} | |} | ||
= | = AccountNotificationSettings = | ||
This is "nn::settings::system:: | This is "nn::settings::system::AccountNotificationSettings". | ||
{| class="wikitable" border="1" | {| class="wikitable" border="1" | ||
Line 1,605: | Line 1,831: | ||
! Offset || Size || Description | ! Offset || Size || Description | ||
|- | |- | ||
| 0x0 || 0x4 || | | 0x0 || 0x10 || [[Account_services#Uid|Uid]] | ||
|- | |||
| 0x10 || 0x4 || [[#AccountNotificationFlag|Flags]] | |||
|- | |||
| 0x14 || 0x1 || [[#FriendPresenceOverlayPermission|FriendPresenceOverlayPermission]] | |||
|- | |||
| 0x15 || 0x1 || [[#FriendPresenceOverlayPermission|FriendInvitationOverlayPermission]] | |||
|- | |- | ||
| | | 0x16 || 0x2 || Reserved | ||
|} | |} | ||
= | = TvFlag = | ||
This is "nn::settings::system:: | This is "nn::settings::system::TvFlag". | ||
{| class="wikitable" border="1" | {| class="wikitable" border="1" | ||
Line 1,617: | Line 1,849: | ||
! Description | ! Description | ||
|- | |- | ||
| 0 || | | 0 || Allows4k | ||
|- | |- | ||
| 1 || | | 1 || Allows3d | ||
|- | |- | ||
| | | 2 || AllowsCec | ||
|- | |- | ||
| | | 3 || PreventsScreenBurnIn | ||
|} | |} | ||
= | = TvSettings = | ||
This is "nn::settings::system:: | This is "nn::settings::system::TvSettings". | ||
{| class="wikitable" border="1" | {| class="wikitable" border="1" | ||
Line 1,633: | Line 1,865: | ||
! Offset || Size || Description | ! Offset || Size || Description | ||
|- | |- | ||
| 0x0 || 0x4 || [[# | | 0x0 || 0x4 || [[#TvFlag|Flags]] | ||
|- | |||
| 0x4 || 0x4 || [[#TvResolution|TvResolution]] | |||
|- | |||
| 0x8 || 0x4 || [[#HdmiContentType|HdmiContentType]] | |||
|- | |||
| 0xC || 0x4 || [[#RgbRange|RgbRange]] | |||
|- | |||
| 0x10 || 0x4 || [[#CmuMode|CmuMode]] | |||
|- | |- | ||
| | | 0x14 || 0x4 || TvUnderscan | ||
|- | |- | ||
| | | 0x18 || 0x4 || TvGamma | ||
|- | |- | ||
| | | 0x1C || 0x4 || ContrastRatio | ||
|} | |} | ||
= | = DataDeletionFlag = | ||
This is "nn::settings::system:: | This is "nn::settings::system::DataDeletionFlag". | ||
{| class="wikitable" border="1" | {| class="wikitable" border="1" | ||
Line 1,649: | Line 1,889: | ||
! Description | ! Description | ||
|- | |- | ||
| 0 || | | 0 || AutomaticDeletionFlag | ||
|} | |} | ||
= | = DataDeletionSettings = | ||
This is "nn::settings::system:: | This is "nn::settings::system::DataDeletionSettings". | ||
{| class="wikitable" border="1" | {| class="wikitable" border="1" | ||
Line 1,663: | Line 1,899: | ||
! Offset || Size || Description | ! Offset || Size || Description | ||
|- | |- | ||
| 0x0 || | | 0x0 || 0x4 || [[#DataDeletionFlag|Flags]] | ||
|- | |- | ||
| | | 0x4 || 0x4 || UseCount | ||
|} | |} | ||
= | = SleepFlag = | ||
This is "nn::settings::system:: | This is "nn::settings::system::SleepFlag". | ||
{| class="wikitable" border="1" | {| class="wikitable" border="1" | ||
Line 1,681: | Line 1,911: | ||
! Description | ! Description | ||
|- | |- | ||
| 0 || | | 0 || SleepsWhilePlayingMedia | ||
|- | |- | ||
| 1 || | | 1 || WakesAtPowerStateChange | ||
|} | |||
|} | |||
= | = SleepSettings = | ||
This is "nn::settings::system:: | This is "nn::settings::system::SleepSettings". | ||
{| class="wikitable" border="1" | {| class="wikitable" border="1" | ||
Line 1,697: | Line 1,923: | ||
! Offset || Size || Description | ! Offset || Size || Description | ||
|- | |- | ||
| 0x0 || 0x4 || [[# | | 0x0 || 0x4 || [[#SleepFlag|Flags]] | ||
|- | |- | ||
| 0x4 || 0x4 || [[# | | 0x4 || 0x4 || [[#HandheldSleepPlan|HandheldSleepPlan]] | ||
|- | |- | ||
| 0x8 || 0x4 || [[# | | 0x8 || 0x4 || [[#ConsoleSleepPlan|ConsoleSleepPlan]] | ||
|} | |} | ||
= | = InitialLaunchFlag = | ||
This is "nn::settings::system:: | This is "nn::settings::system::InitialLaunchFlag". | ||
{| class="wikitable" border="1" | {| class="wikitable" border="1" | ||
Line 1,721: | Line 1,937: | ||
! Description | ! Description | ||
|- | |- | ||
| 0 || | | 0 || InitialLaunchCompletionFlag | ||
|- | |||
| 8 || InitialLaunchUserAdditionFlag | |||
|- | |||
| 16 || InitialLaunchTimestampFlag | |||
|} | |} | ||
= | = InitialLaunchSettings = | ||
This is "nn::settings::system:: | This is "nn::settings::system::InitialLaunchSettings". This struct is 8-byte aligned. | ||
{| class="wikitable" border="1" | {| class="wikitable" border="1" | ||
Line 1,731: | Line 1,951: | ||
! Offset || Size || Description | ! Offset || Size || Description | ||
|- | |- | ||
| 0x0 || 0x4 || [[# | | 0x0 || 0x4 || [[#InitialLaunchFlag|Flags]] | ||
|- | |||
| 0x4 || 0x4 || Reserved | |||
|- | |- | ||
| | | 0x8 || 0x18 || [[Glue_services#SteadyClockTimePoint|TimeStamp]] | ||
|} | |} | ||
= | = RebootlessSystemUpdateVersion = | ||
This is "nn::settings::system:: | This is "nn::settings::system::RebootlessSystemUpdateVersion". This struct is 4-byte aligned. | ||
This is the content of the RebootlessSystemUpdateVersion SystemData, in the "/version" file. | |||
{| class="wikitable" border="1" | {| class="wikitable" border="1" | ||
|- | |- | ||
| | ! Offset || Size || Description | ||
|- | |||
| 0x0 || 0x4 || Version | |||
|- | |- | ||
| | | 0x4 || 0x1C || Reserved | ||
|} | |- | ||
| 0x20 || 0x20 || DisplayVersion | |||
|} | |||
= | = PrimaryAlbumStorage = | ||
This is "nn::settings::system:: | This is "nn::settings::system::PrimaryAlbumStorage". | ||
{| class="wikitable" border="1" | {| class="wikitable" border="1" | ||
|- | |- | ||
! | ! Value | ||
! Description | |||
|- | |- | ||
| | | 0 || Nand | ||
|- | |- | ||
| | | 1 || SdCard | ||
|} | |} | ||
= | = ErrorReportSharePermission = | ||
This is "nn::settings::system:: | This is "nn::settings::system::ErrorReportSharePermission". | ||
{| class="wikitable" border="1" | {| class="wikitable" border="1" | ||
! | |- | ||
! Value | |||
! Description | ! Description | ||
|- | |- | ||
| 0 || | | 0 || NotConfirmed | ||
|- | |- | ||
| | | 1 || Granted | ||
|- | |- | ||
| | | 2 || Denied | ||
|} | |} | ||
= | = ServiceDiscoveryControlSettings = | ||
This is "nn::settings::system:: | This is "nn::settings::system::ServiceDiscoveryControlSettings". | ||
{| class="wikitable" border="1" | {| class="wikitable" border="1" | ||
! Bits | |||
! Description | |||
|- | |- | ||
| 0 | |||
| IsChangeEnvironmentIdentifierDisabled | |||
| | |||
|} | |} | ||
= | = AppletLaunchFlag = | ||
This is "nn::settings::system:: | This is "nn::settings::system::AppletLaunchFlag". This is an u32 bitmask. | ||
This is | = KeyboardLayout = | ||
This is "nn::settings::KeyboardLayout". | |||
{| class="wikitable" border="1" | {| class="wikitable" border="1" | ||
|- | |- | ||
! | ! Value | ||
! Description | |||
|- | |- | ||
| | | 1 || EnglishUs | ||
|- | |- | ||
| | | 2 || EnglishUsInternational | ||
|- | |||
| 3 || EnglishUk | |||
|- | |||
| 4 || French | |||
|- | |||
| 5 || FrenchCa | |||
|- | |||
| 6 || Spanish | |||
|- | |||
| 7 || SpanishLatin | |||
|- | |||
| 8 || German | |||
|- | |||
| 9 || Italian | |||
|- | |||
| 10 || Portuguese | |||
|- | |||
| 11 || Russian | |||
|- | |||
| 12 || Korean | |||
|- | |||
| 13 || ChineseSimplified | |||
|- | |- | ||
| | | 14 || ChineseTraditional | ||
|} | |} | ||
= | = ChineseTraditionalInputMethod = | ||
This is "nn::settings:: | This is "nn::settings::ChineseTraditionalInputMethod". | ||
{| class="wikitable" border="1" | {| class="wikitable" border="1" | ||
Line 1,814: | Line 2,061: | ||
! Description | ! Description | ||
|- | |- | ||
| | | 1 || | ||
|- | |- | ||
| | | 2 || | ||
|} | |} | ||
= | = HomeMenuScheme = | ||
This is "nn::settings::system:: | This is "nn::settings::system::HomeMenuScheme". | ||
{| class="wikitable" border="1" | {| class="wikitable" border="1" | ||
|- | |- | ||
! | ! Offset || Size || Description | ||
|- | |||
| 0x0 || 0x4 || MainColor | |||
|- | |||
| 0x4 || 0x4 || BackColor | |||
|- | |- | ||
| | | 0x8 || 0x4 || SubColor | ||
|- | |- | ||
| | | 0xC || 0x4 || Reserved | ||
|- | |- | ||
| | | 0x10 || 0x4 || BezelColor | ||
|} | |} | ||
= | = TouchScreenMode = | ||
This is "nn::settings::system:: | This is "nn::settings::system::TouchScreenMode". | ||
{| class="wikitable" border="1" | {| class="wikitable" border="1" | ||
! | |- | ||
! Value | |||
! Description | ! Description | ||
|- | |- | ||
| 0 | | 0 || Stylus | ||
| | |- | ||
| 1 || Standard | |||
|} | |} | ||
= | = ButtonConfigSettings = | ||
This is "nn::settings::system:: | This is "nn::settings::system::ButtonConfigSettings". This is a 0x5A8-byte struct. | ||
{| class="wikitable" border="1" | {| class="wikitable" border="1" | ||
|- | |- | ||
! | ! Offset || Size || Description | ||
|- | |- | ||
| | | 0x0 || 0x1 || IsFull bool flag. 0 = empty config, 1 = config set. Also accessed as an u32, but only bit0 is used. | ||
|- | |- | ||
| | | 0x1 || 0x3 || Padding | ||
|- | |- | ||
| | | 0x4 || 0x1C4 || Unused | ||
|- | |- | ||
| | | 0x1C8 || 0x3E0 || Config | ||
|} | |||
= ButtonConfigRegisteredSettings = | |||
This is "nn::settings::system::ButtonConfigRegisteredSettings". This is a 0x5C8-byte struct. | |||
= BluetoothDevicesSettings = | |||
This is "nn::settings::system::BluetoothDevicesSettings". This is a 0x200-byte struct. | |||
{| class="wikitable" border="1" | |||
|- | |- | ||
| | ! Offset || Size || Description | ||
|- | |- | ||
| | | 0x0 || 0x6 || [[BTM_services#BdAddress|BdAddr]] | ||
|- | |- | ||
| | | 0x6 || 0x20 || [13.0.0+] Reserved ([1.0.0-12.1.0] [[BTM_services#BdName|DeviceName]]) | ||
|- | |- | ||
| | | 0x26 || 0x3 || [[BTM_services#ClassOfDevice|ClassOfDevice]] | ||
|- | |||
| 0x29 || 0x10 || LinkKey | |||
|- | |- | ||
| | | 0x39 || 0x1 || LinkKeyPresent | ||
|- | |- | ||
| | | 0x3A || 0x2 || Version | ||
|- | |- | ||
| | | 0x3C || 0x4 || TrustedServices | ||
|- | |- | ||
| | | 0x40 || 0x2 || Vid | ||
|- | |- | ||
| | | 0x42 || 0x2 || Pid | ||
|- | |- | ||
| | | 0x44 || 0x1 || SubClass | ||
| | |||
|- | |- | ||
| 0x45 || 0x1 || AttributeMask | |||
|- | |- | ||
| | | 0x46 || 0x2 || DescriptorLength | ||
|- | |- | ||
| | | 0x48 || 0x80 || Descriptor | ||
| | |||
|- | |- | ||
| | | 0xC8 || 0x1 || KeyType | ||
|- | |- | ||
| | | 0xC9 || 0x1 || DeviceType | ||
|- | |- | ||
| | | 0xCA || 0x2 || BrrSize | ||
|- | |- | ||
| | | 0xCC || 0x9 || Brr | ||
|- | |- | ||
| | | 0xD5 || 0x1 || [13.0.0+] AudioSourceVolume | ||
|- | |- | ||
| | | 0xD6 || 0xF9 || [13.0.0+] DeviceName | ||
|- | |- | ||
| | | 0x1CF || 0x1 || [15.0.0+] AudioSinkVolume | ||
|- | |- | ||
| | | 0x1D0 || 0x4 || [14.0.0+] AudioFlags | ||
|- | |- | ||
| | | 0x1D4 || 0x2C || Reserved | ||
|} | |} | ||
= NxControllerLegacySettings = | |||
This is "nn::settings::system::NxControllerLegacySettings" ([1.0.0-12.1.0] "nn::settings::system::NxControllerSettings"). This is a 0x29-byte struct. | |||
= NxControllerSettings = | |||
This is "nn::settings::system::NxControllerSettings". This is a 0x42C-byte struct. This was added with [13.0.0+]. | |||
= System Configuration = | = System Configuration = |