[0.17.1] Linux Headless - Map Generation error

This subforum contains all the issues which we already resolved.
Post Reply
Manual Inserter
Manual Inserter
Posts: 1
Joined: Wed Apr 26, 2017 4:34 pm

[0.17.1] Linux Headless - Map Generation error

Post 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/supcmdr.zip --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/supcmdr.zip" "--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.

Manual Inserter
Manual Inserter
Posts: 2
Joined: Wed Feb 27, 2019 8:04 am

Re: [0.17.1] Linux Headless - Map Generation error

Post 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 https://www.factorio.com/blog/post/fff-282 . 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.)
Last edited by RampagingFido on Thu Feb 28, 2019 7:06 am, edited 1 time in total.

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

Re: [0.17.1] Linux Headless - Map Generation error

Post by Oxyd »

Yeah, someone removed some autoplace controls, but didn't update the example JSON file. Fixed in 0.17.2.

Post Reply

Return to “Resolved Problems and Bugs”