Settings services: Difference between revisions
No edit summary |
No edit summary |
||
(11 intermediate revisions by 2 users not shown) | |||
Line 96: | Line 96: | ||
|- | |- | ||
| 23 || [9.0.0+] SetMemoryUsageRateFlag | | 23 || [9.0.0+] SetMemoryUsageRateFlag | ||
|- | |||
| 24 || [20.0.0+] CommitSettings | |||
|} | |} | ||
Line 209: | Line 211: | ||
== GetBluetoothBdAddress == | == GetBluetoothBdAddress == | ||
No input. Returns a [[#BdAddress]]. | No input. Returns a [[#BdAddress|BdAddress]]. | ||
== GetConfigurationId1 == | == GetConfigurationId1 == | ||
No input. Returns a [[#ConfigurationId1]]. | No input. Returns a [[#ConfigurationId1|ConfigurationId1]]. | ||
== GetAccelerometerOffset == | == GetAccelerometerOffset == | ||
No input. Returns a [[#AccelerometerOffset]]. | No input. Returns a [[#AccelerometerOffset|AccelerometerOffset]]. | ||
== GetAccelerometerScale == | == GetAccelerometerScale == | ||
No input. Returns a [[#AccelerometerScale]]. | No input. Returns a [[#AccelerometerScale|AccelerometerScale]]. | ||
== GetGyroscopeOffset == | == GetGyroscopeOffset == | ||
No input. Returns a [[#GyroscopeOffset]]. | No input. Returns a [[#GyroscopeOffset|GyroscopeOffset]]. | ||
== GetGyroscopeScale == | == GetGyroscopeScale == | ||
No input. Returns a [[#GyroscopeScale]]. | No input. Returns a [[#GyroscopeScale|GyroscopeScale]]. | ||
== GetWirelessLanMacAddress == | == GetWirelessLanMacAddress == | ||
No input. Returns a [[#MacAddress]]. | No input. Returns a [[#MacAddress|MacAddress]]. | ||
== GetWirelessLanCountryCodeCount == | == GetWirelessLanCountryCodeCount == | ||
Line 233: | Line 235: | ||
== GetWirelessLanCountryCodes == | == GetWirelessLanCountryCodes == | ||
Takes a type-0x16 output buffer containing an array of [[#CountryCode]]. Returns a s32 '''OutCount'''. | Takes a type-0x16 output buffer containing an array of [[#CountryCode|CountryCode]]. Returns a s32 '''OutCount'''. | ||
== GetSerialNumber == | == GetSerialNumber == | ||
No input. Returns a [[#SerialNumber]]. | No input. Returns a [[#SerialNumber|SerialNumber]]. | ||
== SetInitialSystemAppletProgramId == | == SetInitialSystemAppletProgramId == | ||
Line 245: | Line 247: | ||
== GetBatteryLot == | == GetBatteryLot == | ||
No input. Returns a [[#BatteryLot]]. | No input. Returns a [[#BatteryLot|BatteryLot]]. | ||
== GetEciDeviceCertificate == | == GetEciDeviceCertificate == | ||
Takes a type-0x16 output buffer containing a [[#EccB233DeviceCertificate]]. No output. | Takes a type-0x16 output buffer containing a [[#EccB233DeviceCertificate|EccB233DeviceCertificate]]. No output. | ||
Returns the device certificate (ECC signed). This is identical to 3DS DeviceCert/CTCert besides the strings. NIM loads the DeviceId from this. | Returns the device certificate (ECC signed). This is identical to 3DS DeviceCert/CTCert besides the strings. NIM loads the DeviceId from this. | ||
== GetEticketDeviceCertificate == | == GetEticketDeviceCertificate == | ||
Takes a type-0x16 output buffer containing a [[#Rsa2048DeviceCertificate]]. No output. | Takes a type-0x16 output buffer containing a [[#Rsa2048DeviceCertificate|Rsa2048DeviceCertificate]]. No output. | ||
Returns the ETicket certificate (RSA signed). | Returns the ETicket certificate (RSA signed). | ||
== GetSslKey == | == GetSslKey == | ||
Takes a type-0x16 output buffer containing a [[#SslKey]]. No output. | Takes a type-0x16 output buffer containing a [[#SslKey|SslKey]]. No output. | ||
Returns the extended SSL key (0x130 bytes) from [[Calibration#CAL0|CAL0]]. If the extended key is not programmed then it falls back to the normal SSL key (0x110 bytes). | Returns the extended SSL key (0x130 bytes) from [[Calibration#CAL0|CAL0]]. If the extended key is not programmed then it falls back to the normal SSL key (0x110 bytes). | ||
Line 265: | Line 267: | ||
== GetSslCertificate == | == GetSslCertificate == | ||
Takes a type-0x16 output buffer containing a [[#SslCertificate]]. No output. | Takes a type-0x16 output buffer containing a [[#SslCertificate|SslCertificate]]. No output. | ||
Used by SSL-sysmodule, see [[SSL_services|here]]. | Used by SSL-sysmodule, see [[SSL_services|here]]. | ||
== GetGameCardKey == | == GetGameCardKey == | ||
Takes a type-0x16 output buffer containing a [[#GameCardKey]]. No output. | Takes a type-0x16 output buffer containing a [[#GameCardKey|GameCardKey]]. No output. | ||
Returns the extended GameCard key (0x130 bytes) from [[Calibration#CAL0|CAL0]]. If the extended key is not programmed then it falls back to the normal GameCard key (0x110 bytes). | Returns the extended GameCard key (0x130 bytes) from [[Calibration#CAL0|CAL0]]. If the extended key is not programmed then it falls back to the normal GameCard key (0x110 bytes). | ||
== GetGameCardCertificate == | == GetGameCardCertificate == | ||
Takes a type-0x16 output buffer containing a [[#GameCardCertificate]]. No output. | Takes a type-0x16 output buffer containing a [[#GameCardCertificate|GameCardCertificate]]. No output. | ||
== GetEciDeviceKey == | == GetEciDeviceKey == | ||
No input. Returns an [[#EccB233DeviceKey]]. | No input. Returns an [[#EccB233DeviceKey|EccB233DeviceKey]]. | ||
Returns the extended device ECC-B233 key (0x50 bytes) from [[Calibration#CAL0|CAL0]]. If the extended key is not programmed then it falls back to the normal device ECC-B233 key (0x30 bytes). | Returns the extended device ECC-B233 key (0x50 bytes) from [[Calibration#CAL0|CAL0]]. If the extended key is not programmed then it falls back to the normal device ECC-B233 key (0x30 bytes). | ||
== GetEticketDeviceKey == | == GetEticketDeviceKey == | ||
Takes a type-0x16 output buffer containing a [[#Rsa2048DeviceKey]]. No output. | Takes a type-0x16 output buffer containing a [[#Rsa2048DeviceKey|Rsa2048DeviceKey]]. No output. | ||
Returns the extended ETicket RSA-2048 key (0x240 bytes) from [[Calibration#CAL0|CAL0]]. If the extended key is not programmed then it falls back to the normal ETicket RSA-2048 key (0x220 bytes). | Returns the extended ETicket RSA-2048 key (0x240 bytes) from [[Calibration#CAL0|CAL0]]. If the extended key is not programmed then it falls back to the normal ETicket RSA-2048 key (0x220 bytes). | ||
== GetSpeakerParameter == | == GetSpeakerParameter == | ||
No input. Returns a [[#SpeakerParameter]]. | No input. Returns a [[#SpeakerParameter|SpeakerParameter]]. | ||
== GetLcdVendorId == | == GetLcdVendorId == | ||
No input. Returns a [[#LcdVendorId]]. | No input. Returns a [[Calibration#LcdVendorId|LcdVendorId]]. | ||
== GetEciDeviceCertificate2 == | == GetEciDeviceCertificate2 == | ||
Line 300: | Line 302: | ||
== GetAmiiboKey == | == GetAmiiboKey == | ||
No input. Returns an [[#AmiiboKey]]. | No input. Returns an [[#AmiiboKey|AmiiboKey]]. | ||
== GetAmiiboEcqvCertificate == | == GetAmiiboEcqvCertificate == | ||
No input. Returns an [[#AmiiboEcqvCertificate]]. | No input. Returns an [[#AmiiboEcqvCertificate|AmiiboEcqvCertificate]]. | ||
== GetAmiiboEcdsaCertificate == | == GetAmiiboEcdsaCertificate == | ||
No input. Returns an [[#AmiiboEcdsaCertificate]]. | No input. Returns an [[#AmiiboEcdsaCertificate|AmiiboEcdsaCertificate]]. | ||
== GetAmiiboEcqvBlsKey == | == GetAmiiboEcqvBlsKey == | ||
No input. Returns an [[#AmiiboEcqvBlsKey]]. | No input. Returns an [[#AmiiboEcqvBlsKey|AmiiboEcqvBlsKey]]. | ||
== GetAmiiboEcqvBlsCertificate == | == GetAmiiboEcqvBlsCertificate == | ||
No input. Returns an [[#AmiiboEcqvBlsCertificate]]. | No input. Returns an [[#AmiiboEcqvBlsCertificate|AmiiboEcqvBlsCertificate]]. | ||
== GetAmiiboEcqvBlsRootCertificate == | == GetAmiiboEcqvBlsRootCertificate == | ||
No input. Returns an [[#AmiiboEcqvBlsRootCertificate]]. | No input. Returns an [[#AmiiboEcqvBlsRootCertificate|AmiiboEcqvBlsRootCertificate]]. | ||
== GetUsbTypeCPowerSourceCircuitVersion == | == GetUsbTypeCPowerSourceCircuitVersion == | ||
No input. Returns an [[#UsbTypeCPowerSourceCircuitVersion]]. | No input. Returns an [[Calibration#UsbTypeCPowerSourceCircuit|UsbTypeCPowerSourceCircuitVersion]]. | ||
== GetAnalogStickModuleTypeL == | == GetAnalogStickModuleTypeL == | ||
No input. Returns an [[#AnalogStickModuleType]]. | No input. Returns an [[Calibration#AnalogStickModuleType|AnalogStickModuleType]]. | ||
== GetAnalogStickModelParameterL == | == GetAnalogStickModelParameterL == | ||
No input. Returns an [[#AnalogStickModelParameter]]. | No input. Returns an [[#AnalogStickModelParameter|AnalogStickModelParameter]]. | ||
== GetAnalogStickFactoryCalibrationL == | == GetAnalogStickFactoryCalibrationL == | ||
No input. Returns an [[#AnalogStickFactoryCalibration]]. | No input. Returns an [[#AnalogStickFactoryCalibration|AnalogStickFactoryCalibration]]. | ||
== GetAnalogStickModuleTypeR == | == GetAnalogStickModuleTypeR == | ||
No input. Returns an [[#AnalogStickModuleType]]. | No input. Returns an [[Calibration#AnalogStickModuleType|AnalogStickModuleType]]. | ||
== GetAnalogStickModelParameterR == | == GetAnalogStickModelParameterR == | ||
No input. Returns an [[#AnalogStickModelParameter]]. | No input. Returns an [[#AnalogStickModelParameter|AnalogStickModelParameter]]. | ||
== GetAnalogStickFactoryCalibrationR == | == GetAnalogStickFactoryCalibrationR == | ||
No input. Returns an [[#AnalogStickFactoryCalibration]]. | No input. Returns an [[#AnalogStickFactoryCalibration|AnalogStickFactoryCalibration]]. | ||
== GetConsoleSixAxisSensorModuleType == | == GetConsoleSixAxisSensorModuleType == | ||
No input. Returns a [[#ConsoleSixAxisSensorModuleType]]. | No input. Returns a [[Calibration#ConsoleSixAxisSensorModuleType|ConsoleSixAxisSensorModuleType]]. | ||
== GetConsoleSixAxisSensorHorizontalOffset == | == GetConsoleSixAxisSensorHorizontalOffset == | ||
No input. Returns a [[#ConsoleSixAxisSensorHorizontalOffset]]. | No input. Returns a [[#ConsoleSixAxisSensorHorizontalOffset|ConsoleSixAxisSensorHorizontalOffset]]. | ||
== GetBatteryVersion == | == GetBatteryVersion == | ||
No input. Returns a [[#BatteryVersion]]. | No input. Returns a [[Calibration#BatteryVersion|BatteryVersion]]. | ||
== GetDeviceId == | == GetDeviceId == | ||
Line 351: | Line 353: | ||
== GetConsoleSixAxisSensorMountType == | == GetConsoleSixAxisSensorMountType == | ||
No input. Returns a [[#ConsoleSixAxisSensorMountType]]. | No input. Returns a [[Calibration#ConsoleSixAxisSensorMountType|ConsoleSixAxisSensorMountType]]. | ||
= set:sys = | = set:sys = | ||
Line 783: | Line 785: | ||
|- | |- | ||
| 252 || [18.0.0+] SetAccountIdentificationSettings | | 252 || [18.0.0+] SetAccountIdentificationSettings | ||
|- | |||
| 263 || [20.0.0+] AcquireVphymDirtyFlagEventHandle | |||
|- | |||
| 264 || [20.0.0+] GetVphymDirtyFlags | |||
|- | |||
| 282 || [20.0.0+] ConvertToProductModel | |||
|- | |||
| 283 || [20.0.0+] ConvertToProductModelName | |||
|- | |||
| 289 || [20.0.0+] GetDefaultAccountIdentificationFlagSet | |||
|- | |||
| 300 || [20.0.0+] AcquirePushNotificationDirtyFlagEventHandle | |||
|- | |||
| 301 || [20.0.0+] GetPushNotificationDirtyFlags | |||
|- | |||
| 306 || [20.0.0+] GetPinCodeReregistrationGuideAccounts | |||
|- | |||
| 307 || [20.0.0+] SetPinCodeReregistrationGuideAccounts | |||
|} | |} | ||
Line 912: | Line 932: | ||
== GetAllowedSslHosts == | == GetAllowedSslHosts == | ||
Takes a type-0x6 output buffer | Takes a type-0x6 output buffer. Returns an output s32 entry count. | ||
== GetRebootlessSystemUpdateVersion == | == GetRebootlessSystemUpdateVersion == | ||
Line 944: | Line 964: | ||
== GetHomeMenuScheme == | == GetHomeMenuScheme == | ||
No input | No input. Returns an output [[#HomeMenuScheme]]. | ||
The colors are loaded from [[Calibration]], with the set of fields to use selected by ColorVariation | The colors are loaded from [[Calibration]], with the set of fields to use selected by [[Calibration#ColorVariation|ColorVariation]]. | ||
== GetT == | == GetT == | ||
Line 967: | Line 985: | ||
== GetHomeMenuSchemeModel == | == GetHomeMenuSchemeModel == | ||
No input | No input. Returns an output u32. | ||
Loads the 0xB-byte setting <"settings_debug", "home_menu_scheme_model">, throwing an error if loading this fails. Depending on the content of the setting, the output u32 is either determined by the value of this setting, or loaded from [[Calibration]]. | Loads the 0xB-byte setting <"settings_debug", "home_menu_scheme_model">, throwing an error if loading this fails. Depending on the content of the setting, the output u32 is either determined by the value of this setting, or loaded from [[Calibration#ColorModel|ColorModel]]. | ||
== GetMemoryUsageRateFlag == | == GetMemoryUsageRateFlag == | ||
Line 1,182: | Line 1,200: | ||
= AnalogStickFactoryCalibration = | = AnalogStickFactoryCalibration = | ||
This is "nn::settings::factory::AnalogStickFactoryCalibration". | This is "nn::settings::factory::AnalogStickFactoryCalibration". Same as [[Calibration#AnalogStickFactoryCalibration|AnalogStickFactoryCalibration]]. | ||
= AnalogStickModelParameter = | = AnalogStickModelParameter = | ||
This is "nn::settings::factory::AnalogStickModelParameter". | This is "nn::settings::factory::AnalogStickModelParameter". Same as [[Calibration#AnalogStickModelParameter|AnalogStickModelParameter]]. | ||
= BatteryLot = | = BatteryLot = | ||
This is | This is "nn::settings::BatteryLot". This is a 0x18-byte struct. | ||
= BdAddress = | = BdAddress = | ||
Line 1,232: | Line 1,250: | ||
|- | |- | ||
| "MNX" || Mariko NX (retail Iowa) | | "MNX" || Mariko NX (retail Iowa) | ||
|- | |||
| "HNX" || Hoag NX (retail Hoag) | |||
|- | |- | ||
| "ANX" || Aula NX (retail Aula) | | "ANX" || Aula NX (retail Aula) | ||
Line 1,254: | Line 1,274: | ||
= ConsoleSixAxisSensorHorizontalOffset = | = ConsoleSixAxisSensorHorizontalOffset = | ||
This is "nn::settings::factory::ConsoleSixAxisSensorHorizontalOffset". | This is "nn::settings::factory::ConsoleSixAxisSensorHorizontalOffset". Same as [[Calibration#ConsoleSixAxisSensorHorizontalOffset|ConsoleSixAxisSensorHorizontalOffset]]. | ||
= CountryCode = | = CountryCode = | ||
Line 1,353: | Line 1,362: | ||
= SpeakerParameter = | = SpeakerParameter = | ||
This is "nn::settings::factory::SpeakerParameter". | This is "nn::settings::factory::SpeakerParameter". This is copied from the first 0x5A bytes of [[Calibration#SpeakerCalibrationValue|SpeakerCalibrationValue]]. | ||
= SslCertificate = | |||
This is "nn::settings::factory::SslCertificate". This is a 0x804-byte struct. | |||
{| class="wikitable" border="1" | {| class="wikitable" border="1" | ||
Line 1,359: | Line 1,371: | ||
! Offset || Size || Description | ! Offset || Size || Description | ||
|- | |- | ||
| 0x0 || | | 0x0 || 0x4 || Size | ||
|- | |- | ||
| | | 0x4 || Variable || Data | ||
|- | |} | ||
| | |||
= SslKey = | |||
This is "nn::settings::factory::SslKey". This is a 0x110-byte struct or a 0x130-byte struct in the extended version. | |||
If [[Calibration#CAL0|Calibration Version]] >= 9, this is now: | |||
{| class="wikitable" border="1" | |||
|- | |- | ||
| | ! Offset || Size || Description | ||
|- | |- | ||
| | | 0x0 || 0x130 || Key | ||
|- | |- | ||
| | | 0x130 || 0x4 || KeyGeneration | ||
|} | |||
= RegionCode = | |||
This is "nn::settings::factory::RegionCode". | |||
{| class="wikitable" border="1" | |||
|- | |- | ||
! Value | |||
! Description | |||
|- | |- | ||
| | | 0 || Japan | ||
|- | |- | ||
| | | 1 || Usa | ||
|- | |- | ||
| | | 2 || Europe | ||
|- | |- | ||
| | | 3 || Australia | ||
|- | |- | ||
| | | 4 || China | ||
|- | |- | ||
| | | 5 || Korea | ||
|- | |- | ||
| | | 6 || Taiwan | ||
|} | |||
= AudioOutputMode = | |||
This is "nn::settings::system::AudioOutputMode". | |||
{| class="wikitable" border="1" | |||
|- | |- | ||
! Value | |||
! Description | |||
|- | |- | ||
| | | 0 || 1ch | ||
|- | |- | ||
| | | 1 || 2ch | ||
|- | |- | ||
| | | 2 || 5_1ch | ||
|- | |- | ||
| | | 3 || 7_1ch | ||
|} | |} | ||
= | = AudioOutputModeTarget = | ||
This is "nn::settings::system::AudioOutputModeTarget". | |||
{| class="wikitable" border="1" | {| class="wikitable" border="1" | ||
|- | |- | ||
Line 1,410: | Line 1,437: | ||
! Description | ! Description | ||
|- | |- | ||
| 0 || | | 0 || Hdmi | ||
|- | |- | ||
| 1 || Speaker | |||
|- | |- | ||
| | | 2 || Headphone | ||
|} | |} | ||
= | = AudioVolumeTarget = | ||
This is "nn::settings::system::AudioVolumeTarget". | |||
{| class="wikitable" border="1" | {| class="wikitable" border="1" | ||
|- | |- | ||
Line 1,428: | Line 1,452: | ||
! Description | ! Description | ||
|- | |- | ||
| 0 || | | 0 || Speaker | ||
|- | |||
| 1 || Headphone | |||
|} | |} | ||
= | = DeviceNickName = | ||
{| class="wikitable" border="1" | This is "nn::settings::system::DeviceNickName". This is a 0x80-byte struct. | ||
= Edid = | |||
This is "nn::settings::system::Edid". | |||
{| class="wikitable" border="1" | |||
|- | |||
! Offset || Size || Description | |||
|- | |- | ||
| 0x0 || 0x80 || Data0 | |||
|- | |- | ||
| | | 0x80 || 0x80 || Data1 | ||
| | |||
|- | |- | ||
| 0x100 || 0x80 || [13.0.0+] Data2 | |||
|- | |- | ||
| | | 0x180 || 0x80 || [13.0.0+] Data3 | ||
|} | |} | ||
= | = RegionCode = | ||
This is "nn::settings::system::RegionCode". | |||
{| class="wikitable" border="1" | {| class="wikitable" border="1" | ||
|- | |- | ||
Line 1,455: | Line 1,484: | ||
! Description | ! Description | ||
|- | |- | ||
| 0 || | | 0 || Japan | ||
|- | |- | ||
| 1 || Usa | |||
|- | |- | ||
| | | 2 || Europe | ||
|- | |- | ||
| | | 3 || Australia | ||
|- | |||
| 4 || HongKongTaiwanKorea | |||
|- | |||
| 5 || China | |||
|} | |} | ||
= | = UserSelectorFlag = | ||
This is "nn::settings:: | This is "nn::settings::system::UserSelectorFlag". | ||
{| class="wikitable" border="1" | {| class="wikitable" border="1" | ||
! Bits | |||
! Description | |||
|- | |- | ||
| 0 || SkipsIfSingleUser | |||
|- | |- | ||
| | | 31 || Unknown | ||
|} | |} | ||
= | = UserSelectorSettings = | ||
This is "nn::settings:: | This is "nn::settings::system::UserSelectorSettings". | ||
This contains an u32 bitmask for [[#UserSelectorFlag]]. | |||
= AccountSettings = | |||
This is "nn::settings::system::AccountSettings". | |||
This contains [[#UserSelectorSettings]]. | |||
| 1 | = ClockSourceId = | ||
This is "nn::settings::system::ClockSourceId". | |||
{| class="wikitable" border="1" | |||
|- | |- | ||
! Value | |||
! Description | |||
|- | |- | ||
| | | 0 || NetworkSystemClock | ||
|- | |- | ||
| | | 1 || SteadyClock | ||
|} | |} | ||
= | = NotificationVolume = | ||
This is "nn::settings::system:: | This is "nn::settings::system::NotificationVolume". | ||
{| class="wikitable" border="1" | {| class="wikitable" border="1" | ||
Line 1,514: | Line 1,540: | ||
! Description | ! Description | ||
|- | |- | ||
| 0 || | | 0 || Mute | ||
|- | |- | ||
| 1 || | | 1 || Low | ||
|- | |- | ||
| 2 || | | 2 || High | ||
|} | |} | ||
= | = FriendPresenceOverlayPermission = | ||
This is "nn::settings::system:: | This is "nn::settings::system::FriendPresenceOverlayPermission". | ||
{| class="wikitable" border="1" | {| class="wikitable" border="1" | ||
Line 1,535: | Line 1,555: | ||
! Description | ! Description | ||
|- | |- | ||
| 0 || | | 0 || NotConfirmed | ||
|- | |- | ||
| 1 || | | 1 || NoDisplay | ||
|- | |- | ||
| 2 || | | 2 || FavoriteFriends | ||
|- | |- | ||
| 3 || | | 3 || Friends | ||
|} | |} | ||
= | = TvResolution = | ||
This is "nn::settings::system:: | This is "nn::settings::system::TvResolution". | ||
{| class="wikitable" border="1" | {| class="wikitable" border="1" | ||
Line 1,552: | Line 1,572: | ||
! Description | ! Description | ||
|- | |- | ||
| 0 || | | 0 || Auto | ||
|- | |- | ||
| 1 || | | 1 || 1080p | ||
|- | |- | ||
| 2 || | | 2 || 720p | ||
|- | |||
| 3 || 480p | |||
|} | |} | ||
= | = HdmiContentType = | ||
This is "nn::settings::system:: | This is "nn::settings::system::HdmiContentType". | ||
{| class="wikitable" border="1" | {| class="wikitable" border="1" | ||
Line 1,567: | Line 1,589: | ||
! Description | ! Description | ||
|- | |- | ||
| 0 || | | 0 || None | ||
|- | |||
| 1 || Graphics | |||
|- | |||
| 2 || Cinema | |||
|- | |||
| 3 || Photo | |||
|- | |- | ||
| | | 4 || Game | ||
|} | |} | ||
= | = RgbRange = | ||
This is "nn::settings::system:: | This is "nn::settings::system::RgbRange". | ||
{| class="wikitable" border="1" | {| class="wikitable" border="1" | ||
|- | |- | ||
! | ! Value | ||
! Description | |||
|- | |- | ||
| | | 0 || Auto | ||
|- | |- | ||
| | | 1 || Full | ||
| | |||
|- | |- | ||
| | | 2 || Limited | ||
|} | |} | ||
= | = CmuMode = | ||
This is "nn::settings::system:: | This is "nn::settings::system::CmuMode". | ||
{| class="wikitable" border="1" | {| class="wikitable" border="1" | ||
Line 1,617: | Line 1,623: | ||
! Description | ! Description | ||
|- | |- | ||
| 0 || | | 0 || None | ||
|- | |- | ||
| 1 || | | 1 || ColorInvert | ||
|- | |||
| 2 || HighContrast | |||
|- | |||
| 3 || GrayScale | |||
|} | |} | ||
= | = HandheldSleepPlan = | ||
This is "nn::settings::system:: | This is "nn::settings::system::HandheldSleepPlan". | ||
{| class="wikitable" border="1" | {| class="wikitable" border="1" | ||
Line 1,630: | Line 1,640: | ||
! Description | ! Description | ||
|- | |- | ||
| 0 || | | 0 || 1Min | ||
|- | |||
| 1 || 3Min | |||
|- | |||
| 2 || 5Min | |||
|- | |||
| 3 || 10Min | |||
|- | |- | ||
| | | 4 || 30Min | ||
|- | |- | ||
| | | 5 || Never | ||
|} | |} | ||
= | = ConsoleSleepPlan = | ||
This is "nn::settings::system:: | This is "nn::settings::system::ConsoleSleepPlan". | ||
{| class="wikitable" border="1" | {| class="wikitable" border="1" | ||
Line 1,645: | Line 1,661: | ||
! Description | ! Description | ||
|- | |- | ||
| 0 || | | 0 || 1Hour | ||
|- | |- | ||
| 1 || | | 1 || 2Hour | ||
|- | |- | ||
| 2 || | | 2 || 3Hour | ||
|- | |- | ||
| 3 || | | 3 || 6Hour | ||
|- | |||
| 4 || 12Hour | |||
|- | |||
| 5 || Never | |||
|} | |} | ||
= | = EulaVersion = | ||
This is "nn::settings::system:: | This is "nn::settings::system::EulaVersion". | ||
{| class="wikitable" border="1" | {| class="wikitable" border="1" | ||
|- | |- | ||
! | ! Offset || Size || Description | ||
|- | |||
| 0x0 || 0x4 || Version | |||
|- | |||
| 0x4 || 0x4 || [[#RegionCode_2|RegionCode]] | |||
|- | |- | ||
| | | 0x8 || 0x4 || [[#SteadyClockSourceId|ClockType]] | ||
|- | |- | ||
| | | 0xC || 0x4 || Reserved | ||
|- | |- | ||
| | | 0x10 || 0x8 || [[Glue_services#PosixTime|NetworkSystemClock]] | ||
|- | |- | ||
| | | 0x18 || 0x18 || [[Glue_services#SteadyClockTimePoint|SteadyClock]] | ||
|} | |} | ||
= | = FirmwareVersion = | ||
This is "nn::settings::system:: | This is "nn::settings::system::FirmwareVersion". | ||
{| class="wikitable" border="1" | {| class="wikitable" border="1" | ||
|- | |- | ||
! | ! Offset || Size || Description | ||
|- | |||
| 0x0 || 0x1 || Major | |||
|- | |||
| 0x1 || 0x1 || Minor | |||
|- | |||
| 0x2 || 0x1 || Micro | |||
|- | |||
| 0x3 || 0x1 || Reserved | |||
|- | |- | ||
| | | 0x4 || 0x4 || ReleaseNumber | ||
|- | |- | ||
| | | 0x8 || 0x20 || Platform | ||
|- | |- | ||
| | | 0x28 || 0x40 || Revision | ||
|- | |- | ||
| | | 0x68 || 0x18 || DisplayVersion | ||
|- | |- | ||
| | | 0x80 || 0x80 || DisplayName | ||
|} | |} | ||
= | = PtmFuelGaugeParameter = | ||
This is "nn::settings::system:: | This is "nn::settings::system::PtmFuelGaugeParameter". | ||
{| class="wikitable" border="1" | {| class="wikitable" border="1" | ||
|- | |- | ||
! | ! Offset || Size || Description | ||
|- | |- | ||
| | | 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 | ||
|- | |- | ||
| | | 0x14 || 0x4 || Cycles | ||
|} | |} | ||
= | = SecuritySettings = | ||
This is "nn::settings::system:: | This is "nn::settings::system::SecuritySettings". | ||
{| class="wikitable" border="1" | {| class="wikitable" border="1" | ||
|- | |- | ||
! | ! Offset || Size || Description | ||
|- | |||
| 0x0 || 0x4 || AuthenticationMode | |||
|- | |- | ||
| | | 0x4 || 0x4 || EncryptionMode | ||
|- | |- | ||
| | | 0x8 || 0x40 || KeyMaterial | ||
|- | |- | ||
| | | 0x48 || 0x4 || KeyMaterialLength | ||
|} | |||
= NotificationTime = | |||
This is "nn::settings::system::NotificationTime". | |||
{| class="wikitable" border="1" | |||
|- | |- | ||
| | ! Offset || Size || Description | ||
|- | |- | ||
| | | 0x0 || 0x4 || Hour | ||
|- | |- | ||
| | | 0x4 || 0x4 || Minute | ||
|} | |} | ||
= | = NotificationFlag = | ||
This is "nn::settings::system:: | This is "nn::settings::system::NotificationFlag". | ||
{| class="wikitable" border="1" | {| class="wikitable" border="1" | ||
! Bits | |||
! | |||
! Description | ! Description | ||
|- | |- | ||
| 0 || | | 0 || RingtoneFlag | ||
|- | |- | ||
| 1 || | | 1 || DownloadCompletionFlag | ||
|- | |- | ||
| | | 8 || EnablesNews | ||
|- | |- | ||
| | | 9 || IncomingLampFlag | ||
|} | |} | ||
= | = NotificationSettings = | ||
This is "nn::settings::system:: | This is "nn::settings::system::NotificationSettings". | ||
{| class="wikitable" border="1" | {| class="wikitable" border="1" | ||
Line 1,771: | Line 1,801: | ||
! Offset || Size || Description | ! Offset || Size || Description | ||
|- | |- | ||
| 0x0 || 0x4 || | | 0x0 || 0x4 || [[#NotificationFlag|Flags]] | ||
|- | |- | ||
| 0x4 || 0x4 || [[# | | 0x4 || 0x4 || [[#NotificationVolume|Volume]] | ||
|- | |- | ||
| 0x8 || | | 0x8 || 0x8 || [[#NotificationTime|HeadTime]] | ||
|- | |- | ||
| 0x10 || 0x8 || [[#NotificationTime|TailTime]] | |||
| 0x10 || 0x8 || [[ | |||
|} | |} | ||
= | = AccountNotificationFlag = | ||
This is "nn::settings::system:: | This is "nn::settings::system::AccountNotificationFlag". | ||
{| class="wikitable" border="1" | {| class="wikitable" border="1" | ||
! Bits | |||
! Description | |||
|- | |- | ||
| 0 || FriendOnlineFlag | |||
|- | |- | ||
| | | 1 || FriendRequestFlag | ||
|- | |- | ||
| | | 8 || CoralInvitationFlag | ||
|} | |||
= AccountNotificationSettings = | |||
This is "nn::settings::system::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:: | This is "nn::settings::system::TvFlag". | ||
{| class="wikitable" border="1" | {| 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 || | | 0x10 || 0x4 || [[#CmuMode|CmuMode]] | ||
|- | |||
| 0x14 || 0x4 || TvUnderscan | |||
|- | |- | ||
| | | 0x18 || 0x4 || TvGamma | ||
|- | |- | ||
| | | 0x1C || 0x4 || ContrastRatio | ||
|} | |} | ||
= | = DataDeletionFlag = | ||
This is "nn::settings::system:: | This is "nn::settings::system::DataDeletionFlag". | ||
{| class="wikitable" border="1" | {| class="wikitable" border="1" | ||
! Bits | |||
! Description | |||
|- | |- | ||
| 0 || AutomaticDeletionFlag | |||
|} | |} | ||
= | = DataDeletionSettings = | ||
This is "nn::settings::system:: | This is "nn::settings::system::DataDeletionSettings". | ||
{| class="wikitable" border="1" | {| class="wikitable" border="1" | ||
Line 1,863: | Line 1,899: | ||
! Offset || Size || Description | ! Offset || Size || Description | ||
|- | |- | ||
| 0x0 || 0x4 || | | 0x0 || 0x4 || [[#DataDeletionFlag|Flags]] | ||
|- | |- | ||
| 0x4 || 0x4 || | | 0x4 || 0x4 || UseCount | ||
|} | |} | ||
= | = SleepFlag = | ||
This is "nn::settings::system:: | This is "nn::settings::system::SleepFlag". | ||
{| class="wikitable" border="1" | {| class="wikitable" border="1" | ||
Line 1,875: | Line 1,911: | ||
! Description | ! Description | ||
|- | |- | ||
| 0 || | | 0 || SleepsWhilePlayingMedia | ||
|- | |- | ||
| 1 || | | 1 || WakesAtPowerStateChange | ||
|} | |} | ||
= | = SleepSettings = | ||
This is "nn::settings::system:: | This is "nn::settings::system::SleepSettings". | ||
{| class="wikitable" border="1" | {| class="wikitable" border="1" | ||
Line 1,891: | Line 1,923: | ||
! Offset || Size || Description | ! Offset || Size || Description | ||
|- | |- | ||
| 0x0 || 0x4 || [[# | | 0x0 || 0x4 || [[#SleepFlag|Flags]] | ||
|- | |- | ||
| 0x4 || 0x4 || [[# | | 0x4 || 0x4 || [[#HandheldSleepPlan|HandheldSleepPlan]] | ||
|- | |- | ||
| 0x8 || | | 0x8 || 0x4 || [[#ConsoleSleepPlan|ConsoleSleepPlan]] | ||
|} | |} | ||
= | = InitialLaunchFlag = | ||
This is "nn::settings::system:: | This is "nn::settings::system::InitialLaunchFlag". | ||
{| class="wikitable" border="1" | {| class="wikitable" border="1" | ||
Line 1,907: | Line 1,937: | ||
! Description | ! Description | ||
|- | |- | ||
| 0 || | | 0 || InitialLaunchCompletionFlag | ||
|- | |- | ||
| | | 8 || InitialLaunchUserAdditionFlag | ||
|- | |- | ||
| | | 16 || InitialLaunchTimestampFlag | ||
|} | |} | ||
= | = InitialLaunchSettings = | ||
This is "nn::settings::system:: | This is "nn::settings::system::InitialLaunchSettings". This struct is 8-byte aligned. | ||
{| class="wikitable" border="1" | {| class="wikitable" border="1" | ||
Line 1,921: | Line 1,951: | ||
! Offset || Size || Description | ! Offset || Size || Description | ||
|- | |- | ||
| 0x0 || | | 0x0 || 0x4 || [[#InitialLaunchFlag|Flags]] | ||
|- | |- | ||
| | | 0x4 || 0x4 || Reserved | ||
|- | |- | ||
| | | 0x8 || 0x18 || [[Glue_services#SteadyClockTimePoint|TimeStamp]] | ||
|} | |} | ||
= | = RebootlessSystemUpdateVersion = | ||
This is "nn::settings::system:: | This is "nn::settings::system::RebootlessSystemUpdateVersion". This struct is 4-byte aligned. | ||
This is the content of the RebootlessSystemUpdateVersion SystemData, in the "/version" file. | |||
{| class="wikitable" border="1" | {| class="wikitable" border="1" | ||
|- | |- | ||
| | ! Offset || Size || Description | ||
|- | |- | ||
| | | 0x0 || 0x4 || Version | ||
|- | |- | ||
| | | 0x4 || 0x1C || Reserved | ||
|- | |- | ||
| | | 0x20 || 0x20 || DisplayVersion | ||
|} | |} | ||
= | = PrimaryAlbumStorage = | ||
This is "nn::settings::system:: | This is "nn::settings::system::PrimaryAlbumStorage". | ||
{| class="wikitable" border="1" | {| class="wikitable" border="1" | ||
|- | |- | ||
! | ! Value | ||
! Description | |||
|- | |- | ||
| | | 0 || Nand | ||
|- | |- | ||
| | | 1 || SdCard | ||
|} | |||
= ErrorReportSharePermission = | |||
This is "nn::settings::system::ErrorReportSharePermission". | |||
{| class="wikitable" border="1" | |||
|- | |- | ||
! Value | |||
! Description | |||
|- | |- | ||
| | | 0 || NotConfirmed | ||
|- | |- | ||
| | | 1 || Granted | ||
|- | |- | ||
| | | 2 || Denied | ||
|} | |} | ||
= | = ServiceDiscoveryControlSettings = | ||
This is "nn::settings::system:: | This is "nn::settings::system::ServiceDiscoveryControlSettings". | ||
{| class="wikitable" border="1" | {| class="wikitable" border="1" | ||
Line 1,979: | Line 2,009: | ||
! Description | ! Description | ||
|- | |- | ||
| 0 | | | 0 | ||
| IsChangeEnvironmentIdentifierDisabled | |||
|} | |} | ||
= | = AppletLaunchFlag = | ||
This is "nn::settings::system:: | This is "nn::settings::system::AppletLaunchFlag". This is an u32 bitmask. | ||
= KeyboardLayout = | |||
This is "nn::settings::KeyboardLayout". | |||
{| class="wikitable" border="1" | {| class="wikitable" border="1" | ||
|- | |- | ||
! | ! Value | ||
! Description | |||
|- | |||
| 1 || EnglishUs | |||
|- | |- | ||
| | | 2 || EnglishUsInternational | ||
|- | |- | ||
| | | 3 || EnglishUk | ||
| | |- | ||
| 4 || French | |||
|- | |||
| 5 || FrenchCa | |||
|- | |- | ||
| | | 6 || Spanish | ||
|- | |- | ||
| | | 7 || SpanishLatin | ||
|- | |- | ||
| 8 || German | |||
|- | |- | ||
| | | 9 || Italian | ||
|- | |- | ||
| | | 10 || Portuguese | ||
|- | |- | ||
| | | 11 || Russian | ||
|- | |- | ||
| | | 12 || Korean | ||
|- | |- | ||
| | | 13 || ChineseSimplified | ||
|- | |- | ||
| | | 14 || ChineseTraditional | ||
|} | |} | ||
= | = ChineseTraditionalInputMethod = | ||
This is "nn::settings:: | This is "nn::settings::ChineseTraditionalInputMethod". | ||
{| class="wikitable" border="1" | {| class="wikitable" border="1" | ||
|- | |- | ||
! | ! Value | ||
! Description | |||
|- | |- | ||
| | | 1 || | ||
|- | |- | ||
| | | 2 || | ||
|} | |} | ||
= | = HomeMenuScheme = | ||
This is "nn::settings::system:: | This is "nn::settings::system::HomeMenuScheme". | ||
{| class="wikitable" border="1" | {| class="wikitable" border="1" | ||
Line 2,057: | Line 2,073: | ||
! Offset || Size || Description | ! Offset || Size || Description | ||
|- | |- | ||
| 0x0 || 0x4 || | | 0x0 || 0x4 || MainColor | ||
|- | |||
| 0x4 || 0x4 || BackColor | |||
|- | |||
| 0x8 || 0x4 || SubColor | |||
|- | |- | ||
| | | 0xC || 0x4 || Reserved | ||
|- | |- | ||
| | | 0x10 || 0x4 || BezelColor | ||
|} | |} | ||
= | = TouchScreenMode = | ||
This is "nn::settings::system:: | This is "nn::settings::system::TouchScreenMode". | ||
{| class="wikitable" border="1" | {| class="wikitable" border="1" | ||
Line 2,072: | Line 2,092: | ||
! Description | ! Description | ||
|- | |- | ||
| 0 || | | 0 || Stylus | ||
|- | |- | ||
| 1 || | | 1 || Standard | ||
|} | |} | ||
= | = ButtonConfigSettings = | ||
This is "nn::settings::system:: | This is "nn::settings::system::ButtonConfigSettings". This is a 0x5A8-byte struct. | ||
{| class="wikitable" border="1" | {| class="wikitable" border="1" | ||
|- | |- | ||
! | ! Offset || Size || Description | ||
|- | |||
| 0x0 || 0x1 || IsFull bool flag. 0 = empty config, 1 = config set. Also accessed as an u32, but only bit0 is used. | |||
|- | |- | ||
| | | 0x1 || 0x3 || Padding | ||
|- | |- | ||
| | | 0x4 || 0x1C4 || Unused | ||
|- | |- | ||
| | | 0x1C8 || 0x3E0 || Config | ||
|} | |} | ||
= | = ButtonConfigRegisteredSettings = | ||
This is "nn::settings::system:: | 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. | |||
This is "nn::settings::system:: | |||
{| class="wikitable" border="1" | {| class="wikitable" border="1" | ||
|- | |- | ||
! | ! Offset || Size || Description | ||
|- | |- | ||
| | | 0x0 || 0x6 || [[BTM_services#BdAddress|BdAddr]] | ||
|- | |- | ||
| | | 0x6 || 0x20 || [13.0.0+] Reserved ([1.0.0-12.1.0] [[BTM_services#BdName|DeviceName]]) | ||
|- | |- | ||
| | | 0x26 || 0x3 || [[BTM_services#ClassOfDevice|ClassOfDevice]] | ||
|- | |- | ||
| | | 0x29 || 0x10 || LinkKey | ||
|- | |- | ||
| | | 0x39 || 0x1 || LinkKeyPresent | ||
|- | |- | ||
| | | 0x3A || 0x2 || Version | ||
|- | |- | ||
| | | 0x3C || 0x4 || TrustedServices | ||
|- | |||
| 0x40 || 0x2 || Vid | |||
|- | |- | ||
| | | 0x42 || 0x2 || Pid | ||
|- | |- | ||
| | | 0x44 || 0x1 || SubClass | ||
|- | |- | ||
| | | 0x45 || 0x1 || AttributeMask | ||
|- | |- | ||
| | | 0x46 || 0x2 || DescriptorLength | ||
|- | |- | ||
| | | 0x48 || 0x80 || Descriptor | ||
|- | |- | ||
| | | 0xC8 || 0x1 || KeyType | ||
|- | |- | ||
| | | 0xC9 || 0x1 || DeviceType | ||
| | |||
|- | |- | ||
| 0xCA || 0x2 || BrrSize | |||
|- | |- | ||
| | | 0xCC || 0x9 || Brr | ||
|- | |- | ||
| | | 0xD5 || 0x1 || [13.0.0+] AudioSourceVolume | ||
|- | |- | ||
| | | 0xD6 || 0xF9 || [13.0.0+] DeviceName | ||
|- | |- | ||
| | | 0x1CF || 0x1 || [15.0.0+] AudioSinkVolume | ||
|- | |- | ||
| 0x1D0 || 0x4 || [14.0.0+] AudioFlags | |||
|- | |- | ||
| | | 0x1D4 || 0x2C || Reserved | ||
|} | |} | ||