[1.1.78] game.auto_save fails when writing to a subfolder

This subforum contains all the issues which we already resolved.
Rdjrjqouqcu2
Manual Inserter
Manual Inserter
Posts: 3
Joined: Sun Mar 26, 2023 3:33 am
Contact:

[1.1.78] game.auto_save fails when writing to a subfolder

Post by Rdjrjqouqcu2 »

In a clean version of 1.1.78 (no mods), running the following command will cause the screenshotted notice to pop up.

Code: Select all

/c game.auto_save("foo/bar")
Based on the docs, I would expect this to attempt to create the save in 'saves/_autosave-foo/bar.zip'.

If the second '_autosave-foo' folder is manually created, the autosave completes as expected. This autosave is loadable as expected.

This issue was encountered as part of testing for my save stamper mod: https://mods.factorio.com/mod/rd-save-stamper
Attachments
Complete autosave after manually creating the folder
Complete autosave after manually creating the folder
manual.JPG (13.91 KiB) Viewed 2101 times
Screenshot of Notice box
Screenshot of Notice box
Capture.JPG (50.94 KiB) Viewed 2101 times
Rseding91
Factorio Staff
Factorio Staff
Posts: 14339
Joined: Wed Jun 11, 2014 5:23 am
Contact:

Re: [1.1.78] game.auto_save fails when writing to a subfolder

Post by Rseding91 »

Thanks for the report. This is now fixed for the next 1.1. release.
If you want to get ahold of me I'm almost always on Discord.
User avatar
jamiechi1
Filter Inserter
Filter Inserter
Posts: 272
Joined: Wed Jan 03, 2018 10:12 pm

Re: [1.1.78] game.auto_save fails when writing to a subfolder

Post by jamiechi1 »

Someone reported on the Quicksave mod, that it is broken again on 1.1.94.
Rseding91
Factorio Staff
Factorio Staff
Posts: 14339
Joined: Wed Jun 11, 2014 5:23 am
Contact:

Re: [1.1.78] game.auto_save fails when writing to a subfolder

Post by Rseding91 »

jamiechi1 wrote: Wed Nov 01, 2023 10:26 pm Someone reported on the Quicksave mod, that it is broken again on 1.1.94.
I'll need reproduction steps because this logic has not changed sine it was fixed due to this report.
If you want to get ahold of me I'm almost always on Discord.
Rseding91
Factorio Staff
Factorio Staff
Posts: 14339
Joined: Wed Jun 11, 2014 5:23 am
Contact:

Re: [1.1.78] game.auto_save fails when writing to a subfolder

Post by Rseding91 »

Because when I test it it works fine.
factorio_Tu4zGxe4cM.mp4
(4.02 MiB) Downloaded 90 times
If you want to get ahold of me I'm almost always on Discord.
User avatar
jamiechi1
Filter Inserter
Filter Inserter
Posts: 272
Joined: Wed Jan 03, 2018 10:12 pm

Re: [1.1.78] game.auto_save fails when writing to a subfolder

Post by jamiechi1 »

Rseding91 wrote: Wed Nov 01, 2023 11:17 pm
jamiechi1 wrote: Wed Nov 01, 2023 10:26 pm Someone reported on the Quicksave mod, that it is broken again on 1.1.94.
I'll need reproduction steps because this logic has not changed sine it was fixed due to this report.
I should have tested it myself before reporting this. Also works ok for me.
Post Reply

Return to “Resolved Problems and Bugs”