Changes

8,023 bytes added ,  23:10, 14 March 2018
Doc some NS services
Line 257: Line 257:  
| 1802 ||
 
| 1802 ||
 
|}
 
|}
 +
 +
= ns:am2 =
 +
{| class="wikitable" border="1"
 +
|-
 +
| 0 || ListApplicationRecord
 +
|-
 +
| 1 || GenerateApplicationRecordCount
 +
|-
 +
| 2 || GetApplicationRecordUpdateSystemEvent
 +
|-
 +
| 3 || GetApplicationViewDeprecated
 +
|-
 +
| 4 || DeleteApplicationEntity
 +
|-
 +
| 5 || DeleteApplicationCompletely
 +
|-
 +
| 6 || IsAnyApplicationEntityRedundant
 +
|-
 +
| 7 || DeleteRedundantApplicationEntity
 +
|-
 +
| 8 || IsApplicationEntityMovable
 +
|-
 +
| 9 || MoveApplicationEntity
 +
|-
 +
| 11 || CalculateApplicationOccupiedSize
 +
|-
 +
| 16 || PushApplicationRecord
 +
|-
 +
| 17 || ListApplicationRecordContentMeta
 +
|-
 +
| 19 || LaunchApplication
 +
|-
 +
| 21 || GetApplicationContentPath
 +
|-
 +
| 22 || TerminateApplication
 +
|-
 +
| 23 || ResolveApplicationContentPath
 +
|-
 +
| 26 || BeginInstallApplication
 +
|-
 +
| 27 || DeleteApplicationRecord
 +
|-
 +
| 30 || RequestApplicationUpdateInfo
 +
|-
 +
| 32 || CancelApplicationDownload
 +
|-
 +
| 33 || ResumeApplicationDownload
 +
|-
 +
| 35 || UpdateVersionList
 +
|-
 +
| 36 || PushLaunchVersion
 +
|-
 +
| 37 || ListRequiredVersion
 +
|-
 +
| 38 || CheckApplicationLaunchVersion
 +
|-
 +
| 39 || CheckApplicationLaunchRights
 +
|-
 +
| 40 || GetApplicationLogoData
 +
|-
 +
| 41 || CalculateApplicationDownloadRequiredSize
 +
|-
 +
| 42 || CleanupSdCard
 +
|-
 +
| 43 || CheckSdCardMountStatus
 +
|-
 +
| 44 || GetSdCardMountStatusChangedEvent
 +
|-
 +
| 45 || GetGameCardAttachmentEvent
 +
|-
 +
| 46 || GetGameCardAttachmentInfo
 +
|-
 +
| 47 || GetTotalSpaceSize
 +
|-
 +
| 48 || GetFreeSpaceSize
 +
|-
 +
| 49 || GetSdCardRemovedEvent
 +
|-
 +
| 52 || GetGameCardUpdateDetectionEvent
 +
|-
 +
| 53 || DisableApplicationAutoDelete
 +
|-
 +
| 54 || EnableApplicationAutoDelete
 +
|-
 +
| 55 || GetApplicationDesiredLanguage
 +
|-
 +
| 56 || SetApplicationTerminateResult
 +
|-
 +
| 57 || ClearApplicationTerminateResult
 +
|-
 +
| 58 || GetLastSdCardMountUnexpectedResult
 +
|-
 +
| 59 || ConvertApplicationLanguageToLanguageCode
 +
|-
 +
| 60 || ConvertLanguageCodeToApplicationLanguage
 +
|-
 +
| 61 || GetBackgroundDownloadStressTaskInfo
 +
|-
 +
| 62 || GetGameCardStopper
 +
|-
 +
| 63 || IsSystemProgramInstalled
 +
|-
 +
| 64 || StartApplyDeltaTask
 +
|-
 +
| 65 || GetRequestServerStopper
 +
|-
 +
| 66 || GetBackgroundApplyDeltaStressTaskInfo
 +
|-
 +
| 67 || CancelApplicationApplyDelta
 +
|-
 +
| 68 || ResumeApplicationApplyDelta
 +
|-
 +
| 69 || CalculateApplicationApplyDeltaRequiredSize
 +
|-
 +
| 70 || ResumeAll
 +
|-
 +
| 71 || GetStorageSize
 +
|-
 +
| 80 || RequestDownloadApplication
 +
|-
 +
| 81 || RequestDownloadAddOnContent
 +
|-
 +
| 82 || DownloadApplication
 +
|-
 +
| 83 || CheckApplicationResumeRights
 +
|-
 +
| 84 || GetDynamicCommitEvent
 +
|-
 +
| 85 || RequestUpdateApplication2
 +
|-
 +
| 86 || EnableApplicationCrashReport
 +
|-
 +
| 87 || IsApplicationCrashReportEnabled
 +
|-
 +
| 90 || BoostSystemMemoryResourceLimit
 +
|-
 +
| 100 || ResetToFactorySettings
 +
|-
 +
| 101 || ResetToFactorySettingsWithoutUserSaveData
 +
|-
 +
| 102 || ResetToFactorySettingsForRefurbishment
 +
|-
 +
| 200 || CalculateUserSaveDataStatistics
 +
|-
 +
| 201 || DeleteUserSaveDataAll
 +
|-
 +
| 210 || DeleteUserSystemSaveData
 +
|-
 +
| 220 || UnregisterNetworkServiceAccount
 +
|-
 +
| 300 || GetApplicationShellEvent
 +
|-
 +
| 301 || PopApplicationShellEventInfo
 +
|-
 +
| 302 || LaunchLibraryApplet
 +
|-
 +
| 303 || TerminateLibraryApplet
 +
|-
 +
| 304 || LaunchSystemApplet
 +
|-
 +
| 305 || TerminateSystemApplet
 +
|-
 +
| 306 || LaunchOverlayApplet
 +
|-
 +
| 307 || TerminateOverlayApplet
 +
|-
 +
| 400 || GetApplicationControlData
 +
|-
 +
| 401 || InvalidateAllApplicationControlCache
 +
|-
 +
| 402 || RequestDownloadApplicationControlData
 +
|-
 +
| 403 || GetMaxApplicationControlCacheCount
 +
|-
 +
| 404 || InvalidateApplicationControlCache
 +
|-
 +
| 405 || ListApplicationControlCacheEntryInfo
 +
|-
 +
| 502 || RequestCheckGameCardRegistration
 +
|-
 +
| 503 || RequestGameCardRegistrationGoldPoint
 +
|-
 +
| 504 || RequestRegisterGameCard
 +
|-
 +
| 505 || GetGameCardMountFailureEvent
 +
|-
 +
| 506 || IsGameCardInserted
 +
|-
 +
| 507 || EnsureGameCardAccess
 +
|-
 +
| 508 || GetLastGameCardMountFailureResult
 +
|-
 +
| 509 || ListApplicationIdOnGameCard
 +
|-
 +
| 600 || CountApplicationContentMeta
 +
|-
 +
| 601 || ListApplicationContentMetaStatus
 +
|-
 +
| 602 || ListAvailableAddOnContent
 +
|-
 +
| 603 || GetOwnedApplicationContentMetaStatus
 +
|-
 +
| 604 || RegisterContentsExternalKey
 +
|-
 +
| 605 || ListApplicationContentMetaStatusWithRightsCheck
 +
|-
 +
| 606 || GetContentMetaStorage
 +
|-
 +
| 700 || PushDownloadTaskList
 +
|-
 +
| 701 || ClearTaskStatusList
 +
|-
 +
| 702 || RequestDownloadTaskList
 +
|-
 +
| 703 || RequestEnsureDownloadTask
 +
|-
 +
| 704 || ListDownloadTaskStatus
 +
|-
 +
| 705 || RequestDownloadTaskListData
 +
|-
 +
| 800 || RequestVersionList
 +
|-
 +
| 801 || ListVersionList
 +
|-
 +
| 802 || RequestVersionListData
 +
|-
 +
| 900 || GetApplicationRecord
 +
|-
 +
| 901 || GetApplicationRecordProperty
 +
|-
 +
| 902 || EnableApplicationAutoUpdate
 +
|-
 +
| 903 || DisableApplicationAutoUpdate
 +
|-
 +
| 904 || TouchApplication
 +
|-
 +
| 905 || RequestApplicationUpdate
 +
|-
 +
| 906 || IsApplicationUpdateRequested
 +
|-
 +
| 907 || WithdrawApplicationUpdateRequest
 +
|-
 +
| 908 || ListApplicationRecordInstalledContentMeta
 +
|-
 +
| 909 || WithdrawCleanupAddOnContentsWithNoRightsRecommendation
 +
|-
 +
| 1000 || RequestVerifyApplicationDeprecated
 +
|-
 +
| 1001 || CorruptApplicationForDebug
 +
|-
 +
| 1002 || RequestVerifyAddOnContentsRights
 +
|-
 +
| 1003 || RequestVerifyApplication
 +
|-
 +
| 1004 || CorruptContentForDebug
 +
|-
 +
| 1200 || NeedsUpdateVulnerability
 +
|-
 +
| 1300 || IsAnyApplicationEntityInstalled
 +
|-
 +
| 1301 || DeleteApplicationContentEntities
 +
|-
 +
| 1302 || CleanupUnrecordedApplicationEntity
 +
|-
 +
| 1303 || CleanupAddOnContentsWithNoRights
 +
|-
 +
| 1304 || DeleteApplicationContentEntity
 +
|-
 +
| 1305 || TryDeleteRunningApplicationEntity
 +
|-
 +
| 1306 || TryDeleteRunningApplicationCompletely
 +
|-
 +
| 1307 || TryDeleteRunningApplicationContentEntities
 +
|-
 +
| 1400 || PrepareShutdown
 +
|-
 +
| 1500 || FormatSdCard
 +
|-
 +
| 1501 || NeedsSystemUpdateToFormatSdCard
 +
|-
 +
| 1502 || GetLastSdCardFormatUnexpectedResult
 +
|-
 +
| 1504 || InsertSdCard
 +
|-
 +
| 1505 || RemoveSdCard
 +
|-
 +
| 1600 || GetSystemSeedForPseudoDeviceId
 +
|-
 +
| 1601 || ResetSystemSeedForPseudoDeviceId
 +
|-
 +
| 1700 || ListApplicationDownloadingContentMeta
 +
|-
 +
| 1701 || GetApplicationView
 +
|-
 +
| 1702 || GetApplicationDownloadTaskStatus
 +
|-
 +
| 1703 || GetApplicationViewDownloadErrorContext
 +
|-
 +
| 1800 || IsNotificationSetupCompleted
 +
|-
 +
| 1801 || GetLastNotificationInfoCount
 +
|-
 +
| 1802 || ListLastNotificationInfo
 +
|-
 +
| 1803 || ListNotificationTask
 +
|-
 +
| 1900 || IsActiveAccount
 +
|-
 +
| 1901 || RequestDownloadApplicationPrepurchasedRights
 +
|-
 +
| 1902 || GetApplicationTicketInfo
 +
|-
 +
| 2000 || GetSystemDeliveryInfo
 +
|-
 +
| 2001 || SelectLatestSystemDeliveryInfo
 +
|-
 +
| 2002 || VerifyDeliveryProtocolVersion
 +
|-
 +
| 2003 || GetApplicationDeliveryInfo
 +
|-
 +
| 2004 || HasAllContentsToDeliver
 +
|-
 +
| 2005 || CompareApplicationDeliveryInfo
 +
|-
 +
| 2006 || CanDeliverApplication
 +
|-
 +
| 2007 || ListContentMetaKeyToDeliverApplication
 +
|-
 +
| 2008 || NeedsSystemUpdateToDeliverApplication
 +
|-
 +
| 2009 || EstimateRequiredSize
 +
|-
 +
| 2010 || RequestReceiveApplication
 +
|-
 +
| 2011 || CommitReceiveApplication
 +
|-
 +
| 2012 || GetReceiveApplicationProgress
 +
|-
 +
| 2013 || RequestSendApplication
 +
|-
 +
| 2014 || GetSendApplicationProgress
 +
|-
 +
| 2015 || CompareSystemDeliveryInfo
 +
|-
 +
| 2016 || ListNotCommittedContentMeta
 +
|-
 +
| 2017 || CreateDownloadTask
 +
|-
 +
|}
 +
 +
