Page 1 of 1
[2.0.72] --dump-icon-sprites crash after it has done
Posted: Wed Dec 17, 2025 9:54 am
by vinaghost
Edit: Since it is expected to use windows mode instead of headless, I want to report a crash when it done, log file and crash dump is included
--dump-data and --dump-prototype-locale work fine (although I expect --dump-prototype-locale will output to script-output/locale but that's ok)
As the title states, unlike two parameters above, --dump-icon-sprites opens Factorio in window mode and crashes itself after it has output all icons.
The problem is only about the progress.
Not tested with Space Age yet but I think this is from core game. My machine is Windows 10 if it helps
Re: [2.0.72] --dump-icon-sprites open windows instead of headless
Posted: Wed Dec 17, 2025 1:20 pm
by Rseding91
Thanks for the report however I’m not seeing anything to work with here. Dumping icon sprites is expected to created the graphics backend because it has to in order to render the sprites and save them to disk. It looks like possibly your PC is simply unable to handle the required graphics load? The log shows you have an on-CPU intel HD graphics card which is quite weak.
Are you able to start the game normally on that computer?
Re: [2.0.72] --dump-icon-sprites open windows instead of headless
Posted: Wed Dec 17, 2025 2:31 pm
by vinaghost
Didn't know about the graphic backend, I thought it should be the same as the other --dump parameters (without opening the actual windows)
The game starts normally, base game & SA.
I didn't expect the crash at the end of the process. It should just be closed when it's done
here is the log when using --dump-data for comparision
edit: i found something in the log --dump-icon-sprites, it said filename not available
Code: Select all
C:\Users\build\AppData\Local\Temp\factorio-build-VX94F7\src\Main\DumpIconSprites.cpp(23): MainTasks::dumpIconSprites
C:\Users\build\AppData\Local\Temp\factorio-build-VX94F7\src\Main.cpp(651): fmain
C:\Users\build\AppData\Local\Temp\factorio-build-VX94F7\src\Main.cpp(928): wmain
D:\a\_work\1\s\src\vctools\crt\vcstartup\src\startup\exe_common.inl(288): __scrt_common_main_seh
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 00007FF8CE257374)
00007FF8CE257374 (KERNEL32): (filename not available): BaseThreadInitThunk
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 00007FF8CE39CC91)
00007FF8CE39CC91 (ntdll): (filename not available): RtlUserThreadStart
Re: [2.0.72] --dump-icon-sprites crash after it has done
Posted: Wed Dec 17, 2025 3:59 pm
by Rseding91
I'm not able to replicate any such crash when I install the mods you're using and run the --dump-icon-sprites option.
Is there something else needed to make it crash?
Texture streaming enabled was what reproduced it for me. Disabling texture streaming and it dumps correctly. I suspect the combination of low-quality, low-vram-usage, and texture streaming triggers it.
Re: [2.0.72] --dump-icon-sprites crash after it has done
Posted: Wed Dec 17, 2025 4:10 pm
by vinaghost
What a weird combination! Thanks for the answer
Edit: Wait, I know my machine is potato, but why did it happen to you? I thought yours was different.
Re: [2.0.72] --dump-icon-sprites crash after it has done
Posted: Wed Dec 17, 2025 4:14 pm
by Rseding91
This is now fixed for 2.1 by forcing texture streaming off when using dump-icon-sprites.