Skip to main content

The "vngen_file_load" Function

Syntax#

vngen_file_load(filename);
ArgumentTypeDescription
filenamestringThe complete filename of the target save file, including path and extension

Description#

Reads basic VNgen data from the target file (if it exists), then recreates the stored object with all saved properties. Encryption is automatically detected and decrypted if found.

To load data without automatically applying it, see the vngen_file_load_map function.

Example#

vngen_file_load(working_directory + "save.dat");