FS:CheckArchive

From 3dbrew
Revision as of 19:15, 2 May 2025 by TimmSkiller (talk | contribs) (Created page with "=Request= {{IPC/Request}} {{IPC/RequestHeader|0x870|3|2}} {{IPC/RequestEntry|u32, Archive ID}} {{IPC/RequestEntry|Filesystem_services#Filena...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Request

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

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

Description

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.