Changes

Jump to navigation Jump to search
No change in size ,  15:43, 13 June 2017
OCD
Line 93: Line 93:  
Returns number of entries read.
 
Returns number of entries read.
   −
Each entry is a [[#ncaID]].
+
Each entry is a [[#NcaID]].
    
The total read entries is exactly the same as the number of "<hex>.nca" directories in the storage FS(or at least under the "registered" directory?).
 
The total read entries is exactly the same as the number of "<hex>.nca" directories in the storage FS(or at least under the "registered" directory?).
    
== GetEntrySize ==
 
== GetEntrySize ==
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 from offset 0x28 in the NAX0 header in the "<ncaID>.nca/00" file. This matches <filesize of that file>-0x4000.
+
Returns the total size readable by ReadEntryRaw. This is the same as the size field from offset 0x28 in the NAX0 header in the "<NcaID>.nca/00" file. This matches <filesize of that file>-0x4000.
    
== ReadEntryRaw ==
 
== ReadEntryRaw ==
Takes an output buffer, a [[#ncaID]] as input, and a u64 file offset.
+
Takes an output buffer, a [[#NcaID]] as input, and a u64 file offset.
   −
Returns encrypted looking data. Doesn't match the encrypted raw data in the "<ncaID>.nca/00" file.
+
Returns encrypted looking data. Doesn't match the encrypted raw data in the "<NcaID>.nca/00" file.
    
See GetEntrySize for the total size readable with this.
 
See GetEntrySize for the total size readable with this.
    
== GetNcaTitleInfo ==
 
== GetNcaTitleInfo ==
Takes a [[#ncaID]] and returns the following 0x10-sized entry. With some ncaIDs this may return 0 with an all-zero output entry.
+
Takes a [[#NcaID]] and returns the following 0x10-sized entry. With some NcaIDs this may return 0 with an all-zero output entry.
    
{| class="wikitable" border="1"
 
{| class="wikitable" border="1"
Line 189: Line 189:  
   u64    title_id;
 
   u64    title_id;
   −
== ncaID ==
+
== NcaID ==
 
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 a 0x10-byte entry. This is originally from the hex portion of "<hex>.nca" directory-names from this storage FS(like [[SD_Filesystem|SD]]).

Navigation menu