Difference between revisions of "FS:OpenArchive"

From 3dbrew
Jump to: navigation, search
(Archive idcodes)
Line 50: Line 50:
 
!  Accessible via [[Filesystem_services|FS]]
 
!  Accessible via [[Filesystem_services|FS]]
 
!  Accessible via [[Filesystem_services_PXI|FSPXI]]
 
!  Accessible via [[Filesystem_services_PXI|FSPXI]]
 +
!  Requires binary [[FS:OpenFile|Lowpath]]
 
|-
 
|-
 
| 0x00000003
 
| 0x00000003
 
| Application RomFS
 
| Application RomFS
 
| Yes
 
| Yes
 +
| No
 
| No
 
| No
 
|-
 
|-
Line 59: Line 61:
 
| SaveData
 
| SaveData
 
| Yes
 
| Yes
 +
| No
 
| No
 
| No
 
|-
 
|-
Line 65: Line 68:
 
| Yes
 
| Yes
 
| No
 
| No
 +
| Yes
 
|-
 
|-
 
| 0x00000007
 
| 0x00000007
Line 70: Line 74:
 
| Yes
 
| Yes
 
| No
 
| No
 +
| Yes
 
|-
 
|-
 
| 0x00000008
 
| 0x00000008
Line 75: Line 80:
 
| Yes
 
| Yes
 
| No
 
| No
 +
| Yes
 
|-
 
|-
 
| 0x00000009
 
| 0x00000009
Line 80: Line 86:
 
| Yes
 
| Yes
 
| Yes
 
| Yes
 +
| No
 
|-
 
|-
 
| 0x0000000A
 
| 0x0000000A
 
| SDMC Write-Only
 
| SDMC Write-Only
 
| Yes
 
| Yes
 +
| No
 
| No
 
| No
 
|-
 
|-
Line 90: Line 98:
 
| Yes
 
| Yes
 
| No
 
| No
 +
| Yes
 
|-
 
|-
 
| 0x12345679
 
| 0x12345679
Line 95: Line 104:
 
| Yes
 
| Yes
 
| Yes
 
| Yes
 +
| No
 
|-
 
|-
 
| 0x1234567B
 
| 0x1234567B
 
| ExtSaveData, and ExtSaveData for BOSS
 
| ExtSaveData, and ExtSaveData for BOSS
 
| No
 
| No
 +
| Yes
 
| Yes
 
| Yes
 
|-
 
|-
Line 104: Line 115:
 
| SystemSaveData
 
| SystemSaveData
 
| No
 
| No
 +
| Yes
 
| Yes
 
| Yes
 
|-
 
|-
Line 110: Line 122:
 
| Yes
 
| Yes
 
| Yes
 
| Yes
 +
| No
 
|-
 
|-
 
| 0x1234567E
 
| 0x1234567E
Line 115: Line 128:
 
| Yes
 
| Yes
 
| Yes
 
| Yes
 +
| No
 
|-
 
|-
 
| 0x1234567F
 
| 0x1234567F
Line 120: Line 134:
 
| No
 
| No
 
| Yes
 
| Yes
 +
| No
 
|-
 
|-
 
| 0x2345678A
 
| 0x2345678A
 
| User/GameCard SaveData (for check), and other uses (FS can only mount the latter)
 
| User/GameCard SaveData (for check), and other uses (FS can only mount the latter)
 +
| Yes
 
| Yes
 
| Yes
 
| Yes
 
| Yes
Line 129: Line 145:
 
| ?
 
| ?
 
| No
 
| No
 +
| Yes
 
| Yes
 
| Yes
 
|-
 
|-
Line 134: Line 151:
 
| ?
 
| ?
 
| No
 
| No
 +
| Yes
 
| Yes
 
| Yes
 
|-
 
|-
Line 140: Line 158:
 
| No
 
| No
 
| Yes
 
| Yes
 +
| No
 
|-
 
|-
 
| 0x2345678E
 
| 0x2345678E
 
| SaveData, ExeFS, and RomFS (For [[Filesystem_services|FS]], only ExeFS)
 
| SaveData, ExeFS, and RomFS (For [[Filesystem_services|FS]], only ExeFS)
 +
| Yes
 
| Yes
 
| Yes
 
| Yes
 
| Yes
Line 150: Line 170:
 
| No
 
| No
 
| Yes
 
| Yes
 +
| No
 
|-
 
|-
 
| 0x567890AC
 
