Changes

Jump to navigation Jump to search
20 bytes added ,  12:19, 24 September 2018
ReadEntry Raw -> ReadContentIdFile
Line 306: Line 306:  
Takes a [[#NcaID]] as input.
 
Takes a [[#NcaID]] as input.
   −
Returns the total size readable by ReadEntryRaw. This is the same as the size-field in the [[NAX0]] "<NcaID>.nca/00" file.
+
Returns the total size readable by [[#ReadContentIdFile]]. This is the same as the size-field in the [[NAX0]] "<NcaID>.nca/00" file.
    
==== ReadContentIdFile ====
 
==== ReadContentIdFile ====
Line 400: Line 400:  
This is a 0x10-byte entry. This is originally from the hex portion of "<hex>.nca" directory-names from this storage FS(like [[SD_Filesystem|SD]]). This is also referred to as "ContentId" in the official SDK.
 
This is a 0x10-byte entry. This is originally from the hex portion of "<hex>.nca" directory-names from this storage FS(like [[SD_Filesystem|SD]]). This is also referred to as "ContentId" in the official SDK.
   −
The NcaID is the same as the first 0x10-bytes from the calculated SHA256 hash, from hashing the entire output from ReadEntryRaw.
+
The NcaID is the same as the first 0x10-bytes from the calculated SHA256 hash, from hashing the entire output from [[#ReadContentIdFile]].
    
=== Enums ===
 
=== Enums ===
77

edits

Navigation menu