Page 1 of 1

[1.0.0] game.auto_save fails to save to subdirectory

Posted: Sun Aug 30, 2020 11:02 am
by Shados
It is possible to save to a subdirectory when using the save menu (although the subdirectory must first be created externally), which is useful for organising and grouping game saves. `game.server_save` is also capable of saving to subdirectories, but `game.auto_save` fails to do so.

I believe the issue is related to `game.auto_save` adding a `_autosave` prefix to the save name, as it does successfully create a subdirectory (with the `_autosave` prefix) but then attempts to write the save file into a nested subdirectory of that subdirectory (according to the error message and log file, which is attached to this post).

Re: [1.0.0] game.auto_save fails to save to subdirectory

Posted: Sun Aug 30, 2020 9:04 pm
by Rseding91
Thanks for the report however that function does not support saving to sub directories. It specifically asks for a name and that name will get put into the default saves folder.