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

Anything that prevents you from playing the game properly. Do you have issues playing for the game, downloading it or successfully running it on your computer? Let us know here.
Post Reply
bobDoesThings
Burner Inserter
Burner Inserter
Posts: 19
Joined: Mon Feb 08, 2021 2:16 pm
Contact:

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

Post 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?

Hornwitser
Fast Inserter
Fast Inserter
Posts: 205
Joined: Fri Oct 05, 2018 4:34 pm
Contact:

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

Post 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

bobDoesThings
Burner Inserter
Burner Inserter
Posts: 19
Joined: Mon Feb 08, 2021 2:16 pm
Contact:

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

Post by bobDoesThings »

thanks - I finally figured this out.

Post Reply

Return to “Technical Help”