Page 1 of 1

[0.17.1] Linux Headless - Map Generation error

Posted: Wed Feb 27, 2019 1:08 am
by SupCMDr
I'm getting the following error when trying to generate a new map for 0.17.1 on my Debian server:

Code: Select all

supcmdr@galaxysrv:/media/supcmdr/GameServers/factorio$ ./bin/x64/factorio --create ./saves/ --map-gen-settings ./data/map-gen-settings.supcmdr.json --map-settings ./data/map-settings.supcmdr.json
   0.000 2019-02-26 19:50:56; Factorio 0.17.1 (build 43001, linux64, headless)
   0.084 Operating system: Linux (Debian 9.8)
   0.084 Program arguments: "./bin/x64/factorio" "--create" "./saves/" "--map-gen-settings" "./data/map-gen-settings.supcmdr.json" "--map-settings" "./data/map-settings.supcmdr.json"
   0.084 Read data path: /media/supcmdr/GameServers/factorio/data
   0.084 Write data path: /media/supcmdr/GameServers/factorio [221546/233705MB]
   0.084 Binaries path: /media/supcmdr/GameServers/factorio/bin
   0.091 System info: [CPU: Intel(R) Core(TM) i5-4590S CPU @ 3.00GHz, 4 cores, RAM: 15930 MB]
   0.091 Environment: DISPLAY=<unset>, WAYLAND_DISPLAY=<unset>
   0.091 Running in headless mode
   0.094 Loading mod core 0.0.0 (data.lua)
   0.126 Loading mod base 0.17.1 (data.lua)
   0.263 Loading mod base 0.17.1 (data-updates.lua)
   0.328 Checksum for core: 1014885620
   0.328 Checksum of base: 819815259
   0.722 Info PlayerData.cpp:67: Local player-data.json available, timestamp 1551228636
   0.722 Info PlayerData.cpp:74: Cloud player-data.json unavailable
   0.723 Custom inputs active: 0
   0.724 Factorio initialised
   0.724 Info GlobalContext.cpp:677: Waiting for child processes to exit:
   0.740 Goodbye
   0.000  Error Util.cpp:75: "grass" is not a valid autoplace control name.

Looks like maybe the <settings>.example.json config files didn't get updated to reflect changes to map-gen? The example config files on my gaming pc show they haven't been modified in several months, even after today's release. I am running from a fresh download of the headless release.

EDIT: I was able to successfully get a map generated after removing "grass", "desert", "dirt", and "sand" entries from the map-gen-settings config file.

Re: [0.17.1] Linux Headless - Map Generation error

Posted: Wed Feb 27, 2019 8:38 am
by RampagingFido
I am also seeing this same issue on the windows headless on 0.17.1. It looks like we are also missing settings from the map-gen-settings.example.json for Map type Island, Moisture, and Terrain Type that were all mentioned under . When the example is updated can we also have these values added for reference?

Edit: Corrected the version I was on. (It was a late night.)

Re: [0.17.1] Linux Headless - Map Generation error

Posted: Wed Feb 27, 2019 1:31 pm
by Oxyd
Yeah, someone removed some autoplace controls, but didn't update the example JSON file. Fixed in 0.17.2.