Changes

Jump to navigation Jump to search
5,326 bytes added ,  04:11, 4 December 2019
no edit summary
! Cmd || Name
|-
| 0 || [[#SetLanguageCode]]
|-
| 1 || SetNetworkSettings
| 20 || SetAudioVolume
|-
| 21 || [[#GetEulaVersions]]
|-
| 22 || [[#SetEulaVersions]]
|-
| 23 || [[#GetColorSetId]]
| 28 || SetAutomaticApplicationDownloadFlag
|-
| 29 || [[#GetNotificationSettings]]
|-
| 30 || [[#SetNotificationSettings]]
|-
| 31 || [[#GetAccountNotificationSettings]]
|-
| 32 || [[#SetAccountNotificationSettings]]
|-
| 35 || GetVibrationMasterVolume
| 38 || [[#GetSettingsItemValue]]
|-
| 39 || [[#GetTvSettings]]
|-
| 40 || [[#SetTvSettings]]
|-
| 41 || GetEdid
| 48 || SetQuestFlag
|-
| 49 || [[#GetDataDeletionSettings]]
|-
| 50 || [[#SetDataDeletionSettings]]
|-
| 51 || GetInitialSystemAppletProgramId
| 54 || SetDeviceTimeZoneLocationName
|-
| 55 || [[#GetWirelessCertificationFileSize]]
|-
| 56 || [[Flash_Filesystem#PRODINFOF|GetWirelessCertificationFile]]
|-
| 57 || [[#SetRegionCode]]
|-
| 58 || GetNetworkSystemClockContext
| 62 || [[#GetDebugModeFlag]]
|-
| 63 || [[#GetPrimaryAlbumStorage]]
|-
| 64 || [[#SetPrimaryAlbumStorage]]
|-
| 65 || GetUsb30EnableFlag
| 66 || SetUsb30EnableFlag
|-
| 67 || [[#GetBatteryLot]]
|-
| 68 || [[#GetSerialNumber]]
| 70 || SetNfcEnableFlag
|-
| 71 || [[#GetSleepSettings]]
|-
| 72 || [[#SetSleepSettings]]
|-
| 73 || GetWirelessLanEnableFlag
| 74 || SetWirelessLanEnableFlag
|-
| 75 || [[#GetInitialLaunchSettings]]
|-
| 76 || [[#SetInitialLaunchSettings]]
|-
| 77 || GetDeviceNickName
| 78 || SetDeviceNickName
|-
| 79 || [[#GetProductModel]]
|-
| 80 || GetLdnChannel
| 89 || SetBluetoothEnableFlag
|-
| 90 || [[#GetMiiAuthorId]]
|-
| 91 || SetShutdownRtcValue
| 123 || [4.0.0+] SetServiceDiscoveryControlSettings
|-
| 124 || [4.0.0+] [[#GetErrorReportSharePermission]]
|-
| 125 || [4.0.0+] [[#SetErrorReportSharePermission]]
|-
| 126 || [4.0.0+] [[#GetAppletLaunchFlags]]
|-
| 127 || [4.0.0+] [[#SetAppletLaunchFlags]]
|-
| 128 || [4.0.0+] GetConsoleSixAxisSensorAccelerationBias
| 135 || [4.0.0+] SetConsoleSixAxisSensorAngularVelocityGain
|-
| 136 || [4.0.0+] [[#GetKeyboardLayout]]
|-
| 137 || [4.0.0+] [[#SetKeyboardLayout]]
|-
| 138 || [4.0.0+] GetWebInspectorFlag
| 148 || [5.0.0+] SetConsoleSixAxisSensorAngularAcceleration
|-
| 149 || [5.0.0+] [[#GetRebootlessSystemUpdateVersion]]
|-
| 150 || [5.0.0+] GetDeviceTimeZoneLocationUpdatedTime
| 169 || [7.0.0+] SetThemeId
|-
| 170 || [7.0.0+] [[#GetChineseTraditionalInputMethod]]
|-
| 171 || [7.0.0+] [[#SetChineseTraditionalInputMethod]]
|-
| 172 || [7.0.0+] GetPtmCycleCountReliability
|}
Official user-processes get gets a new service session handle each time a set:sys cmd is used, with the session being closed aftewardsafterwards. == SetLanguageCode ==Takes an input [[#LanguageCode]], no output.
== GetFirmwareVersion ==
== SetAccountSettings ==
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 ==
== SetColorSetId ==
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 ==
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 ==
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 ==
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 ==
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 ==
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 ==
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 ==
| 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 ==
| 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 ==

Navigation menu