Page 1 of 1

[1.1.8] upgrading to 1.1.8 switched save, mods folder to the %appdata%

Posted: Fri Jan 08, 2021 6:20 am
by Dune
So, I upgraded to 1.1.8 via steam (from 1.1.6) and it changed my save/mods folder from the install folder to the %appsdata%/factorio folder.

I tried downgrading back to 1.1.6, or downloading a zip of 1.1.6 thinking it might be a 1.1.8 issue, but it is still trying to load from the appsdata folder, which hasn't had saves since v0.15.40.

This seems to be a registry setting, since it is the same no matter which version of 1.1 I use. Anyway to change this back?

Re: [1.1.8] upgrading to 1.1.8 switched save, mods folder to the %appdata%

Posted: Fri Jan 08, 2021 6:48 am
by boskid
There were no changes related to folders in between of 1.1.6 and 1.1.8 so i am not considering this a Bug report. Moving to Technical help.

Re: [1.1.8] upgrading to 1.1.8 switched save, mods folder to the %appdata%

Posted: Fri Jan 08, 2021 7:55 am
by Dune
I re-unzipped 1.1.6 into a separate folder, and careful which files I copied over...

Just went with blueprints, saves and scenarios (need it since I'm using a redmew.com's scenario) folders, it worked as it had before. But then copying the other files, player-data and config.ini, it is still working. I can't figure out what is different.

The file config-path says it is ignored once the config folder is generated.

Anyway, I guess with this I'll try uninstalling the steam version completely, then re-installing and hope to go from there.

Re: [1.1.8] upgrading to 1.1.8 switched save, mods folder to the %appdata%

Posted: Fri Jan 08, 2021 8:38 am
by Dune
Clean install, nothing moved over.

Changed only config-path.cfg to have "use-system-read-write-data-directories=false", but it just ignores this and still uses the appdata folder.

It may seem trivial, but I like to have different versions of the game available. If they all point to the same saves & mods folders, then I can't keep versions separate. The steam version tracks my hours played and achievements. I'm a streamer and I always get the question, "How many hours have you played factorio?"

Any suggestions to get steam to use the local install folder for write data?

NM, figured it out. I changed the %appdata%/factorio/config/config.ini file to point have the lines

read-data=__PATH__executable__\..\..\data
write-data=__PATH__executable__\..\..

Instead of

read-data=__PATH__system-read-data__
write-data=__PATH__system-write-data__

Seems factorio reads the appdata config file first before reading the one in the install folder. During my upgrade, somehow that got switched?

Re: [1.1.8] upgrading to 1.1.8 switched save, mods folder to the %appdata%

Posted: Sun Jan 10, 2021 4:39 pm
by Rseding91
The game reads the config-path file located at: exe-path\..\..\config-path.cfg

If that exist otherwise it will start looking in %appdata%.

Re: [1.1.8] upgrading to 1.1.8 switched save, mods folder to the %appdata%

Posted: Mon Jan 11, 2021 8:27 am
by Dune
@Reseding91, it actually worked the opposite in the above case. That's why I first reported as a bug, and it got moved to troubleshoot.

In my case it checks appdata/factorio/config/config.ini before the install folder/config/config.ini

Re: [1.1.8] upgrading to 1.1.8 switched save, mods folder to the %appdata%

Posted: Mon Jan 11, 2021 3:27 pm
by Rseding91
Dune wrote:
Mon Jan 11, 2021 8:27 am
@Reseding91, it actually worked the opposite in the above case. That's why I first reported as a bug, and it got moved to troubleshoot.

In my case it checks appdata/factorio/config/config.ini before the install folder/config/config.ini
config.ini and config-path.ini are two different files. config-path.ini tells the game where to look for config.ini.

Re: [1.1.8] upgrading to 1.1.8 switched save, mods folder to the %appdata%

Posted: Wed Jan 13, 2021 5:17 am
by Dune
Okay, but whichever I mentioned, I did mean the one in ./appdata/factorio/config/ was being checked first, and then once it saw that the flags were set for the exe directory and not the system directory did it then use the local files to the exe.