MForster / factorio-rust-tools

A Rust library to export prototype definitions from Factorio.
4 stars 1 forks source link

Add new command line options for factorio paths. #41

Closed MForster closed 1 year ago

MForster commented 1 year ago

--factorio-dir <FACTORIO_DIR> Directory where Factorio is installed. This needs to be the full version. Neither the demo nor the headless version are sufficient. This argument is optional if both of --factorio-api-spec and --factorio-binary are specified

--factorio-api-spec <FACTORIO_API_SPEC> Location of the runtime-api.json file. Defaults to <FACTORIO_DIR>/doc-html/runtime-api.json The spec can be found in the doc-html directory of a full Factorio installation, or online.

--factorio-binary <FACTORIO_BINARY> Location of the factorio binary. Defaults to <FACTORIO_DIR>/bin/x64/factorio(.exe). This can be any Factorio binary (full, headless, demo)