Filesystem services: Difference between revisions
Line 37: | Line 37: | ||
{| class="wikitable" border="1" | {| class="wikitable" border="1" | ||
|- | |- | ||
! Cmd || Name | ! Cmd || Name | ||
|- | |- | ||
| 0 || [1.0.0] [[#MountContent]] | | 0 || [1.0.0] [[#MountContent]] | ||
|- | |- | ||
| 1 || [[#Initialize]] | | 1 || [[#Initialize]] | ||
|- | |- | ||
| 2 || OpenDataFileSystemByCurrentProcess | | 2 || OpenDataFileSystemByCurrentProcess | ||
|- | |- | ||
| 7 || [2.0.0+] [[#MountContent7]] | | 7 || [2.0.0+] [[#MountContent7]] | ||
|- | |- | ||
| 8 || [2.0.0+] [[#MountContent]] | | 8 || [2.0.0+] [[#MountContent]] | ||
|- | |- | ||
| 9 || [3.0.0+] OpenDataFileSystemByApplicationId | | 9 || [3.0.0+] OpenDataFileSystemByApplicationId | ||
|- | |- | ||
| 11 || [[#MountBis]] | | 11 || [[#MountBis]] | ||
|- | |- | ||
| 12 || [[#OpenBisPartition]] | | 12 || [[#OpenBisPartition]] | ||
|- | |- | ||
| 13 || InvalidateBisCache | | 13 || InvalidateBisCache | ||
|- | |- | ||
| 17 || OpenHostFileSystemImpl | | 17 || OpenHostFileSystemImpl | ||
|- | |- | ||
| 18 || MountSdCard | | 18 || MountSdCard | ||
|- | |- | ||
| 19 || [2.0.0+] FormatSdCard | | 19 || [2.0.0+] FormatSdCard | ||
|- | |- | ||
| 21 || [[#DeleteSaveData]] | | 21 || [[#DeleteSaveData]] | ||
|- | |- | ||
| 22 || [[#CreateSaveData]] | | 22 || [[#CreateSaveData]] | ||
|- | |- | ||
| 23 || [[#CreateSystemSaveData]] | | 23 || [[#CreateSystemSaveData]] | ||
|- | |- | ||
| 24 || RegisterSaveDataAtomicDeletion | | 24 || RegisterSaveDataAtomicDeletion | ||
|- | |- | ||
| 25 || [2.0.0+] DeleteSaveDataWithSpaceId | | 25 || [2.0.0+] DeleteSaveDataWithSpaceId | ||
|- | |- | ||
| 26 || [2.0.0+] FormatSdCardDryRun | | 26 || [2.0.0+] FormatSdCardDryRun | ||
|- | |- | ||
| 27 || [2.0.0+] IsExFatSupported | | 27 || [2.0.0+] IsExFatSupported | ||
|- | |- | ||
| 30 || [[#OpenGameCardPartition]] | | 30 || [[#OpenGameCardPartition]] | ||
|- | |- | ||
| 31 || [[#MountGameCardPartition]] | | 31 || [[#MountGameCardPartition]] | ||
|- | |- | ||
| 32 || [3.0.0+] ExtendSaveData | | 32 || [3.0.0+] ExtendSaveData | ||
|- | |- | ||
| 51 || [[#MountSaveData]] | | 51 || [[#MountSaveData]] | ||
|- | |- | ||
| 52 || [[#MountSystemSaveData]] | | 52 || [[#MountSystemSaveData]] | ||
|- | |- | ||
| 53 || [2.0.0+] MountSaveDataReadOnly | | 53 || [2.0.0+] MountSaveDataReadOnly | ||
|- | |- | ||
| 57 || [3.0.0+] ReadSaveDataFileSystemExtraDataWithSpaceId | | 57 || [3.0.0+] ReadSaveDataFileSystemExtraDataWithSpaceId | ||
|- | |- | ||
| 58 || ReadSaveDataFileSystemExtraData | | 58 || ReadSaveDataFileSystemExtraData | ||
|- | |- | ||
| 59 || [2.0.0+] WriteSaveDataFileSystemExtraData | | 59 || [2.0.0+] WriteSaveDataFileSystemExtraData | ||
|- | |- | ||
| 60 || OpenSaveDataInfoReader | | 60 || OpenSaveDataInfoReader | ||
|- | |- | ||
| 61 || OpenSaveDataIterator | | 61 || OpenSaveDataIterator | ||
|- | |- | ||
| 80 || OpenSaveDataThumbnailFile | | 80 || OpenSaveDataThumbnailFile | ||
|- | |- | ||
| 100 || MountImageDirectory | | 100 || MountImageDirectory | ||
|- | |- | ||
| 110 || [[#MountContentStorage]] | | 110 || [[#MountContentStorage]] | ||
|- | |- | ||
| 200 || OpenDataStorageByCurrentProcess | | 200 || OpenDataStorageByCurrentProcess | ||
|- | |- | ||
| 201 || | | 201 || [3.0.0+] OpenDataStorageByApplicationId | ||
|- | |- | ||
| 202 || [[#OpenDataStorageByDataId]] | | 202 || [[#OpenDataStorageByDataId]] | ||
|- | |- | ||
| 203 || Returns an [[#IStorage]] | | 203 || Returns an [[#IStorage]] | ||
|- | |- | ||
| 400 || [[#OpenDeviceOperator]] | | 400 || [[#OpenDeviceOperator]] | ||
|- | |- | ||
| 500 || [[#OpenSdCardDetectionEventNotifier]] | | 500 || [[#OpenSdCardDetectionEventNotifier]] | ||
|- | |- | ||
| 501 || [[#OpenGameCardDetectionEventNotifier]] | | 501 || [[#OpenGameCardDetectionEventNotifier]] | ||
|- | |- | ||
| 600 || SetCurrentPosixTime | | 600 || SetCurrentPosixTime | ||
|- | |- | ||
| 601 || QuerySaveDataTotalSize | | 601 || QuerySaveDataTotalSize | ||
|- | |- | ||
| 602 || [[#VerifySaveData]] | | 602 || [[#VerifySaveData]] | ||
|- | |- | ||
| 603 || CorruptSaveDataForDebug | | 603 || CorruptSaveDataForDebug | ||
|- | |- | ||
| 604 || CreatePaddingFile | | 604 || CreatePaddingFile | ||
|- | |- | ||
| 605 || DeleteAllPaddingFiles | | 605 || DeleteAllPaddingFiles | ||
|- | |- | ||
| 606 || [2.0.0+] GetRightsId | | 606 || [2.0.0+] GetRightsId | ||
|- | |- | ||
| 607 || [2.0.0+] RegisterExternalKey | | 607 || [2.0.0+] RegisterExternalKey | ||
|- | |- | ||
| 608 || [2.0.0+] UnregisterExternalKey | | 608 || [2.0.0+] UnregisterExternalKey | ||
|- | |- | ||
| 609 || [2.0.0+] GetRightsIdByPath | | 609 || [2.0.0+] GetRightsIdByPath | ||
|- | |- | ||
| 610 || [3.0.0+] GetRightsIdByPath2 (returns extra byte) | | 610 || [3.0.0+] GetRightsIdByPath2 (returns extra byte) | ||
|- | |- | ||
| 620 || [2.0.0+] [[#SetSdCardEncryptionSeed]] | | 620 || [2.0.0+] [[#SetSdCardEncryptionSeed]] | ||
|- | |- | ||
| 800 || [2.0.0+] GetAndClearFileSystemProxyErrorInfo | | 800 || [2.0.0+] GetAndClearFileSystemProxyErrorInfo | ||
|- | |- | ||
| 1000 || SetBisRootForHost | | 1000 || SetBisRootForHost | ||
|- | |- | ||
| 1001 || SetSaveDataSize | | 1001 || SetSaveDataSize | ||
|- | |- | ||
| 1002 || SetSaveDataRootPath | | 1002 || SetSaveDataRootPath | ||
|- | |- | ||
| 1003 || DisableAutoSaveDataCreation | | 1003 || DisableAutoSaveDataCreation | ||
|- | |- | ||
| 1004 || [[#SetGlobalAccessLogMode]] | | 1004 || [[#SetGlobalAccessLogMode]] | ||
|- | |- | ||
| 1005 || [[#GetGlobalAccessLogMode]] | | 1005 || [[#GetGlobalAccessLogMode]] | ||
|- | |- | ||
| 1006 || [[#OutputAccessLogToSdCard]] | | 1006 || [[#OutputAccessLogToSdCard]] | ||
|} | |} | ||
Line 297: | Line 297: | ||
When in32=5, it uses in64=0xffffffffffffffff internally, otherwise it checks if in64 is set to 0xffffffffffffffff then throws an error if so. | When in32=5, it uses in64=0xffffffffffffffff internally, otherwise it checks if in64 is set to 0xffffffffffffffff then throws an error if so. | ||
== MountBis == | == MountBis == |