= ns:vm =
 +
{| class="wikitable" border="1"
 +
|-
 +
| 1200 || NeedsUpdateVulnerability
 +
|-
 +
| 1201 || UpdateSafeSystemVersionForDebug
 +
|-
 +
| 1202 || GetSafeSystemVersion
 +
|-
 +
|}
 +
    
== GetTitlePatchContentNcaPath ==
 
== GetTitlePatchContentNcaPath ==
Line 331: Line 692:  
! Cmd || Name
 
! Cmd || Name
 
|-
 
|-
| 0 || IsSystemUpdateAvailable (?)
+
| 0 || GetBackgroundNetworkUpdateState
 +
|-
 +
| 1 || [[#ISystemUpdateControl|OpenSystemUpdateControl]]
 +
|-
 +
| 2 || NotifyExFatDriverRequired
 +
|-
 +
| 3 || ClearExFatDriverStatusForDebug
 +
|-
 +
| 4 || RequestBackgroundNetworkUpdate
 +
|-
 +
| 5 || NotifyBackgroundNetworkUpdate
 +
|-
 +
| 6 || NotifyExFatDriverDownloadedForDebug
 +
|-
 +
| 9 || GetSystemUpdateNotificationEventForContentDelivery
 +
|-
 +
| 10 || NotifySystemUpdateForContentDelivery
 +
|-
 +
| 11 || PrepareShutdown
 +
|-
 +
| 16 || DestroySystemUpdateTask
 +
|-
 +
| 17 || RequestSendSystemUpdate
 +
|-
 +
| 18 || GetSendSystemUpdateProgress
 +
|-
 +
|}
 +
 
 +
== ISystemUpdateControl ==
 +
 
 +
{| class="wikitable" border="1"
 +
|-
 +
! Cmd || Name
 +
|-
 +
| 0 || HasDownloaded
 +
|-
 +
| 1 || RequestCheckLatestUpdate
 +
|-
 +
| 2 || RequestDownloadLatestUpdate
 +
|-
 +
| 3 || GetDownloadProgress
 +
|-
 +
| 4 || ApplyDownloadedUpdate
 +
|-
 +
| 5 || RequestPrepareCardUpdate
 +
|-
 +
| 6 || GetPrepareCardUpdateProgress
 +
|-
 +
| 7 || HasPreparedCardUpdate
 +
|-
 +
| 8 || ApplyCardUpdate
 
|-
 
|-
| 1 || LatestSystemUpdateAsync
+
| 9 || GetDownloadedEulaDataSize
 
|-
 
|-
| 2 || DownloadLatestSystemUpdateAsync
+
| 10 || GetDownloadedEulaData
 
|-
 
|-
| 3 || GetNimCmd1Result
+
| 11 || SetupCardUpdate
 
|-
 
|-
| 4 ||  
+
| 12 || GetPreparedCardUpdateEulaDataSize
 
|-
 
|-
| 5 || PrepareCardUpdateAsync
+
| 13 || GetPreparedCardUpdateEulaData
 
|-
 
|-
| 6 ||
+
| 14 || SetupCardUpdateViaSystemUpdater
 
|-
 
|-
| 7 ||
+
| 15 || HasReceived
 
|-
 
|-
| 8 ||
+
| 16 || RequestReceiveSystemUpdate
 
|-
 
|-
| 9 || GetEulaDataFileSizeIfNecessary
+
| 17 || GetReceiveProgress
 
|-
 
|-
| 10 || ReadEulaDataFileIfNecessary
+
| 18 || ApplyReceivedUpdate
 
|-
 
|-
| 11 || InstallUpdateFromGameCard (?)
+
| 19 || GetReceivedEulaDataSize
 
|-
 
|-
| 12 || GetEulaDataFileSize
+
| 20 || GetReceivedEulaData
 
|-
 
|-
| 13 || ReadEulaDataFile
+
| 21 || SetupToReceiveSystemUpdate
 
|-
 
|-
 
|}
 
|}