Page 1 of 1

map-gen-settings.json in single user mode?

Posted: Sat Aug 27, 2022 11:16 pm
by bobDoesThings
I'm trying to generate a map outside the normal UI parameter range, so I renamed the example to map-gen-settings.json and made some changes, but I cannot seem to entice Factorio to recognize that. This is on a Mac with Steam. I've seen reference to this file for server Factorio and I'm starting to wonder if just doesn't get used in single player. Any ideas?

Re: map-gen-settings.json in single user mode?

Posted: Wed Aug 31, 2022 12:09 am
by Hornwitser
map-gen-settings.json need to be specified with the --map-gen-settings command line option and is used in conjunction with the --create to create a save from the command line. i.e. you would be running something like this from a terminal:

Code: Select all

$ path/to/factorio-executable --map-gen-settings path/to/map-gen-settings.json --create path/to/save-to-create.zip

Re: map-gen-settings.json in single user mode?

Posted: Wed Aug 31, 2022 2:30 am
by bobDoesThings
thanks - I finally figured this out.