[1.1.85] --dump-data command line parameter not working when script-output directory does not exist

This subforum contains all the issues which we already resolved.
Post Reply
SWeini
Inserter
Inserter
Posts: 35
Joined: Mon Apr 04, 2022 6:43 am
Contact:

[1.1.85] --dump-data command line parameter not working when script-output directory does not exist

Post by SWeini »

Basically, what the subject says. When I tried to dump all the prototype data with --dump-data command line parameter no file was created, and the logfile included this line.

Code: Select all

Error Util.cpp:86: Error when opening C:\Users\...\AppData\Roaming\Factorio\script-output\data-raw-dump.json for writing: No such file or directory
It should be simple to reproduce, just delete your script-output folder (or fresh install) and start Factorio with the dump parameter

Regarding the other command line parameters:
--dump-icon-sprites works as expected (probably because it creates some directories)
--dump-prototype-locale doesn't work with a similar error

Code: Select all

Error Util.cpp:86: Error when opening C:\Users\...\AppData\Roaming\Factorio\script-output\item-locale.json for writing: No such file or directory

Rseding91
Factorio Staff
Factorio Staff
Posts: 13210
Joined: Wed Jun 11, 2014 5:23 am
Contact:

Re: [1.1.85] --dump-data command line parameter not working when script-output directory does not exist

Post by Rseding91 »

Thanks for the report. It's now fixed for the next release.
If you want to get ahold of me I'm almost always on Discord.

Post Reply

Return to “Resolved Problems and Bugs”