Line 37:
Line 37:
{| class="wikitable" border="1"
{| class="wikitable" border="1"
|-
|-
−
! Cmd || Name || Required permissions-type and func
+
! 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]] || Depends on input.
+
| 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 || OpenDataStorageByApplicationId [3.0.0+] ||
+
| 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 || 0x18, 1
+
| 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 || 0x18, 1
+
| 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]] || 0x19, 1
+
| 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]] || 0x10, 1
+
| 1004 || [[#SetGlobalAccessLogMode]]
|-
|-
−
| 1005 || [[#GetGlobalAccessLogMode]] || None
+
| 1005 || [[#GetGlobalAccessLogMode]]
|-
|-
−
| 1006 || [[#OutputAccessLogToSdCard]] || None
+
| 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.
−
−
{| class="wikitable" border="1"
−
|-
−
! in32 || Required permissions-type and func
−
|-
−
| 2 || 0x0, 0
−
|-
−
| 3 || 0x2, 0
−
|-
−
| 4 || 0x3, 0
−
|-
−
| 5 || 0x1, 0
−
|-
−
| 6 || 0x4, 0
−
|-
−
| 7 || 0x5, 0
−
|}
== MountBis ==
== MountBis ==