FS:OpenFileDirectly

From 3dbrew
Jump to navigation Jump to search

Request

Index Word Description
0 Header code [0x08030204]
1 Usually zero?
2 Archive idcode
3 Archive LowPath.Type
4 Archive LowPath.Size
5 File LowPath.Type
6 File LowPath.Size
7 Openflags
8 Usually zero?
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 Resultcode
3 File handle