Page 1 of 1

[2.0.72] seed not used from map-gen-settings.json

Posted: Sun Dec 28, 2025 2:30 am
by Gweneph
Steps to reproduce:
  1. Edit the map-get-settings-example.json file to set the seed to a uint32
  2. Create two maps with factorio --map-gen-settings map-gen-settings.example.json --create test(1|2) (adapt to your desired folder stucture)
  3. Compare the maps
  4. (optional) run /seed to see the seeds
Expected result:

Two identical maps (with the seed from the json file apearing when running /seed).

Actual result:
Two random maps with random seeds.

Related: 129006

Re: [2.0.72] seed not used from map-gen-settings.json

Posted: Sun Dec 28, 2025 1:07 pm
by Rseding91
Thanks for the report however I cannot reproduce any such issue. When I test: it makes the save and uses the exact seed provided in the example.json.

Are you sure you're loading the correct save(s)? The log shows it's putting them in C:\Users\gweneph.doering\Downloads\Factorio_2.0.72\bin\x64\test1 and C:\Users\gweneph.doering\Downloads\Factorio_2.0.72\bin\x64\test2

Re: [2.0.72] seed not used from map-gen-settings.json

Posted: Mon Dec 29, 2025 7:34 pm
by Gweneph
Here are the saves it generated and the .json file I used

Re: [2.0.72] seed not used from map-gen-settings.json

Posted: Mon Dec 29, 2025 8:00 pm
by Gweneph
Just tested on Linux steam version with the same json file, with the same result. Am I just doing something wrong in the json file?

Re: [2.0.72] seed not used from map-gen-settings.json

Posted: Mon Dec 29, 2025 9:41 pm
by Rseding91
So.... seed "1" is treated as "default" internally which signals to use a random seed.

Using literally any other seed value will get you the result you're looking for.

I've changed it for 2.1 so it will detect if the player explicitly put "1" in the field and not treat it as generate random seed.