| 0x567890AC
Line 155: Line 176:
 
| Yes
 
| Yes
 
| Yes
 
| Yes
 +
| No
 
|-
 
|-
 
| 0x567890AD
 
| 0x567890AD
Line 160: Line 182:
 
| No
 
| No
 
| Yes
 
| Yes
 +
| No
 
|-
 
|-
 
| 0x567890AE
 
| 0x567890AE
Line 165: Line 188:
 
| Yes
 
| Yes
 
| Yes
 
| Yes
 +
| No
 
|-
 
|-
 
| 0x567890AF
 
| 0x567890AF
Line 170: Line 194:
 
| Yes
 
| Yes
 
| Yes
 
| Yes
 +
| No
 
|-
 
|-
 
| 0x567890B0
 
| 0x567890B0
Line 175: Line 200:
 
| No
 
| No
 
| Yes
 
| Yes
 +
| No
 
|-
 
|-
 
| 0x567890B1
 
| 0x567890B1
 
| Gamecard SaveData (for check)
 
| Gamecard SaveData (for check)
 
| Yes
 
| Yes
 +
| No
 
| No
 
| No
 
|-
 
|-
Line 185: Line 212:
 
| Yes
 
| Yes
 
| No
 
| No
 +
| Yes
 
|}
 
|}
 +
Archives listed as not requiring a binary lowpath, use lowpath type [[FS:OpenFile|empty]].
  
 
Archives CTR NAND, 0x1234567F, TWL NAND, 0x567890AF, and 0x12345679 require the corresponding process exheader access control mount flag to be set, in the exheader for any of the currently running ARM11 processes. The access rights checked by [[Filesystem services|FS]] module for archive mounting with fs:USER, are stored in the process' exheader accessinfo.
 
Archives CTR NAND, 0x1234567F, TWL NAND, 0x567890AF, and 0x12345679 require the corresponding process exheader access control mount flag to be set, in the exheader for any of the currently running ARM11 processes. The access rights checked by [[Filesystem services|FS]] module for archive mounting with fs:USER, are stored in the process' exheader accessinfo.

Revision as of 23:41, 19 August 2012

Request

Index Word Description
0 Header code [0x080C00C2]
1 Archive idcode
2 LowPath.Type
3 LowPath.Size
4 (LowPath.Size<<14) | 2
5 LowPath.Data pointer

Response

Index Word Description
0 Header code
1 Resultcode
2 Archive handle lower word
3 Archive handle upper word

Archive idcodes

Idcode Description Accessible via FS Accessible via FSPXI Requires binary Lowpath
0x00000003 Application RomFS Yes No No
0x00000004 SaveData Yes No No
0x00000006 ExtSaveData Yes No Yes
0x00000007 Shared ExtSaveData Yes No Yes
0x00000008 SystemSaveData Yes No Yes
0x00000009 SDMC Yes Yes No
0x0000000A SDMC Write-Only Yes No No
0x12345678 ExtSaveData for BOSS Yes No Yes
0x12345679 ? Yes Yes No
0x1234567B ExtSaveData, and ExtSaveData for BOSS No Yes Yes
0x1234567C SystemSaveData No Yes Yes
0x1234567D NAND RW Yes Yes No
0x1234567E NAND RO Yes Yes No
0x1234567F ? No Yes No
0x2345678A User/GameCard SaveData (for check), and other uses (FS can only mount the latter) Yes Yes Yes
0x2345678B ? No Yes Yes
0x2345678C ? No Yes Yes
0x2345678D ? No Yes No
0x2345678E SaveData, ExeFS, and RomFS (For FS, only ExeFS) Yes Yes Yes
0x567890AB NAND CTR FS No Yes No
0x567890AC TWL PHOTO Yes Yes No
0x567890AD ? No Yes No
0x567890AE NAND TWL FS Yes Yes No
0x567890AF ? Yes Yes No
0x567890B0 ? No Yes No
0x567890B1 Gamecard SaveData (for check) Yes No No
0x567890B2 UserSaveData (for check) Yes No Yes

Archives listed as not requiring a binary lowpath, use lowpath type empty.

Archives CTR NAND, 0x1234567F, TWL NAND, 0x567890AF, and 0x12345679 require the corresponding process exheader access control mount flag to be set, in the exheader for any of the currently running ARM11 processes. The access rights checked by FS module for archive mounting with fs:USER, are stored in the process' exheader accessinfo.