Load File
Signatures
Description
Loads a file from the specified path into memory. The file's contents are read starting from the given offset and written to the provided memory address, up to the defined size.
Returns whether the operation succeeded (true
) or not (false
).
Arguments
Path
The path of the file to be loaded.
Absolute paths are supported and relative paths start from {game}\x64\
.
Address
The memory address of where the file contents should be written to.
Offset
The starting position in the file where loading should begin, enabling partial file loading.
Is optional and set to 0
by default.
Size
The amount of data that should be loaded.
If set to 0
, it will be automatically calculated, either using the file size or the remaining bytes from the offset to the end of the file.
Is optional and set to 0
by default.
Last updated