More info here: viewtopic.php?f=49&t=96702&p=540048#p540048
tl;dr - headless uses json, gui uses ini.
Search found 6 matches
- Sat Mar 06, 2021 10:41 am
- Forum: Not a bug
- Topic: [1.1.26] Headless server fails to start if a config.ini is specified
- Replies: 4
- Views: 2071
- Sat Mar 06, 2021 10:37 am
- Forum: Technical Help
- Topic: [1.1.26] Headless server config.ini options are not working
- Replies: 5
- Views: 2567
Re: [1.1.26] Headless server config.ini options are not working
Ah okay, that actually makes sense, since the graphic options are excluded from the json but included in the ini. Thanks for your help.
- Sat Mar 06, 2021 9:47 am
- Forum: Technical Help
- Topic: [1.1.26] Headless server config.ini options are not working
- Replies: 5
- Views: 2567
Re: [1.1.26] Headless server config.ini options are not working
Linux uses a config.ini instead of a .json
Edit: So, I stopped trying to use the config.ini and used the server-settings.json instead, and it looks like things are working now. As far as I understand, either should work, so it's a mystery to me why the config.ini doesn't work.
Edit: So, I stopped trying to use the config.ini and used the server-settings.json instead, and it looks like things are working now. As far as I understand, either should work, so it's a mystery to me why the config.ini doesn't work.
- Sat Mar 06, 2021 9:27 am
- Forum: Technical Help
- Topic: [1.1.26] Headless server config.ini options are not working
- Replies: 5
- Views: 2567
[1.1.26] Headless server config.ini options are not working
I have a headless server running on Ubuntu. The server loads, but none of the config options are enabled. Most notably, the server has no join password, when I have specified a password in the config. I can set options with the multiplayer console, but they revert to defaults once the server is rest...
- Sat Mar 06, 2021 8:41 am
- Forum: Not a bug
- Topic: [1.1.26] Headless server fails to start if a config.ini is specified
- Replies: 4
- Views: 2071
Re: [1.1.26] Headless server fails to start if a config.ini is specified
Using --config allowed the server to start, but unfortunately it is now not respecting my config options, most notably the requirement for a password. Tested connecting both from LAN and over the internet; not sure if this makes a difference. I've confirmed in the log that the executable is recogniz...
- Sat Mar 06, 2021 8:07 am
- Forum: Not a bug
- Topic: [1.1.26] Headless server fails to start if a config.ini is specified
- Replies: 4
- Views: 2071
[1.1.26] Headless server fails to start if a config.ini is specified
Factorio 1.1.26 (build 58172, linux64, headless) Server fails to start if the --server-settings argument specifies a config.ini. The error message is "Unexpected character (;) at /opt/factorio/config/config.ini:1" Removing the first three lines (each starting with a semicolon) results in a...