NCM services: Difference between revisions
Even better clarification of IContentMetaDatabase::Get |
ReadEntry Raw -> ReadContentIdFile |
||
Line 306: | Line 306: | ||
Takes a [[#NcaID]] as input. | Takes a [[#NcaID]] as input. | ||
Returns the total size readable by | 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 | The NcaID is the same as the first 0x10-bytes from the calculated SHA256 hash, from hashing the entire output from [[#ReadContentIdFile]]. | ||
=== Enums === | === Enums === |