[0.18.35] Command line: --generate-map-preview doesn't work with --preset

This subforum contains all the issues which we already resolved.
Maxreader
Burner Inserter
Burner Inserter
Posts: 15
Joined: Fri Jun 28, 2019 7:44 am
Contact:

[0.18.35] Command line: --generate-map-preview doesn't work with --preset

Post by Maxreader »

Greetings!

This one is pretty simple: when trying to generate map previews via command line, the --preset arg is not used. I first came across this issue when attempting to generate previews to test my own map generation mod, and initially thought that it didn't work on mod-defined map gen presets. However, it appears to not respect the vanilla/base map gen presets either, which seems like a bug to me either way.

Steps to reproduce: run factorio.exe from command line with the following parameters "--generate-map-preview <path> --preset "Island", which will produce a normal map, not an island.
Maxreader
Burner Inserter
Burner Inserter
Posts: 15
Joined: Fri Jun 28, 2019 7:44 am
Contact:

Re: [0.18.35] Command line: --generate-map-preview doesn't work with --preset

Post by Maxreader »

Also, using internal names does not seem to make any difference. Neither "island" nor "Island" will produce an island map.
posila
Factorio Staff
Factorio Staff
Posts: 5362
Joined: Thu Jun 11, 2015 1:35 pm
Contact:

Re: [0.18.35] Command line: --generate-map-preview doesn't work with --preset

Post by posila »

Thanks for the report.
Fixed for 0.18.41
Post Reply

Return to “Resolved Problems and Bugs”