Pactorio is a tool that packages factorio mods and uses toml for config files.
The latest precompiled binaries are available on github.
Alternatively you can install pactorio from crates.io with cargo.
cargo install pactorio
cargo build --release
pactorio [FLAGS] [OPTIONS]
-c, --compact Output info.json compactly
-h, --help Prints help information
-p, --publish Publish to mod portal
-V, --version Prints version information
-z, --zip Output a zip file instead
-i, --input <input> Specify the config file to use [default: pactorio.toml]
-o, --output <output> Specify the output directory [default: release]
By default, pactorio uses pactorio.toml
as its config file.
It is similar to the info.json
file and uses TOML syntax.
Here is an example of a pactorio config file.
```toml
[package]
name = "example_mod"
version = "0.1.0"
title = "Example mod"
author = "You"
contact = "you@example.com"
homepage = "https://you.example.com"
description = "Example mod. Does something and some other things. "
factorio_version = "1.0"
[deps.required]
base = ">= 1.0"
[deps.conflict] # or [deps.incompatible]
bad_mod = ""
incomp = "< 3"
[deps.optional]
opt_dep = "= 0.2.1"
[deps.hidden]
hidden_dep = "> 2.0"
[source]
dir = "src" ```
See CHANGELOG.md