Add multiple preview generation to the CLI
Posted: Fri May 17, 2019 10:01 am
Hi,
It would be neat being able to generate multiple previews without needing to setup/tear down factorio fully from the command line for every preview generated.
Examples how that feature could work:
For file names, the game can use the seed number and prepend ".png". Generating the same seed twice would just overwrite the file, which is not a problem because the result is the same anyways. If the previewcount argument or multiple seeds are given, "--generate-map-preview" would expect a directory instead of a filename.
Thanks in advance if you decide to implement this!![Very Happy :D](./images/smilies/icon_e_biggrin.gif)
Greetings,
peet1993
It would be neat being able to generate multiple previews without needing to setup/tear down factorio fully from the command line for every preview generated.
Examples how that feature could work:
Code: Select all
./factorio --generate-map-preview path/to/store/pics/ --generate-map-preview-count N // For random maps
./factorio --generate-map-preview path/to/store/pics/ --map-gen-seed 1,2,3,4 // For N specific seeds
Thanks in advance if you decide to implement this!
![Very Happy :D](./images/smilies/icon_e_biggrin.gif)
Greetings,
peet1993