Changes

3,424 bytes added ,  23:34, 22 August 2019
no edit summary
Line 6: Line 6:  
! Cmd || Name
 
! Cmd || Name
 
|-
 
|-
| 0 ||
+
| 0 || GetAlbumFileCount
 
|-
 
|-
| 1 ||
+
| 1 || GetAlbumFileList
 
|-
 
|-
| 2 ||
+
| 2 || LoadAlbumFile
 
|-
 
|-
| 3 ||
+
| 3 || DeleteAlbumFile
 
|-
 
|-
| 4 ||
+
| 4 || StorageCopyAlbumFile
 
|-
 
|-
| 5 ||
+
| 5 || IsAlbumMounted
 
|-
 
|-
| 6 ||
+
| 6 || GetAlbumUsage
 
|-
 
|-
| 7 ||
+
| 7 || GetAlbumFileSize
 
|-
 
|-
| 8 ||
+
| 8 || LoadAlbumFileThumbnail
 
|-
 
|-
| 9 ||
+
| 9 || [2.0.0+] LoadAlbumScreenShotImage
 
|-
 
|-
| 10 ||
+
| 10 || [2.0.0+] LoadAlbumScreenShotThumbnailImage
 
|-
 
|-
| 11 ||
+
| 11 || [2.0.0+] GetAlbumEntryFromApplicationAlbumEntry
 
|-
 
|-
| 12 ||
+
| 12 || [3.0.0+]
 
|-
 
|-
| 13 ||
+
| 13 || [3.0.0+]
 
|-
 
|-
| 14 ||
+
| 14 || [3.0.0+]
 
|-
 
|-
| 301 ||
+
| 15 || [4.0.0+]
 
|-
 
|-
| 401 ||
+
| 16 || [4.0.0+]
 
|-
 
|-
| 501 ||
+
| 17 || [4.0.0+]
 
|-
 
|-
| 1001 ||
+
| 18 || [6.0.0+]
 
|-
 
|-
| 1002 ||
+
| 100 || [5.0.0+]
 
|-
 
|-
| 8001 ||
+
| 101 || [5.0.0+]
 
|-
 
|-
| 8002 ||
+
| 202 || [1.0.0-2.3.0] SaveEditedScreenShot
 
|-
 
|-
| 8011 ||
+
| 301 || GetLastThumbnail
 
|-
 
|-
| 8012 ||
+
| 302 || [4.0.0+]
 
|-
 
|-
| 8021 ||
+
| 401 || GetAutoSavingStorage
 
|-
 
|-
| 10011 ||
+
| 501 || GetRequiredStorageSpaceSizeToCopyAll
 +
|-
 +
| 1001 || [3.0.0+]
 +
|-
 +
| 1002 || [3.0.0+]
 +
|-
 +
| 1003 || [4.0.0+]
 +
|-
 +
| 8001 || ForceAlbumUnmounted
 +
|-
 +
| 8002 || ResetAlbumMountStatus
 +
|-
 +
| 8011 || RefreshAlbumCache
 +
|-
 +
| 8012 || GetAlbumCache
 +
|-
 +
| 8013 || [4.0.0+]
 +
|-
 +
| 8021 || [2.0.0+] GetAlbumEntryFromApplicationAlbumEntryAruid
 +
|-
 +
| 10011 || SetInternalErrorConversionEnabled
 +
|-
 +
| 50000 || [6.0.0+]
 +
|-
 +
| 60002 || [4.0.0+]
 +
|}
 +
 
 +
Cmd1002: Takes a total of 0x38-bytes of input, two type-0x5 input buffers, and returns 0x20-bytes of output. [4.0.0+] No longer returns output, and now takes the following buffers instead: type-0x16, type-0x46, and type-0x6.
 +
 
 +
