zgrf.grf

Undocumented in source.

Members

Functions

close
void close(VirtualGRF vgrf)

Close the internal file handle of the grf.

close
void close(GRF grf)

Close the internal file handle of the grf.

getFileData
ubyte[] getFileData(GRF grf, GRFFile file, File grfHandle, Flag!"useCache" useCache)

Get the unencrypted and uncompressed data of a file inside the input grf.

getFileData
ubyte[] getFileData(GRF grf, GRFFile file, Flag!"useCache" useCache)
ubyte[] getFileData(GRFFile file, Flag!"useCache" useCache)
ubyte[] getFileData(GRF grf, wstring filename, Flag!"useCache" useCache)
ubyte[] getFileData(VirtualGRF vgrf, wstring filename, Flag!"useCache" useCache)

Get the unencrypted and uncompressed data of a file inside the input grf.

open
void open(GRF grf)
void open(VirtualGRF vgrf)

Open the internal file handle of the grf.

parse
GRF parse(GRF grf, const(wstring)[] filters)
VirtualGRF parse(VirtualGRF vgrf, const(wstring)[] filters)

Parses a grf file given optional filters.

readFiletable
GRF readFiletable(GRF grf, const(wstring)[] filters)
VirtualGRF readFiletable(VirtualGRF vgrf, const(wstring)[] filters)

Parses the filetable of the given grf. If filters is provided then only the files which matches the filters will be loaded.

readHeader
GRF readHeader(GRF grf)
VirtualGRF readHeader(VirtualGRF vgrf)

Parses the header of the given GRF.

Meta