Settings services: Difference between revisions
No edit summary |
|||
(3 intermediate revisions by one other user not shown) | |||
Line 209: | Line 209: | ||
== 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 233: | ||
== 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 245: | ||
== 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 265: | ||
== 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 300: | ||
== 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 351: | ||
== GetConsoleSixAxisSensorMountType == | == GetConsoleSixAxisSensorMountType == | ||
No input. Returns a [[#ConsoleSixAxisSensorMountType]]. | No input. Returns a [[Calibration#ConsoleSixAxisSensorMountType|ConsoleSixAxisSensorMountType]]. | ||
= set:sys = | = set:sys = | ||
Line 1,182: | Line 1,182: | ||
= 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,272: | Line 1,254: | ||
= ConsoleSixAxisSensorHorizontalOffset = | = ConsoleSixAxisSensorHorizontalOffset = | ||
This is "nn::settings::factory::ConsoleSixAxisSensorHorizontalOffset". | 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" | ||
|- | |- | ||
! Offset || Size || Description | ! Offset || Size || Description | ||
|- | |- | ||
| 0x0 || | | 0x0 || 0x54 || Key | ||
|- | |- | ||
| | | 0x54 || 0x4 || KeyGeneration | ||
|- | |} | ||
= GameCardCertificate = | |||
This is "nn::settings::factory::GameCardCertificate". This is a 0x400-byte struct. | |||
= GameCardKey = | |||
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" | ||
|- | |- | ||
! | ! Offset || Size || Description | ||
|- | |||
| 0x0 || 0x130 || Key | |||
|- | |- | ||
| | | 0x130 || 0x4 || KeyGeneration | ||
|} | |} | ||
= | = GyroscopeOffset = | ||
This is "nn::settings::factory::GyroscopeOffset". | |||
{| class="wikitable" border="1" | {| class="wikitable" border="1" | ||
|- | |- | ||
! | ! Offset || Size || Description | ||
|- | |||
| 0x0 || 0x2 || X | |||
|- | |||
| 0x2 || 0x2 || Y | |||
|- | |- | ||
| | | 0x4 || 0x2 || Z | ||
|} | |} | ||
= | = GyroscopeScale = | ||
This is "nn::settings::factory:: | This is "nn::settings::factory::GyroscopeScale". | ||
{| class="wikitable" border="1" | {| class="wikitable" border="1" | ||
|- | |- | ||
! Offset || Size || Description | ! Offset || Size || Description | ||
|- | |- | ||
| 0x0 || | | 0x0 || 0x2 || X | ||
|- | |||
| 0x2 || 0x2 || Y | |||
|- | |- | ||
| | | 0x4 || 0x2 || Z | ||
|} | |} | ||
= | = MacAddress = | ||
This is "nn::settings::factory:: | 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:: | 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: | If [[Calibration#CAL0|Calibration Version]] >= 9, this is now: | ||
Line 1,333: | Line 1,333: | ||
! Offset || Size || Description | ! Offset || Size || Description | ||
|- | |- | ||
| 0x0 || | | 0x0 || 0x240 || Key | ||
|- | |- | ||
| | | 0x240 || 0x4 || KeyGeneration | ||
|} | |} | ||
= | = SerialNumber = | ||
This is "nn::settings::factory:: | 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]]. | |||
= SslCertificate = | |||
This is "nn::settings::factory::SslCertificate". This is a 0x804-byte struct. | |||
{| class="wikitable" border="1" | {| class="wikitable" border="1" | ||
Line 1,345: | Line 1,351: | ||
! Offset || Size || Description | ! Offset || Size || Description | ||
|- | |- | ||
| 0x0 || | | 0x0 || 0x4 || Size | ||
|- | |- | ||
| 0x4 || Variable || Data | |||
| 0x4 || | |||
|} | |} | ||
= | = SslKey = | ||
This is "nn::settings::factory:: | 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 || | | 0x0 || 0x130 || Key | ||
|- | |- | ||
| | | 0x130 || 0x4 || KeyGeneration | ||
| 0x4 || | |||
|} | |} | ||
= | = RegionCode = | ||
This is "nn::settings::factory:: | This is "nn::settings::factory::RegionCode". | ||
{| class="wikitable" border="1" | {| class="wikitable" border="1" | ||
|- | |- | ||
Line 1,375: | Line 1,377: | ||
! Description | ! Description | ||
|- | |- | ||
| 0 || | | 0 || Japan | ||
|- | |||
| 1 || Usa | |||
|- | |||
| 2 || Europe | |||
|- | |||
| 3 || Australia | |||
|- | |||
| 4 || China | |||
|- | |||
| 5 || Korea | |||
|- | |||
| 6 || Taiwan | |||
|} | |} | ||
= | = AudioOutputMode = | ||
This is "nn::settings:: | This is "nn::settings::system::AudioOutputMode". | ||
{| class="wikitable" border="1" | {| class="wikitable" border="1" | ||
|- | |- | ||
! | ! Value | ||
! Description | |||
|- | |- | ||
| | | 0 || 1ch | ||
|- | |- | ||
| | | 1 || 2ch | ||
|- | |||
| 2 || 5_1ch | |||
|- | |||
| 3 || 7_1ch | |||
|} | |} | ||
= | = AudioOutputModeTarget = | ||
This is "nn::settings:: | This is "nn::settings::system::AudioOutputModeTarget". | ||
{| class="wikitable" border="1" | {| class="wikitable" border="1" | ||
|- | |- | ||
! | ! Value | ||
! Description | |||
|- | |- | ||
| | | 0 || Hdmi | ||
|- | |- | ||
| | | 1 || Speaker | ||
|- | |- | ||
| | | 2 || Headphone | ||
|} | |||
= AudioVolumeTarget = | |||
This is "nn::settings::system::AudioVolumeTarget". | |||
{| class="wikitable" border="1" | |||
|- | |- | ||
! Value | |||
! Description | |||
|- | |- | ||
| | | 0 || Speaker | ||
|- | |- | ||
| | | 1 || Headphone | ||
|} | |||
| | |||
= DeviceNickName = | |||
This is "nn::settings::system::DeviceNickName". This is a 0x80-byte struct. | |||
= Edid = | |||
This is "nn::settings::system::Edid". | |||
{| class="wikitable" border="1" | |||
|- | |- | ||
| | ! 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" | |||
|- | |- | ||
! Value | |||
! Description | |||
|- | |- | ||
| | | 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]]. | |||
= ClockSourceId = | |||
This is "nn::settings::system::ClockSourceId". | |||
{| class="wikitable" border="1" | {| class="wikitable" border="1" | ||
|- | |- | ||
! | ! Value | ||
! Description | |||
|- | |- | ||
| | | 0 || NetworkSystemClock | ||
|- | |- | ||
| | | 1 || SteadyClock | ||
|} | |} | ||
= | = NotificationVolume = | ||
This is "nn::settings:: | This is "nn::settings::system::NotificationVolume". | ||
{| class="wikitable" border="1" | {| class="wikitable" border="1" | ||
Line 1,482: | Line 1,520: | ||
! Description | ! Description | ||
|- | |- | ||
| 0 || | | 0 || Mute | ||
|- | |- | ||
| 1 || | | 1 || Low | ||
|- | |- | ||
| 2 || | | 2 || High | ||
|} | |} | ||
= | = FriendPresenceOverlayPermission = | ||
This is "nn::settings::system::FriendPresenceOverlayPermission". | |||
{| class="wikitable" border="1" | {| class="wikitable" border="1" | ||
|- | |- | ||
Line 1,503: | Line 1,535: | ||
! Description | ! Description | ||
|- | |- | ||
| 0 || | | 0 || NotConfirmed | ||
|} | |- | ||
| 1 || NoDisplay | |||
= | |- | ||
This is "nn::settings::system:: | | 2 || FavoriteFriends | ||
|- | |||
| 3 || Friends | |||
|} | |||
= TvResolution = | |||
This is "nn::settings::system::TvResolution". | |||
{| class="wikitable" border="1" | {| class="wikitable" border="1" | ||
Line 1,514: | Line 1,552: | ||
! Description | ! Description | ||
|- | |- | ||
| 0 || | | 0 || Auto | ||
|- | |- | ||
| 1 || | | 1 || 1080p | ||
|- | |- | ||
| 2 || | | 2 || 720p | ||
|- | |- | ||
| 3 || | | 3 || 480p | ||
|} | |} | ||
= | = HdmiContentType = | ||
This is "nn::settings::system:: | This is "nn::settings::system::HdmiContentType". | ||
{| class="wikitable" border="1" | {| class="wikitable" border="1" | ||
Line 1,531: | Line 1,569: | ||
! Description | ! Description | ||
|- | |- | ||
| 0 || | | 0 || None | ||
|- | |- | ||
| 1 || | | 1 || Graphics | ||
|- | |- | ||
| 2 || | | 2 || Cinema | ||
|- | |||
| 3 || Photo | |||
|- | |||
| 4 || Game | |||
|} | |} | ||
= | = RgbRange = | ||
This is "nn::settings::system:: | This is "nn::settings::system::RgbRange". | ||
{| class="wikitable" border="1" | {| class="wikitable" border="1" | ||
Line 1,546: | Line 1,588: | ||
! Description | ! Description | ||
|- | |- | ||
| 0 || | | 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" | ||
|- | |- | ||
! | ! Value | ||
! Description | |||
|- | |||
| 0 || None | |||
|- | |- | ||
| | | 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,574: | Line 1,620: | ||
! Description | ! Description | ||
|- | |- | ||
| 0 || | | 0 || 1Min | ||
|- | |- | ||
| 1 || | | 1 || 3Min | ||
|- | |- | ||
| 2 || | | 2 || 5Min | ||
|- | |- | ||
| 3 || | | 3 || 10Min | ||
|- | |- | ||
| 4 || | | 4 || 30Min | ||
|- | |- | ||
| 5 || | | 5 || Never | ||
|} | |} | ||
= | = ConsoleSleepPlan = | ||
This is "nn::settings::system:: | This is "nn::settings::system::ConsoleSleepPlan". | ||
{| class="wikitable" border="1" | {| class="wikitable" border="1" | ||
! | |- | ||
! Value | |||
! Description | ! Description | ||
|- | |- | ||
| 0 || | | 0 || 1Hour | ||
|- | |- | ||
| | | 1 || 2Hour | ||
|- | |||
| 2 || 3Hour | |||
|- | |||
| 3 || 6Hour | |||
|- | |||
| 4 || 12Hour | |||
|- | |||
| 5 || Never | |||
|} | |} | ||
= | = EulaVersion = | ||
This is "nn::settings::system:: | This is "nn::settings::system::EulaVersion". | ||
{| class="wikitable" border="1" | {| class="wikitable" border="1" | ||
|- | |- | ||
! | ! Offset || Size || Description | ||
|- | |- | ||
| | | 0x0 || 0x4 || Version | ||
|- | |- | ||
| | | 0x4 || 0x4 || [[#RegionCode_2|RegionCode]] | ||
| | |||
|- | |- | ||
| 0x8 || 0x4 || [[#SteadyClockSourceId|ClockType]] | |||
|- | |- | ||
| | | 0xC || 0x4 || Reserved | ||
|- | |- | ||
| | | 0x10 || 0x8 || [[Glue_services#PosixTime|NetworkSystemClock]] | ||
|- | |- | ||
| | | 0x18 || 0x18 || [[Glue_services#SteadyClockTimePoint|SteadyClock]] | ||
|} | |} | ||
= | = FirmwareVersion = | ||
This is "nn::settings::system:: | This is "nn::settings::system::FirmwareVersion". | ||
{| class="wikitable" border="1" | {| class="wikitable" border="1" | ||
|- | |- | ||
! | ! Offset || Size || Description | ||
|- | |- | ||
| | | 0x0 || 0x1 || Major | ||
|- | |- | ||
| | | 0x1 || 0x1 || Minor | ||
|- | |- | ||
| | | 0x2 || 0x1 || Micro | ||
|- | |- | ||
| | | 0x3 || 0x1 || Reserved | ||
| | |||
|- | |- | ||
| 0x4 || 0x4 || ReleaseNumber | |||
|- | |- | ||
| | | 0x8 || 0x20 || Platform | ||
|- | |- | ||
| | | 0x28 || 0x40 || Revision | ||
|- | |- | ||
| | | 0x68 || 0x18 || DisplayVersion | ||
|- | |- | ||
| | | 0x80 || 0x80 || DisplayName | ||
|} | |} | ||
= | = PtmFuelGaugeParameter = | ||
This is "nn::settings::system:: | This is "nn::settings::system::PtmFuelGaugeParameter". | ||
{| class="wikitable" border="1" | {| class="wikitable" border="1" | ||
|- | |- | ||
! | ! 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:: | This is "nn::settings::system::NotificationTime". | ||
{| class="wikitable" border="1" | {| 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" | ||
|- | |- | ||
! | ! Offset || Size || Description | ||
|- | |- | ||
| | | 0x0 || 0x4 || [[#NotificationFlag|Flags]] | ||
|- | |- | ||
| | | 0x4 || 0x4 || [[#NotificationVolume|Volume]] | ||
|- | |- | ||
| | | 0x8 || 0x8 || [[#NotificationTime|HeadTime]] | ||
|- | |- | ||
| | | 0x10 || 0x8 || [[#NotificationTime|TailTime]] | ||
| | |||
| | |||
|} | |} | ||
= | = AccountNotificationFlag = | ||
This is "nn::settings::system:: | This is "nn::settings::system::AccountNotificationFlag". | ||
{| class="wikitable" border="1" | {| class="wikitable" border="1" | ||
! Bits | |||
! Description | |||
|- | |- | ||
| 0 || FriendOnlineFlag | |||
|- | |- | ||
| | | 1 || FriendRequestFlag | ||
|- | |- | ||
| | | 8 || CoralInvitationFlag | ||
|} | |} | ||
= | = AccountNotificationSettings = | ||
This is "nn::settings::system:: | This is "nn::settings::system::AccountNotificationSettings". | ||
{| class="wikitable" border="1" | {| class="wikitable" border="1" | ||
Line 1,791: | Line 1,811: | ||
! Offset || Size || Description | ! Offset || Size || Description | ||
|- | |- | ||
| 0x0 || | | 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:: | This is "nn::settings::system::TvSettings". | ||
{| class="wikitable" border="1" | {| class="wikitable" border="1" | ||
Line 1,817: | Line 1,845: | ||
! Offset || Size || Description | ! Offset || Size || Description | ||
|- | |- | ||
| 0x0 || | | 0x0 || 0x4 || [[#TvFlag|Flags]] | ||
|- | |- | ||
| | | 0x4 || 0x4 || [[#TvResolution|TvResolution]] | ||
|- | |- | ||
| 0x4 || | | 0x8 || 0x4 || [[#HdmiContentType|HdmiContentType]] | ||
|- | |- | ||
| | | 0xC || 0x4 || [[#RgbRange|RgbRange]] | ||
|- | |- | ||
| | | 0x10 || 0x4 || [[#CmuMode|CmuMode]] | ||
|- | |- | ||
| | | 0x14 || 0x4 || TvUnderscan | ||
|- | |- | ||
| | | 0x18 || 0x4 || TvGamma | ||
|- | |- | ||
| | | 0x1C || 0x4 || ContrastRatio | ||
|} | |} | ||
= | = DataDeletionFlag = | ||
This is "nn::settings::system:: | This is "nn::settings::system::DataDeletionFlag". | ||
{| class="wikitable" border="1" | {| class="wikitable" border="1" | ||
! Bits | |||
! Description | |||
|- | |- | ||
| 0 || AutomaticDeletionFlag | |||
|} | |||
= DataDeletionSettings = | |||
This is "nn::settings::system::DataDeletionSettings". | |||
|} | |||
= | |||
This is "nn::settings::system:: | |||
{| class="wikitable" border="1" | {| class="wikitable" border="1" | ||
Line 1,863: | Line 1,879: | ||
! 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,891: | ||
! 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,903: | ||
! 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,917: | ||
! 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,931: | ||
! 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 1,989: | ||
! 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 | ! Description | ||
|- | |- | ||
| | | 1 || | ||
|- | |- | ||
| | | 2 || | ||
|} | |} | ||
= | = TouchScreenMode = | ||
This is "nn::settings::system:: | This is "nn::settings::system::TouchScreenMode". | ||
{| class="wikitable" border="1" | {| class="wikitable" border="1" | ||
Line 2,151: | Line 2,054: | ||
! Description | ! Description | ||
|- | |- | ||
| | | 0 || Stylus | ||
|- | |- | ||
| | | 1 || Standard | ||
|} | |} | ||
= ButtonConfigSettings = | = ButtonConfigSettings = |