Settings services: Difference between revisions

No edit summary
No edit summary
 
(26 intermediate revisions by 2 users not shown)
Line 29: Line 29:
|-
|-
| 11 || [10.1.0+] [[#GetDeviceNickName]]
| 11 || [10.1.0+] [[#GetDeviceNickName]]
|-
| 12 || [18.0.0+] GetKeyCodeMapByPort
|}
|}


Line 94: Line 96:
|-
|-
| 23 || [9.0.0+] SetMemoryUsageRateFlag
| 23 || [9.0.0+] SetMemoryUsageRateFlag
|-
| 24 || [20.0.0+] CommitSettings
|-
| 27 || [21.0.0+] SetHttpAuthConfigs
|}
|}


Line 117: Line 123:
! Cmd || Name
! Cmd || Name
|-
|-
| 0 || GetBluetoothBdAddress
| 0 || [S1] [[#GetBluetoothBdAddress]]
|-
|-
| 1 || [[#GetConfigurationId1]]
| 1 || [[#GetConfigurationId1]]
|-
|-
| 2 || GetAccelerometerOffset
| 2 || [S1] [[#GetAccelerometerOffset]]
|-
| 3 || [S1] [[#GetAccelerometerScale]]
|-
| 4 || [S1] [[#GetGyroscopeOffset]]
|-
| 5 || [S1] [[#GetGyroscopeScale]]
|-
| 6 || [[#GetWirelessLanMacAddress]]
|-
| 7 || [S1] [[#GetWirelessLanCountryCodeCount]]
|-
| 8 || [S1] [[#GetWirelessLanCountryCodes]]
|-
| 9 || [[#GetSerialNumber]]
|-
| 10 || [S1] [[#SetInitialSystemAppletProgramId]]
|-
| 11 || [S1] [[#SetOverlayDispProgramId]]
|-
| 12 || [[#GetBatteryLot]]
|-
| 14 || [S1] [[#GetEciDeviceCertificate]]
|-
| 15 || [S1] [[#GetEticketDeviceCertificate]]
|-
| 16 || [S1] [[#GetSslKey]]
|-
| 17 || [S1] [[#GetSslCertificate]]
|-
|-
| 3 || GetAccelerometerScale
| 18 || [S1] [[#GetGameCardKey]]
|-
|-
| 4 || GetGyroscopeOffset
| 19 || [S1] [[#GetGameCardCertificate]]
|-
|-
| 5 || GetGyroscopeScale
| 20 || [S1] [[#GetEciDeviceKey]]
|-
|-
| 6 || GetWirelessLanMacAddress
| 21 || [S1] [[#GetEticketDeviceKey]]
|-
|-
| 7 || GetWirelessLanCountryCodeCount
| 22 || [S1] [[#GetSpeakerParameter]]
|-
|-
| 8 || GetWirelessLanCountryCodes
| 23 || [S1] [4.0.0+] [[#GetLcdVendorId]]
|-
|-
| 9 || GetSerialNumber
| 24 || [S1] [5.0.0+] [[#GetEciDeviceCertificate2]]
|-
|-
| 10 || SetInitialSystemAppletProgramId
| 25 || [S1] [5.0.0+] [[#GetEciDeviceKey2]]
|-
|-
| 11 || SetOverlayDispProgramId
| 26 || [S1] [5.0.0+] [[#GetAmiiboKey]]
|-
|-
| 12 || GetBatteryLot
| 27 || [S1] [5.0.0+] [[#GetAmiiboEcqvCertificate]]
|-
|-
| 14 || [[#GetEciDeviceCertificate]]
| 28 || [S1] [5.0.0+] [[#GetAmiiboEcdsaCertificate]]
|-
|-
| 15 || [[#GetEticketDeviceCertificate]]
| 29 || [S1] [5.0.0+] [[#GetAmiiboEcqvBlsKey]]
|-
|-
| 16 || [[#GetSslKey]]
| 30 || [S1] [5.0.0+] [[#GetAmiiboEcqvBlsCertificate]]
|-
|-
| 17 || [[#GetSslCertificate]]
| 31 || [S1] [5.0.0+] [[#GetAmiiboEcqvBlsRootCertificate]]
|-
|-
| 18 || [[#GetGameCardKey]]
| 32 || [S1] [5.0.0+] [[#GetUsbTypeCPowerSourceCircuitVersion]]
|-
|-
| 19 || [[#GetGameCardCertificate]]
| 33 || [S1] [8.1.1+] [[#GetAnalogStickModuleTypeL]]
|-
|-
| 20 || [[#GetEciDeviceKey]]
| 34 || [S1] [8.1.1+] [[#GetAnalogStickModelParameterL]]
|-
|-
| 21 || [[#GetEticketDeviceKey]]
| 35 || [S1] [8.1.1+] [[#GetAnalogStickFactoryCalibrationL]]
|-
|-
| 22 || GetSpeakerParameter
| 36 || [S1] [8.1.1+] [[#GetAnalogStickModuleTypeR]]
|-
|-
| 23 || [4.0.0+] GetLcdVendorId
| 37 || [S1] [8.1.1+] [[#GetAnalogStickModelParameterR]]
|-
|-
| 24 || [5.0.0+] [[#GetEciDeviceCertificate2]]
| 38 || [S1] [8.1.1+] [[#GetAnalogStickFactoryCalibrationR]]
|-
|-
| 25 || [5.0.0+] [[#GetEciDeviceKey2]]
| 39 || [S1] [8.1.1+] [[#GetConsoleSixAxisSensorModuleType]]
|-
|-
| 26 || [5.0.0+] GetAmiiboKey
| 40 || [S1] [8.1.1+] [[#GetConsoleSixAxisSensorHorizontalOffset]]
|-
|-
| 27 || [5.0.0+] GetAmiiboEcqvCertificate
| 41 || [S1] [6.0.0+] [[#GetBatteryVersion]]
|-
|-
| 28 || [5.0.0+] GetAmiiboEcdsaCertificate
| 42 || [S1] [10.0.0+] [[#GetDeviceId]]
|-
|-
| 29 || [5.0.0+] GetAmiiboEcqvBlsKey
| 43 || [S1] [10.0.0+] [[#GetConsoleSixAxisSensorMountType]]
|-
|-
| 30 || [5.0.0+] GetAmiiboEcqvBlsCertificate
| 44 || [S2] GetCpDeviceKeyFileSize
|-
|-
| 31 || [5.0.0+] GetAmiiboEcqvBlsRootCertificate
| 45 || [S2] GetCpDeviceKeyFile
|-
|-
| 32 || [5.0.0+] GetUsbTypeCPowerSourceCircuitVersion
| 46 || [S2] GetCpCertificateFileSize
|-
|-
| 33 || [8.1.1+] GetAnalogStickModuleTypeL
| 47 || [S2] GetCpCertificateFile
|-
|-
| 34 || [8.1.1+] GetAnalogStickModelParameterL
| 48 || [S2] GetRaCertificateFileSize
|-
|-
| 35 || [8.1.1+] GetAnalogStickFactoryCalibrationL
| 49 || [S2] GetRaCertificateFile
|-
|-
| 36 || [8.1.1+] GetAnalogStickModuleTypeR
| 50 || [S2] GetRaOemEkFileSize
|-
|-
| 37 || [8.1.1+] GetAnalogStickModelParameterR
| 51 || [S2] GetRaOemEkFile
|-
|-
| 38 || [8.1.1+] GetAnalogStickFactoryCalibrationR
| 52 || [S2] GetRaPkaKekFileSize
|-
|-
| 39 || [8.1.1+] GetConsoleSixAxisSensorModuleType
| 53 || [S2] GetRaPkaKekFile
|-
|-
| 40 || [8.1.1+] GetConsoleSixAxisSensorHorizontalOffset
| 54 || [S2] GetGcNxPkKekFileSize
|-
|-
| 41 || [6.0.0+] GetBatteryVersion
| 55 || [S2] GetGcNxPkKekFile
|-
|-
| 42 || [10.0.0+] [[#GetDeviceId]]
| 56 || [S2] GetGcUniqueImportKeyFileSize
|-
|-
| 43 || [10.0.0+] GetConsoleSixAxisSensorMountType
| 57 || [S2] GetGcUniqueImportKeyFile
|}
|-
 
| 58 || [S2] GetGcUniqueEncryptionKeyFileSize
Used for accessing data calibrated at the factory.
|-
 
| 59 || [S2] GetGcUniqueEncryptionKeyFile
== GetConfigurationId1 ==
|-
Returns the [[#ConfigurationId1]].
| 60 || [S2] GetGcCertificateFileSize
 
|-
== GetEciDeviceCertificate ==
| 61 || [S2] GetGcCertificateFile
Takes a type-0x16 output buffer containing a [[#EccB233DeviceCertificate]].
|-
 
| 62 || [S2] GetGcUniqueKeyAFileSize
Returns the device certificate (ECC signed). This is identical to 3DS DeviceCert/CTCert besides the strings. NIM loads the DeviceId from this.
|-
 
| 63 || [S2] GetGcUniqueKeyAFile
== GetEticketDeviceCertificate ==
|-
Takes a type-0x16 output buffer containing a [[#Rsa2048DeviceCertificate]].
| 64 || [S2] GetGcUniqueKeyBFileSize
 
|-
Returns the ETicket certificate (RSA signed).
| 65 || [S2] GetGcUniqueKeyBFile
 
|-
== GetSslKey ==
| 66 || [S2] GetGcNxKeyFileSize
Takes a type-0x16 output buffer containing a [[#SslKey]].
|-
 
| 67 || [S2] GetGcNxKeyFile
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).
|-
 
| 68 || [S2] GetGcNxCertificateFileSize
Used by SSL-sysmodule, see [[SSL_services|here]].
|-
 
| 69 || [S2] GetGcNxCertificateFile
== GetSslCertificate ==
|-
Takes a type-0x16 output buffer containing a [[#SslCertificate]].
| 70 || [S2] GetWirelessLanRegulatoryDomain
 
|-
Used by SSL-sysmodule, see [[SSL_services|here]].
| 71 || [S2] GetDeviceId
 
|-
== GetGameCardKey ==
| 72 || [S2] GetBluetoothBdAddressSet
Takes a type-0x16 output buffer containing a [[#GameCardKey]].
 
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 ==
Takes a type-0x16 output buffer containing a [[#GameCardCertificate]].
 
== GetEciDeviceKey ==
No input, returns an [[#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).
 
== GetEticketDeviceKey ==
Takes a type-0x16 output buffer containing a [[#Rsa2048DeviceKey]].
 
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).
 
== GetEciDeviceCertificate2 ==
Same as [[#GetEciDeviceCertificate]], but [[#Rsa2048DeviceCertificate|returns]] a RSA-2048 variant of the device certificate.
 
== GetEciDeviceKey2 ==
Same as [[#GetEciDeviceKey]], but [[#Rsa2048DeviceKey|returns]] a RSA-2048 variant of the device key.
 
== GetDeviceId ==
Returns an u64 '''DeviceId''' by reading and converting the hexadecimal string at offset 0xC6 inside [[#EccB233DeviceCertificate]] or [[#Rsa2048DeviceCertificate]].
 
= set:sys =
This is "nn::settings::ISystemSettingsServer".
 
{| class="wikitable" border="1"
|-
|-
! Cmd || Name
| 73 || [S2] GetToolModel
|-
|-
| 0 || [[#SetLanguageCode]]
| 74 || [S2] IsRadioForbidden
|-
|-
| 1 || SetNetworkSettings
| 75 || [S2] GetDisplayModuleId
|-
|-
| 2 || GetNetworkSettings
| 76 || [S2] GetAnalogStickModuleTypeL
|-
|-
| 3 || [[#GetFirmwareVersion]]
| 77 || [S2] GetAnalogStickModelParameterL
|-
|-
| 4 || [3.0.0+] GetFirmwareVersion2
| 78 || [S2] GetAnalogStickFactoryCalibrationL
|-
|-
| 5 || [5.0.0+] GetFirmwareVersionDigest
| 79 || [S2] GetAnalogStickModuleTypeR
|-
|-
| 7 || GetLockScreenFlag
| 80 || [S2] GetAnalogStickModelParameterR
|-
|-
| 8 || SetLockScreenFlag
| 81 || [S2] GetAnalogStickFactoryCalibrationR
|-
|-
| 9 || GetBacklightSettings
| 82 || [S2] GetConsoleSixAxisSensorModuleType
|-
|-
| 10 || SetBacklightSettings
| 83 || [S2] GetConsoleSixAxisSensorMountType
|-
|-
| 11 || SetBluetoothDevicesSettings
| 84 || [S2] GetConsoleSixAxisSensorFactoryCalibration
|-
|-
| 12 || GetBluetoothDevicesSettings
| 85 || [S2] GetOta0DeviceKeyFileSize
|-
|-
| 13 || GetExternalSteadyClockSourceId
| 86 || [S2] GetOta0DeviceKeyFile
|-
|-
| 14 || SetExternalSteadyClockSourceId
| 87 || [S2] GetOta0CertificateFileSize
|-
|-
| 15 || GetUserSystemClockContext
| 88 || [S2] GetOta0CertificateFile
|-
|-
| 16 || SetUserSystemClockContext
| 89 || [S2] GetOta1DeviceKeyFileSize
|-
|-
| 17 || [[#GetAccountSettings]]
| 90 || [S2] GetOta1DeviceKeyFile
|-
|-
| 18 || [[#SetAccountSettings]]
| 91 || [S2] GetOta1CertificateFileSize
|-
|-
| 19 || GetAudioVolume
| 92 || [S2] GetOta1CertificateFile
|-
|-
| 20 || SetAudioVolume
| 93 || [S2] GetOta2DeviceKeyFileSize
|-
|-
| 21 || [[#GetEulaVersions]]
| 94 || [S2] GetOta2DeviceKeyFile
|-
|-
| 22 || [[#SetEulaVersions]]
| 95 || [S2] GetOta2CertificateFileSize
|-
|-
| 23 || [[#GetColorSetId]]
| 96 || [S2] GetOta2CertificateFile
|-
|-
| 24 || [[#SetColorSetId]]
| 97 || [S2] GetJc0CertificateFileSize
|-
|-
| 25 || GetConsoleInformationUploadFlag
| 98 || [S2] GetJc0CertificateFile
|-
|-
| 26 || SetConsoleInformationUploadFlag
| 99 || [S2] GetJc0PrivateKeyFileSize
|-
|-
| 27 || GetAutomaticApplicationDownloadFlag
| 100 || [S2] GetJc0PrivateKeyFile
|-
|-
| 28 || SetAutomaticApplicationDownloadFlag
| 101 || [S2] GetJc0PkKekFileSize
|-
|-
| 29 || [[#GetNotificationSettings]]
| 102 || [S2] GetJc0PkKekFile
|-
|-
| 30 || [[#SetNotificationSettings]]
| 103 || [S2] GetJc1CertificateFileSize
|-
|-
| 31 || [[#GetAccountNotificationSettings]]
| 104 || [S2] GetJc1CertificateFile
|-
|-
| 32 || [[#SetAccountNotificationSettings]]
| 105 || [S2] GetJc1PrivateKeyFileSize
|-
|-
| 35 || GetVibrationMasterVolume
| 106 || [S2] GetJc1PrivateKeyFile
|-
|-
| 36 || SetVibrationMasterVolume
| 107 || [S2] GetJc1PkKekFileSize
|-
|-
| 37 || GetSettingsItemValueSize
| 108 || [S2] GetJc1PkKekFile
|-
|-
| 38 || [[#GetSettingsItemValue]]
| 109 || [S2] GetWirelessLanPowerTable
|-
|-
| 39 || [[#GetTvSettings]]
| 110 || [S2] GetConsoleSixAxisSensorFactoryAccelerationLog
|-
|-
| 40 || [[#SetTvSettings]]
| 111 || [S2] GetDrmCertificateFileSize
|-
|-
| 41 || GetEdid
| 112 || [S2] GetDrmCertificateFile
|-
|-
| 42 || SetEdid
| 113 || [S2] GetCalibrationTimeStampUtc
|-
|-
| 43 || GetAudioOutputMode
| 114 || [S2] GetEncryptedSecretDeviceIdFileSize
|-
|-
| 44 || SetAudioOutputMode
| 115 || [S2] GetEncryptedSecretDeviceIdFile
|-
|-
| 45 || GetSpeakerAutoMuteFlag ([1.0.0-12.1.0] IsForceMuteOnHeadphoneRemoved)
| 116 || [S2] GetEncryptedSecretDeviceIdEncryptionKeyFileSize
|-
|-
| 46 || SetSpeakerAutoMuteFlag ([1.0.0-12.1.0] SetForceMuteOnHeadphoneRemoved)
| 117 || [S2] GetEncryptedSecretDeviceIdEncryptionKeyFile
|-
|-
| 47 || [[#GetQuestFlag]]
| 118 || [S2]  
|-
|-
| 48 || SetQuestFlag
| 119 || [22.0.0+] GetRegionCode
|-
|}
| 49 || [[#GetDataDeletionSettings]]
 
|-
Used for accessing data [[Calibration|calibrated]] at the factory.
| 50 || [[#SetDataDeletionSettings]]
 
|-
== GetBluetoothBdAddress ==
| 51 || GetInitialSystemAppletProgramId
No input. Returns a [[#BdAddress|BdAddress]].
|-
 
| 52 || GetOverlayDispProgramId
== GetConfigurationId1 ==
|-
No input. Returns a [[#ConfigurationId1|ConfigurationId1]].
| 53 || GetDeviceTimeZoneLocationName
 
|-
== GetAccelerometerOffset ==
| 54 || SetDeviceTimeZoneLocationName
No input. Returns a [[#AccelerometerOffset|AccelerometerOffset]].
|-
 
| 55 || [[#GetWirelessCertificationFileSize]]
== GetAccelerometerScale ==
|-
No input. Returns a [[#AccelerometerScale|AccelerometerScale]].
| 56 || [[#GetWirelessCertificationFile]]
 
|-
== GetGyroscopeOffset ==
| 57 || [[#SetRegionCode]]
No input. Returns a [[#GyroscopeOffset|GyroscopeOffset]].
|-
 
| 58 || GetNetworkSystemClockContext
== GetGyroscopeScale ==
|-
No input. Returns a [[#GyroscopeScale|GyroscopeScale]].
| 59 || SetNetworkSystemClockContext
 
|-
== GetWirelessLanMacAddress ==
| 60 || IsUserSystemClockAutomaticCorrectionEnabled
No input. Returns a [[#MacAddress|MacAddress]].
|-
 
| 61 || SetUserSystemClockAutomaticCorrectionEnabled
== GetWirelessLanCountryCodeCount ==
|-
No input. Returns a s32 '''OutCount'''.
| 62 || [[#GetDebugModeFlag]]
 
|-
== GetWirelessLanCountryCodes ==
| 63 || [[#GetPrimaryAlbumStorage]]
Takes a type-0x16 output buffer containing an array of [[#CountryCode|CountryCode]]. Returns a s32 '''OutCount'''.
|-
 
| 64 || [[#SetPrimaryAlbumStorage]]
== GetSerialNumber ==
|-
No input. Returns a [[#SerialNumber|SerialNumber]].
| 65 || GetUsb30EnableFlag
 
|-
== SetInitialSystemAppletProgramId ==
| 66 || SetUsb30EnableFlag
Takes an input [[NCM_services#ProgramId|ProgramId]]. No output.
|-
 
| 67 || [[#GetBatteryLot]]
== SetOverlayDispProgramId ==
|-
Takes an input [[NCM_services#ProgramId|ProgramId]]. No output.
| 68 || [[#GetSerialNumber]]
 
|-
== GetBatteryLot ==
| 69 || GetNfcEnableFlag
No input. Returns a [[#BatteryLot|BatteryLot]].
|-
 
| 70 || SetNfcEnableFlag
== GetEciDeviceCertificate ==
|-
Takes a type-0x16 output buffer containing a [[#EccB233DeviceCertificate|EccB233DeviceCertificate]]. No output.
| 71 || [[#GetSleepSettings]]
 
|-
Returns the device certificate (ECC signed). This is identical to 3DS DeviceCert/CTCert besides the strings. NIM loads the DeviceId from this.
| 72 || [[#SetSleepSettings]]
 
|-
== GetEticketDeviceCertificate ==
| 73 || GetWirelessLanEnableFlag
Takes a type-0x16 output buffer containing a [[#Rsa2048DeviceCertificate|Rsa2048DeviceCertificate]]. No output.
|-
 
| 74 || SetWirelessLanEnableFlag
Returns the ETicket certificate (RSA signed).
|-
 
| 75 || [[#GetInitialLaunchSettings]]
== GetSslKey ==
|-
Takes a type-0x16 output buffer containing a [[#SslKey|SslKey]]. No output.
| 76 || [[#SetInitialLaunchSettings]]
 
|-
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).
| 77 || [[#GetDeviceNickName]]
 
|-
Used by SSL-sysmodule, see [[SSL_services|here]].
| 78 || [[#SetDeviceNickName]]
 
|-
== GetSslCertificate ==
| 79 || [[#GetProductModel]]
Takes a type-0x16 output buffer containing a [[#SslCertificate|SslCertificate]]. No output.
|-
 
| 80 || GetLdnChannel
Used by SSL-sysmodule, see [[SSL_services|here]].
|-
 
| 81 || SetLdnChannel
== GetGameCardKey ==
|-
Takes a type-0x16 output buffer containing a [[#GameCardKey|GameCardKey]]. No output.
| 82 || AcquireTelemetryDirtyFlagEventHandle
 
|-
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).
| 83 || GetTelemetryDirtyFlags
 
|-
== GetGameCardCertificate ==
| 84 || GetPtmBatteryLot
Takes a type-0x16 output buffer containing a [[#GameCardCertificate|GameCardCertificate]]. No output.
 
== GetEciDeviceKey ==
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).
 
== GetEticketDeviceKey ==
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).
 
== GetSpeakerParameter ==
No input. Returns a [[#SpeakerParameter|SpeakerParameter]].
 
== GetLcdVendorId ==
No input. Returns a [[Calibration#LcdVendorId|LcdVendorId]].
 
== GetEciDeviceCertificate2 ==
Same as [[#GetEciDeviceCertificate]], but returns a [[#Rsa2048DeviceCertificate|RSA-2048]] variant of the device certificate.
 
== GetEciDeviceKey2 ==
Same as [[#GetEciDeviceKey]], but returns a [[#Rsa2048DeviceKey|RSA-2048]] variant of the device key.
 
== GetAmiiboKey ==
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 =
This is "nn::settings::ISystemSettingsServer".
 
{| class="wikitable" border="1"
|-
|-
| 85 || SetPtmBatteryLot
! Cmd || Name
|-
|-
| 86 || GetPtmFuelGaugeParameter
| 0 || [[#SetLanguageCode]]
|-
|-
| 87 || SetPtmFuelGaugeParameter
| 1 || SetNetworkSettings
|-
|-
| 88 || GetBluetoothEnableFlag
| 2 || GetNetworkSettings
|-
|-
| 89 || SetBluetoothEnableFlag
| 3 || [S1] [[#GetFirmwareVersion]]
|-
|-
| 90 || [[#GetMiiAuthorId]]
| 4 || [3.0.0+] GetFirmwareVersion2
|-
|-
| 91 || SetShutdownRtcValue
| 5 || [S1] [5.0.0+] GetFirmwareVersionDigest
|-
|-
| 92 || GetShutdownRtcValue
| 7 || GetLockScreenFlag
|-
|-
| 93 || AcquireFatalDirtyFlagEventHandle
| 8 || SetLockScreenFlag
|-
|-
| 94 || GetFatalDirtyFlags
| 9 || GetBacklightSettings
|-
|-
| 95 || [2.0.0+] GetAutoUpdateEnableFlag
| 10 || SetBacklightSettings
|-
|-
| 96 || [2.0.0+] SetAutoUpdateEnableFlag
| 11 || [S1] SetBluetoothDevicesSettings
|-
|-
| 97 || [2.0.0+] GetNxControllerSettings
| 12 || [S1] GetBluetoothDevicesSettings
|-
|-
| 98 || [2.0.0+] SetNxControllerSettings
| 13 || GetExternalSteadyClockSourceId
|-
|-
| 99 || [2.0.0+] GetBatteryPercentageFlag
| 14 || SetExternalSteadyClockSourceId
|-
|-
| 100 || [2.0.0+] SetBatteryPercentageFlag
| 15 || GetUserSystemClockContext
|-
|-
| 101 || [2.0.0+] GetExternalRtcResetFlag
| 16 || SetUserSystemClockContext
|-
|-
| 102 || [2.0.0+] SetExternalRtcResetFlag
| 17 || [[#GetAccountSettings]]
|-
|-
| 103 || [3.0.0+] GetUsbFullKeyEnableFlag
| 18 || [[#SetAccountSettings]]
|-
|-
| 104 || [3.0.0+] SetUsbFullKeyEnableFlag
| 19 || GetAudioVolume
|-
|-
| 105 || [3.0.0+] SetExternalSteadyClockInternalOffset
| 20 || SetAudioVolume
|-
|-
| 106 || [3.0.0+] GetExternalSteadyClockInternalOffset
| 21 || [[#GetEulaVersions]]
|-
|-
| 107 || [3.0.0+] GetBacklightSettingsEx
| 22 || [[#SetEulaVersions]]
|-
|-
| 108 || [3.0.0+] SetBacklightSettingsEx
| 23 || [[#GetColorSetId]]
|-
|-
| 109 || [3.0.0+] GetHeadphoneVolumeWarningCount
| 24 || [[#SetColorSetId]]
|-
|-
| 110 || [3.0.0+] SetHeadphoneVolumeWarningCount
| 25 || [S1] GetConsoleInformationUploadFlag
|-
|-
| 111 || [3.0.0+] GetBluetoothAfhEnableFlag
| 26 || [S1] SetConsoleInformationUploadFlag
|-
|-
| 112 || [3.0.0+] SetBluetoothAfhEnableFlag
| 27 || [S1] GetAutomaticApplicationDownloadFlag
|-
|-
| 113 || [3.0.0+] GetBluetoothBoostEnableFlag
| 28 || [S1] SetAutomaticApplicationDownloadFlag
|-
|-
| 114 || [3.0.0+] SetBluetoothBoostEnableFlag
| 29 || [[#GetNotificationSettings]]
|-
|-
| 115 || [3.0.0+] GetInRepairProcessEnableFlag
| 30 || [[#SetNotificationSettings]]
|-
|-
| 116 || [3.0.0+] SetInRepairProcessEnableFlag
| 31 || [[#GetAccountNotificationSettings]]
|-
|-
| 117 || [3.0.0+] GetHeadphoneVolumeUpdateFlag
| 32 || [[#SetAccountNotificationSettings]]
|-
|-
| 118 || [3.0.0+] SetHeadphoneVolumeUpdateFlag
| 35 || GetVibrationMasterVolume
|-
|-
| 119 || [3.0.0+] NeedsToUpdateHeadphoneVolume
| 36 || SetVibrationMasterVolume
|-
|-
| 120 || [3.0.0+] GetPushNotificationActivityModeOnSleep
| 37 || GetSettingsItemValueSize
|-
|-
| 121 || [3.0.0+] SetPushNotificationActivityModeOnSleep
| 38 || [[#GetSettingsItemValue]]
|-
|-
| 122 || [4.0.0+] [[#GetServiceDiscoveryControlSettings]]
| 39 || [[#GetTvSettings]]
|-
|-
| 123 || [4.0.0+] SetServiceDiscoveryControlSettings
| 40 || [[#SetTvSettings]]
|-
|-
| 124 || [4.0.0+] [[#GetErrorReportSharePermission]]
| 41 || GetEdid
|-
|-
| 125 || [4.0.0+] [[#SetErrorReportSharePermission]]
| 42 || SetEdid
|-
|-
| 126 || [4.0.0+] [[#GetAppletLaunchFlags]]
| 43 || GetAudioOutputMode
|-
|-
| 127 || [4.0.0+] [[#SetAppletLaunchFlags]]
| 44 || SetAudioOutputMode
|-
|-
| 128 || [4.0.0+] GetConsoleSixAxisSensorAccelerationBias
| 45 || GetSpeakerAutoMuteFlag ([1.0.0-12.1.0] IsForceMuteOnHeadphoneRemoved)
|-
|-
| 129 || [4.0.0+] SetConsoleSixAxisSensorAccelerationBias
| 46 || SetSpeakerAutoMuteFlag ([1.0.0-12.1.0] SetForceMuteOnHeadphoneRemoved)
|-
|-
| 130 || [4.0.0+] GetConsoleSixAxisSensorAngularVelocityBias
| 47 || [[#GetQuestFlag]]
|-
|-
| 131 || [4.0.0+] SetConsoleSixAxisSensorAngularVelocityBias
| 48 || SetQuestFlag
|-
|-
| 132 || [4.0.0+] GetConsoleSixAxisSensorAccelerationGain
| 49 || [S1] [[#GetDataDeletionSettings]]
|-
|-
| 133 || [4.0.0+] SetConsoleSixAxisSensorAccelerationGain
| 50 || [S1] [[#SetDataDeletionSettings]]
|-
|-
| 134 || [4.0.0+] GetConsoleSixAxisSensorAngularVelocityGain
| 51 || [S1] GetInitialSystemAppletProgramId
|-
|-
| 135 || [4.0.0+] SetConsoleSixAxisSensorAngularVelocityGain
| 52 || [S1] GetOverlayDispProgramId
|-
|-
| 136 || [4.0.0+] [[#GetKeyboardLayout]]
| 53 || GetDeviceTimeZoneLocationName
|-
|-
| 137 || [4.0.0+] [[#SetKeyboardLayout]]
| 54 || SetDeviceTimeZoneLocationName
|-
|-
| 138 || [4.0.0+] GetWebInspectorFlag
| 55 || [S1] [[#GetWirelessCertificationFileSize]]
|-
|-
| 139 || [4.0.0+] [[#GetAllowedSslHosts]]
| 56 || [S1] [[#GetWirelessCertificationFile]]
|-
|-
| 140 || [4.0.0+] GetHostFsMountPoint
| 57 || [[#SetRegionCode]]
|-
|-
| 141 || [5.0.0+] GetRequiresRunRepairTimeReviser
| 58 || GetNetworkSystemClockContext
|-
|-
| 142 || [5.0.0+] SetRequiresRunRepairTimeReviser
| 59 || SetNetworkSystemClockContext
|-
|-
| 143 || [5.0.0+] SetBlePairingSettings
| 60 || IsUserSystemClockAutomaticCorrectionEnabled
|-
|-
| 144 || [5.0.0+] GetBlePairingSettings
| 61 || SetUserSystemClockAutomaticCorrectionEnabled
|-
|-
| 145 || [5.0.0+] GetConsoleSixAxisSensorAngularVelocityTimeBias
| 62 || [[#GetDebugModeFlag]]
|-
|-
| 146 || [5.0.0+] SetConsoleSixAxisSensorAngularVelocityTimeBias
| 63 || [[#GetPrimaryAlbumStorage]]
|-
|-
| 147 || [5.0.0+] GetConsoleSixAxisSensorAngularAcceleration
| 64 || [[#SetPrimaryAlbumStorage]]
|-
|-
| 148 || [5.0.0+] SetConsoleSixAxisSensorAngularAcceleration
| 65 || [S1] GetUsb30EnableFlag
|-
|-
| 149 || [5.0.0+] [[#GetRebootlessSystemUpdateVersion]]
| 66 || [S1] SetUsb30EnableFlag
|-
|-
| 150 || [5.0.0+] GetDeviceTimeZoneLocationUpdatedTime
| 67 || [[#GetBatteryLot]]
|-
|-
| 151 || [5.0.0+] SetDeviceTimeZoneLocationUpdatedTime
| 68 || [[#GetSerialNumber]]
|-
|-
| 152 || [6.0.0+] GetUserSystemClockAutomaticCorrectionUpdatedTime
| 69 || GetNfcEnableFlag
|-
|-
| 153 || [6.0.0+] SetUserSystemClockAutomaticCorrectionUpdatedTime
| 70 || SetNfcEnableFlag
|-
|-
| 154 || [6.0.0+] GetAccountOnlineStorageSettings
| 71 || [[#GetSleepSettings]]
|-
|-
| 155 || [6.0.0+] SetAccountOnlineStorageSettings
| 72 || [[#SetSleepSettings]]
|-
|-
| 156 || [6.0.0+] GetPctlReadyFlag
| 73 || GetWirelessLanEnableFlag
|-
|-
| 157 || [6.0.0+] SetPctlReadyFlag
| 74 || SetWirelessLanEnableFlag
|-
|-
| 158 || [8.1.1+] GetAnalogStickUserCalibrationL
| 75 || [S1] [[#GetInitialLaunchSettings]]
|-
|-
| 159 || [8.1.1+] SetAnalogStickUserCalibrationL
| 76 || [S1] [[#SetInitialLaunchSettings]]
|-
|-
| 160 || [8.1.1+] GetAnalogStickUserCalibrationR
| 77 || [[#GetDeviceNickName]]
|-
|-
| 161 || [8.1.1+] SetAnalogStickUserCalibrationR
| 78 || [[#SetDeviceNickName]]
|-
|-
| 162 || [6.0.0+] GetPtmBatteryVersion
| 79 || [[#GetProductModel]]
|-
|-
| 163 || [6.0.0+] SetPtmBatteryVersion
| 80 || [S1] GetLdnChannel
|-
|-
| 164 || [6.0.0+] GetUsb30HostEnableFlag
| 81 || [S1] SetLdnChannel
|-
|-
| 165 || [6.0.0+] SetUsb30HostEnableFlag
| 82 || AcquireTelemetryDirtyFlagEventHandle
|-
|-
| 166 || [6.0.0+] GetUsb30DeviceEnableFlag
| 83 || GetTelemetryDirtyFlags
|-
|-
| 167 || [6.0.0+] SetUsb30DeviceEnableFlag
| 84 || GetPtmBatteryLot
|-
|-
| 168 || [7.0.0+] GetThemeId
| 85 || SetPtmBatteryLot
|-
|-
| 169 || [7.0.0+] SetThemeId
| 86 || GetPtmFuelGaugeParameter
|-
|-
| 170 || [7.0.0+] [[#GetChineseTraditionalInputMethod]]
| 87 || SetPtmFuelGaugeParameter
|-
|-
| 171 || [7.0.0+] [[#SetChineseTraditionalInputMethod]]
| 88 || GetBluetoothEnableFlag
|-
|-
| 172 || [7.0.0+] GetPtmCycleCountReliability
| 89 || SetBluetoothEnableFlag
|-
|-
| 173 || [7.0.0+] SetPtmCycleCountReliability
| 90 || [[#GetMiiAuthorId]]
|-
|-
| 174 || [8.1.1+] [[#GetHomeMenuScheme]]
| 91 || SetShutdownRtcValue
|-
|-
| 175 || [7.0.0+] GetThemeSettings
| 92 || GetShutdownRtcValue
|-
|-
| 176 || [7.0.0+] SetThemeSettings
| 93 || AcquireFatalDirtyFlagEventHandle
|-
|-
| 177 || [7.0.0+] GetThemeKey
| 94 || GetFatalDirtyFlags
|-
|-
| 178 || [7.0.0+] SetThemeKey
| 95 || [2.0.0+] GetAutoUpdateEnableFlag
|-
|-
| 179 || [8.0.0+] GetZoomFlag
| 96 || [2.0.0+] SetAutoUpdateEnableFlag
|-
|-
| 180 || [8.0.0+] SetZoomFlag
| 97 || [S1] [2.0.0+] GetNxControllerSettings
|-
|-
| 181 || [8.0.0+] [[#GetT]]
| 98 || [S1] [2.0.0+] SetNxControllerSettings
|-
|-
| 182 || [8.0.0+] [[#SetT]]
| 99 || [2.0.0+] GetBatteryPercentageFlag
|-
| 100 || [2.0.0+] SetBatteryPercentageFlag
|-
| 101 || [S1] [2.0.0+] GetExternalRtcResetFlag
|-
|-
| 183 || [9.0.0+] [[#GetPlatformRegion]]
| 102 || [S1] [2.0.0+] SetExternalRtcResetFlag
|-
|-
| 184 || [9.0.0+] [[#SetPlatformRegion]]
| 103 || [3.0.0+] GetUsbFullKeyEnableFlag
|-
|-
| 185 || [9.0.0+] [[#GetHomeMenuSchemeModel]]
| 104 || [3.0.0+] SetUsbFullKeyEnableFlag
|-
|-
| 186 || [9.0.0+] [[#GetMemoryUsageRateFlag]]
| 105 || [3.0.0+] SetExternalSteadyClockInternalOffset
|-
|-
| 187 || [9.0.0+] [[#GetTouchScreenMode]]
| 106 || [3.0.0+] GetExternalSteadyClockInternalOffset
|-
|-
| 188 || [9.0.0+] [[#SetTouchScreenMode]]
| 107 || [3.0.0+] GetBacklightSettingsEx
|-
|-
| 189 || [10.0.0+] [[#GetButtonConfigSettingsFull]]
| 108 || [3.0.0+] SetBacklightSettingsEx
|-
|-
| 190 || [10.0.0+] [[#SetButtonConfigSettingsFull]]
| 109 || [3.0.0+] GetHeadphoneVolumeWarningCount
|-
|-
| 191 || [10.0.0+] [[#GetButtonConfigSettingsEmbedded]]
| 110 || [3.0.0+] SetHeadphoneVolumeWarningCount
|-
|-
| 192 || [10.0.0+] [[#SetButtonConfigSettingsEmbedded]]
| 111 || [S1] [3.0.0+] GetBluetoothAfhEnableFlag
|-
|-
| 193 || [10.0.0+] [[#GetButtonConfigSettingsLeft]]
| 112 || [S1] [3.0.0+] SetBluetoothAfhEnableFlag
|-
|-
| 194 || [10.0.0+] [[#SetButtonConfigSettingsLeft]]
| 113 || [S1] [3.0.0+] GetBluetoothBoostEnableFlag
|-
|-
| 195 || [10.0.0+] [[#GetButtonConfigSettingsRight]]
| 114 || [S1] [3.0.0+] SetBluetoothBoostEnableFlag
|-
|-
| 196 || [10.0.0+] [[#SetButtonConfigSettingsRight]]
| 115 || [3.0.0+] GetInRepairProcessEnableFlag
|-
|-
| 197 || [10.0.0+] [[#GetButtonConfigRegisteredSettingsEmbedded]]
| 116 || [3.0.0+] SetInRepairProcessEnableFlag
|-
|-
| 198 || [10.0.0+] [[#SetButtonConfigRegisteredSettingsEmbedded]]
| 117 || [S1] [3.0.0+] GetHeadphoneVolumeUpdateFlag
|-
|-
| 199 || [10.0.0+] [[#GetButtonConfigRegisteredSettings]]
| 118 || [S1] [3.0.0+] SetHeadphoneVolumeUpdateFlag
|-
|-
| 200 || [10.0.0+] [[#SetButtonConfigRegisteredSettings]]
| 119 || [3.0.0-14.1.2] NeedsToUpdateHeadphoneVolume
|-
|-
| 201 || [10.1.0+] [[#GetFieldTestingFlag]]
| 120 || [3.0.0+] GetPushNotificationActivityModeOnSleep
|-
|-
| 202 || [10.1.0+] [[#SetFieldTestingFlag]]
| 121 || [3.0.0+] SetPushNotificationActivityModeOnSleep
|-
|-
| 203 || [11.0.0+] GetPanelCrcMode
| 122 || [4.0.0+] [[#GetServiceDiscoveryControlSettings]]
|-
|-
| 204 || [11.0.0+] SetPanelCrcMode
| 123 || [4.0.0+] SetServiceDiscoveryControlSettings
|-
|-
| 205 || [13.0.0+] GetNxControllerSettingsEx
| 124 || [4.0.0+] [[#GetErrorReportSharePermission]]
|-
|-
| 206 || [13.0.0+] SetNxControllerSettingsEx
| 125 || [4.0.0+] [[#SetErrorReportSharePermission]]
|}
|-
 
| 126 || [4.0.0+] [[#GetAppletLaunchFlags]]
Official user-processes gets a new service session handle each time a set:sys cmd is used, with the session being closed afterwards.
|-
 
| 127 || [4.0.0+] [[#SetAppletLaunchFlags]]
== SetLanguageCode ==
|-
Takes an input [[#LanguageCode]], no output.
| 128 || [S1] [4.0.0+] GetConsoleSixAxisSensorAccelerationBias
 
|-
== GetFirmwareVersion ==
| 129 || [S1] [4.0.0+] SetConsoleSixAxisSensorAccelerationBias
Takes a type-0x1A output buffer. User-processes use hard-coded size 0x100.
|-
 
| 130 || [S1] [4.0.0+] GetConsoleSixAxisSensorAngularVelocityBias
If needed, reads the content of the [[System_Version_Title]] "/file" into state. This is only done once.
|-
 
| 131 || [S1] [4.0.0+] SetConsoleSixAxisSensorAngularVelocityBias
Then the above 0x100-byte data is copied to the output buffer.
|-
 
| 132 || [S1] [4.0.0+] GetConsoleSixAxisSensorAccelerationGain
== GetAccountSettings ==
|-
No input, returns an output [[#AccountSettings]].
| 133 || [S1] [4.0.0+] SetConsoleSixAxisSensorAccelerationGain
 
|-
== SetAccountSettings ==
| 134 || [S1] [4.0.0+] GetConsoleSixAxisSensorAngularVelocityGain
Takes an input [[#AccountSettings]], no output.
|-
 
| 135 || [S1] [4.0.0+] SetConsoleSixAxisSensorAngularVelocityGain
== GetEulaVersions ==
|-
Takes a type-0x6 output buffer containing an array of [[#EulaVersion]], returns an output s32 total_out.
| 136 || [4.0.0+] [[#GetKeyboardLayout]]
 
|-
== SetEulaVersions ==
| 137 || [4.0.0+] [[#SetKeyboardLayout]]
Takes a type-0x5 input buffer containing an array of [[#EulaVersion]], no output.
|-
 
| 138 || [4.0.0+] GetWebInspectorFlag
== GetColorSetId ==
|-
No input, returns an output s32.
| 139 || [4.0.0+] [[#GetAllowedSslHosts]]
 
|-
This is the current Theme set by System Settings.
| 140 || [4.0.0+] GetHostFsMountPoint
 
|-
* 0: "Basic White"
| 141 || [5.0.0+] GetRequiresRunRepairTimeReviser
* 1: "Basic Black"
|-
 
| 142 || [5.0.0+] SetRequiresRunRepairTimeReviser
== SetColorSetId ==
|-
Takes an input s32, no output.
| 143 || [S1] [5.0.0+] SetBlePairingSettings
 
|-
== GetNotificationSettings ==
| 144 || [S1] [5.0.0+] GetBlePairingSettings
No input, returns an output [[#NotificationSettings]].
|-
 
| 145 || [S1] [5.0.0+] GetConsoleSixAxisSensorAngularVelocityTimeBias
== SetNotificationSettings ==
|-
Takes an input [[#NotificationSettings]], no output.
| 146 || [S1] [5.0.0+] SetConsoleSixAxisSensorAngularVelocityTimeBias
 
|-
== GetAccountNotificationSettings ==
| 147 || [S1] [5.0.0+] GetConsoleSixAxisSensorAngularAcceleration
Takes a type-0x6 output buffer containing an array of [[#AccountNotificationSettings]], returns an output s32 total_out.
|-
 
| 148 || [S1] [5.0.0+] SetConsoleSixAxisSensorAngularAcceleration
== SetAccountNotificationSettings ==
|-
Takes a type-0x5 input buffer containing an array of [[#AccountNotificationSettings]], no output.
| 149 || [5.0.0+] [[#GetRebootlessSystemUpdateVersion]]
 
|-
== GetSettingsItemValue ==
| 150 || [5.0.0+] GetDeviceTimeZoneLocationUpdatedTime
Takes two type-0x19 input buffers and a type-0x6 output buffer. Returns an output u64 for the actual size written to the outbuf.
|-
 
| 151 || [5.0.0+] SetDeviceTimeZoneLocationUpdatedTime
The outbuf_size is compared with the config_size. When config_size is larger than outbuf_size, outbuf_size is used for the memcpy, otherwise config_size is used. Afterwards the size used for the memcpy is written to output(see above).
|-
 
| 152 || [6.0.0+] GetUserSystemClockAutomaticCorrectionUpdatedTime
If loading from main config fails, it will also attempt to load config from various state if the input strings match hard-coded strings.
|-
 
| 153 || [6.0.0+] SetUserSystemClockAutomaticCorrectionUpdatedTime
== GetTvSettings ==
|-
No input, returns an output [[#TvSettings]].
| 154 || [S1] [6.0.0+] GetAccountOnlineStorageSettings
 
|-
== SetTvSettings ==
| 155 || [S1] [6.0.0+] SetAccountOnlineStorageSettings
Takes an input [[#TvSettings]], no output.
|-
 
| 156 || [S1] [6.0.0+] GetPctlReadyFlag
== GetDebugModeFlag ==
|-
Returns an output u8.
| 157 || [S1] [6.0.0+] SetPctlReadyFlag
 
|-
Loads the 1-byte config for <"settings_debug", "is_debug_mode_enabled">. If that fails, value 0x1 is written to output. This uses the same func as ReadSetting internally.
| 158 || [S1] [8.1.1+] GetAnalogStickUserCalibrationL
 
|-
Returned retval is always 0.
| 159 || [S1] [8.1.1+] SetAnalogStickUserCalibrationL
 
|-
== GetPrimaryAlbumStorage ==
| 160 || [S1] [8.1.1+] GetAnalogStickUserCalibrationR
No input, returns an output s32 [[#PrimaryAlbumStorage]].
|-
 
| 161 || [S1] [8.1.1+] SetAnalogStickUserCalibrationR
== SetPrimaryAlbumStorage ==
|-
Takes an input s32 [[#PrimaryAlbumStorage]], no output.
| 162 || [6.0.0+] GetPtmBatteryVersion
 
|-
== GetBatteryLot ==
| 163 || [6.0.0+] SetPtmBatteryVersion
No input, returns an output [[#BatteryLot]].
|-
 
| 164 || [6.0.0+] GetUsb30HostEnableFlag
== GetSerialNumber ==
|-
Returns the 0x18-byte SerialNumber string.
| 165 || [6.0.0+] SetUsb30HostEnableFlag
 
|-
== GetSleepSettings ==
| 166 || [6.0.0+] GetUsb30DeviceEnableFlag
No input, returns an output [[#SleepSettings]].
|-
 
| 167 || [6.0.0+] SetUsb30DeviceEnableFlag
== SetSleepSettings ==
|-
Takes an input [[#SleepSettings]], no output.
| 168 || [S1] [7.0.0+] GetThemeId
 
|-
== GetInitialLaunchSettings ==
| 169 || [S1] [7.0.0+] SetThemeId
No input, returns an output [[#InitialLaunchSettings]].
|-
 
| 170 || [7.0.0+] [[#GetChineseTraditionalInputMethod]]
== SetInitialLaunchSettings ==
|-
Takes an input [[#InitialLaunchSettings]], no output.
| 171 || [7.0.0+] [[#SetChineseTraditionalInputMethod]]
 
|-
== GetDeviceNickName ==
| 172 || [7.0.0+] GetPtmCycleCountReliability
Takes a type-0x16 output buffer containing a [[#DeviceNickName]].
|-
 
| 173 || [7.0.0+] SetPtmCycleCountReliability
With [10.1.0+] sdknso now uses the set cmd instead of the setsys cmd.
|-
 
| 174 || [8.1.1+] [[#GetHomeMenuScheme]]
== SetDeviceNickName ==
|-
Takes a type-0x15 input buffer containing a [[#DeviceNickName]].
| 175 || [S1] [7.0.0+] GetThemeSettings
 
|-
== GetProductModel ==
| 176 || [S1] [7.0.0+] SetThemeSettings
No input, returns an output s32.
|-
 
| 177 || [S1] [7.0.0+] GetThemeKey
== GetMiiAuthorId ==
|-
No input, returns an output "nn::util::Uuid".
| 178 || [S1] [7.0.0+] SetThemeKey
 
|-
== GetServiceDiscoveryControlSettings ==
| 179 || [8.0.0+] GetZoomFlag
Returns an u32 [[#ServiceDiscoveryControlSettings|ServiceDiscoveryControlSettings]].
|-
 
| 180 || [8.0.0+] SetZoomFlag
== GetErrorReportSharePermission ==
|-
No input, returns an output s32 [[#ErrorReportSharePermission]].
| 181 || [S1] [8.0.0+] [[#GetT]]
 
|-
== SetErrorReportSharePermission ==
| 182 || [S1] [8.0.0+] [[#SetT]]
Takes an input s32 [[#ErrorReportSharePermission]], no output.
|-
 
| 183 || [9.0.0+] [[#GetPlatformRegion]]
== GetAppletLaunchFlags ==
|-
No input, returns an u32 bitmask [[#AppletLaunchFlag]].
| 184 || [9.0.0+] [[#SetPlatformRegion]]
 
|-
== SetAppletLaunchFlags ==
| 185 || [9.0.0+] [[#GetHomeMenuSchemeModel]]
Takes an input u32 bitmask [[#AppletLaunchFlag]], no output.
|-
 
| 186 || [9.0.0+] [[#GetMemoryUsageRateFlag]]
== GetKeyboardLayout ==
|-
No input, returns an output s32 [[#KeyboardLayout]].
| 187 || [S1] [9.0.0+] [[#GetTouchScreenMode]]
 
|-
== SetKeyboardLayout ==
| 188 || [S1] [9.0.0+] [[#SetTouchScreenMode]]
Takes an input s32 [[#KeyboardLayout]], no output.
|-
 
| 189 || [S1] [10.0.0+] [[#GetButtonConfigSettingsFull]]
== GetAllowedSslHosts ==
|-
Takes a type-0x6 output buffer, returns an output s32 entry count. This buffer contains an array of 0x100-byte "nn::settings::system::AllowedSslHost" entries.
| 190 || [S1] [10.0.0+] [[#SetButtonConfigSettingsFull]]
 
|-
== GetRebootlessSystemUpdateVersion ==
| 191 || [S1] [10.0.0+] [[#GetButtonConfigSettingsEmbedded]]
No input, returns an output [[#RebootlessSystemUpdateVersion]].
|-
 
| 192 || [S1] [10.0.0+] [[#SetButtonConfigSettingsEmbedded]]
== GetQuestFlag ==
|-
Gets a flag determining whether the console is a kiosk unit (codenamed "Quest"). Used by qlaunch to determine whether to launch Retail Interactive Display Menu.
| 193 || [S1] [10.0.0+] [[#GetButtonConfigSettingsLeft]]
 
|-
== GetDataDeletionSettings ==
| 194 || [S1] [10.0.0+] [[#SetButtonConfigSettingsLeft]]
No input, returns an output [[#DataDeletionSettings]].
|-
 
| 195 || [S1] [10.0.0+] [[#GetButtonConfigSettingsRight]]
== SetDataDeletionSettings ==
|-
Takes an input [[#DataDeletionSettings]], no output.
| 196 || [S1] [10.0.0+] [[#SetButtonConfigSettingsRight]]
 
|-
== GetWirelessCertificationFileSize ==
| 197 || [S1] [10.0.0+] [[#GetButtonConfigRegisteredSettingsEmbedded]]
No input, returns an output u64 size.
|-
 
| 198 || [S1] [10.0.0+] [[#SetButtonConfigRegisteredSettingsEmbedded]]
== GetWirelessCertificationFile ==
|-
Takes a type-0x6 output buffer, returns an output u64 size.
| 199 || [S1] [10.0.0+] [[#GetButtonConfigRegisteredSettings]]
 
|-
This gets the [[Flash_Filesystem#PRODINFOF|WirelessCertificationFile]].
| 200 || [S1] [10.0.0+] [[#SetButtonConfigRegisteredSettings]]
 
|-
== SetRegionCode ==
| 201 || [10.1.0+] [[#GetFieldTestingFlag]]
Takes an input s32 [[#RegionCode_2|RegionCode]], no output.
|-
 
| 202 || [10.1.0+] [[#SetFieldTestingFlag]]
== GetChineseTraditionalInputMethod ==
|-
No input, returns an output s32 [[#ChineseTraditionalInputMethod]].
| 203 || [11.0.0+] GetPanelCrcMode
 
|-
== SetChineseTraditionalInputMethod ==
| 204 || [11.0.0+] SetPanelCrcMode
Takes an input s32 [[#ChineseTraditionalInputMethod]], no output.
|-
 
| 205 || [S1] [13.0.0+] GetNxControllerSettingsEx
== GetHomeMenuScheme ==
|-
No input, returns an output 0x14-byte struct "nn::settings::system::HomeMenuScheme".
| 206 || [S1] [13.0.0+] SetNxControllerSettingsEx
 
|-
This struct contains 5 RGBA8 u32s for colors: '''Main''', '''Back''', '''Sub''', '''Bezel''' and '''Extra'''.
| 207 || [S1] [14.0.0+] GetHearingProtectionSafeguardFlag
 
|-
The colors are loaded from [[Calibration]], with the set of fields to use selected by ColorVariation. When ColorVariation is invalid (must be 1-4), the following fixed color values are returned: 0xFF323232, 0xFF323232, 0xFFFFFFFF, 0xFFFFFFFF, 0xFF000000.
| 208 || [S1] [14.0.0+] SetHearingProtectionSafeguardFlag
 
|-
== GetT ==
| 209 || [S1] [14.0.0+] GetHearingProtectionSafeguardRemainingTime
No input, returns an output u8 bool '''IsT'''.
|-
 
| 210 || [S1] [14.0.0+] SetHearingProtectionSafeguardRemainingTime
[9.0.0+] This is a wrapper for [[#GetPlatformRegion]]: <code>IsT = (PlatformRegion == 2)</code>.
|-
 
| 211 || [S2] GetWirelessCertificationHtmlFileSize
== SetT ==
|-
Takes an input u8 bool '''IsT''', no output.
| 212 || [S2] GetWirelessCertificationHtmlFile
 
|-
[9.0.0+] This is a wrapper for [[#SetPlatformRegion]]: <code>PlatformRegion = 1 + (IsT & 1)</code>.
| 213 || [S2] GetWirelessCertificationJpegFileSize
 
|-
== GetPlatformRegion ==
| 214 || [S2] GetWirelessCertificationJpegFile
No input, returns an output s32.
|-
 
| 215 || [S2] GetHighContrastFlag
== SetPlatformRegion ==
|-
Takes an input s32, no output.
| 216 || [S2] SetHighContrastFlag
 
|-
== GetHomeMenuSchemeModel ==
| 217 || [S2] GetTextToSpeechFlag
No input, returns an output u32.
|-
 
| 218 || [S2] SetTextToSpeechFlag
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]].
|-
 
| 219 || [S2] [[#GetTextMagnificationRatio]]
== GetMemoryUsageRateFlag ==
|-
No input, returns an output u8 bool.
| 220 || [S2] SetTextMagnificationRatio
 
|-
== GetTouchScreenMode ==
| 221 || [17.0.0+] GetForceMonauralOutputFlag
No input, returns an output s32.
|-
 
| 222 || [17.0.0+] SetForceMonauralOutputFlag
Official sw loads the output as an u8 and copies it to an output [[#TouchScreenMode]].
|-
 
| 223 || [S2] GetUsbAudioVolumeSettings
== SetTouchScreenMode ==
|-
Takes an input s32, no output.
| 224 || [S2] SetUsbAudioVolumeSettings
 
|-
Official sw sets the input to an u8 loaded from an input [[#TouchScreenMode]].
| 225 || [S2] GetTitleIconKeepFlag
 
|-
== GetButtonConfigSettingsFull ==
| 226 || [S2] SetTitleIconKeepFlag
Takes a type-0x6 output buffer containing an array of [[#ButtonConfigSettings]], returns an output s32.
|-
 
| 227 || [S2] GetBoldTextFlag
== SetButtonConfigSettingsFull ==
|-
Takes a type-0x5 input buffer containing an array of [[#ButtonConfigSettings]], no output.
| 228 || [S2] SetBoldTextFlag
 
|-
== GetButtonConfigSettingsEmbedded ==
| 229 || [S2] GetSpeechToTextFlag
Takes a type-0x6 output buffer containing an array of [[#ButtonConfigSettings]], returns an output s32.
|-
 
| 230 || [S2] SetSpeechToTextFlag
== SetButtonConfigSettingsEmbedded ==
|-
Takes a type-0x5 input buffer containing an array of [[#ButtonConfigSettings]], no output.
| 235 || [S2] GetColorFilterType
 
|-
== GetButtonConfigSettingsLeft ==
| 236 || [S2] SetColorFilterType
Takes a type-0x6 output buffer containing an array of [[#ButtonConfigSettings]], returns an output s32.
|-
 
| 237 || [S2] GetPrioritizedOutputAudioDeviceSettings
== SetButtonConfigSettingsLeft ==
|-
Takes a type-0x5 input buffer containing an array of [[#ButtonConfigSettings]], no output.
| 238 || [S2] SetPrioritizedOutputAudioDeviceSettings
 
|-
== GetButtonConfigSettingsRight ==
| 239 || [S2] GetPrioritizedInputAudioDeviceSettings
Takes a type-0x6 output buffer containing an array of [[#ButtonConfigSettings]], returns an output s32.
|-
| 240 || [S2] SetPrioritizedInputAudioDeviceSettings
|-
| 241 || [S2] GetTextToSpeechVoiceTypeForUi
|-
| 242 || [S2] SetTextToSpeechVoiceTypeForUi
|-
| 243 || [S2] GetLcdFlags
|-
| 244 || [S2] SetLcdFlags
|-
| 245 || [S2] GetTvHdrSettings
|-
| 246 || [S2] SetTvHdrSettings
|-
| 247 || [S2] IsColorInversionEnabled
|-
| 248 || [S2] SetColorInversionEnabled
|-
| 249 || [S2] GetKeyRemapEnableFlagOnQuickSettings
|-
| 250 || [S2] SetKeyRemapEnableFlagOnQuickSettings
|-
| 251 || [18.0.0+] GetAccountIdentificationSettings
|-
| 252 || [18.0.0+] SetAccountIdentificationSettings
|-
| 253 || [S2] GetDeviceLockPinCodeLength
|-
| 254 || [S2] GetDeviceLockPinCode
|-
| 255 || [S2] SetDeviceLockPinCode
|-
| 256 || [S2] GetDeviceLockEnableFlag
|-
| 257 || [S2] GetDeviceLockStartPenaltyTime
|-
| 258 || [S2] SetDeviceLockStartPenaltyTime
|-
| 259 || [S2] GetDeviceLockErrorCount
|-
| 260 || [S2] SetDeviceLockErrorCount
|-
| 261 || [S2] GetBatteryCareModeEnableFlag
|-
| 262 || [S2] SetBatteryCareModeEnableFlag
|-
| 263 || [20.0.0+] AcquireVphymDirtyFlagEventHandle
|-
| 264 || [20.0.0+] GetVphymDirtyFlags
|-
| 265 || [S2] GetInitialLaunchSettings
|-
| 266 || [S2] SetInitialLaunchSettings
|-
| 267 || [S2] GetManufacturingTimeStamp
|-
| 268 || [S2] SetManufacturingTimeStamp
|-
| 269 || [S2] GetInputNoiseReductionForCommunicationFlag
|-
| 270 || [S2] SetInputNoiseReductionForCommunicationFlag
|-
| 271 || [S2] GetChatTranscriptionSettings
|-
| 272 || [S2] SetChatTranscriptionSettings
|-
| 273 || [S2] GetBuiltInMicrophoneGain
|-
| 274 || [S2] SetBuiltInMicrophoneGain
|-
| 275 || [S2] GetBuiltInMicrophoneJackGain
|-
| 276 || [S2] SetBuiltInMicrophoneJackGain
|-
| 277 || [S2] GetUsbAudioInputDeviceGainSettings
|-
| 278 || [S2] SetUsbAudioInputDeviceGainSettings
|-
| 279 || [S2] SetBluetoothStackFlag
|-
| 280 || [S2] SetHidDebugOcdUsbFlag
|-
| 281 || [S2] SetHidDebugRailFlag
|-
| 282 || [20.0.0+] ConvertToProductModel
|-
| 283 || [20.0.0+] ConvertToProductModelName
|-
| 284 || [S2] GetSaveDataPurgedForRepairFlag
|-
| 285 || [S2] SetSaveDataPurgedForRepairFlag
|-
| 286 || [S2] [20.0.0+] GetAppletParameterSet
|-
| 287 || [S2] [20.0.0+] SetAppletParameterSet
|-
| 288 || [S2] [20.0.0+] BindChatTranscriptionSettingsChangedEvent
|-
| 289 || [20.0.0+] GetDefaultAccountIdentificationFlagSet
|-
| 290 || [S2] [20.0.0+] GetMouseEnableFlag
|-
| 291 || [S2] [20.0.0+] SetMouseEnableFlag
|-
| 292 || [S2] [20.0.0+] GetTextToSpeechVoiceVolume
|-
| 293 || [S2] [20.0.0+] SetTextToSpeechVoiceVolume
|-
| 294 || [S2] [20.0.0+] GetTextToSpeechVoiceSpeed
|-
| 295 || [S2] [20.0.0+] SetTextToSpeechVoiceSpeed
|-
| 296 || [S2] [20.0.0+] GetSleepSettingsEx
|-
| 297 || [S2] [20.0.0+] SetSleepSettingsEx
|-
| 298 || [S2] [20.0.0+] GetMousePointerSpeedScale
|-
| 299 || [S2] [20.0.0+] SetMousePointerSpeedScale
|-
| 300 || [20.0.0+] AcquirePushNotificationDirtyFlagEventHandle
|-
| 301 || [20.0.0+] GetPushNotificationDirtyFlags
|-
| 302 || [S2] [20.0.0+] GetTvHdrSettingsEx
|-
| 303 || [S2] [20.0.0+] SetTvHdrSettingsEx
|-
| 304 || [S2] [20.0.0+] GetOunceProControllerMicrophoneJackGain
|-
| 305 || [S2] [20.0.0+] SetOunceProControllerMicrophoneJackGain
|-
| 306 || [20.0.0+] GetPinCodeReregistrationGuideAccounts
|-
| 307 || [20.0.0+] SetPinCodeReregistrationGuideAccounts
|-
| 308 || [S2] [20.0.0+] GetChatTranscriptionSettings
|-
| 309 || [S2] [20.0.0+] SetChatTranscriptionSettings
|-
| 310 || [S2] [20.0.0+] GetDeviceLockPinCodeLsbParity
|-
| 311 || [S2] [20.0.0+] VerifyDeviceLockPinCode
|-
| 312 || [S2] [20.0.0+] GetDeviceLockVeificationForbiddenFlag
|-
| 315 || [21.0.0+] GetHttpAuthConfigs
|-
| 319 || [21.0.0+] GetAccountUserSettings
|-
| 320 || [21.0.0+] SetAccountUserSettings
|-
| 321 || [21.0.0+] GetDefaultAccountUserSettings
|-
| 324 || [22.0.0+] GetPtmQhClearCount
|-
| 325 || [22.0.0+] SetPtmQhClearCount
|-
| 326 || [22.0.0+] GetAirPlaneModeRestoreFlagSet
|-
| 327 || [22.0.0+] SetAirPlaneModeRestoreFlagSet
|-
| 328 || [22.0.0+] DeleteSettingsPerAccount
|}


== SetButtonConfigSettingsRight ==
Official user-processes gets a new service session handle each time a set:sys cmd is used, with the session being closed afterwards.
Takes a type-0x5 input buffer containing an array of [[#ButtonConfigSettings]], no output.


== GetButtonConfigRegisteredSettingsEmbedded ==
== SetLanguageCode ==
Takes a type-0x16 output buffer containing a [[#ButtonConfigRegisteredSettings]], no output.
Takes an input [[#LanguageCode]], no output.


== SetButtonConfigRegisteredSettingsEmbedded ==
== GetFirmwareVersion ==
Takes a type-0x15 input buffer containing a [[#ButtonConfigRegisteredSettings]], no output.
Takes a type-0x1A output buffer. User-processes use hard-coded size 0x100.
 
This was removed with S2.
 
If needed, reads the content of the [[System_Version_Title]] "/file" into state. This is only done once.


== GetButtonConfigRegisteredSettings ==
Then the above 0x100-byte data is copied to the output buffer.
Takes a type-0x6 output buffer containing an array of [[#ButtonConfigRegisteredSettings]], returns an output s32.


== SetButtonConfigRegisteredSettings ==
== GetAccountSettings ==
Takes a type-0x5 input buffer containing an array of [[#ButtonConfigRegisteredSettings]], no output.
No input, returns an output [[#AccountSettings]].


== GetFieldTestingFlag ==
== SetAccountSettings ==
No input, returns an output bool.
Takes an input [[#AccountSettings]], no output.


== SetFieldTestingFlag ==
== GetEulaVersions ==
Takes an input bool, no output.
Takes a type-0x6 output buffer containing an array of [[#EulaVersion]], returns an output s32 total_out.


= Language =
== SetEulaVersions ==
This is "nn::settings::Language".
Takes a type-0x5 input buffer containing an array of [[#EulaVersion]], no output.


{| class="wikitable" border="1"
== GetColorSetId ==
|-
No input, returns an output s32.
! Value
 
! Description
This is the current Theme set by System Settings.
|-
 
| 0 || Japanese
* 0: "Basic White"
|-
* 1: "Basic Black"
| 1 || AmericanEnglish
 
|-
== SetColorSetId ==
| 2 || French
Takes an input s32, no output.
|-
 
| 3 || German
== GetNotificationSettings ==
|-
No input, returns an output [[#NotificationSettings]].
| 4 || Italian
 
|-
== SetNotificationSettings ==
| 5 || Spanish
Takes an input [[#NotificationSettings]], no output.
|-
 
| 6 || Chinese
== GetAccountNotificationSettings ==
|-
Takes a type-0x6 output buffer containing an array of [[#AccountNotificationSettings]], returns an output s32 total_out.
| 7 || Korean
|-
| 8 || Dutch
|-
| 9 || Portuguese
|-
| 10 || Russian
|-
| 11 || Taiwanese
|-
| 12 || BritishEnglish
|-
| 13 || CanadianFrench
|-
| 14 || LatinAmericanSpanish
|-
| 15 || [4.0.0+] SimplifiedChinese
|-
| 16 || [4.0.0+] TraditionalChinese
|-
| 17 || [10.1.0+] BrazilianPortuguese
|}


= LanguageCode =
== SetAccountNotificationSettings ==
This is "nn::settings::LanguageCode". This is an u64, which is a NUL-terminated string.
Takes a type-0x5 input buffer containing an array of [[#AccountNotificationSettings]], no output.


{| class="wikitable" border="1"
== GetSettingsItemValue ==
|-
Takes two type-0x19 input buffers and a type-0x6 output buffer. Returns an output u64 for the actual size written to the outbuf.
! Value || [[#Language]]
 
|-
The outbuf_size is compared with the config_size. When config_size is larger than outbuf_size, outbuf_size is used for the memcpy, otherwise config_size is used. Afterwards the size used for the memcpy is written to output(see above).
| "ja" || Japanese
 
|-
If loading from main config fails, it will also attempt to load config from various state if the input strings match hard-coded strings.
| "en-US" || AmericanEnglish
 
|-
== GetTvSettings ==
| "fr" || French
No input, returns an output [[#TvSettings]].
|-
 
| "de" || German
== SetTvSettings ==
|-
Takes an input [[#TvSettings]], no output.
| "it" || Italian
 
|-
== GetDebugModeFlag ==
| "es" || Spanish
Returns an output u8.
|-
 
| "zh-CN" || Chinese
Loads the 1-byte config for <"settings_debug", "is_debug_mode_enabled">. If that fails, value 0x1 is written to output. This uses the same func as ReadSetting internally.
|-
| "ko" || Korean
|-
| "nl" || Dutch
|-
| "pt" || Portuguese
|-
| "ru" || Russian
|-
| "zh-TW" || Taiwanese
|-
| "en-GB" || BritishEnglish
|-
| "fr-CA" || CanadianFrench
|-
| "es-419" || LatinAmericanSpanish
|-
| "zh-Hans" || [4.0.0+] SimplifiedChinese
|-
| "zh-Hant" || [4.0.0+] TraditionalChinese
|-
| "pt-BR" || [10.1.0+] BrazilianPortuguese
|}


= AccelerometerOffset =
Returned retval is always 0.
This is "nn::settings::factory::AccelerometerOffset".


{| class="wikitable" border="1"
== GetPrimaryAlbumStorage ==
|-
No input, returns an output s32 [[#PrimaryAlbumStorage]].
! Offset || Size || Description
|-
| 0x0 || 0x2 || X
|-
| 0x2 || 0x2 || Y
|-
| 0x4 || 0x2 || Z
|}


= AccelerometerScale =
== SetPrimaryAlbumStorage ==
This is "nn::settings::factory::AccelerometerScale".
Takes an input s32 [[#PrimaryAlbumStorage]], no output.


{| class="wikitable" border="1"
== GetBatteryLot ==
|-
No input, returns an output [[#BatteryLot]].
! Offset || Size || Description
|-
| 0x0 || 0x2 || X
|-
| 0x2 || 0x2 || Y
|-
| 0x4 || 0x2 || Z
|}


= AmiiboEcdsaCertificate =
== GetSerialNumber ==
This is "nn::settings::factory::AmiiboEcdsaCertificate". This is a 0x70-byte struct.
Returns the 0x18-byte SerialNumber string.


= AmiiboEcqvBlsCertificate =
== GetSleepSettings ==
This is "nn::settings::factory::AmiiboEcqvBlsCertificate". This is a 0x20-byte struct.
No input, returns an output [[#SleepSettings]].


= AmiiboEcqvBlsKey =
== SetSleepSettings ==
This is "nn::settings::factory::AmiiboEcqvBlsKey". This is a 0x40-byte struct.
Takes an input [[#SleepSettings]], no output.


If [[Calibration#CAL0|Calibration Version]] >= 9, this is now:
== GetInitialLaunchSettings ==
{| class="wikitable" border="1"
No input, returns an output [[#InitialLaunchSettings]].
|-
! Offset || Size || Description
|-
| 0x0 || 0x40 || Key
|-
| 0x40 || 0x4 || KeyGeneration
|}


= AmiiboEcqvBlsRootCertificate =
== SetInitialLaunchSettings ==
This is "nn::settings::factory::AmiiboEcqvBlsRootCertificate". This is a 0x90-byte struct.
Takes an input [[#InitialLaunchSettings]], no output.


= AmiiboEcqvCertificate =
== GetDeviceNickName ==
This is "nn::settings::factory::AmiiboEcqvCertificate". This is a 0x14-byte struct.
Takes a type-0x16 output buffer containing a [[#DeviceNickName]].


= AmiiboKey =
With [10.1.0+] sdknso now uses the set cmd instead of the setsys cmd.
This is "nn::settings::factory::AmiiboKey". This is a 0x50-byte struct.


If [[Calibration#CAL0|Calibration Version]] >= 9, this is now:
== SetDeviceNickName ==
{| class="wikitable" border="1"
Takes a type-0x15 input buffer containing a [[#DeviceNickName]].
|-
! Offset || Size || Description
|-
| 0x0 || 0x50 || Key
|-
| 0x50 || 0x4 || KeyGeneration
|}


= AnalogStickFactoryCalibration =
== GetProductModel ==
This is "nn::settings::factory::AnalogStickFactoryCalibration". This is a 0x9-byte struct.
No input, returns an output s32.


= AnalogStickModelParameter =
== GetMiiAuthorId ==
This is "nn::settings::factory::AnalogStickModelParameter". This is a 0x12-byte struct.
No input, returns an output "nn::util::Uuid".


= BatteryLot =
== GetServiceDiscoveryControlSettings ==
This is "nn::settings::factory::BatteryLot" or "nn::settings::BatteryLot". This is a 0x18-byte struct.
Returns an u32 [[#ServiceDiscoveryControlSettings|ServiceDiscoveryControlSettings]].


= BdAddress =
== GetErrorReportSharePermission ==
This is "nn::settings::factory::BdAddress". This is a 0x6-byte struct.
No input, returns an output s32 [[#ErrorReportSharePermission]].


= ConfigurationId1 =
== SetErrorReportSharePermission ==
This is "nn::settings::factory::ConfigurationId1". This is a 0x1E-byte struct.
Takes an input s32 [[#ErrorReportSharePermission]], no output.


Usually, this is a string with the following format:
== GetAppletLaunchFlags ==
  {EventType}_{ProductModelType}_{MajorVersion}_{MinorVersion}_{MicroVersion}
No input, returns an u32 bitmask [[#AppletLaunchFlag]].
 
== SetAppletLaunchFlags ==
Takes an input u32 bitmask [[#AppletLaunchFlag]], no output.
 
== GetKeyboardLayout ==
No input, returns an output s32 [[#KeyboardLayout]].
 
== SetKeyboardLayout ==
Takes an input s32 [[#KeyboardLayout]], no output.
 
== GetAllowedSslHosts ==
Takes a type-0x6 output buffer. Returns an output s32 entry count.
 
== GetRebootlessSystemUpdateVersion ==
No input, returns an output [[#RebootlessSystemUpdateVersion]].


== EventType ==
== GetQuestFlag ==
{| class="wikitable" border="1"
Gets a flag determining whether the console is a kiosk unit (codenamed "Quest"). Used by qlaunch to determine whether to launch Retail Interactive Display Menu.
|-
 
! Value
== GetDataDeletionSettings ==
! Description
No input, returns an output [[#DataDeletionSettings]].
|-
| "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
|-
| "HDEV" || Development kit for Hoag
|-
| "ADEV" || Development kit for Aula
|-
| "MP" || Mass production (retail Icosa)
|-
| "MNX" || Mariko NX (retail Iowa)
|-
| "ANX" || Aula NX (retail Aula)
|}


== ProductModelType ==
== SetDataDeletionSettings ==
{| class="wikitable" border="1"
Takes an input [[#DataDeletionSettings]], no output.
|-
! Value
! Description
|-
| "00" || Icosa
|-
| "01" || Iowa (previously Copper)
|-
| "02" || Hoag
|-
| "03" || Calcio
|-
| "04" || Aula
|}


= ConsoleSixAxisSensorHorizontalOffset =
== GetWirelessCertificationFileSize ==
This is "nn::settings::factory::ConsoleSixAxisSensorHorizontalOffset".
No input, returns an output u64 size.


{| class="wikitable" border="1"
== GetWirelessCertificationFile ==
|-
Takes a type-0x6 output buffer, returns an output u64 size.
! Offset || Size || Description
|-
| 0x0 || 0x2 || X
|-
| 0x2 || 0x2 || Y
|-
| 0x4 || 0x2 || Z
|}


= CountryCode =
This gets the [[Flash_Filesystem#PRODINFOF|WirelessCertificationFile]].
This is "nn::settings::factory::CountryCode". This is a 0x3-byte struct.


= EccB233DeviceCertificate =
== SetRegionCode ==
This is "nn::settings::factory::EccB233DeviceCertificate". This is a 0x180-byte struct.
Takes an input s32 [[#RegionCode_2|RegionCode]], no output.
 
== GetChineseTraditionalInputMethod ==
No input, returns an output s32 [[#ChineseTraditionalInputMethod]].


= EccB233DeviceKey =
== SetChineseTraditionalInputMethod ==
This is "nn::settings::factory::EccB233DeviceKey". This is a 0x30-byte struct or a 0x54-byte struct in the extended version.
Takes an input s32 [[#ChineseTraditionalInputMethod]], no output.


If [[Calibration#CAL0|Calibration Version]] >= 9, this is now:
== GetHomeMenuScheme ==
{| class="wikitable" border="1"
No input. Returns an output [[#HomeMenuScheme]].
|-
! Offset || Size || Description
|-
| 0x0 || 0x54 || Key
|-
| 0x54 || 0x4 || KeyGeneration
|}


= GameCardCertificate =
The colors are loaded from [[Calibration]], with the set of fields to use selected by [[Calibration#ColorVariation|ColorVariation]].
This is "nn::settings::factory::GameCardCertificate". This is a 0x400-byte struct.


= GameCardKey =
== GetT ==
This is "nn::settings::factory::GameCardKey". This is a 0x110-byte struct or a 0x130-byte struct in the extended version.
No input, returns an output u8 bool '''IsT'''.


If [[Calibration#CAL0|Calibration Version]] >= 9, this is now:
[9.0.0+] This is a wrapper for [[#GetPlatformRegion]]: <code>IsT = (PlatformRegion == 2)</code>.
{| class="wikitable" border="1"
 
|-
== SetT ==
! Offset || Size || Description
Takes an input u8 bool '''IsT''', no output.
|-
| 0x0 || 0x130 || Key
|-
| 0x130 || 0x4 || KeyGeneration
|}


= GyroscopeOffset =
[9.0.0+] This is a wrapper for [[#SetPlatformRegion]]: <code>PlatformRegion = 1 + (IsT & 1)</code>.
This is "nn::settings::factory::GyroscopeOffset".


{| class="wikitable" border="1"
== GetPlatformRegion ==
|-
No input, returns an output s32.
! Offset || Size || Description
|-
| 0x0 || 0x2 || X
|-
| 0x2 || 0x2 || Y
|-
| 0x4 || 0x2 || Z
|}


= GyroscopeScale =
== SetPlatformRegion ==
This is "nn::settings::factory::GyroscopeScale".
Takes an input s32, no output.


{| class="wikitable" border="1"
== GetHomeMenuSchemeModel ==
|-
No input. Returns an output u32.
! Offset || Size || Description
|-
| 0x0 || 0x2 || X
|-
| 0x2 || 0x2 || Y
|-
| 0x4 || 0x2 || Z
|}


= MacAddress =
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]].
This is "nn::settings::factory::MacAddress". This is a 0x6-byte struct.


= Rsa2048DeviceCertificate =
== GetMemoryUsageRateFlag ==
This is "nn::settings::factory::Rsa2048DeviceCertificate". This is a 0x240-byte struct.
No input, returns an output u8 bool.


= Rsa2048DeviceKey =
== GetTouchScreenMode ==
This is "nn::settings::factory::Rsa2048DeviceKey". This is a 0x220-byte struct or a 0x240-byte struct in the extended version.
No input, returns an output s32.


If [[Calibration#CAL0|Calibration Version]] >= 9, this is now:
Official sw loads the output as an u8 and copies it to an output [[#TouchScreenMode]].
{| class="wikitable" border="1"
|-
! Offset || Size || Description
|-
| 0x0 || 0x240 || Key
|-
| 0x240 || 0x4 || KeyGeneration
|}


= SerialNumber =
== SetTouchScreenMode ==
This is "nn::settings::factory::SerialNumber". This is a 0x18-byte struct.
Takes an input s32, no output.
 
Official sw sets the input to an u8 loaded from an input [[#TouchScreenMode]].
 
== GetButtonConfigSettingsFull ==
Takes a type-0x6 output buffer containing an array of [[#ButtonConfigSettings]], returns an output s32.
 
== SetButtonConfigSettingsFull ==
Takes a type-0x5 input buffer containing an array of [[#ButtonConfigSettings]], no output.
 
== GetButtonConfigSettingsEmbedded ==
Takes a type-0x6 output buffer containing an array of [[#ButtonConfigSettings]], returns an output s32.


= SpeakerParameter =
== SetButtonConfigSettingsEmbedded ==
This is "nn::settings::factory::SpeakerParameter".
Takes a type-0x5 input buffer containing an array of [[#ButtonConfigSettings]], no output.


{| class="wikitable" border="1"
== GetButtonConfigSettingsLeft ==
|-
Takes a type-0x6 output buffer containing an array of [[#ButtonConfigSettings]], returns an output s32.
! Offset || Size || Description
|-
| 0x0 || 0x2 || Version
|-
| 0x2 || 0x22 || Reserved
|-
| 0x24 || 0x2 || SpeakerHpf2A1
|-
| 0x26 || 0x2 || SpeakerHpf2A2
|-
| 0x28 || 0x2 || SpeakerHpf2H0
|-
| 0x2A || 0x2 || SpeakerEqInputVolume
|-
| 0x2C || 0x2 || SpeakerEqOutputVolume
|-
| 0x2E || 0x2 || SpeakerEqCtrl1
|-
| 0x30 || 0x2 || SpeakerEqCtrl2
|-
| 0x32 || 0x2 || SpeakerDrcAgcCtrl2
|-
| 0x34 || 0x2 || SpeakerDrcAgcCtrl3
|-
| 0x36 || 0x2 || SpeakerDrcAgcCtrl1
|-
| 0x38 || 0x2 || SpeakerAnalogVolume
|-
| 0x3A || 0x2 || HeadphoneAnalogVolume
|-
| 0x3C || 0x2 || SpeakerDigitalVolumeMin
|-
| 0x3E || 0x2 || SpeakerDigitalVolumeMax
|-
| 0x40 || 0x2 || HeadphoneDigitalVolumeMin
|-
| 0x42 || 0x2 || HeadphoneDigitalVolumeMax
|-
| 0x44 || 0x2 || MicFixedGain
|-
| 0x46 || 0x2 || MicVariableVolumeMin
|-
| 0x48 || 0x2 || MicVariableVolumeMax
|-
| 0x4A || 0x10 || Reserved
|}


= SslCertificate =
== SetButtonConfigSettingsLeft ==
This is "nn::settings::factory::SslCertificate". This is a 0x804-byte struct.
Takes a type-0x5 input buffer containing an array of [[#ButtonConfigSettings]], no output.


{| class="wikitable" border="1"
== GetButtonConfigSettingsRight ==
|-
Takes a type-0x6 output buffer containing an array of [[#ButtonConfigSettings]], returns an output s32.
! Offset || Size || Description
|-
| 0x0 || 0x4 || Size
|-
| 0x4 || Variable || Data
|}


= SslKey =
== SetButtonConfigSettingsRight ==
This is "nn::settings::factory::SslKey". This is a 0x110-byte struct or a 0x130-byte struct in the extended version.
Takes a type-0x5 input buffer containing an array of [[#ButtonConfigSettings]], no output.
 
== GetButtonConfigRegisteredSettingsEmbedded ==
Takes a type-0x16 output buffer containing a [[#ButtonConfigRegisteredSettings]], no output.
 
== SetButtonConfigRegisteredSettingsEmbedded ==
Takes a type-0x15 input buffer containing a [[#ButtonConfigRegisteredSettings]], no output.
 
== GetButtonConfigRegisteredSettings ==
Takes a type-0x6 output buffer containing an array of [[#ButtonConfigRegisteredSettings]], returns an output s32.
 
== SetButtonConfigRegisteredSettings ==
Takes a type-0x5 input buffer containing an array of [[#ButtonConfigRegisteredSettings]], no output.
 
== GetFieldTestingFlag ==
No input, returns an output bool.
 
== SetFieldTestingFlag ==
Takes an input bool, no output.
 
== GetTextMagnificationRatio ==
This is exclusive to S2.
 
No input, returns an output float.
 
= Language =
This is "nn::settings::Language".


If [[Calibration#CAL0|Calibration Version]] >= 9, this is now:
{| class="wikitable" border="1"
{| class="wikitable" border="1"
|-
|-
! Offset || Size || Description
! Value
! Description
|-
|-
| 0x0 || 0x130 || Key
| 0 || Japanese
|-
| 1 || AmericanEnglish
|-
|-
| 0x130 || 0x4 || KeyGeneration
| 2 || French
|}
 
= RegionCode =
This is "nn::settings::factory::RegionCode".
 
{| class="wikitable" border="1"
|-
|-
! Value
| 3 || German
! Description
|-
|-
| 0 || Japan
| 4 || Italian
|-
|-
| 1 || Usa
| 5 || Spanish
|-
|-
| 2 || Europe
| 6 || Chinese
|-
|-
| 3 || Australia
| 7 || Korean
|-
|-
| 4 || China
| 8 || Dutch
|-
|-
| 5 || Korea
| 9 || Portuguese
|-
|-
| 6 || Taiwan
| 10 || Russian
|}
 
= RegionCode =
This is "nn::settings::system::RegionCode".
 
{| class="wikitable" border="1"
|-
|-
! Value
| 11 || Taiwanese
! Description
|-
|-
| 0 || Japan
| 12 || BritishEnglish
|-
|-
| 1 || Usa
| 13 || CanadianFrench
|-
|-
| 2 || Europe
| 14 || LatinAmericanSpanish
|-
|-
| 3 || Australia
| 15 || [4.0.0+] SimplifiedChinese
|-
|-
| 4 || HongKongTaiwanKorea
| 16 || [4.0.0+] TraditionalChinese
|-
|-
| 5 || China
| 17 || [10.1.0+] BrazilianPortuguese
|}
|}


= AudioOutputMode =
= LanguageCode =
This is "nn::settings::system::AudioOutputMode".
This is "nn::settings::LanguageCode". This is an u64, which is a NUL-terminated string.


{| class="wikitable" border="1"
{| class="wikitable" border="1"
|-
|-
! Value
! Value || [[#Language]]
! Description
|-
|-
| 0 || 1ch
| "ja" || Japanese
|-
|-
| 1 || 2ch
| "en-US" || AmericanEnglish
|-
|-
| 2 || 5_1ch
| "fr" || French
|-
|-
| 3 || 7_1ch
| "de" || German
|}
 
= AudioOutputModeTarget =
This is "nn::settings::system::AudioOutputModeTarget".
 
{| class="wikitable" border="1"
|-
|-
! Value
| "it" || Italian
! Description
|-
|-
| 0 || Hdmi
| "es" || Spanish
|-
|-
| 1 || Speaker
| "zh-CN" || Chinese
|-
|-
| 2 || Headphone
| "ko" || Korean
|}
 
= AudioVolumeTarget =
This is "nn::settings::system::AudioVolumeTarget".
 
{| class="wikitable" border="1"
|-
|-
! Value
| "nl" || Dutch
! Description
|-
|-
| 0 || Speaker
| "pt" || Portuguese
|-
| "ru" || Russian
|-
| "zh-TW" || Taiwanese
|-
| "en-GB" || BritishEnglish
|-
| "fr-CA" || CanadianFrench
|-
| "es-419" || LatinAmericanSpanish
|-
| "zh-Hans" || [4.0.0+] SimplifiedChinese
|-
| "zh-Hant" || [4.0.0+] TraditionalChinese
|-
|-
| 1 || Headphone
| "pt-BR" || [10.1.0+] BrazilianPortuguese
|}
|}


= DeviceNickName =
= AccelerometerOffset =
This is "nn::settings::system::DeviceNickName". This is a 0x80-byte struct.
This is "nn::settings::factory::AccelerometerOffset".
 
= Edid =
This is "nn::settings::system::Edid".


{| class="wikitable" border="1"
{| class="wikitable" border="1"
Line 1,413: Line 1,489:
! Offset || Size || Description
! Offset || Size || Description
|-
|-
| 0x0 || 0x80 || Data0
| 0x0 || 0x2 || X
|-
| 0x2 || 0x2 || Y
|-
|-
| 0x80 || 0x80 || Data1
| 0x4 || 0x2 || Z
|}
|}


= UserSelectorFlag =
= AccelerometerScale =
This is "nn::settings::system::UserSelectorFlag".
This is "nn::settings::factory::AccelerometerScale".


{| class="wikitable" border="1"
{| class="wikitable" border="1"
! Bits
! Description
|-
|-
| 0 || SkipsIfSingleUser
! Offset || Size || Description
|-
| 0x0 || 0x2 || X
|-
| 0x2 || 0x2 || Y
|-
|-
| 31 || Unknown
| 0x4 || 0x2 || Z
|}
|}


= UserSelectorSettings =
= AmiiboEcdsaCertificate =
This is "nn::settings::system::UserSelectorSettings".
This is "nn::settings::factory::AmiiboEcdsaCertificate". This is a 0x70-byte struct.


This contains an u32 bitmask for [[#UserSelectorFlag]].
= AmiiboEcqvBlsCertificate =
This is "nn::settings::factory::AmiiboEcqvBlsCertificate". This is a 0x20-byte struct.


= AccountSettings =
= AmiiboEcqvBlsKey =
This is "nn::settings::system::AccountSettings".
This is "nn::settings::factory::AmiiboEcqvBlsKey". This is a 0x40-byte struct.


This contains [[#UserSelectorSettings]].
If [[Calibration#CAL0|Calibration Version]] >= 9, this is now:
 
{| class="wikitable" border="1"
= ClockSourceId =
|-
This is "nn::settings::system::ClockSourceId".
! Offset || Size || Description
 
{| class="wikitable" border="1"
|-
|-
! Value
| 0x0 || 0x40 || Key
! Description
|-
|-
| 0 || NetworkSystemClock
| 0x40 || 0x4 || KeyGeneration
|-
| 1 || SteadyClock
|}
|}


= NotificationVolume =
= AmiiboEcqvBlsRootCertificate =
This is "nn::settings::system::NotificationVolume".
This is "nn::settings::factory::AmiiboEcqvBlsRootCertificate". This is a 0x90-byte struct.
 
= AmiiboEcqvCertificate =
This is "nn::settings::factory::AmiiboEcqvCertificate". This is a 0x14-byte struct.
 
= AmiiboKey =
This is "nn::settings::factory::AmiiboKey". This is a 0x50-byte struct.


If [[Calibration#CAL0|Calibration Version]] >= 9, this is now:
{| class="wikitable" border="1"
{| class="wikitable" border="1"
|-
|-
! Value
! Offset || Size || Description
! Description
|-
|-
| 0 || Mute
| 0x0 || 0x50 || Key
|-
|-
| 1 || Low
| 0x50 || 0x4 || KeyGeneration
|-
| 2 || High
|}
|}


= FriendPresenceOverlayPermission =
= AnalogStickFactoryCalibration =
This is "nn::settings::system::FriendPresenceOverlayPermission".
This is "nn::settings::factory::AnalogStickFactoryCalibration". Same as [[Calibration#AnalogStickFactoryCalibration|AnalogStickFactoryCalibration]].
 
= AnalogStickModelParameter =
This is "nn::settings::factory::AnalogStickModelParameter". Same as [[Calibration#AnalogStickModelParameter|AnalogStickModelParameter]].
 
= BatteryLot =
This is "nn::settings::BatteryLot". This is a 0x18-byte struct.
 
= BdAddress =
This is "nn::settings::factory::BdAddress". This is a 0x6-byte struct.
 
= ConfigurationId1 =
This is "nn::settings::factory::ConfigurationId1". This is a 0x1E-byte struct.
 
Usually, this is a string with the following format:
  {EventType}_{ProductModelType}_{MajorVersion}_{MinorVersion}_{MicroVersion}


== EventType ==
{| class="wikitable" border="1"
{| class="wikitable" border="1"
|-
|-
Line 1,476: Line 1,572:
! Description
! Description
|-
|-
| 0 || NotConfirmed
| "FP" || Functional prototype
|-
| "EP" || Engineering prototype
|-
|-
| 1 || NoDisplay
| "DP" || Design prototype
|-
|-
| 2 || FavoriteFriends
| "DPRD" || Design prototype for R&D
|-
|-
| 3 || Friends
| "HOAG" || Hoag prototype
|}
|-
 
| "COPPER" || Copper prototype
= TvResolution =
|-
This is "nn::settings::system::TvResolution".
| "EDEV" || Extcon development kit for Icosa and Iowa
 
|-
{| class="wikitable" border="1"
| "SDEV" || SPI development kit for Icosa and Iowa
|-
| "MEDEV" || Mariko EDEV (deprecated)
|-
| "MSDEV" || Mariko SDEV (deprecated)
|-
| "HDEV" || Development kit for Hoag
|-
|-
! Value
| "ADEV" || Development kit for Aula
! Description
|-
|-
| 0 || Auto
| "MP" || Mass production (retail Icosa)
|-
|-
| 1 || 1080p
| "MNX" || Mariko NX (retail Iowa)
|-
|-
| 2 || 720p
| "HNX" || Hoag NX (retail Hoag)
|-
|-
| 3 || 480p
| "ANX" || Aula NX (retail Aula)
|}
|}


= HdmiContentType =
== ProductModelType ==
This is "nn::settings::system::HdmiContentType".
 
{| class="wikitable" border="1"
{| class="wikitable" border="1"
|-
|-
Line 1,510: Line 1,611:
! Description
! Description
|-
|-
| 0 || None
| "00" || Icosa
|-
|-
| 1 || Graphics
| "01" || Iowa (previously Copper)
|-
|-
| 2 || Cinema
| "02" || Hoag
|-
|-
| 3 || Photo
| "03" || Calcio
|-
|-
| 4 || Game
| "04" || Aula
|}
|}


= RgbRange =
= ConsoleSixAxisSensorHorizontalOffset =
This is "nn::settings::system::RgbRange".
This is "nn::settings::factory::ConsoleSixAxisSensorHorizontalOffset". Same as [[Calibration#ConsoleSixAxisSensorHorizontalOffset|ConsoleSixAxisSensorHorizontalOffset]].
 
= CountryCode =
This is "nn::settings::factory::CountryCode". This is a 0x3-byte struct.
 
= EccB233DeviceCertificate =
This is "nn::settings::factory::EccB233DeviceCertificate". This is a 0x180-byte struct.
 
= EccB233DeviceKey =
This is "nn::settings::factory::EccB233DeviceKey". This is a 0x30-byte struct or a 0x54-byte struct in the extended version.


If [[Calibration#CAL0|Calibration Version]] >= 9, this is now:
{| class="wikitable" border="1"
{| class="wikitable" border="1"
|-
|-
! Value
! Offset || Size || Description
! Description
|-
|-
| 0 || Auto
| 0x0 || 0x54 || Key
|-
|-
| 1 || Full
| 0x54 || 0x4 || KeyGeneration
|-
|}
| 2 || Limited
 
|}
= GameCardCertificate =
This is "nn::settings::factory::GameCardCertificate". This is a 0x400-byte struct.


= CmuMode =
= GameCardKey =
This is "nn::settings::system::CmuMode".
This is "nn::settings::factory::GameCardKey". 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"
{| class="wikitable" border="1"
|-
|-
! Value
! Offset || Size || Description
! Description
|-
|-
| 0 || None
| 0x0 || 0x130 || Key
|-
|-
| 1 || ColorInvert
| 0x130 || 0x4 || KeyGeneration
|-
| 2 || HighContrast
|-
| 3 || GrayScale
|}
|}


= HandheldSleepPlan =
= GyroscopeOffset =
This is "nn::settings::system::HandheldSleepPlan".
This is "nn::settings::factory::GyroscopeOffset".


{| class="wikitable" border="1"
{| class="wikitable" border="1"
|-
|-
! Value
! Offset || Size || Description
! Description
|-
|-
| 0 || 1Min
| 0x0 || 0x2 || X
|-
|-
| 1 || 3Min
| 0x2 || 0x2 || Y
|-
|-
| 2 || 5Min
| 0x4 || 0x2 || Z
|-
| 3 || 10Min
|-
| 4 || 30Min
|-
| 5 || Never
|}
|}


= ConsoleSleepPlan =
= GyroscopeScale =
This is "nn::settings::system::ConsoleSleepPlan".
This is "nn::settings::factory::GyroscopeScale".


{| class="wikitable" border="1"
{| class="wikitable" border="1"
|-
|-
! Value
! Offset || Size || Description
! Description
|-
|-
| 0 || 1Hour
| 0x0 || 0x2 || X
|-
|-
| 1 || 2Hour
| 0x2 || 0x2 || Y
|-
|-
| 2 || 3Hour
| 0x4 || 0x2 || Z
|-
| 3 || 6Hour
|-
| 4 || 12Hour
|-
| 5 || Never
|}
|}


= EulaVersion =
= MacAddress =
This is "nn::settings::system::EulaVersion".
This is "nn::settings::factory::MacAddress". This is a 0x6-byte struct.
 
= Rsa2048DeviceCertificate =
This is "nn::settings::factory::Rsa2048DeviceCertificate". This is a 0x240-byte struct.
 
= Rsa2048DeviceKey =
This is "nn::settings::factory::Rsa2048DeviceKey". This is a 0x220-byte struct or a 0x240-byte struct in the extended version.


If [[Calibration#CAL0|Calibration Version]] >= 9, this is now:
{| class="wikitable" border="1"
{| class="wikitable" border="1"
|-
|-
! Offset || Size || Description
! Offset || Size || Description
|-
|-
| 0x0 || 0x4 || Version
| 0x0 || 0x240 || Key
|-
|-
| 0x4 || 0x4 || [[#RegionCode_2|RegionCode]]
| 0x240 || 0x4 || KeyGeneration
|-
| 0x8 || 0x4 || [[#SteadyClockSourceId|ClockType]]
|-
| 0xC || 0x4 || Reserved
|-
| 0x10 || 0x8 || [[Glue_services#PosixTime|NetworkSystemClock]]
|-
| 0x18 || 0x18 || [[Glue_services#SteadyClockTimePoint|SteadyClock]]
|}
|}


= FirmwareVersion =
= SerialNumber =
This is "nn::settings::system::FirmwareVersion".
This is "nn::settings::factory::SerialNumber". This is a 0x18-byte struct.
 
= SpeakerParameter =
This is "nn::settings::factory::SpeakerParameter". This is copied from the first 0x5A bytes of [[Calibration#SpeakerCalibrationValue|SpeakerCalibrationValue]].


{| class="wikitable" border="1"
= SslCertificate =
This is "nn::settings::factory::SslCertificate". This is a 0x804-byte struct.
 
{| class="wikitable" border="1"
|-
|-
! Offset || Size || Description
! Offset || Size || Description
|-
|-
| 0x0 || 0x1 || Major
| 0x0 || 0x4 || Size
|-
|-
| 0x1 || 0x1 || Minor
| 0x4 || Variable || Data
|-
| 0x2 || 0x1 || Micro
|-
| 0x3 || 0x1 || Reserved
|-
| 0x4 || 0x4 || ReleaseNumber
|-
| 0x8 || 0x20 || Platform
|-
| 0x28 || 0x40 || Revision
|-
| 0x68 || 0x18 || DisplayVersion
|-
| 0x80 || 0x80 || DisplayName
|}
|}


= PtmFuelGaugeParameter =
= SslKey =
This is "nn::settings::system::PtmFuelGaugeParameter".
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"
{| class="wikitable" border="1"
|-
|-
! Offset || Size || Description
! Offset || Size || Description
|-
|-
| 0x0 || 0x2 || Rcomp0
| 0x0 || 0x130 || Key
|-
|-
| 0x2 || 0x2 || TempCo
| 0x130 || 0x4 || KeyGeneration
|}
 
= RegionCode =
This is "nn::settings::factory::RegionCode".
 
{| class="wikitable" border="1"
|-
|-
| 0x4 || 0x2 || FullCap
! Value
! Description
|-
|-
| 0x6 || 0x2 || FullCapNom
| 0 || Japan
|-
|-
| 0x8 || 0x2 || IavgEmpty
| 1 || Usa
|-
|-
| 0xA || 0x2 || QrTable00
| 2 || Europe
|-
|-
| 0xC || 0x2 || QrTable10
| 3 || Australia
|-
|-
| 0xE || 0x2 || QrTable20
| 4 || China
|-
|-
| 0x10 || 0x2 || QrTable30
| 5 || Korea
|-
|-
| 0x12 || 0x2 || Reserved
| 6 || Taiwan
|-
| 0x14 || 0x4 || Cycles
|}
|}


= SecuritySettings =
= AudioOutputMode =
This is "nn::settings::system::SecuritySettings".
This is "nn::settings::system::AudioOutputMode".


{| class="wikitable" border="1"
{| class="wikitable" border="1"
|-
|-
! Offset || Size || Description
! Value
! Description
|-
|-
| 0x0 || 0x4 || AuthenticationMode
| 0 || 1ch
|-
|-
| 0x4 || 0x4 || EncryptionMode
| 1 || 2ch
|-
|-
| 0x8 || 0x40 || KeyMaterial
| 2 || 5_1ch
|-
|-
| 0x48 || 0x4 || KeyMaterialLength
| 3 || 7_1ch
|}
|}


= NotificationTime =
= AudioOutputModeTarget =
This is "nn::settings::system::NotificationTime".
This is "nn::settings::system::AudioOutputModeTarget".


{| class="wikitable" border="1"
{| class="wikitable" border="1"
|-
|-
! Offset || Size || Description
! Value
! Description
|-
| 0 || Hdmi
|-
|-
| 0x0 || 0x4 || Hour
| 1 || Speaker
|-
|-
| 0x4 || 0x4 || Minute
| 2 || Headphone
|}
|}


= NotificationFlag =
= AudioVolumeTarget =
This is "nn::settings::system::NotificationFlag".
This is "nn::settings::system::AudioVolumeTarget".


{| class="wikitable" border="1"
{| class="wikitable" border="1"
! Bits
! Description
|-
|-
| 0 || RingtoneFlag
! Value
! Description
|-
|-
| 1 || DownloadCompletionFlag
| 0 || Speaker
|-
|-
| 8 || EnablesNews
| 1 || Headphone
|-
| 9 || IncomingLampFlag
|}
|}


= NotificationSettings =
= DeviceNickName =
This is "nn::settings::system::NotificationSettings".
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"
Line 1,722: Line 1,816:
! Offset || Size || Description
! Offset || Size || Description
|-
|-
| 0x0 || 0x4 || [[#NotificationFlag|Flags]]
| 0x0 || 0x80 || Data0
|-
|-
| 0x4 || 0x4 || [[#NotificationVolume|Volume]]
| 0x80 || 0x80 || Data1
|-
|-
| 0x8 || 0x8 || [[#NotificationTime|HeadTime]]
| 0x100 || 0x80 || [13.0.0+] Data2
|-
|-
| 0x10 || 0x8 || [[#NotificationTime|TailTime]]
| 0x180 || 0x80 || [13.0.0+] Data3
|}
|}


= AccountNotificationFlag =
= RegionCode =
This is "nn::settings::system::AccountNotificationFlag".
This is "nn::settings::system::RegionCode".


{| class="wikitable" border="1"
{| class="wikitable" border="1"
! Bits
|-
! Value
! Description
! Description
|-
|-
| 0 || FriendOnlineFlag
| 0 || Japan
|-
|-
| 1 || FriendRequestFlag
| 1 || Usa
|-
|-
| 8 || CoralInvitationFlag
| 2 || Europe
|}
 
= AccountNotificationSettings =
This is "nn::settings::system::AccountNotificationSettings".
 
{| class="wikitable" border="1"
|-
|-
! Offset || Size || Description
| 3 || Australia
|-
|-
| 0x0 || 0x10 || [[Account_services#Uid|Uid]]
| 4 || HongKongTaiwanKorea
|-
|-
| 0x10 || 0x4 || [[#AccountNotificationFlag|Flags]]
| 5 || China
|-
| 0x14 || 0x1 || [[#FriendPresenceOverlayPermission|FriendPresenceOverlayPermission]]
|-
| 0x15 || 0x1 || [[#FriendPresenceOverlayPermission|FriendInvitationOverlayPermission]]
|-
| 0x16 || 0x2 || Reserved
|}
|}


= TvFlag =
= UserSelectorFlag =
This is "nn::settings::system::TvFlag".
This is "nn::settings::system::UserSelectorFlag".


{| class="wikitable" border="1"
{| class="wikitable" border="1"
Line 1,770: Line 1,853:
! Description
! Description
|-
|-
| 0 || Allows4k
| 0 || SkipsIfSingleUser
|-
|-
| 1 || Allows3d
| 31 || Unknown
|-
| 2 || AllowsCec
|-
| 3 || PreventsScreenBurnIn
|}
|}


= TvSettings =
= UserSelectorSettings =
This is "nn::settings::system::TvSettings".
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"
|-
|-
! Offset || Size || Description
! Value
! Description
|-
|-
| 0x0 || 0x4 || [[#TvFlag|Flags]]
| 0 || NetworkSystemClock
|-
|-
| 0x4 || 0x4 || [[#TvResolution|TvResolution]]
| 1 || SteadyClock
|}
 
= NotificationVolume =
This is "nn::settings::system::NotificationVolume".
 
{| class="wikitable" border="1"
|-
|-
| 0x8 || 0x4 || [[#HdmiContentType|HdmiContentType]]
! Value
! Description
|-
|-
| 0xC || 0x4 || [[#RgbRange|RgbRange]]
| 0 || Mute
|-
|-
| 0x10 || 0x4 || [[#CmuMode|CmuMode]]
| 1 || Low
|-
|-
| 0x14 || 0x4 || TvUnderscan
| 2 || High
|-
| 0x18 || 0x4 || TvGamma
|-
| 0x1C || 0x4 || ContrastRatio
|}
|}


= DataDeletionFlag =
= FriendPresenceOverlayPermission =
This is "nn::settings::system::DataDeletionFlag".
This is "nn::settings::system::FriendPresenceOverlayPermission".


{| class="wikitable" border="1"
{| class="wikitable" border="1"
! Bits
|-
! Value
! Description
! Description
|-
|-
| 0 || AutomaticDeletionFlag
| 0 || NotConfirmed
|-
| 1 || NoDisplay
|-
| 2 || FavoriteFriends
|-
| 3 || Friends
|}
|}


= DataDeletionSettings =
= TvResolution =
This is "nn::settings::system::DataDeletionSettings".
This is "nn::settings::system::TvResolution".


{| class="wikitable" border="1"
{| class="wikitable" border="1"
|-
|-
! Offset || Size || Description
! Value
! Description
|-
|-
| 0x0 || 0x4 || [[#DataDeletionFlag|Flags]]
| 0 || Auto
|-
|-
| 0x4 || 0x4 || UseCount
| 1 || 1080p
|}
 
= SleepFlag =
This is "nn::settings::system::SleepFlag".
 
{| class="wikitable" border="1"
! Bits
! Description
|-
|-
| 0 || SleepsWhilePlayingMedia
| 2 || 720p
|-
|-
| 1 || WakesAtPowerStateChange
| 3 || 480p
|}
|}


= SleepSettings =
= HdmiContentType =
This is "nn::settings::system::SleepSettings".
This is "nn::settings::system::HdmiContentType".


{| class="wikitable" border="1"
{| class="wikitable" border="1"
|-
|-
! Offset || Size || Description
! Value
! Description
|-
|-
| 0x0 || 0x4 || [[#SleepFlag|Flags]]
| 0 || None
|-
| 1 || Graphics
|-
| 2 || Cinema
|-
|-
| 0x4 || 0x4 || [[#HandheldSleepPlan|HandheldSleepPlan]]
| 3 || Photo
|-
|-
| 0x8 || 0x4 || [[#ConsoleSleepPlan|ConsoleSleepPlan]]
| 4 || Game
|}
|}


= InitialLaunchFlag =
= RgbRange =
This is "nn::settings::system::InitialLaunchFlag".
This is "nn::settings::system::RgbRange".


{| class="wikitable" border="1"
{| class="wikitable" border="1"
! Bits
|-
! Value
! Description
! Description
|-
|-
| 0 || InitialLaunchCompletionFlag
| 0 || Auto
|-
|-
| 8 || InitialLaunchUserAdditionFlag
| 1 || Full
|-
|-
| 16 || InitialLaunchTimestampFlag
| 2 || Limited
|}
|}


= InitialLaunchSettings =
= CmuMode =
This is "nn::settings::system::InitialLaunchSettings". This struct is 8-byte aligned.
This is "nn::settings::system::CmuMode".


{| class="wikitable" border="1"
{| class="wikitable" border="1"
|-
|-
! Offset || Size || Description
! Value
! Description
|-
|-
| 0x0 || 0x4 || [[#InitialLaunchFlag|Flags]]
| 0 || None
|-
|-
| 0x4 || 0x4 || Reserved
| 1 || ColorInvert
|-
|-
| 0x8 || 0x18 || [[Glue_services#SteadyClockTimePoint|TimeStamp]]
| 2 || HighContrast
|}
 
= RebootlessSystemUpdateVersion =
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"
|-
|-
! Offset || Size || Description
| 3 || GrayScale
|-
| 0x0 || 0x4 || Version
|-
| 0x4 || 0x1C || Reserved
|-
| 0x20 || 0x20 || DisplayVersion
|}
|}


= PrimaryAlbumStorage =
= HandheldSleepPlan =
This is "nn::settings::system::PrimaryAlbumStorage".
This is "nn::settings::system::HandheldSleepPlan".


{| class="wikitable" border="1"
{| class="wikitable" border="1"
Line 1,903: Line 1,989:
! Description
! Description
|-
|-
| 0 || Nand
| 0 || 1Min
|-
| 1 || 3Min
|-
|-
| 1 || SdCard
| 2 || 5Min
|-
| 3 || 10Min
|-
| 4 || 30Min
|-
| 5 || Never
|}
|}


= ErrorReportSharePermission =
= ConsoleSleepPlan =
This is "nn::settings::system::ErrorReportSharePermission".
This is "nn::settings::system::ConsoleSleepPlan".


{| class="wikitable" border="1"
{| class="wikitable" border="1"
Line 1,916: Line 2,010:
! Description
! Description
|-
|-
| 0 || NotConfirmed
| 0 || 1Hour
|-
| 1 || 2Hour
|-
| 2 || 3Hour
|-
| 3 || 6Hour
|-
|-
| 1 || Granted
| 4 || 12Hour
|-
|-
| 2 || Denied
| 5 || Never
|}
|}


= ServiceDiscoveryControlSettings =
= EulaVersion =
This is "nn::settings::system::ServiceDiscoveryControlSettings".
This is "nn::settings::system::EulaVersion".


{| class="wikitable" border="1"
{| class="wikitable" border="1"
! Bits
! Description
|-
|-
| 0
! Offset || Size || Description
| IsChangeEnvironmentIdentifierDisabled
|-
| 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]]
|}
|}


= AppletLaunchFlag =
= FirmwareVersion =
This is "nn::settings::system::AppletLaunchFlag". This is an u32 bitmask.
This is "nn::settings::system::FirmwareVersion".
 
= KeyboardLayout =
This is "nn::settings::KeyboardLayout".


{| class="wikitable" border="1"
{| class="wikitable" border="1"
|-
|-
! Value
! Offset || Size || Description
! Description
|-
|-
| 1 || EnglishUs
| 0x0 || 0x1 || Major
|-
|-
| 2 || EnglishUsInternational
| 0x1 || 0x1 || Minor
|-
|-
| 3 || EnglishUk
| 0x2 || 0x1 || Micro
|-
|-
| 4 || French
| 0x3 || 0x1 || Reserved
|-
|-
| 5 || FrenchCa
| 0x4 || 0x4 || ReleaseNumber
|-
|-
| 6 || Spanish
| 0x8 || 0x20 || Platform
|-
|-
| 7 || SpanishLatin
| 0x28 || 0x40 || Revision
|-
|-
| 8 || German
| 0x68 || 0x18 || DisplayVersion
|-
|-
| 9 || Italian
| 0x80 || 0x80 || DisplayName
|-
| 10 || Portuguese
|-
| 11 || Russian
|-
| 12 || Korean
|-
| 13 || ChineseSimplified
|-
| 14 || ChineseTraditional
|}
|}


= ChineseTraditionalInputMethod =
= PtmFuelGaugeParameter =
This is "nn::settings::ChineseTraditionalInputMethod".
This is "nn::settings::system::PtmFuelGaugeParameter".


{| class="wikitable" border="1"
{| class="wikitable" border="1"
|-
|-
! Value
! Offset || Size || Description
! Description
|-
|-
| 1 ||  
| 0x0 || 0x2 || Rcomp0
|-
| 0x2 || 0x2 || TempCo
|-
| 0x4 || 0x2 || FullCap
|-
| 0x6 || 0x2 || FullCapNom
|-
| 0x8 || 0x2 || IavgEmpty
|-
| 0xA || 0x2 || QrTable00
|-
| 0xC || 0x2 || QrTable10
|-
| 0xE || 0x2 || QrTable20
|-
| 0x10 || 0x2 || QrTable30
|-
| 0x12 || 0x2 || Reserved
|-
|-
| 2 ||  
| 0x14 || 0x4 || Cycles
|}
|}


= TouchScreenMode =
= SecuritySettings =
This is "nn::settings::system::TouchScreenMode".
This is "nn::settings::system::SecuritySettings".
 
This is an u8. This controls "Touch-Screen Sensitivity", values:
* 0: Stylus.
* 1: Standard, the default.
 
= ButtonConfigSettings =
This is "nn::settings::system::ButtonConfigSettings". This is a 0x5A8-byte struct.


{| class="wikitable" border="1"
{| class="wikitable" border="1"
Line 2,001: Line 2,106:
! Offset || Size || Description
! Offset || Size || Description
|-
|-
| 0x0 || 0x1 || IsFull bool flag. 0 = empty config, 1 = config set. Also accessed as an u32, but only bit0 is used.
| 0x0 || 0x4 || AuthenticationMode
|-
|-
| 0x1 || 0x3 || Padding
| 0x4 || 0x4 || EncryptionMode
|-
|-
| 0x4 || 0x1C4 || Unused
| 0x8 || 0x40 || KeyMaterial
|-
|-
| 0x1C8 || 0x3E0 || Config
| 0x48 || 0x4 || KeyMaterialLength
|}
|}


= ButtonConfigRegisteredSettings =
= NotificationTime =
This is "nn::settings::system::ButtonConfigRegisteredSettings". This is a 0x5C8-byte struct.
This is "nn::settings::system::NotificationTime".
 
{| class="wikitable" border="1"
|-
! Offset || Size || Description
|-
| 0x0 || 0x4 || Hour
|-
| 0x4 || 0x4 || Minute
|}


= BluetoothDevicesSettings =
= NotificationFlag =
This is "nn::settings::system::BluetoothDevicesSettings". This is a 0x200-byte struct.
This is "nn::settings::system::NotificationFlag".


{| class="wikitable" border="1"
{| class="wikitable" border="1"
! Bits
! Description
|-
|-
! Offset || Size || Description
| 0 || RingtoneFlag
|-
|-
| 0x0 || 0x6 || [[BTM_services#BdAddress|BdAddr]]
| 1 || DownloadCompletionFlag
|-
|-
| 0x6 || 0x20 || [[BTM_services#BdName|DeviceName]]
| 8 || EnablesNews
|-
|-
| 0x26 || 0x3 || [[BTM_services#ClassOfDevice|ClassOfDevice]]
| 9 || IncomingLampFlag
|-
|}
| 0x29 || 0x10 || LinkKey
 
|-
= NotificationSettings =
| 0x39 || 0x1 || LinkKeyPresent
This is "nn::settings::system::NotificationSettings".
|-
 
| 0x3A || 0x2 || Version
{| class="wikitable" border="1"
|-
|-
| 0x3C || 0x4 || TrustedServices
! Offset || Size || Description
|-
|-
| 0x40 || 0x2 || Vid
| 0x0 || 0x4 || [[#NotificationFlag|Flags]]
|-
|-
| 0x42 || 0x2 || Pid
| 0x4 || 0x4 || [[#NotificationVolume|Volume]]
|-
|-
| 0x44 || 0x1 || SubClass
| 0x8 || 0x8 || [[#NotificationTime|HeadTime]]
|-
| 0x10 || 0x8 || [[#NotificationTime|TailTime]]
|}
 
= AccountNotificationFlag =
This is "nn::settings::system::AccountNotificationFlag".
 
{| class="wikitable" border="1"
! Bits
! Description
|-
| 0 || FriendOnlineFlag
|-
| 1 || FriendRequestFlag
|-
| 8 || CoralInvitationFlag
|}
 
= AccountNotificationSettings =
This is "nn::settings::system::AccountNotificationSettings".
 
{| class="wikitable" border="1"
|-
! Offset || Size || Description
|-
| 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::TvFlag".
 
{| class="wikitable" border="1"
! Bits
! Description
|-
| 0 || Allows4k
|-
| 1 || Allows3d
|-
| 2 || AllowsCec
|-
| 3 || PreventsScreenBurnIn
|}
 
= TvSettings =
This is "nn::settings::system::TvSettings".
 
{| class="wikitable" border="1"
|-
! Offset || Size || Description
|-
| 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::DataDeletionFlag".
 
{| class="wikitable" border="1"
! Bits
! Description
|-
| 0 || AutomaticDeletionFlag
|}
 
= DataDeletionSettings =
This is "nn::settings::system::DataDeletionSettings".
 
{| class="wikitable" border="1"
|-
! Offset || Size || Description
|-
| 0x0 || 0x4 || [[#DataDeletionFlag|Flags]]
|-
| 0x4 || 0x4 || UseCount
|}
 
= SleepFlag =
This is "nn::settings::system::SleepFlag".
 
{| class="wikitable" border="1"
! Bits
! Description
|-
| 0 || SleepsWhilePlayingMedia
|-
| 1 || WakesAtPowerStateChange
|}
 
= SleepSettings =
This is "nn::settings::system::SleepSettings".
 
{| class="wikitable" border="1"
|-
! Offset || Size || Description
|-
| 0x0 || 0x4 || [[#SleepFlag|Flags]]
|-
| 0x4 || 0x4 || [[#HandheldSleepPlan|HandheldSleepPlan]]
|-
| 0x8 || 0x4 || [[#ConsoleSleepPlan|ConsoleSleepPlan]]
|}
 
= InitialLaunchFlag =
This is "nn::settings::system::InitialLaunchFlag".
 
{| class="wikitable" border="1"
! Bits
! Description
|-
| 0 || InitialLaunchCompletionFlag
|-
| 8 || InitialLaunchUserAdditionFlag
|-
| 16 || InitialLaunchTimestampFlag
|}
 
= InitialLaunchSettings =
This is "nn::settings::system::InitialLaunchSettings". This struct is 8-byte aligned.
 
{| class="wikitable" border="1"
|-
! Offset || Size || Description
|-
| 0x0 || 0x4 || [[#InitialLaunchFlag|Flags]]
|-
| 0x4 || 0x4 || Reserved
|-
| 0x8 || 0x18 || [[Glue_services#SteadyClockTimePoint|TimeStamp]]
|}
 
= RebootlessSystemUpdateVersion =
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"
|-
! Offset || Size || Description
|-
| 0x0 || 0x4 || Version
|-
| 0x4 || 0x1C || Reserved
|-
| 0x20 || 0x20 || DisplayVersion
|}
 
= PrimaryAlbumStorage =
This is "nn::settings::system::PrimaryAlbumStorage".
 
{| class="wikitable" border="1"
|-
! Value
! Description
|-
| 0 || Nand
|-
| 1 || SdCard
|}
 
= ErrorReportSharePermission =
This is "nn::settings::system::ErrorReportSharePermission".
 
{| class="wikitable" border="1"
|-
! Value
! Description
|-
| 0 || NotConfirmed
|-
| 1 || Granted
|-
| 2 || Denied
|}
 
= ServiceDiscoveryControlSettings =
This is "nn::settings::system::ServiceDiscoveryControlSettings".
 
{| class="wikitable" border="1"
! Bits
! Description
|-
| 0
| IsChangeEnvironmentIdentifierDisabled
|}
 
= AppletLaunchFlag =
This is "nn::settings::system::AppletLaunchFlag". This is an u32 bitmask.
 
= KeyboardLayout =
This is "nn::settings::KeyboardLayout".
 
{| 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::ChineseTraditionalInputMethod".
 
{| class="wikitable" border="1"
|-
! Value
! Description
|-
| 1 ||
|-
| 2 ||
|}
 
= HomeMenuScheme =
This is "nn::settings::system::HomeMenuScheme".
 
{| 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::TouchScreenMode".
 
{| class="wikitable" border="1"
|-
! Value
! Description
|-
| 0 || Stylus
|-
| 1 || Standard
|}
 
= ButtonConfigSettings =
This is "nn::settings::system::ButtonConfigSettings". This is a 0x5A8-byte struct.
 
{| 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
|-
|-
| 0x45 || 0x1 || AttributeMask
| 0xD5 || 0x1 || [13.0.0+] AudioSourceVolume
|-
|-
| 0x46 || 0x2 || DescriptorLength
| 0xD6 || 0xF9 || [13.0.0+] DeviceName
|-
|-
| 0x48 || 0x80 || Descriptor
| 0x1CF || 0x1 || [15.0.0+] AudioSinkVolume
|-
|-
| 0xC8 || 0x1 || KeyType
| 0x1D0 || 0x4 || [14.0.0+] AudioFlags
|-
| 0xC9 || 0x1 || DeviceType
|-
| 0xCA || 0x2 || BrrSize
|-
| 0xCC || 0x9 || Brr
|-
|-
| 0xD5 || 0x12B || Reserved
| 0x1D4 || 0x2C || Reserved
|}
|}