not sure why, but when i fired up Factorio 0.15.34 (steam) today i got greeted by this.
would someone mind taking a peek at it? i would rather not have to reset.
cheers
[RESOLVED] 'Configuration file has invalid contents'
- impetus maximus
- Smart Inserter
- Posts: 1299
- Joined: Sat Aug 20, 2016 10:07 pm
- Contact:
[RESOLVED] 'Configuration file has invalid contents'
Last edited by impetus maximus on Thu Sep 28, 2017 7:33 pm, edited 1 time in total.
Re: 'Configuration file has invalid contents'
This is a config file from 0.14 and you're trying to load it in 0.15.
From the 0.15.0 changelog:
If it's not, then the config is invalid and has to be regenerated. You can workaround this by adding that line as the first line yourself, but this is not recommended.
In 0.15 all settings that are at default are commented out with a semicolon, and if you use a modified 0.14 config then changes in the defaults won't apply to you, e.g. if they decide to switch the default keybinding of a key to another one or change default graphics settings it won't change for you.
Also, in 0.14 configuration files some of the names (especially in [sound], [debug] and [other]) used the _ (underscore) as delimiter, in 0.15 they all use the - (hyphen). This will reset some of your settings, especially the settings found in Settings --> Other anyway, so it's probably better to reset the config and use the in-game Settings dialog to reconfigure your settings.
From the 0.15.0 changelog:
Since 0.15 Factorio checks if the first line isConfiguration
- Configuration has been reset.
Code: Select all
; version=2
In 0.15 all settings that are at default are commented out with a semicolon, and if you use a modified 0.14 config then changes in the defaults won't apply to you, e.g. if they decide to switch the default keybinding of a key to another one or change default graphics settings it won't change for you.
Also, in 0.14 configuration files some of the names (especially in [sound], [debug] and [other]) used the _ (underscore) as delimiter, in 0.15 they all use the - (hyphen). This will reset some of your settings, especially the settings found in Settings --> Other anyway, so it's probably better to reset the config and use the in-game Settings dialog to reconfigure your settings.
- impetus maximus
- Smart Inserter
- Posts: 1299
- Joined: Sat Aug 20, 2016 10:07 pm
- Contact:
Re: 'Configuration file has invalid contents'
thank you very much. i think i know what happened to the config file.
don't know why but windows added a shortcut to factorio to the start menu.
when i clicked on it, it opened an earlier version of the game and it overwrote the conf.
i just copied the config file from my 0.15.34 package one, and swapped
read-data=__PATH__executable__\..\..\data
write-data=__PATH__executable__\..\..
for
read-data=__PATH__system-read-data__
write-data=__PATH__system-write-data__
so it will use %appdata%
many thanks for the help.
don't know why but windows added a shortcut to factorio to the start menu.
when i clicked on it, it opened an earlier version of the game and it overwrote the conf.
i just copied the config file from my 0.15.34 package one, and swapped
read-data=__PATH__executable__\..\..\data
write-data=__PATH__executable__\..\..
for
read-data=__PATH__system-read-data__
write-data=__PATH__system-write-data__
so it will use %appdata%
many thanks for the help.