[1.1.85] --dump-data command line parameter not working when script-output directory does not exist
Posted: Thu Aug 17, 2023 6:48 pm
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.
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\data-raw-dump.json for writing: No such file or directory
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