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).
[1.0.0] game.auto_save fails to save to subdirectory
[1.0.0] game.auto_save fails to save to subdirectory
- Attachments
-
- factorio-current.log
- (26.3 KiB) Downloaded 56 times
Re: [1.0.0] game.auto_save fails to save to subdirectory
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.
If you want to get ahold of me I'm almost always on Discord.