RegisterGameFile
This function was added in DSL 5
Description
Registers a file for replacement in the game archives.
Register some file for replacement given a relative path. This can usually only be called in a pre_init_script. It is usually simpler to register the file using your collection's config.txt instead.
function RegisterGameFile(archive, path) --[[ ... ]] end
Parameters
archive:string- The name of the archive to register the file in.path:string- The relative path to the file within the archive.
Archives (for the archive argument)
ACT.IMGCUTS.IMGTRIGGER.IMGIDE.IMGSCRIPTS.IMGWORLD.IMG
Return Values
None.
Example
RegisterGameFile('ACT.IMG', 'path/to/file')