The "vngen_file_save_map" Function
ds_map containing basic VNgen progress and engine data, which can then be written to save files along with other custom game data.
If no VNgen data could be found in the current room,
undefined will be returned instead.
Also note that data structures are volatile and may become inaccessible if the variables referencing them are redefined. As such, it is highly recommended to always destroy the data structure when it no longer needed.
vngen_file_load_map function for a list of values included in the generated
var save_data = vngen_file_save_map();
var file = file_text_open_write(working_directory + "save.dat");