Difference between revisions of "FS:OpenArchive"

From 3dbrew
Jump to navigation Jump to search
(Created page with "=Request= {| class="wikitable" border="1" |- ! Index Word ! Description |- | 0 | Header code [0x080C00C2] |- | 1 | Archive idcode |- | 2 | LowPath.Type |- | 3 | LowPath.Size |-...")
 
 
(34 intermediate revisions by 5 users not shown)
Line 9: Line 9:
 
|-
 
|-
 
| 1
 
| 1
| Archive idcode
+
| [[Filesystem_services#ArchiveId|Archive ID]]
 
|-
 
|-
 
| 2
 
| 2
| LowPath.Type
+
| [[Filesystem_services#PathType|Path Type]]
 
|-
 
|-
 
| 3
 
| 3
| LowPath.Size
+
| Path Size (including null-terminator)
 
|-
 
|-
 
| 4
 
| 4
| (LowPath.Size<<14)  <nowiki>|</nowiki> 2
+
| (PathSize << 14)  <nowiki>|</nowiki> 2
 
|-
 
|-
 
| 5
 
| 5
| LowPath.Data pointer
+
| Path Data Pointer
 
|}
 
|}
  
Line 34: Line 34:
 
|-
 
|-
 
| 1
 
| 1
| Resultcode
+
| Result code
 
|-
 
|-
| 2
+
| 2-3
| Archive handle lower word
+
| u64, Archive Handle
|-
 
| 3
 
| Archive handle upper word
 
|}
 
 
 
=Archive idcodes =
 
{| class="wikitable" border="1"
 
|-
 
!  Idcode
 
!  Description
 
|-
 
| 0x1234567D
 
| "nandrw:"
 
|-
 
| 0x1234567E
 
| "nandro:"
 
|-
 
| 0xF0000001
 
| "ex0:"
 
|-
 
| 0xF0000002
 
| "ex1:"
 
|-
 
| 0xF0000009
 
| "ex2:"
 
|-
 
| 0xF000000B
 
| "ex3:" / "$coin" / "IDB"
 
|-
 
| 0xF000000C
 
| "ex4:" / "basho:"
 
 
|}
 
|}

Latest revision as of 23:35, 5 September 2016

Request[edit]

Index Word Description
0 Header code [0x080C00C2]
1 Archive ID
2 Path Type
3 Path Size (including null-terminator)
4 (PathSize << 14) | 2
5 Path Data Pointer

Response[edit]

Index Word Description
0 Header code
1 Result code
2-3 u64, Archive Handle