Changes

Jump to navigation Jump to search
5,326 bytes added ,  04:11, 4 December 2019
no edit summary
Line 324: Line 324:  
! Cmd || Name
 
! Cmd || Name
 
|-
 
|-
| 0 || SetLanguageCode
+
| 0 || [[#SetLanguageCode]]
 
|-
 
|-
 
| 1 || SetNetworkSettings
 
| 1 || SetNetworkSettings
Line 364: Line 364:  
| 20 || SetAudioVolume
 
| 20 || SetAudioVolume
 
|-
 
|-
| 21 || GetEulaVersions
+
| 21 || [[#GetEulaVersions]]
 
|-
 
|-
| 22 || SetEulaVersions
+
| 22 || [[#SetEulaVersions]]
 
|-
 
|-
 
| 23 || [[#GetColorSetId]]
 
| 23 || [[#GetColorSetId]]
Line 380: Line 380:  
| 28 || SetAutomaticApplicationDownloadFlag
 
| 28 || SetAutomaticApplicationDownloadFlag
 
|-
 
|-
| 29 || GetNotificationSettings
+
| 29 || [[#GetNotificationSettings]]
 
|-
 
|-
| 30 || SetNotificationSettings
+
| 30 || [[#SetNotificationSettings]]
 
|-
 
|-
| 31 || GetAccountNotificationSettings
+
| 31 || [[#GetAccountNotificationSettings]]
 
|-
 
|-
| 32 || SetAccountNotificationSettings
+
| 32 || [[#SetAccountNotificationSettings]]
 
|-
 
|-
 
| 35 || GetVibrationMasterVolume
 
| 35 || GetVibrationMasterVolume
Line 396: Line 396:  
| 38 || [[#GetSettingsItemValue]]
 
| 38 || [[#GetSettingsItemValue]]
 
|-
 
|-
| 39 || GetTvSettings
+
| 39 || [[#GetTvSettings]]
 
|-
 
|-
| 40 || SetTvSettings
+
| 40 || [[#SetTvSettings]]
 
|-
 
|-
 
| 41 || GetEdid
 
| 41 || GetEdid
Line 416: Line 416:  
| 48 || SetQuestFlag
 
| 48 || SetQuestFlag
 
|-
 
|-
| 49 || GetDataDeletionSettings
+
| 49 || [[#GetDataDeletionSettings]]
 
|-
 
|-
| 50 || SetDataDeletionSettings
+
| 50 || [[#SetDataDeletionSettings]]
 
|-
 
|-
 
| 51 || GetInitialSystemAppletProgramId
 
| 51 || GetInitialSystemAppletProgramId
Line 428: Line 428:  
| 54 || SetDeviceTimeZoneLocationName
 
| 54 || SetDeviceTimeZoneLocationName
 
|-
 
|-
| 55 || GetWirelessCertificationFileSize
+
| 55 || [[#GetWirelessCertificationFileSize]]
 
|-
 
|-
| 56 || [[Flash_Filesystem#PRODINFOF|GetWirelessCertificationFile]]
+
| 56 || [[#GetWirelessCertificationFile]]
 
|-
 
|-
| 57 || SetRegionCode
+
| 57 || [[#SetRegionCode]]
 
|-
 
|-
 
| 58 || GetNetworkSystemClockContext
 
| 58 || GetNetworkSystemClockContext
Line 444: Line 444:  
| 62 || [[#GetDebugModeFlag]]
 
| 62 || [[#GetDebugModeFlag]]
 
|-
 
|-
| 63 || GetPrimaryAlbumStorage
+
| 63 || [[#GetPrimaryAlbumStorage]]
 
|-
 
|-
| 64 || SetPrimaryAlbumStorage
+
| 64 || [[#SetPrimaryAlbumStorage]]
 
|-
 
|-
 
| 65 || GetUsb30EnableFlag
 
| 65 || GetUsb30EnableFlag
Line 452: Line 452:  
| 66 || SetUsb30EnableFlag
 
| 66 || SetUsb30EnableFlag
 
|-
 
|-
| 67 || GetBatteryLot
+
| 67 || [[#GetBatteryLot]]
 
|-
 
|-
 
| 68 || [[#GetSerialNumber]]
 
| 68 || [[#GetSerialNumber]]
Line 460: Line 460:  
| 70 || SetNfcEnableFlag
 
| 70 || SetNfcEnableFlag
 
|-
 
|-
| 71 || GetSleepSettings
+
| 71 || [[#GetSleepSettings]]
 
|-
 
|-
| 72 || SetSleepSettings
+
| 72 || [[#SetSleepSettings]]
 
|-
 
|-
 
| 73 || GetWirelessLanEnableFlag
 
| 73 || GetWirelessLanEnableFlag
Line 468: Line 468:  
| 74 || SetWirelessLanEnableFlag
 
| 74 || SetWirelessLanEnableFlag
 
|-
 
|-
| 75 || GetInitialLaunchSettings
+
| 75 || [[#GetInitialLaunchSettings]]
 
|-
 
|-
| 76 || SetInitialLaunchSettings
+
| 76 || [[#SetInitialLaunchSettings]]
 
|-
 
|-
 
| 77 || GetDeviceNickName
 
| 77 || GetDeviceNickName
Line 476: Line 476:  
| 78 || SetDeviceNickName
 
| 78 || SetDeviceNickName
 
|-
 
|-
| 79 || GetProductModel
+
| 79 || [[#GetProductModel]]
 
|-
 
|-
 
| 80 || GetLdnChannel
 
| 80 || GetLdnChannel
Line 498: Line 498:  
| 89 || SetBluetoothEnableFlag
 
| 89 || SetBluetoothEnableFlag
 
|-
 
|-
| 90 || GetMiiAuthorId
+
| 90 || [[#GetMiiAuthorId]]
 
|-
 
|-
 
| 91 || SetShutdownRtcValue
 
| 91 || SetShutdownRtcValue
Line 566: Line 566:  
| 123 || [4.0.0+] SetServiceDiscoveryControlSettings
 
| 123 || [4.0.0+] SetServiceDiscoveryControlSettings
 
|-
 
|-
| 124 || [4.0.0+] GetErrorReportSharePermission
+
| 124 || [4.0.0+] [[#GetErrorReportSharePermission]]
 
|-
 
|-
| 125 || [4.0.0+] SetErrorReportSharePermission
+
| 125 || [4.0.0+] [[#SetErrorReportSharePermission]]
 
|-
 
|-
| 126 || [4.0.0+] GetAppletLaunchFlags
+
| 126 || [4.0.0+] [[#GetAppletLaunchFlags]]
 
|-
 
|-
| 127 || [4.0.0+] SetAppletLaunchFlags
+
| 127 || [4.0.0+] [[#SetAppletLaunchFlags]]
 
|-
 
|-
 
| 128 || [4.0.0+] GetConsoleSixAxisSensorAccelerationBias
 
| 128 || [4.0.0+] GetConsoleSixAxisSensorAccelerationBias
Line 590: Line 590:  
| 135 || [4.0.0+] SetConsoleSixAxisSensorAngularVelocityGain
 
| 135 || [4.0.0+] SetConsoleSixAxisSensorAngularVelocityGain
 
|-
 
|-
| 136 || [4.0.0+] GetKeyboardLayout
+
| 136 || [4.0.0+] [[#GetKeyboardLayout]]
 
|-
 
|-
| 137 || [4.0.0+] SetKeyboardLayout
+
| 137 || [4.0.0+] [[#SetKeyboardLayout]]
 
|-
 
|-
 
| 138 || [4.0.0+] GetWebInspectorFlag
 
| 138 || [4.0.0+] GetWebInspectorFlag
Line 616: Line 616:  
| 148 || [5.0.0+] SetConsoleSixAxisSensorAngularAcceleration
 
| 148 || [5.0.0+] SetConsoleSixAxisSensorAngularAcceleration
 
|-
 
|-
| 149 || [5.0.0+] GetRebootlessSystemUpdateVersion
+
| 149 || [5.0.0+] [[#GetRebootlessSystemUpdateVersion]]
 
|-
 
|-
 
| 150 || [5.0.0+] GetDeviceTimeZoneLocationUpdatedTime
 
| 150 || [5.0.0+] GetDeviceTimeZoneLocationUpdatedTime
Line 658: Line 658:  
| 169 || [7.0.0+] SetThemeId
 
| 169 || [7.0.0+] SetThemeId
 
|-
 
|-
| 170 || [7.0.0+] GetChineseTraditionalInputMethod
+
| 170 || [7.0.0+] [[#GetChineseTraditionalInputMethod]]
 
|-
 
|-
| 171 || [7.0.0+] SetChineseTraditionalInputMethod
+
| 171 || [7.0.0+] [[#SetChineseTraditionalInputMethod]]
 
|-
 
|-
 
| 172 || [7.0.0+] GetPtmCycleCountReliability
 
| 172 || [7.0.0+] GetPtmCycleCountReliability
Line 697: Line 697:  
|}
 
|}
   −
Official user-processes get a new service session handle each time a set:sys cmd is used, with the session being closed aftewards.
+
Official user-processes gets a new service session handle each time a set:sys cmd is used, with the session being closed afterwards.
 +
 
 +
== SetLanguageCode ==
 +
Takes an input [[#LanguageCode]], no output.
    
== GetFirmwareVersion ==
 
== GetFirmwareVersion ==
Line 711: Line 714:  
== SetAccountSettings ==
 
== SetAccountSettings ==
 
Takes an input [[#AccountSettings]], no output.
 
Takes an input [[#AccountSettings]], no output.
 +
 +
== GetEulaVersions ==
 +
Takes a type-0x6 output buffer containing an array of [[#EulaVersion]], returns an output s32 total_out.
 +
 +
== SetEulaVersions ==
 +
Takes a type-0x5 input buffer containing an array of [[#EulaVersion]], no output.
    
== GetColorSetId ==
 
== GetColorSetId ==
Line 722: Line 731:  
== SetColorSetId ==
 
== SetColorSetId ==
 
Takes an input s32, no output.
 
Takes an input s32, no output.
 +
 +
== GetNotificationSettings ==
 +
No input, returns an output [[#NotificationSettings]].
 +
 +
== SetNotificationSettings ==
 +
Takes an input [[#NotificationSettings]], no output.
 +
 +
== GetAccountNotificationSettings ==
 +
Takes a type-0x6 output buffer containing an array of [[#AccountNotificationSettings]], returns an output s32 total_out.
 +
 +
== SetAccountNotificationSettings ==
 +
Takes a type-0x5 input buffer containing an array of [[#AccountNotificationSettings]], no output.
    
== GetSettingsItemValue ==
 
== GetSettingsItemValue ==
Line 729: Line 750:     
If loading from main config fails, it will also attempt to load config from various state if the input strings match hard-coded strings.
 
If loading from main config fails, it will also attempt to load config from various state if the input strings match hard-coded strings.
 +
 +
== GetTvSettings ==
 +
No input, returns an output [[#TvSettings]].
 +
 +
== SetTvSettings ==
 +
Takes an input [[#TvSettings]], no output.
    
== GetDebugModeFlag ==
 
== GetDebugModeFlag ==
Line 736: Line 763:     
Returned retval is always 0.
 
Returned retval is always 0.
 +
 +
== GetPrimaryAlbumStorage ==
 +
No input, returns an output s32 [[#PrimaryAlbumStorage]].
 +
 +
== SetPrimaryAlbumStorage ==
 +
Takes an input s32 [[#PrimaryAlbumStorage]], no output.
 +
 +
== GetBatteryLot ==
 +
No input, returns an output [[#BatteryLot]].
    
== GetSerialNumber ==
 
== GetSerialNumber ==
 
Returns the 0x18-byte SerialNumber string.
 
Returns the 0x18-byte SerialNumber string.
 +
 +
== GetSleepSettings ==
 +
No input, returns an output [[#SleepSettings]].
 +
 +
== SetSleepSettings ==
 +
Takes an input [[#SleepSettings]], no output.
 +
 +
== GetInitialLaunchSettings ==
 +
No input, returns an output [[#InitialLaunchSettings]].
 +
 +
== SetInitialLaunchSettings ==
 +
Takes an input [[#InitialLaunchSettings]], no output.
 +
 +
== GetProductModel ==
 +
No input, returns an output s32.
 +
 +
== GetMiiAuthorId ==
 +
No input, returns an output "nn::util::Uuid".
    
== GetServiceDiscoveryControlSettings ==
 
== GetServiceDiscoveryControlSettings ==
 
Returns an u32 [[#ServiceDiscoveryControlSettings|ServiceDiscoveryControlSettings]].
 
Returns an u32 [[#ServiceDiscoveryControlSettings|ServiceDiscoveryControlSettings]].
 +
 +
== GetErrorReportSharePermission ==
 +
No input, returns an output s32 [[#ErrorReportSharePermission]].
 +
 +
== SetErrorReportSharePermission ==
 +
Takes an input s32 [[#ErrorReportSharePermission]], no output.
 +
 +
== GetAppletLaunchFlags ==
 +
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 ==
 
== GetAllowedSslHosts ==
 
Takes a type-0x6 output buffer, returns an output s32. This buffer contains an array of 0x8-byte "nn::settings::system::AllowedSslHost" entries.
 
Takes a type-0x6 output buffer, returns an output s32. This buffer contains an array of 0x8-byte "nn::settings::system::AllowedSslHost" entries.
 +
 +
== GetRebootlessSystemUpdateVersion ==
 +
No input, returns an output [[#RebootlessSystemUpdateVersion]].
    
== GetQuestFlag ==
 
== 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.
 
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.
 +
 +
== GetDataDeletionSettings ==
 +
No input, returns an output [[#DataDeletionSettings]].
 +
 +
== SetDataDeletionSettings ==
 +
Takes an input [[#DataDeletionSettings]], no output.
 +
 +
== GetWirelessCertificationFileSize ==
 +
No input, returns an output u64 size.
 +
 +
== GetWirelessCertificationFile ==
 +
Takes a type-0x6 output buffer, returns an output u64 size.
 +
 +
This gets the [[Flash_Filesystem#PRODINFOF|WirelessCertificationFile]].
 +
 +
== SetRegionCode ==
 +
Takes an input s32 [[#RegionCode]], no output.
 +
 +
== GetChineseTraditionalInputMethod ==
 +
No input, returns an output s32 [[#ChineseTraditionalInputMethod]].
 +
 +
== SetChineseTraditionalInputMethod ==
 +
Takes an input s32 [[#ChineseTraditionalInputMethod]], no output.
    
== GetHomeMenuScheme ==
 
== GetHomeMenuScheme ==
Line 803: Line 901:  
| 31 || Unknown
 
| 31 || Unknown
 
|}
 
|}
 +
 +
== EulaVersion ==
 +
This is "nn::settings::system::EulaVersion".
 +
 +
{| class="wikitable" border="1"
 +
|-
 +
! Offset || Size || Description
 +
|-
 +
| 0x0 || 0x30 || ?
 +
|-
 +
|}
 +
 +
== NotificationSettings ==
 +
This is "nn::settings::system::NotificationSettings".
 +
 +
{| class="wikitable" border="1"
 +
|-
 +
! Offset || Size || Description
 +
|-
 +
| 0x0 || 0x4 || ?
 +
|-
 +
| 0x4 || 0x4 || ?
 +
|-
 +
| 0x8 || 0x4 || ?
 +
|-
 +
| 0xC || 0x4 || ?
 +
|-
 +
| 0x10 || 0x4 || ?
 +
|-
 +
| 0x14 || 0x4 || ?
 +
|-
 +
|}
 +
 +
== AccountNotificationSettings ==
 +
This is "nn::settings::system::AccountNotificationSettings".
 +
 +
{| class="wikitable" border="1"
 +
|-
 +
! Offset || Size || Description
 +
|-
 +
| 0x0 || 0x18 || ?
 +
|-
 +
|}
 +
 +
== TvSettings ==
 +
This is "nn::settings::system::TvSettings".
 +
 +
{| class="wikitable" border="1"
 +
|-
 +
| 0x0 || 0x4 || ?
 +
|-
 +
| 0x4 || 0x4 || ?
 +
|-
 +
| 0x8 || 0x4 || ?
 +
|-
 +
| 0xC || 0x4 || ?
 +
|-
 +
| 0x10 || 0x4 || ?
 +
|-
 +
| 0x14 || 0x4 || ?
 +
|-
 +
| 0x18 || 0x4 || ?
 +
|-
 +
| 0x1C || 0x4 || ?
 +
|-
 +
|}
 +
 +
== DataDeletionSettings ==
 +
This is "nn::settings::system::DataDeletionSettings".
 +
 +
{| class="wikitable" border="1"
 +
|-
 +
| 0x0 || 0x4 || ?
 +
|-
 +
| 0x4 || 0x4 || ?
 +
|-
 +
|}
 +
 +
== BatteryLot ==
 +
This is "nn::settings::BatteryLot".
 +
 +
{| class="wikitable" border="1"
 +
|-
 +
| 0x0 || 0x18 || ?
 +
|-
 +
|}
 +
 +
== SleepSettings ==
 +
This is "nn::settings::system::SleepSettings".
 +
 +
{| class="wikitable" border="1"
 +
|-
 +
| 0x0 || 0x4 || ?
 +
|-
 +
| 0x4 || 0x4 || ?
 +
|-
 +
| 0x8 || 0x4 || ?
 +
|-
 +
|}
 +
 +
== InitialLaunchSettings ==
 +
This is "nn::settings::system::InitialLaunchSettings". This struct is 8-byte aligned.
 +
 +
{| class="wikitable" border="1"
 +
|-
 +
! Offset || Size || Description
 +
|-
 +
| 0x0 || 0x20 || ?
 +
|-
 +
|}
 +
 +
== RebootlessSystemUpdateVersion ==
 +
This is "nn::settings::system::RebootlessSystemUpdateVersion". This struct is 4-byte aligned.
 +
 +
{| class="wikitable" border="1"
 +
|-
 +
! Offset || Size || Description
 +
|-
 +
| 0x0 || 0x40 || ?
 +
|-
 +
|}
 +
 +
== PrimaryAlbumStorage ==
 +
This is "nn::settings::system::PrimaryAlbumStorage".
 +
 +
No input, returns an output s32 [[#ErrorReportSharePermission]].
 +
 +
== ErrorReportSharePermission ==
 +
This is "nn::settings::system::ErrorReportSharePermission".
    
== ServiceDiscoveryControlSettings ==
 
== ServiceDiscoveryControlSettings ==
Line 814: Line 1,041:  
| IsChangeEnvironmentIdentifierDisabled
 
| IsChangeEnvironmentIdentifierDisabled
 
|}
 
|}
 +
 +
== AppletLaunchFlag ==
 +
This is "nn::settings::system::AppletLaunchFlag". This is an u32 bitmask.
 +
 +
== KeyboardLayout ==
 +
This is "nn::settings::KeyboardLayout".
 +
 +
== ChineseTraditionalInputMethod ==
 +
This is "nn::settings::ChineseTraditionalInputMethod".
    
== TouchScreenMode ==
 
== TouchScreenMode ==

Navigation menu