FS:OpenFileDirectly

From 3dbrew
Revision as of 16:56, 20 April 2012 by Neimod (talk | contribs)
Jump to navigation Jump to search

Request

Index Word Description
0 Header code [0x08030204]
1 Transaction (usually 0)
2 Archive idcode
3 Archive LowPath.Type
4 Archive LowPath.Size
5 File LowPath.Type
6 File LowPath.Size
7 Openflags
8 Attributes (usually 0)
9 (Archive LowPath.Size<<14) | 0x802
10 Archive LowPath.Data pointer
11 (File LowPath.Size<<14) | 2
12 File LowPath.Data pointer

Response

Index Word Description
0 Header code
1 Result code
2 N/A
3 File handle

Attributes

Flag Description
0x00000001 Is Read-Only
0x00000100 Is Archive
0x00010000 Is Hidden
0x01000000 Is Directory