getFileData

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

This function will always allocate new memory and always call the decrypting and uncompressing routines.

Parameters

grf GRF

The grf to read the file from

useCache Flag!"useCache"

Return the data from cache if it exists

Return Value

Type: ubyte[]

The unencrypted and uncompressed file data

Meta