Page 1 of 1

[0.15.31] Factorio keeps reseting my key bindings

Posted: Tue Aug 01, 2017 10:32 pm
by wvlad
When I update Factorio to new version or when I delete some mod my controls are reseted. It's very customized scheme and I can't just setup it again. This is a VERY BIG DEAL to remember and setup each shortcut again. Please, fix it.

Re: [0.15.31] Factorio keeps reseting my key bindings

Posted: Wed Aug 02, 2017 12:42 am
by Jon8RFC
Are you using the Steam version as well as the standalone version? I've noticed that when I run the Steam version, it resets the experimental update setting in my config for my standalone version. Maybe this occurs for key bindings as well...

Re: [0.15.31] Factorio keeps reseting my key bindings

Posted: Wed Aug 02, 2017 8:36 am
by wvlad
No, I'm using standalone version.

Re: [0.15.31] Factorio keeps reseting my key bindings

Posted: Wed Aug 02, 2017 9:22 am
by posila
There is intended config reset when updating from 0.14 to 0.15, but it should not reset when updating for example from 0.15.30 to 0.15.31, nor should it reset when changing mods. Also it should show you a prompt whenever reset happens.

Does config not reset when you just restart a game? Can you post factorio-current.log from run in which config did reset?

Re: [0.15.31] Factorio keeps reseting my key bindings

Posted: Wed Aug 02, 2017 9:37 am
by wvlad
When I just restart the game the key bindings are ok. The issue happens with each update (29->30,30->31) and when I delete a mod. I'll post the log when I see it again.

Re: [0.15.31] Factorio keeps reseting my key bindings

Posted: Wed Aug 02, 2017 10:13 am
by Zavian
Are you using the .zip version ?
Because if you are, then you will get a clean copy of the config settings each time you extract the zip.

Re: [0.15.31] Factorio keeps reseting my key bindings

Posted: Wed Aug 02, 2017 10:45 am
by wvlad
I'm using the auto-update feature. I don't extract Factorio manually.

Re: [0.15.31] Factorio keeps reseting my key bindings

Posted: Wed Aug 02, 2017 8:38 pm
by wvlad
Now I'm not sure what causes it. I've just updated to 32 and when I opened settings - controls - mods I saw default keybindings instead of mine. I checked my backup and It turned out that the config file was already reseted when it showed me the "auto update" popup.
log

Re: [0.15.31] Factorio keeps reseting my key bindings

Posted: Wed Aug 02, 2017 8:42 pm
by wvlad
my original config.ini
reseted config ini

Re: [0.15.31] Factorio keeps reseting my key bindings

Posted: Thu Aug 03, 2017 12:05 pm
by posila
Thanks. I can see you play in Russian. Do you switch between different keybord layouts (russian and english maybe)?

Re: [0.15.31] Factorio keeps reseting my key bindings

Posted: Thu Aug 03, 2017 12:59 pm
by wvlad
Yes, when I use search.

Re: [0.15.31] Factorio keeps reseting my key bindings

Posted: Sat Aug 05, 2017 8:20 pm
by wvlad
I think I have discovered the steps to reproduce for mods.

1. Make a new mod folder with incorrect data.lua that will produce error message during mod loading
2. Fix that data.lua and press "reload" - all mods key bindings are gone.

Re: [0.15.31] Factorio keeps reseting my key bindings

Posted: Mon Jan 29, 2018 5:48 pm
by posila
Thanks for the report.
Fixed for 0.16.21