Difference between revisions of "NS services"
(Add full interface name (imported from SwIPC)) |
|||
Line 25: | Line 25: | ||
= ns:am = | = ns:am = | ||
+ | This is "nn::ns::detail::IApplicationManagerInterface". | ||
+ | |||
+ | [3.0.0+] This service was replaced by [[#ns:am2, ns:ec, ns:rid, ns:rt, ns:web|ns:am2]]. | ||
+ | |||
{| class="wikitable" border="1" | {| class="wikitable" border="1" | ||
|- | |- | ||
Line 31: | Line 35: | ||
| 0 || [[#ListApplicationRecord]] | | 0 || [[#ListApplicationRecord]] | ||
|- | |- | ||
− | | 1 || | + | | 1 || GenerateApplicationRecordCount |
|- | |- | ||
| 2 || GetApplicationRecordUpdateSystemEvent | | 2 || GetApplicationRecordUpdateSystemEvent | ||
|- | |- | ||
− | | 3 || | + | | 3 || GetApplicationViewDeprecated |
|- | |- | ||
− | | 4 || | + | | 4 || DeleteApplicationEntity |
|- | |- | ||
− | | 5 || | + | | 5 || DeleteApplicationCompletely |
|- | |- | ||
− | | 6 || | + | | 6 || IsAnyApplicationEntityRedundant |
|- | |- | ||
− | | 7 || | + | | 7 || DeleteRedundantApplicationEntity |
|- | |- | ||
| 8 || IsApplicationEntityMovable | | 8 || IsApplicationEntityMovable | ||
|- | |- | ||
− | | 9 || | + | | 9 || MoveApplicationEntity |
|- | |- | ||
− | | 11 || | + | | 11 || CalculateApplicationOccupiedSize |
|- | |- | ||
| 13 || | | 13 || | ||
|- | |- | ||
− | | 16 || | + | | 16 || PushApplicationRecord |
|- | |- | ||
− | | 17 || | + | | 17 || ListApplicationRecordContentMeta |
|- | |- | ||
− | | 19 || | + | | 19 || LaunchApplication |
|- | |- | ||
− | | 21 || [[# | + | | 21 || [[#GetApplicationContentPath]] |
|- | |- | ||
− | | 22 || | + | | 22 || TerminateApplication |
|- | |- | ||
− | | 23 || | + | | 23 || ResolveApplicationContentPath |
|- | |- | ||
| 25 || | | 25 || | ||
|- | |- | ||
− | | 27 || | + | | 27 || DeleteApplicationRecord |
|- | |- | ||
− | | 30 || | + | | 30 || RequestApplicationUpdateInfo |
|- | |- | ||
− | | 31 || | + | | 31 || |
|- | |- | ||
− | | 33 || | + | | 33 || ResumeApplicationDownload |
|- | |- | ||
− | | 35 || | + | | 35 || UpdateVersionList |
|- | |- | ||
− | | 36 || | + | | 36 || PushLaunchVersion |
|- | |- | ||
− | | 37 || | + | | 37 || ListRequiredVersion |
|- | |- | ||
− | | 38 || | + | | 38 || CheckApplicationLaunchVersion |
|- | |- | ||
− | | 39 || | + | | 39 || CheckApplicationLaunchRights |
|- | |- | ||
− | | 40 || | + | | 40 || GetApplicationLogoData |
|- | |- | ||
− | | 41 || | + | | 41 || CalculateApplicationDownloadRequiredSize |
|- | |- | ||
− | | 42 || | + | | 42 || CleanupSdCard |
|- | |- | ||
− | | 43 || | + | | 43 || CheckSdCardMountStatus |
|- | |- | ||
| 44 || GetSdCardMountStatusChangedEvent | | 44 || GetSdCardMountStatusChangedEvent | ||
Line 99: | Line 103: | ||
| 46 || GetGameCardAttachmentInfo | | 46 || GetGameCardAttachmentInfo | ||
|- | |- | ||
− | | 47 || [[# | + | | 47 || [[#GetTotalSpaceSize]] |
|- | |- | ||
− | | 48 || [[# | + | | 48 || [[#GetFreeSpaceSize]] |
|- | |- | ||
| 49 || GetSdCardRemovedEvent | | 49 || GetSdCardRemovedEvent | ||
Line 107: | Line 111: | ||
| 52 || GetGameCardUpdateDetectionEvent | | 52 || GetGameCardUpdateDetectionEvent | ||
|- | |- | ||
− | | 53 || | + | | 53 || DisableApplicationAutoDelete |
|- | |- | ||
− | | 54 || | + | | 54 || EnableApplicationAutoDelete |
|- | |- | ||
| 55 || GetApplicationDesiredLanguage | | 55 || GetApplicationDesiredLanguage | ||
|- | |- | ||
− | | 56 || | + | | 56 || SetApplicationTerminateResult |
|- | |- | ||
− | | 57 || | + | | 57 || ClearApplicationTerminateResult |
|- | |- | ||
− | | 58 || | + | | 58 || GetLastSdCardMountUnexpectedResult |
|- | |- | ||
| 59 || ConvertApplicationLanguageToLanguageCode | | 59 || ConvertApplicationLanguageToLanguageCode | ||
|- | |- | ||
− | | 60 || [[# | + | | 60 || [[#ConvertLanguageCodeToApplicationLanguage]] |
|- | |- | ||
− | | 61 || | + | | 61 || GetBackgroundDownloadStressTaskInfo |
|- | |- | ||
− | | 62 || | + | | 62 || GetGameCardStopper |
|- | |- | ||
| 63 || IsSystemProgramInstalled | | 63 || IsSystemProgramInstalled | ||
|- | |- | ||
− | | 64 || | + | | 64 || StartApplyDeltaTask |
|- | |- | ||
− | | 65 || | + | | 65 || GetRequestServerStopper |
|- | |- | ||
| 100 || ResetToFactorySettings | | 100 || ResetToFactorySettings | ||
Line 137: | Line 141: | ||
| 101 || ResetToFactorySettingsWithoutUserSaveData | | 101 || ResetToFactorySettingsWithoutUserSaveData | ||
|- | |- | ||
− | | 102 || | + | | 102 || ResetToFactorySettingsForRefurbishment |
|- | |- | ||
− | | 200 || | + | | 200 || CalculateUserSaveDataStatistics |
|- | |- | ||
− | | 201 || | + | | 201 || DeleteUserSaveDataAll |
|- | |- | ||
− | | 210 || | + | | 210 || DeleteUserSystemSaveData |
|- | |- | ||
− | | 220 || | + | | 220 || UnregisterNetworkServiceAccount |
|- | |- | ||
| 300 || GetApplicationShellEvent | | 300 || GetApplicationShellEvent | ||
Line 151: | Line 155: | ||
| 301 || PopApplicationShellEventInfo | | 301 || PopApplicationShellEventInfo | ||
|- | |- | ||
− | | 302 || | + | | 302 || LaunchLibraryApplet |
|- | |- | ||
− | | 303 || | + | | 303 || TerminateLibraryApplet |
|- | |- | ||
− | | 304 || | + | | 304 || LaunchSystemApplet |
|- | |- | ||
− | | 305 || | + | | 305 || TerminateSystemApplet |
|- | |- | ||
− | | 306 || | + | | 306 || LaunchOverlayApplet |
|- | |- | ||
− | | 307 || | + | | 307 || TerminateOverlayApplet |
|- | |- | ||
− | | 401 || | + | | 401 || InvalidateAllApplicationControlCache |
|- | |- | ||
− | | 402 || | + | | 402 || RequestDownloadApplicationControlData |
|- | |- | ||
− | | 403 || | + | | 403 || GetMaxApplicationControlCacheCount |
|- | |- | ||
− | | 404 || | + | | 404 || InvalidateApplicationControlCache |
|- | |- | ||
− | | 405 || | + | | 405 || ListApplicationControlCacheEntryInfo |
|- | |- | ||
− | | 502 || | + | | 502 || RequestCheckGameCardRegistration |
|- | |- | ||
− | | 503 || | + | | 503 || RequestGameCardRegistrationGoldPoint |
|- | |- | ||
− | | 504 || | + | | 504 || RequestRegisterGameCard |
|- | |- | ||
− | | 600 || | + | | 600 || CountApplicationContentMeta |
|- | |- | ||
− | | 601 || [[# | + | | 601 || [[#ListApplicationContentMetaStatus]] |
|- | |- | ||
− | | 602 || | + | | 602 || ListAvailableAddOnContent |
|- | |- | ||
− | | 603 || | + | | 603 || GetOwnedApplicationContentMetaStatus |
|- | |- | ||
− | | 604 || | + | | 604 || RegisterContentsExternalKey |
|- | |- | ||
− | | 605 || | + | | 605 || ListApplicationContentMetaStatusWithRightsCheck |
|- | |- | ||
− | | 700 || | + | | 700 || PushDownloadTaskList |
|- | |- | ||
− | | 701 || | + | | 701 || ClearTaskStatusList |
|- | |- | ||
− | | 702 || | + | | 702 || RequestDownloadTaskList |
|- | |- | ||
− | | 703 || | + | | 703 || RequestEnsureDownloadTask |
|- | |- | ||
− | | 704 || | + | | 704 || ListDownloadTaskStatus |
|- | |- | ||
− | | 705 || | + | | 705 || RequestDownloadTaskListData |
|- | |- | ||
− | | 800 || | + | | 800 || RequestVersionList |
|- | |- | ||
− | | 801 || | + | | 801 || ListVersionList |
|- | |- | ||
− | | 900 || | + | | 900 || GetApplicationRecord |
|- | |- | ||
− | | 901 || | + | | 901 || GetApplicationRecordProperty |
|- | |- | ||
− | | 902 || | + | | 902 || EnableApplicationAutoUpdate |
|- | |- | ||
− | | 903 || | + | | 903 || DisableApplicationAutoUpdate |
|- | |- | ||
− | | 904 || | + | | 904 || TouchApplication |
|- | |- | ||
− | | 905 || | + | | 905 || RequestApplicationUpdate |
|- | |- | ||
− | | 906 || | + | | 906 || IsApplicationUpdateRequested |
|- | |- | ||
− | | 907 || | + | | 907 || WithdrawApplicationUpdateRequest |
|- | |- | ||
− | | 908 || | + | | 908 || ListApplicationRecordInstalledContentMeta |
|- | |- | ||
− | | 1000 || | + | | 1000 || RequestVerifyApplicationDeprecated |
|- | |- | ||
− | | 1001 || | + | | 1001 || CorruptApplicationForDebug |
|- | |- | ||
− | | 1200 || | + | | 1200 || NeedsUpdateVulnerability |
|- | |- | ||
− | | 1300 || | + | | 1300 || IsAnyApplicationEntityInstalled |
|- | |- | ||
− | | 1301 || | + | | 1301 || DeleteApplicationContentEntities |
|- | |- | ||
− | | 1302 || | + | | 1302 || CleanupUnrecordedApplicationEntity |
|- | |- | ||
− | | 1400 || | + | | 1400 || PrepareShutdown |
|- | |- | ||
− | | 1500 || | + | | 1500 || FormatSdCard |
|- | |- | ||
− | | 1501 || | + | | 1501 || NeedsSystemUpdateToFormatSdCard |
|- | |- | ||
− | | 1502 || | + | | 1502 || GetLastSdCardFormatUnexpectedResult |
|- | |- | ||
| 1503 || | | 1503 || | ||
|- | |- | ||
− | | 1600 || | + | | 1600 || GetSystemSeedForPseudoDeviceId |
|- | |- | ||
− | | 1700 || | + | | 1700 || ListApplicationDownloadingContentMeta |
|- | |- | ||
− | | 1800 || | + | | 1800 || IsNotificationSetupCompleted |
|- | |- | ||
− | | 1801 || | + | | 1801 || GetLastNotificationInfoCount |
|- | |- | ||
− | | 1802 || | + | | 1802 || ListLastNotificationInfo |
|} | |} | ||
− | == | + | == ListApplicationRecord == |
+ | Takes a type-6 output buffer and an u64. | ||
+ | |||
+ | Returns an array of title-info entries using the specified offset and size. No input titleID is passed to this. | ||
+ | |||
+ | == GetApplicationContentPath == | ||
Takes a 0x16-type output buffer, an u8 [[NCA|type]], and an u64 titleID. | Takes a 0x16-type output buffer, an u8 [[NCA|type]], and an u64 titleID. | ||
Line 269: | Line 278: | ||
The output string is then used by the user-process with [[Filesystem_services|FS]] to mount the content. | The output string is then used by the user-process with [[Filesystem_services|FS]] to mount the content. | ||
− | == | + | == GetTotalSpaceSize == |
Takes an input media-id that must be 5. | Takes an input media-id that must be 5. | ||
Returns the u64 from [[Content_Manager_services#IContentStorage]] cmd22. | Returns the u64 from [[Content_Manager_services#IContentStorage]] cmd22. | ||
− | == | + | == GetFreeSpaceSize == |
Takes an input media-id that must be 5. | Takes an input media-id that must be 5. | ||
Returns the u64 from [[Content_Manager_services#IContentStorage]] cmd23. | Returns the u64 from [[Content_Manager_services#IContentStorage]] cmd23. | ||
− | == | + | == ConvertLanguageCodeToApplicationLanguage == |
Takes an input u8 pointer for the resulting Id to be written to and a string represented as a u64 (i.e 0x53552D6E65 for 'en-US'). | Takes an input u8 pointer for the resulting Id to be written to and a string represented as a u64 (i.e 0x53552D6E65 for 'en-US'). | ||
Returns 0 if an ID was successfully found, otherwise returns 0x25810. | Returns 0 if an ID was successfully found, otherwise returns 0x25810. | ||
− | == | + | == ListApplicationContentMetaStatus == |
− | |||
− | |||
− | |||
− | |||
− | |||
Returns 0x10-byte entries using the specified titleID starting at the specified u32 entryindex. Can only return game titles. The second entry if any is the update-title usually. When the input entryindex is >= totalentries, this will return 0 with out_entrycount=0. | Returns 0x10-byte entries using the specified titleID starting at the specified u32 entryindex. Can only return game titles. The second entry if any is the update-title usually. When the input entryindex is >= totalentries, this will return 0 with out_entrycount=0. | ||
Line 323: | Line 327: | ||
| u64 titleID | | u64 titleID | ||
|} | |} | ||
− | |||
= ns:am2, ns:ec, ns:rid, ns:rt, ns:web = | = ns:am2, ns:ec, ns:rid, ns:rt, ns:web = | ||
− | |||
These services are all, at the top level, "nn::ns::detail::IServiceGetterInterface". | These services are all, at the top level, "nn::ns::detail::IServiceGetterInterface". | ||
Line 352: | Line 354: | ||
=== IAccountProxyInterface === | === IAccountProxyInterface === | ||
− | |||
This is "nn::ns::detail::IAccountProxyInterface". | This is "nn::ns::detail::IAccountProxyInterface". | ||
Line 364: | Line 365: | ||
=== IApplicationManagerInterface === | === IApplicationManagerInterface === | ||
− | |||
This is "nn::ns::detail::IApplicationManagerInterface". | This is "nn::ns::detail::IApplicationManagerInterface". | ||
Line 371: | Line 371: | ||
! Cmd || Name | ! Cmd || Name | ||
|- | |- | ||
− | | 0 || ListApplicationRecord | + | | 0 || [[#ListApplicationRecord]] |
|- | |- | ||
| 1 || GenerateApplicationRecordCount | | 1 || GenerateApplicationRecordCount | ||
Line 399: | Line 399: | ||
| 19 || LaunchApplication | | 19 || LaunchApplication | ||
|- | |- | ||
− | | 21 || GetApplicationContentPath | + | | 21 || [[#GetApplicationContentPath]] |
|- | |- | ||
| 22 || TerminateApplication | | 22 || TerminateApplication | ||
Line 439: | Line 439: | ||
| 46 || GetGameCardAttachmentInfo | | 46 || GetGameCardAttachmentInfo | ||
|- | |- | ||
− | | 47 || GetTotalSpaceSize | + | | 47 || [[#GetTotalSpaceSize]] |
|- | |- | ||
− | | 48 || GetFreeSpaceSize | + | | 48 || [[#GetFreeSpaceSize]] |
|- | |- | ||
| 49 || GetSdCardRemovedEvent | | 49 || GetSdCardRemovedEvent | ||
Line 461: | Line 461: | ||
| 59 || ConvertApplicationLanguageToLanguageCode | | 59 || ConvertApplicationLanguageToLanguageCode | ||
|- | |- | ||
− | | 60 || ConvertLanguageCodeToApplicationLanguage | + | | 60 || [[#ConvertLanguageCodeToApplicationLanguage]] |
|- | |- | ||
| 61 || GetBackgroundDownloadStressTaskInfo | | 61 || GetBackgroundDownloadStressTaskInfo | ||
Line 563: | Line 563: | ||
| 600 || CountApplicationContentMeta | | 600 || CountApplicationContentMeta | ||
|- | |- | ||
− | | 601 || ListApplicationContentMetaStatus | + | | 601 || [[#ListApplicationContentMetaStatus]] |
|- | |- | ||
| 602 || ListAvailableAddOnContent | | 602 || ListAvailableAddOnContent | ||
Line 718: | Line 718: | ||
=== IApplicationVersionInterface === | === IApplicationVersionInterface === | ||
− | |||
{| class="wikitable" border="1" | {| class="wikitable" border="1" | ||
|- | |- | ||
Line 744: | Line 743: | ||
=== IContentManagerInterface === | === IContentManagerInterface === | ||
− | |||
This is "nn::ns::detail::IContentManagementInterface". | This is "nn::ns::detail::IContentManagementInterface". | ||
Line 770: | Line 768: | ||
=== IDocumentInterface === | === IDocumentInterface === | ||
− | |||
This is "nn::ns::detail::IDocumentInterface". | This is "nn::ns::detail::IDocumentInterface". | ||
Line 784: | Line 781: | ||
=== IDownloadTaskInterface === | === IDownloadTaskInterface === | ||
− | |||
This is "nn::ns::detail::IDownloadTaskInterface". | This is "nn::ns::detail::IDownloadTaskInterface". | ||
Line 810: | Line 806: | ||
|- | |- | ||
|} | |} | ||
− | |||
=== IECommerceInterface=== | === IECommerceInterface=== | ||
− | |||
{| class="wikitable" border="1" | {| class="wikitable" border="1" | ||
|- | |- | ||
Line 821: | Line 815: | ||
|- | |- | ||
|} | |} | ||
− | |||
=== IFactoryResetInterface === | === IFactoryResetInterface === | ||
− | |||
This is "nn::ns::detail::IFactoryResetInterface". | This is "nn::ns::detail::IFactoryResetInterface". | ||
Line 840: | Line 832: | ||
= ns:vm = | = ns:vm = | ||
− | |||
This is "nn::ns::detail::IVulnerabilityManagerInterface". | This is "nn::ns::detail::IVulnerabilityManagerInterface". | ||
Line 854: | Line 845: | ||
|- | |- | ||
|} | |} | ||
− | |||
= ns:su = | = ns:su = | ||
Line 892: | Line 882: | ||
== ISystemUpdateControl == | == ISystemUpdateControl == | ||
− | |||
{| class="wikitable" border="1" | {| class="wikitable" border="1" | ||
|- | |- | ||
Line 942: | Line 931: | ||
|- | |- | ||
|} | |} | ||
− | |||
− | |||
= ns:dev = | = ns:dev = |
Revision as of 21:05, 24 March 2018
aoc:u
This is "nn::aocsrv::detail::IAddOnContentManager".
Cmd | Name |
---|---|
0 | CountAddOnContentByApplicationId |
1 | ListAddOnContentByApplicationId |
2 | CountAddOnContent |
3 | ListAddOnContent |
4 | GetAddOnContentBaseIdByApplicationId |
5 | GetAddOnContentBaseId |
6 | PrepareAddOnContentByApplicationId |
7 | PrepareAddOnContent |
ns:am
This is "nn::ns::detail::IApplicationManagerInterface".
[3.0.0+] This service was replaced by ns:am2.
Cmd | Name |
---|---|
0 | #ListApplicationRecord |
1 | GenerateApplicationRecordCount |
2 | GetApplicationRecordUpdateSystemEvent |
3 | GetApplicationViewDeprecated |
4 | DeleteApplicationEntity |
5 | DeleteApplicationCompletely |
6 | IsAnyApplicationEntityRedundant |
7 | DeleteRedundantApplicationEntity |
8 | IsApplicationEntityMovable |
9 | MoveApplicationEntity |
11 | CalculateApplicationOccupiedSize |
13 | |
16 | PushApplicationRecord |
17 | ListApplicationRecordContentMeta |
19 | LaunchApplication |
21 | #GetApplicationContentPath |
22 | TerminateApplication |
23 | ResolveApplicationContentPath |
25 | |
27 | DeleteApplicationRecord |
30 | RequestApplicationUpdateInfo |
31 | |
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 |
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 |
401 | InvalidateAllApplicationControlCache |
402 | RequestDownloadApplicationControlData |
403 | GetMaxApplicationControlCacheCount |
404 | InvalidateApplicationControlCache |
405 | ListApplicationControlCacheEntryInfo |
502 | RequestCheckGameCardRegistration |
503 | RequestGameCardRegistrationGoldPoint |
504 | RequestRegisterGameCard |
600 | CountApplicationContentMeta |
601 | #ListApplicationContentMetaStatus |
602 | ListAvailableAddOnContent |
603 | GetOwnedApplicationContentMetaStatus |
604 | RegisterContentsExternalKey |
605 | ListApplicationContentMetaStatusWithRightsCheck |
700 | PushDownloadTaskList |
701 | ClearTaskStatusList |
702 | RequestDownloadTaskList |
703 | RequestEnsureDownloadTask |
704 | ListDownloadTaskStatus |
705 | RequestDownloadTaskListData |
800 | RequestVersionList |
801 | ListVersionList |
900 | GetApplicationRecord |
901 | GetApplicationRecordProperty |
902 | EnableApplicationAutoUpdate |
903 | DisableApplicationAutoUpdate |
904 | TouchApplication |
905 | RequestApplicationUpdate |
906 | IsApplicationUpdateRequested |
907 | WithdrawApplicationUpdateRequest |
908 | ListApplicationRecordInstalledContentMeta |
1000 | RequestVerifyApplicationDeprecated |
1001 | CorruptApplicationForDebug |
1200 | NeedsUpdateVulnerability |
1300 | IsAnyApplicationEntityInstalled |
1301 | DeleteApplicationContentEntities |
1302 | CleanupUnrecordedApplicationEntity |
1400 | PrepareShutdown |
1500 | FormatSdCard |
1501 | NeedsSystemUpdateToFormatSdCard |
1502 | GetLastSdCardFormatUnexpectedResult |
1503 | |
1600 | GetSystemSeedForPseudoDeviceId |
1700 | ListApplicationDownloadingContentMeta |
1800 | IsNotificationSetupCompleted |
1801 | GetLastNotificationInfoCount |
1802 | ListLastNotificationInfo |
ListApplicationRecord
Takes a type-6 output buffer and an u64.
Returns an array of title-info entries using the specified offset and size. No input titleID is passed to this.
GetApplicationContentPath
Takes a 0x16-type output buffer, an u8 type, and an u64 titleID.
The input titleID is used with the application-title table like various other cmds, anything not in that table can't be used with this.
Returns a string path for the specified type of patch content with this titleID, otherwise returns regular-application paths when update-title not installed. Returns an error when the specified type of content doesn't exist for this title. Starts with "@{SdCardContent,UserContent}://" and ends in ".nca".
For gamecard content, the output path is: "@GcSXXXXXXXX:/<NcaId>.nca". NCA-type0 with gamecard returns 0 with an empty output string.
The output string is then used by the user-process with FS to mount the content.
GetTotalSpaceSize
Takes an input media-id that must be 5.
Returns the u64 from Content_Manager_services#IContentStorage cmd22.
GetFreeSpaceSize
Takes an input media-id that must be 5.
Returns the u64 from Content_Manager_services#IContentStorage cmd23.
ConvertLanguageCodeToApplicationLanguage
Takes an input u8 pointer for the resulting Id to be written to and a string represented as a u64 (i.e 0x53552D6E65 for 'en-US').
Returns 0 if an ID was successfully found, otherwise returns 0x25810.
ListApplicationContentMetaStatus
Returns 0x10-byte entries using the specified titleID starting at the specified u32 entryindex. Can only return game titles. The second entry if any is the update-title usually. When the input entryindex is >= totalentries, this will return 0 with out_entrycount=0.
Entry structure:
Offset | Size | Description |
---|---|---|
0x0 | 0x1 | u8 "type". Title type (String is from web-applet) |
0x1 | 0x1 | u8 "installedStorage" / StorageId (String is from web-applet) |
0x2 | 0x1 | Unknown. Non-zero with output from cmd 605, differs for app/update titles. |
0x3 | 0x1 | Padding |
0x4 | 0x4 | u32 Title-version |
0x8 | 0x8 | u64 titleID |
ns:am2, ns:ec, ns:rid, ns:rt, ns:web
These services are all, at the top level, "nn::ns::detail::IServiceGetterInterface".
Cmd | Name |
---|---|
7992 | GetECommerceInterface |
7993 | GetApplicationVersionInterface |
7994 | GetFactoryResetInterface |
7995 | GetAccountProxyInterface |
7996 | GetApplicationManagerInterface |
7997 | GetDownloadTaskInterface |
7998 | GetContentManagementInterface |
7999 | GetDocumentInterface |
IAccountProxyInterface
This is "nn::ns::detail::IAccountProxyInterface".
Cmd | Name |
---|---|
0 | CreateUserAccount |
IApplicationManagerInterface
This is "nn::ns::detail::IApplicationManagerInterface".
Cmd | Name |
---|---|
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 |
IApplicationVersionInterface
Cmd | Name |
---|---|
0 | GetLaunchRequiredVersion |
1 | UpgradeLaunchRequiredVersion |
35 | UpdateVersionList |
36 | PushLaunchVersion |
37 | ListRequiredVersion |
800 | RequestVersionList |
801 | ListVersionList |
802 | RequestVersionListData |
1000 | PerformAutoUpdate |
IContentManagerInterface
This is "nn::ns::detail::IContentManagementInterface".
Cmd | Name |
---|---|
11 | CalculateApplicationOccupiedSize |
43 | CheckSdCardMountStatus |
47 | GetTotalSpaceSize |
48 | GetFreeSpaceSize |
600 | CountApplicationContentMeta |
601 | ListApplicationContentMetaStatus |
605 | ListApplicationContentMetaStatusWithRightsCheck |
607 | IsAnyApplicationRunning |
IDocumentInterface
This is "nn::ns::detail::IDocumentInterface".
Cmd | Name |
---|---|
21 | GetApplicationContentPath |
23 | ResolveApplicationContentPath |
IDownloadTaskInterface
This is "nn::ns::detail::IDownloadTaskInterface".
Cmd | Name |
---|---|
701 | ClearTaskStatusList |
702 | RequestDownloadTaskList |
703 | RequestEnsureDownloadTask |
704 | ListDownloadTaskStatus |
705 | RequestDownloadTaskListData |
706 | TryCommitCurrentApplicationDownloadTask |
707 | EnableAutoCommit |
708 | DisableAutoCommit |
709 | TriggerDynamicCommitEvent |
IECommerceInterface
Cmd | Name |
---|---|
0 | RequestLinkDevice |
IFactoryResetInterface
This is "nn::ns::detail::IFactoryResetInterface".
Cmd | Name |
---|---|
100 | ResetToFactorySettings |
101 | ResetToFactorySettingsWithoutUserSaveData |
102 | ResetToFactorySettingsForRefurbishment |
ns:vm
This is "nn::ns::detail::IVulnerabilityManagerInterface".
Cmd | Name |
---|---|
1200 | NeedsUpdateVulnerability |
1201 | UpdateSafeSystemVersionForDebug |
1202 | GetSafeSystemVersion |
ns:su
This is "nn::ns::detail::ISystemUpdateInterface".
Cmd | Name |
---|---|
0 | GetBackgroundNetworkUpdateState |
1 | OpenSystemUpdateControl |
2 | NotifyExFatDriverRequired |
3 | ClearExFatDriverStatusForDebug |
4 | RequestBackgroundNetworkUpdate |
5 | NotifyBackgroundNetworkUpdate |
6 | NotifyExFatDriverDownloadedForDebug |
9 | GetSystemUpdateNotificationEventForContentDelivery |
10 | NotifySystemUpdateForContentDelivery |
11 | PrepareShutdown |
16 | DestroySystemUpdateTask |
17 | RequestSendSystemUpdate |
18 | GetSendSystemUpdateProgress |
ISystemUpdateControl
Cmd | Name |
---|---|
0 | HasDownloaded |
1 | RequestCheckLatestUpdate |
2 | RequestDownloadLatestUpdate |
3 | GetDownloadProgress |
4 | ApplyDownloadedUpdate |
5 | RequestPrepareCardUpdate |
6 | GetPrepareCardUpdateProgress |
7 | HasPreparedCardUpdate |
8 | ApplyCardUpdate |
9 | GetDownloadedEulaDataSize |
10 | GetDownloadedEulaData |
11 | SetupCardUpdate |
12 | GetPreparedCardUpdateEulaDataSize |
13 | GetPreparedCardUpdateEulaData |
14 | SetupCardUpdateViaSystemUpdater |
15 | HasReceived |
16 | RequestReceiveSystemUpdate |
17 | GetReceiveProgress |
18 | ApplyReceivedUpdate |
19 | GetReceivedEulaDataSize |
20 | GetReceivedEulaData |
21 | SetupToReceiveSystemUpdate |
ns:dev
This is "nn::ns::detail::IDevelopInterface".
Cmd | Name |
---|---|
0 | #LaunchTitle |
1 | #TerminateTitleByPid |
2 | #TerminateTitleByTitleId |
3 | #GetNsDevWaitEvent |
4 | #GetNsDevEventType |
5 | #TerminateCrashingTitle |
6 | #InstallTitle |
7 | SetEventState6 |
8 | SetEventState |
LaunchTitle
Wrapper for "pm:shell" LaunchProcess.
TerminateTitleByPid
Wrapper for "pm:shell" TerminateTitleByPid.
TerminateTitleByTitleId
Wrapper for "pm:shell" TerminateTitleByTitleId.
GetNsDevWaitEvent
Wrapper for "pm:shell" GetProcessEventWaiter.
GetNsDevEventType
Wrapper for "pm:shell" GetProcessEventType.
TerminateCrashingTitle
Calls "pm:shell" GetCrashingProcessPid and sends PID to TerminateTitleByPid.
InstallTitle
Calls IPathResolverForStorage Set...NcaPath functions.