FS:CheckArchive

From 3dbrew
Jump to navigation Jump to search

Request[edit]

Index Word Description
0
Header 0x87000C2 Cmd 0x870 Param 3 Xlat 2
1 u32, Archive ID
2 Path Type
3 u32, Path size
4 Descriptor for static buffer (id 0)
5 Input path data buffer

Response[edit]

Index Word Description
0
Header 0x8700040 Cmd 0x870 Param 1 Xlat 0
1 Result code

Description[edit]

Internally calls FS:OpenArchive with the given archive path, then closes it. Thus, the result code can be used to check if a given archive is accessible or not.

No archive handle is created as a result of this command.