Cmd60002: Takes a total of 8-bytes of input, a PID, and returns an [[#IAlbumAccessorSession]].
 +
 
 +
== IAlbumAccessorSession ==
 +
This is "nn::capsrv::sf::IAlbumAccessorSession".
 +
 
 +
This was added with [4.0.0+].
 +
 
 +
{| class="wikitable" border="1"
 +
|-
 +
! Cmd || Name
 +
|-
 +
| 2001 ||
 +
|-
 +
| 2002 ||
 +
|-
 +
| 2003 ||
 +
|-
 +
| 2004 ||
 +
|-
 +
| 2005 ||
 +
|-
 +
| 2006 ||
 +
|-
 +
| 2007 ||
 +
|-
 +
| 2008 ||  
 
|}
 
|}
    
= caps:c =
 
= caps:c =
This is "nn::capsrv::sf::IAlbumControlService".
+
This is "nn::capsrv::sf::IAlbumControlService", previously "nn::capsrv::sf::ICaptureControllerService" with [1.0.0].
    
{| class="wikitable" border="1"
 
{| class="wikitable" border="1"
 
|-
 
|-
 
! Cmd || Name || Notes
 
! Cmd || Name || Notes
 +
|-
 +
| [1.0.0] 1 || ||
 +
|-
 +
| [1.0.0] 2 || ||
 
|-
 
|-
 
| 33 || [7.0.0+] || Takes a total of 0x10-bytes of input, no output.
 
| 33 || [7.0.0+] || Takes a total of 0x10-bytes of input, no output.
 +
|-
 +
| [1.0.0] 1001 || ||
 +
|-
 +
| [1.0.0] 1002 || ||
 +
|-
 +
| [1.0.0] 1011 || ||
 
|-
 
|-
 
| 2001 || ||  
 
| 2001 || ||  
Line 72: Line 136:  
| 2002 || ||  
 
| 2002 || ||  
 
|-
 
|-
| 2011 || ||  
+
| 2011 || [2.0.0+] ||
 +
|-
 +
| 2012 || [2.0.0+] ||
 +
|-
 +
| 2013 || [2.0.0+] ||  
 
|-
 
|-
| 2012 || ||  
+
| 2014 || [2.0.0+] ||  
 
|-
 
|-
| 2013 || ||  
+
| 2101 || [2.0.0+] || Takes an input u8 and u64, returns a 0x18-byte struct.
 
|-
 
|-
| 2014 || ||  
+
| 2102 || [2.0.0+] ||  
 
|-
 
|-
| 2101 || || Takes an input u8 and u64, returns a 0x18-byte struct.
+
| [2.0.0-3.0.2] 2201 || ||  
 
|-
 
|-
| 2102 || ||  
+
| 2202 || [4.0.0+] ||  
 
|-
 
|-
| 2201 || ||  
+
| 2301 || [2.0.0+] ||  
 
|-
 
|-
| 2301 || ||  
+
| 2302 || [4.0.0+] ||
 +
|-
 +
| 60001 || [4.0.0+] || Takes a total of 8-bytes of input and a PID, returns an [[#IAlbumControlSession]].
 +
|}
 +
 
 +
== IAlbumControlSession ==
 +
This is "nn::capsrv::sf::IAlbumControlSession".
 +
 
 +
This was added with [4.0.0+].
 +
 
 +
{| class="wikitable" border="1"
 +
|-
 +
! Cmd || Name || Notes
 +
|-
 +
| 2001 || ||
 +
|-
 +
| 2002 || ||
 +
|-
 +
| 2003 || ||
 +
|-
 +
| 2004 || ||
 +
|-
 +
| 2005 || ||
 +
|-
 +
| 2006 || ||
 +
|-
 +
| 2007 || ||
 +
|-
 +
| 2008 || ||
 +
|-
 +
| 2401 || ||
 +
|-
 +
| 2402 || ||
 +
|-
 +
| 2403 || ||
 +
|-
 +
| 2404 || ||
 +
|-
 +
| 2405 || ||
 +
|-
 +
| 2406 || [7.0.0+] ||
 +
|-
 +
| 2411 || ||
 +
|-
 +
| 2412 || ||
 +
|-
 +
| 2413 || ||
 +
|-
 +
| 2414 || ||
 +
|-
 +
| 2421 || ||
 +
|-
 +
| 2422 || ||
 +
|-
 +
| 2424 || ||
 +
|-
 +
| 2431 || ||
 +
|-
 +
| 2433 || ||
 +
|-
 +
| 2434 || ||  
 
|}
 
|}
    
= caps:u =
 
= caps:u =
 
This is "nn::capsrv::sf::IAlbumApplicationService".
 
This is "nn::capsrv::sf::IAlbumApplicationService".
 +
 +
This was added with [5.0.0+].
    
{| class="wikitable" border="1"
 
{| class="wikitable" border="1"
 
|-
 
|-
! Cmd || Name || Notes
+
! Cmd || Name
 +
|-
 +
| 32 || [7.0.0+] [[#SetShimLibraryVersion]]
 +
|-
 +
| 102 || GetAlbumFileList0AafeAruidDeprecated
 +
|-
 +
| 103 || DeleteAlbumFileByAruid
 +
|-
 +
| 104 || GetAlbumFileSizeByAruid
 +
|-
 +
| 105 || DeleteAlbumFileByAruidForDebug
 +
|-
 +
| 110 || LoadAlbumScreenShotImageByAruid
 
|-
 
|-
| 32 || [7.0.0+] || Takes a total of 0x10-bytes of input and a PID, no output.
+
| 120 || LoadAlbumScreenShotThumbnailImageByAruid
 
|-
 
|-
| 102 || GetAlbumFileListByAruid ||  
+
| 130 || PrecheckToCreateContentsByAruid
 
|-
 
|-
| 103 || DeleteAlbumFileByAruid ||  
+
| 140 || [6.0.0+] GetAlbumFileList1AafeAruidDeprecated
 
|-
 
|-
| 104 || GetAlbumFileSizeByAruid ||  
+
| 141 || [6.0.0+] GetAlbumFileList2AafeUidAruidDeprecated
 
|-
 
|-
| 110 || LoadAlbumScreenShotImageByAruid ||  
+
| 142 || [7.0.0+] GetAlbumFileList3AaeAruid
 
|-
 
|-
| 120 || LoadAlbumScreenShotThumbnailImageByAruid ||  
+
| 143 || [7.0.0+] GetAlbumFileList4AaeUidAruid
 
|-
 
|-
| 60002 || OpenAccessorSessionForApplication ||
+
| 60002 || OpenAccessorSessionForApplication
 
|}
 
|}
 +
 +
== SetShimLibraryVersion ==
 +
Takes a total of 0x10-bytes of input and a PID, no output.
    
== IAlbumAccessorApplicationSession ==
 
== IAlbumAccessorApplicationSession ==
 
This is "nn::capsrv::sf::IAlbumAccessorApplicationSession".
 
This is "nn::capsrv::sf::IAlbumAccessorApplicationSession".
 +
 +
This was added with [5.0.0+].
    
{| class="wikitable" border="1"
 
{| class="wikitable" border="1"
Line 128: Line 275:  
| 2005 || GetAlbumMovieReadStreamBrokenReason
 
| 2005 || GetAlbumMovieReadStreamBrokenReason
 
|}
 
|}
 +
 +
= AlbumEntry =
 +
{| class="wikitable" border="1"
 +
|-
 +
! Offset || Size || Description
 +
|-
 +
| 0x0 || 0x8 || Unknown
 +
|-
 +
| 0x8 || 0x8 || titleID
 +
|-
 +
| 0x10 || 0x2 || Year
 +
|-
 +
| 0x12 || 0x1 || Month
 +
|-
 +
| 0x13 || 0x1 || Day
 +
|-
 +
| 0x14 || 0x1 || Hour
 +
|-
 +
| 0x15 || 0x1 || Minute
 +
|-
 +
| 0x16 || 0x1 || Second
 +
|-
 +
| 0x17 || 0x1 || Unknown
 +
|-
 +
| 0x18 || 0x1 || Unknown
 +
|-
 +
| 0x19 || 0x1 || Unknown
 +
|-
 +
| 0x1A || 0x6 || Padding?
 +
|}
 +
 +
This is "nn::capsrv::AlbumEntry". This is a 0x20-byte struct.
 +
 +
The data at offset 0x10 size 0x8 corresponds to each field in the Album entry filename, prior to the "-".
    
= Notes =
 
= Notes =