z_mirror/fmm

git clone https://git.raiguard.me/z_mirror/fmm

raiguardUpdate roadmap256b31c

refactor
1.8 KiB81 linesraw

Factorio Mod Manager

fmm is a basic CLI Factorio mod manager. Is is completely portable and runs on all major platforms.

Getting started

Installing

Download the binary for your system from the releases page and place it on your PATH.

Coming soon: an AUR package.

Building

Requires Rust nightly.

git clone https://github.com/raiguard/fmm & cd fmm
cargo build

Installing to PATH

You can build fmm from source and install it on your PATH like this:

cargo install --locked --force --path .

Or just run this without cloning the repository:

cargo install fmm

Usage

fmm --enable space-exploration

See fmm --help for all subcommands.

Features

  • Enable mods and their dependencies
  • Disable mods
  • Enable or disable all mods at once
  • Enable pre-defined sets of mods
  • Set your default directory by using a config file
  • Remove mods from your mods directory

Configuration

fmm accepts a --config flag with a path to a toml configuration file. If --config is not provided, fmm will look for this file in $XDG_CONFIG_HOME/fmm/fmm.toml and source it if it exists.

# The path to the Factorio mods directory
directory = "/home/rai/.factorio/mods/"

# Customizable mod sets
# Each key will be available for use in the `--enable-set` flag
# Dependencies will automatically be enabled
# Specific versions may be specified by appending `@version` to the mod name
[sets]
EditorExtensions = ["EditorExtensions", "Sandbox"]
Krastorio2Beta = ["Krastorio2@1.2.0", "EditorExtensions", "Sandbox"]

Roadmap

Roughly in this order:

  • Sync with mod-list.json
  • Sync with save
  • Automatically publish to AUR
  • Create new mod
  • Package mod
  • Datestamp and increment mod version
  • Download mods
  • Upload mods
1# Factorio Mod Manager
2
3`fmm` is a basic CLI Factorio mod manager. Is is completely portable and runs on all major platforms.
4
5## Getting started
6
7## Installing
8
9Download the binary for your system from the [releases](https://github.com/raiguard/fmm/releases) page and place it on your `PATH`.
10
11Coming soon: an AUR package.
12
13## Building
14
15Requires [Rust](https://rust-lang.org) nightly.
16
17```
18git clone https://github.com/raiguard/fmm & cd fmm
19cargo build
20```
21
22### Installing to `PATH`
23
24You can build `fmm` from source and install it on your `PATH` like this:
25
26```
27cargo install --locked --force --path .
28```
29
30Or just run this without cloning the repository:
31
32```
33cargo install fmm
34```
35
36## Usage
37
38```
39fmm --enable space-exploration
40```
41
42See `fmm --help` for all subcommands.
43
44## Features
45
46- Enable mods and their dependencies
47- Disable mods
48- Enable or disable all mods at once
49- Enable pre-defined sets of mods
50- Set your default directory by using a config file
51- Remove mods from your mods directory
52
53## Configuration
54
55`fmm` accepts a `--config` flag with a path to a [`toml`](https://toml.io/en/) configuration file. If `--config` is not provided, `fmm` will look for this file in `$XDG_CONFIG_HOME/fmm/fmm.toml` and source it if it exists.
56
57```toml
58# The path to the Factorio mods directory
59directory = "/home/rai/.factorio/mods/"
60
61# Customizable mod sets
62# Each key will be available for use in the `--enable-set` flag
63# Dependencies will automatically be enabled
64# Specific versions may be specified by appending `@version` to the mod name
65[sets]
66EditorExtensions = ["EditorExtensions", "Sandbox"]
67Krastorio2Beta = ["Krastorio2@1.2.0", "EditorExtensions", "Sandbox"]
68```
69
70## Roadmap
71
72Roughly in this order:
73
74- Sync with `mod-list.json`
75- Sync with save
76- Automatically publish to AUR
77- Create new mod
78- Package mod
79- Datestamp and increment mod version
80- Download mods
81- Upload mods