[2.0.76] --report-quantities didn't work as I expect

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.
vinaghost
Burner Inserter
Burner Inserter
Posts: 8
Joined: Mon Sep 08, 2025 4:10 am
Contact:

[2.0.76] --report-quantities didn't work as I expect

Post by vinaghost »

Or did it? (I'm not sure if this is a bug or not. If it is, can mod move it to Bug report, please ?)

While reading https://wiki.factorio.com/Command_line_parameters, I found --report-quantities
So below is my command

Code: Select all

"C:/Factorio/Factorio_2.0.76/bin/x64/factorio.exe" --generate-map-preview "E:\git\FactorioSeedFinder\preview-images\1002.png" --map-gen-seed 1002 --map-gen-settings "map-gen-settings.json" --report-quantities huge-rock
The huge-rock report is weird

Code: Select all

0.967 Info PlayerData.cpp:64: Local player-data.json available, timestamp 1778834973
   0.967 Info PlayerData.cpp:71: Cloud player-data.json unavailable
   0.972 Factorio initialised
   0.973 Initializing map preview generator: 1048576 pixels: 0,0...0,0; 1 meter per pixel
   0.981 Generating map preview: seed=1002
   1.995 huge-rock: totalEntityCount=0, totalRichness=0, minRichness=0, avgRichness=0.0000, maxRichness=0
   1.995 Map preview generation time: 1.013 seconds
   2.098 Goodbye
while with other ore entity it displays correctly

Code: Select all

"C:/Factorio/Factorio_2.0.76/bin/x64/factorio.exe" --generate-map-preview "E:\git\FactorioSeedFinder\preview-images\1002.png" --map-gen-seed 1002 --map-gen-settings "map-gen-settings.json" --report-quantities iron-ore,copper-ore,coal,stone,crude-oil,coal

Code: Select all

0.901 Initializing map preview generator: 1048576 pixels: 0,0...0,0; 1 meter per pixel
   0.918 Generating map preview: seed=1002
   1.962 coal: totalEntityCount=12396, totalRichness=505992037, minRichness=5, avgRichness=40818.9768, maxRichness=159285
   1.962 copper-ore: totalEntityCount=4807, totalRichness=88161525, minRichness=28, avgRichness=18340.2382, maxRichness=79647
   1.962 iron-ore: totalEntityCount=11365, totalRichness=283102256, minRichness=5, avgRichness=24910.0093, maxRichness=134006
   1.962 stone: totalEntityCount=4896, totalRichness=50677504, minRichness=5, avgRichness=10350.7974, maxRichness=48994
   1.962 crude-oil: totalEntityCount=127, totalRichness=477834485, minRichness=1357075, avgRichness=3762476.2598, maxRichness=9212336
   1.962 Map preview generation time: 1.043 seconds
   2.076 Goodbye
I can confirm this seed has huge-rock entity
05-15-2026, 16-00-31.png
05-15-2026, 16-00-31.png (3.17 MiB) Viewed 126 times
p.s.: one small question, can we have it extracted to the file? (I mean, right now I can just read from stdout but it is nice if it writes to a file)
Loewchen
Global Moderator
Global Moderator
Posts: 10763
Joined: Wed Jan 07, 2015 5:53 pm
Contact:

Re: [2.0.76] --report-quantities didn't work as I expect

Post by Loewchen »

The question is not if the seed generates the entity but if the preview does. Can you confirm it generates in the preview?
vinaghost
Burner Inserter
Burner Inserter
Posts: 8
Joined: Mon Sep 08, 2025 4:10 am
Contact:

Re: [2.0.76] --report-quantities didn't work as I expect

Post by vinaghost »

Loewchen wrote: Fri May 15, 2026 10:33 am The question is not if the seed generates the entity but if the preview does. Can you confirm it generates in the preview?
It hard to see but you can see those rock here
05-15-2026, 19-26-37.png
05-15-2026, 19-26-37.png (301.92 KiB) Viewed 67 times
Post Reply

Return to “Technical Help”