Config issues

Anything that prevents you from playing the game properly. Do you have issues playing for the game, downloading it or successfully running it on your computer? Let us know here.
lunarkills1
Burner Inserter
Burner Inserter
Posts: 9
Joined: Sat Apr 23, 2016 3:23 am
Contact:

Config issues

Post by lunarkills1 »

When I launch my game, it comes up with an error that says

error in reading file C:/Users\(my name)\appdata\roaming\factorio\config\config.ini: <unspecified file>(1): '=' character not found in line

I continued to check my config files and the one that tells the controls is completely deleted. Please help either copy and paste a set of the config or help fix this problem.
User avatar
prg
Filter Inserter
Filter Inserter
Posts: 947
Joined: Mon Jan 19, 2015 12:39 am
Contact:

Re: Config issues

Post by prg »

Using some horribly outdated version? Factorio should be able to deal with that by now.
Automatic Belt (and pipe) Planner—Automate yet another aspect of constructing your factory!
User avatar
bobingabout
Smart Inserter
Smart Inserter
Posts: 7352
Joined: Fri May 09, 2014 1:01 pm
Contact:

Re: Config issues

Post by bobingabout »

I'd suggest delete the file mentioned, and try again.
Creator of Bob's mods. Expanding your gameplay since version 0.9.8.
I also have a Patreon.
lunarkills1
Burner Inserter
Burner Inserter
Posts: 9
Joined: Sat Apr 23, 2016 3:23 am
Contact:

Re: Config issues

Post by lunarkills1 »

Deleting the file helped, but now a different error has occurred. It says

error while reading file C:/users\(my name)\appdata\roaming\factorio\mods\mod-list.json: <unspecified file> (1): expected object or array
arriej
Burner Inserter
Burner Inserter
Posts: 7
Joined: Thu May 05, 2016 11:01 am
Contact:

Re: Config issues

Post by arriej »

i'd suggest you backup your factorio folder that is located in your \appdata\roaming\
then deletel the factorio folder. (Really make sure you saved is somewhere safe, because your saved games are in this as well)
Launch factorio, let it create the new folder and files.
Place your saved games back from your backup.
Image
Oxyd
Former Staff
Former Staff
Posts: 1428
Joined: Thu May 07, 2015 8:42 am
Contact:

Re: Config issues

Post by Oxyd »

Looks like both of these files got corrupted. It is reasonably safe to delete both config.ini and mod-list.json, the game will then generate fresh ones. Of course, you'll lose your configuration. (But then, you've already probably lost it, since those files are corrupted.)

What causes the corruption is still a mystery, though. I've made a change to 0.13 to hopefully fix this issue, but since I don't know how this happens in the first place, it's hard to know for sure.
lunarkills1
Burner Inserter
Burner Inserter
Posts: 9
Joined: Sat Apr 23, 2016 3:23 am
Contact:

Re: Config issues

Post by lunarkills1 »

Thank you! This worked
Post Reply

Return to “Technical Help”