--dump-data switch does not combine with the other two --dump switches

Bugs that are actually features.
DaleStan
Filter Inserter
Filter Inserter
Posts: 386
Joined: Mon Jul 09, 2018 2:40 am
Contact:

--dump-data switch does not combine with the other two --dump switches

Post by DaleStan »

When I run " ./factorio.exe --dump-data --dump-icon-sprites --dump-prototype-locale", Factorio creates data-raw-dump.json (and sometimes mod-settings-dump.json), but does not create the png files or the *-locale.json files.

The expected behavior is that specifying all three switches (in any order) should produce all three sets of data.

If that expectation is not correct, then the incompatibility between the switches should be mentioned in --help, and specifying --dump-data with either of the other two should prevent Factorio from dumping anything until I give it a valid set of switches.
Rseding91
Factorio Staff
Factorio Staff
Posts: 15231
Joined: Wed Jun 11, 2014 5:23 am
Contact:

Re: --dump-data switch does not combine with the other two --dump switches

Post by Rseding91 »

Thanks for the report however that is working correctly. I’m not going to modify the help output because it would just add noise. Virtually all options are exclusive and the verbose info about what combinations and extra bits can be done together would add unnecessary burden to adding or modifying any of the options.
If you want to get ahold of me I'm almost always on Discord.
DaleStan
Filter Inserter
Filter Inserter
Posts: 386
Joined: Mon Jul 09, 2018 2:40 am
Contact:

Re: --dump-data switch does not combine with the other two --dump switches

Post by DaleStan »

Rseding91 wrote: Fri Jan 10, 2025 3:12 pmVirtually all options are exclusive
If that is the case, then the help should instead specify the options that are not exclusive.

Regardless of what options can or can't be combined, if I supply an invalid or unsupported set of options, Factorio should tell me that. Silently ignoring one or more of the options is only the correct behavior when the obeyed option is --help.
Post Reply

Return to “Not a bug”