Capture services: Difference between revisions

No edit summary
 
(4 intermediate revisions by 2 users not shown)
Line 45: Line 45:
|-
|-
| 19 || [11.0.0+] [[#GetAlbumFileName]]
| 19 || [11.0.0+] [[#GetAlbumFileName]]
|-
| 20 || [20.0.0+]
|-
|-
| 100 || [5.0.0+] GetAlbumFileCountEx0
| 100 || [5.0.0+] GetAlbumFileCountEx0
Line 53: Line 55:
|-
|-
| 120 || [17.0.0+] GetAlbumFileListEx2
| 120 || [17.0.0+] GetAlbumFileListEx2
|-
| 121 || [20.0.0+]
|-
| 122 || [20.0.0+]
|-
| 123 || [20.0.0+]
|-
|-
| 130 || [17.0.0+] LoadAlbumFileRawData
| 130 || [17.0.0+] LoadAlbumFileRawData
Line 65: Line 73:
|-
|-
| 160 || [18.0.0+]
| 160 || [18.0.0+]
|-
| 170 || [20.0.0+]
|-
| 171 || [20.0.0+]
|-
| 172 || [20.0.0+]
|-
|-
| 202 || [1.0.0-2.3.0] SaveEditedScreenShot
| 202 || [1.0.0-2.3.0] SaveEditedScreenShot
Line 75: Line 89:
|-
|-
| 501 || GetRequiredStorageSpaceSizeToCopyAll
| 501 || GetRequiredStorageSpaceSizeToCopyAll
|-
| 502 || [20.0.0+]
|-
| 600 || [20.0.0+]
|-
|-
| 1001 || [3.0.0+] LoadAlbumScreenShotThumbnailImageEx0
| 1001 || [3.0.0+] LoadAlbumScreenShotThumbnailImageEx0
Line 95: Line 113:
|-
|-
| 8022 || [19.0.0+]  
| 8022 || [19.0.0+]  
|-
| 8031 || [20.0.0+]
|-
| 8032 || [20.0.0+]
|-
|-
| 10011 || SetInternalErrorConversionEnabled
| 10011 || SetInternalErrorConversionEnabled
Line 101: Line 123:
|-
|-
| 50001 || [19.0.0+]  
| 50001 || [19.0.0+]  
|-
| 50010 || [21.0.0+]
|-
|-
| 50011 || [19.0.0+] GetAlbumAccessResultForDebug
| 50011 || [19.0.0+] GetAlbumAccessResultForDebug
|-
|-
| 50012 || [19.0.0+] [[#SetAlbumAccessResultForDebug]]
| 50012 || [19.0.0+] [[#SetAlbumAccessResultForDebug]]
|-
| 50021 || [20.0.0+]
|-
| 50022 || [20.0.0+]
|-
| 50023 || [20.0.0+]
|-
| 50024 || [20.0.0+]
|-
| 50031 || [20.0.0+]
|-
| 50032 || [20.0.0+]
|-
|-
| 60002 || [4.0.0+] [[#OpenAccessorSession]]
| 60002 || [4.0.0+] [[#OpenAccessorSession]]
Line 135: Line 171:
! Cmd || Name
! Cmd || Name
|-
|-
| 2001 || OpenAlbumMovieReadStream
| 2001 || [[#OpenAlbumMovieReadStream|OpenAlbumMovieReadStream]]
|-
|-
| 2002 || CloseAlbumMovieReadStream
| 2002 || [[#CloseAlbumMovieReadStream|CloseAlbumMovieReadStream]]
|-
|-
| 2003 || GetAlbumMovieReadStreamMovieDataSize
| 2003 || [[#GetAlbumMovieReadStreamMovieDataSize|GetAlbumMovieReadStreamMovieDataSize]]
|-
|-
| 2004 || ReadMovieDataFromAlbumMovieReadStream
| 2004 || [[#ReadMovieDataFromAlbumMovieReadStream|ReadMovieDataFromAlbumMovieReadStream]]
|-
|-
| 2005 || GetAlbumMovieReadStreamBrokenReason
| 2005 || [[#GetAlbumMovieReadStreamBrokenReason|GetAlbumMovieReadStreamBrokenReason]]
|-
|-
| 2006 || GetAlbumMovieReadStreamImageDataSize
| 2006 || GetAlbumMovieReadStreamImageDataSize
Line 155: Line 191:
| 5000 || [18.0.0+]
| 5000 || [18.0.0+]
|}
|}
=== OpenAlbumMovieReadStream ===
Takes an input [[#AlbumFileId]], returns an output u64 [[#AlbumMovieReadStreamHandle]].


= caps:c =
= caps:c =
Line 188: Line 227:
|-
|-
| 2014 || [2.0.0+] CheckApplicationIdRegistered
| 2014 || [2.0.0+] CheckApplicationIdRegistered
|-
| 2015 || [20.0.0+]
|-
| 2016 || [20.0.0+]
|-
|-
| 2101 || [2.0.0+] [[#GenerateCurrentAlbumFileId]]
| 2101 || [2.0.0+] [[#GenerateCurrentAlbumFileId]]
Line 199: Line 242:
| 2201 || [2.0.0-3.0.2] SaveAlbumScreenShotFile
| 2201 || [2.0.0-3.0.2] SaveAlbumScreenShotFile
|-
|-
| 2202 || [4.0.0+] SaveAlbumScreenShotFileEx
| 2202 || [4.0.0+] [[#SaveAlbumScreenShotFileEx|SaveAlbumScreenShotFileEx]]
|-
|-
| 2301 || [2.0.0+] SetOverlayScreenShotThumbnailData
| 2301 || [2.0.0+] SetOverlayScreenShotThumbnailData
Line 218: Line 261:


=== RegisterAppletResourceUserId ===
=== RegisterAppletResourceUserId ===
Takes a total of 0x10-bytes of input. No output.
Takes an input u64 and an u64. No output.


[19.0.0+] Now takes an additional 8-bytes of input.
[19.0.0+] The second u64 is now a 0x10-byte struct.


=== UnregisterAppletResourceUserId ===
=== UnregisterAppletResourceUserId ===
Takes a total of 0x10-bytes of input. No output.
Takes an input u64 and an u64. No output.
 
[19.0.0+] The second u64 is now a 0x10-byte struct.


[19.0.0+] Now takes an additional 8-bytes of input.
The struct is ignored.


=== GetApplicationIdFromAruid ===
=== GetApplicationIdFromAruid ===
Takes a total of 8-bytes of input. Returns a total of 8-bytes of output.
Takes a total of 8-bytes of input. Returns an u64.


[19.0.0+] Now returns an additional 8-bytes of output.
[19.0.0+] The output u64 is now a 0x10-byte struct.


=== GenerateCurrentAlbumFileId ===
=== GenerateCurrentAlbumFileId ===
Takes an input u8 and u64, returns a 0x18-byte struct.
Takes an input u8 and an u64, returns a 0x18-byte struct.
 
[19.0.0+] The input u64 is now a 0x10-byte struct.


[19.0.0+] Now takes an additional 8-bytes of input.
=== SaveAlbumScreenShotFileEx ===
[20.0.0+] Now takes a total of 0x70-bytes of input instead of 0x30-bytes.


=== OpenControlSession ===
=== OpenControlSession ===
Line 300: Line 348:
|-
|-
| 2434 || SetAlbumMovieWriteStreamDataSize  
| 2434 || SetAlbumMovieWriteStreamDataSize  
|-
| 2436 || [20.0.0+]
|-
|-
| 5000 || [18.0.0+]
| 5000 || [18.0.0+]
Line 416: Line 466:
This was added with [5.0.0+].
This was added with [5.0.0+].


This is opened prior to using [[#OpenAlbumMovieReadStream]], when it previously wasn't opened. Official sw only closes this session when closing caps:u, not when using [[#CloseAlbumMovieReadStream]].
This is opened prior to using [[#OpenAlbumMovieReadStream_2|OpenAlbumMovieReadStream]], when it previously wasn't opened. Official sw only closes this session when closing caps:u, not when using [[#CloseAlbumMovieReadStream]].


{| class="wikitable" border="1"
{| class="wikitable" border="1"
Line 422: Line 472:
! Cmd || Name
! Cmd || Name
|-
|-
| 2001 || [[#OpenAlbumMovieReadStream]]
| 2001 || [[#OpenAlbumMovieReadStream_2|OpenAlbumMovieReadStream]]
|-
|-
| 2002 || [[#CloseAlbumMovieReadStream]]
| 2002 || [[#CloseAlbumMovieReadStream]]
Line 572: Line 622:
| 0x11 || 0x1 || [[#AlbumFileContents|Contents]]
| 0x11 || 0x1 || [[#AlbumFileContents|Contents]]
|-
|-
| 0x12 || 0x6 || Reserved
| 0x12 || 0x1 || [19.0.0+]
|-
| 0x13 || 0x1 || [19.0.0+]
|-
| 0x14 || 0x4 || Reserved
|}
|}
[19.0.0+] [[#GenerateCurrentAlbumFileId|GenerateCurrentAlbumFileId]] copies the two u8s from instruct+0x8 to AlbumFileId+0x12.


= AlbumFileEntry =
= AlbumFileEntry =