Changes

224 bytes added ,  17:26, 19 February 2020
Line 468: Line 468:  
! Offset || Size || Description
 
! Offset || Size || Description
 
|-
 
|-
| 0x0 || 0x8 || Unknown.
+
| 0x0 || 0x8 || Size of the entry.
 
|-
 
|-
| 0x8 || 0x8 || Unknown.
+
| 0x8 || 0x8 || AES256 with hardcoded key over AlbumEntry.  
 
|-
 
|-
 
| 0x10 || 0x8 || [[#AlbumFileDateTime]]
 
| 0x10 || 0x8 || [[#AlbumFileDateTime]]
 
|-
 
|-
| 0x18 || 0x8 || Unknown.
+
| 0x18 || 0x1 || AlbumStorage.
 +
|-
 +
| 0x19 || 0x1 || AlbumFileContents.
 +
|-
 +
| 0x1a || 0x5 || Padding.
 +
|-
 +
| 0x1f || 0x1 || Unknown. Set to 1 by official software.
 
|}
 
|}
   −
This is "nn::capsrv::ApplicationAlbumEntry". This is a 0x20-byte struct. On older versions where [[#ShimLibraryVersion]] is 0, this has a different format.
+
This is "nn::capsrv::ApplicationAlbumEntry". This is a 0x20-byte struct. On older versions where [[#ShimLibraryVersion]] is 0, this was a plain AES256 with a random key generated at application launch.
    
With the output from [[Applet_Manager_services#caps:su|caps:su]] sdk-nso only uses this for the [[Internet_Browser|Share-applet]] (when the output is used at all), with everything else it's used as an [[#AlbumFileEntry]]. In those cases with the <code>nn::album</code> wrapper funcs, it's "converted" by just copying the struct (arrays are "converted" by just returning a ptr to the input array).
 
With the output from [[Applet_Manager_services#caps:su|caps:su]] sdk-nso only uses this for the [[Internet_Browser|Share-applet]] (when the output is used at all), with everything else it's used as an [[#AlbumFileEntry]]. In those cases with the <code>nn::album</code> wrapper funcs, it's "converted" by just copying the struct (arrays are "converted" by just returning a ptr to the input array).
73

edits