[0.11.22] [ondra] Game doesn't load when config/mod-list.json is corrupted

This subforum contains all the issues which we already resolved.
Post Reply
proudeden
Burner Inserter
Burner Inserter
Posts: 9
Joined: Thu Jun 11, 2015 10:07 pm
Contact:

[0.11.22] [ondra] Game doesn't load when config/mod-list.json is corrupted

Post by proudeden »

I just got the game and I love it and play it a lot but when I play it a long time it comes up with a error that it couldn't read a file first it was config now its mods (I don't have any) and I have to re-download it and remove my save and put it in the new one. Its not that big of a deal for me but does anyone have any help?

Error while reading file C:/Users\Eden\Desktop\Factorio_0.11.22\config\config.ini: <unspecified file> (1): '=' character not found in line (When I opened up the file nothing was there)

Error while reading file C:/Users\Eden\Desktop\Factorio_0.11.22\mods\mod-list.json: <unspecified file> (1): expected object or array (I don't have any mods)

Oxyd
Former Staff
Former Staff
Posts: 1428
Joined: Thu May 07, 2015 8:42 am
Contact:

Re: [0.11.22] [ondra] Game doesn't load when config/mod-list.json is corrupted

Post by Oxyd »

Could you attach the corrupted files? Even if there is nothing in them, they might still be helpful in trying to track down the source of the corruption.

proudeden
Burner Inserter
Burner Inserter
Posts: 9
Joined: Thu Jun 11, 2015 10:07 pm
Contact:

Re: [0.11.22] [ondra] Game doesn't load when config/mod-list.json is corrupted

Post by proudeden »

The other two are .json files and I cant add them. :x
Attachments
config.ini
(4.22 KiB) Downloaded 122 times

Oxyd
Former Staff
Former Staff
Posts: 1428
Joined: Thu May 07, 2015 8:42 am
Contact:

Re: [0.11.22] [ondra] Game doesn't load when config/mod-list.json is corrupted

Post by Oxyd »

Thanks. It's a shame the forum won't let you add .json files – I guess changing the file ending might help.

I've made the game ignore config.ini errors. Also saving config.ini and mod-list.json should now be less prone to error (hopefully). This should help the situation.

proudeden
Burner Inserter
Burner Inserter
Posts: 9
Joined: Thu Jun 11, 2015 10:07 pm
Contact:

Re: [0.11.22] [ondra] Game doesn't load when config/mod-list.json is corrupted

Post by proudeden »

Oxyd wrote:Thanks. It's a shame the forum won't let you add .json files – I guess changing the file ending might help.

I've made the game ignore config.ini errors. Also saving config.ini and mod-list.json should now be less prone to error (hopefully). This should help the situation.
Thanks! Love to help! What would you like me to change the file to? .txt ect.

Koub
Global Moderator
Global Moderator
Posts: 7446
Joined: Fri May 30, 2014 8:54 am
Contact:

Re: [0.11.22] [ondra] Game doesn't load when config/mod-list.json is corrupted

Post by Koub »

proudeden wrote:The other two are .json files and I cant add them. :x
When unable to add a specific file extension, I zip the file, as most forums accept zip extension. The operation is as quick for the uploader as it is for the downloader.
Koub - Please consider English is not my native language.

proudeden
Burner Inserter
Burner Inserter
Posts: 9
Joined: Thu Jun 11, 2015 10:07 pm
Contact:

Re: [0.11.22] [ondra] Game doesn't load when config/mod-list.json is corrupted

Post by proudeden »

These are the mod-list.json files it said didn't work/ it could not read.
Attachments
Factorio Mod-list.json files.zip
(165 Bytes) Downloaded 107 times

kovarex
Factorio Staff
Factorio Staff
Posts: 8079
Joined: Wed Feb 06, 2013 12:00 am
Contact:

Re: [0.11.22] [ondra] Game doesn't load when config/mod-list.json is corrupted

Post by kovarex »

I enabled direct upload of the json extension on the forum.

proudeden
Burner Inserter
Burner Inserter
Posts: 9
Joined: Thu Jun 11, 2015 10:07 pm
Contact:

Re: [0.11.22] [ondra] Game doesn't load when config/mod-list.json is corrupted

Post by proudeden »

kovarex wrote:I enabled direct upload of the json extension on the forum.
Do you want me to resend it? or is the .zip ok?

Oxyd
Former Staff
Former Staff
Posts: 1428
Joined: Thu May 07, 2015 8:42 am
Contact:

Re: [0.11.22] [ondra] Game doesn't load when config/mod-list.json is corrupted

Post by Oxyd »

The .zip is fine, I got the file okay. Thanks. :)

Now to just find out what's causing it. Both files are filled with zeroes, which means it's neither a partial write, nor a completely empty file. Peculiar.

proudeden
Burner Inserter
Burner Inserter
Posts: 9
Joined: Thu Jun 11, 2015 10:07 pm
Contact:

Re: [0.11.22] [ondra] Game doesn't load when config/mod-list.json is corrupted

Post by proudeden »

Oxyd wrote:The .zip is fine, I got the file okay. Thanks. :)

Now to just find out what's causing it. Both files are filled with zeroes, which means it's neither a partial write, nor a completely empty file. Peculiar.
I did not open them I just opened the config, this happened after I have played it for a while I didn't mess around with them at all. (In case you were wondering)

Post Reply

Return to “Resolved Problems and Bugs”