Skip to main content

A RimWorld Mod Manager

Project description

RMM: Rimworld Mod Manager

RMM is an open source RimWorld mod manager designed for Unix systems. RMM uses the SteamCMD binary to download mods.

Installation

These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. Improvements in this process will follow.

Prerequisites

To use RMM you need:

  • SteamCMD installed and in your path.
  • set RMM_PATH to your RimWorld mod directory.

Install SteamCMD

  1. A. For Arch Linux, you can install steamcmd using makepkg as stated below:
mkdir -p ~/build ; cd ~/build
git clone https://aur.archlinux.org/steamcmd.git
cd steamcmd
makepkg -si
  1. B. Alternatively, you can install it using a 'AUR Helper' such as yay.
yay -S steamcmd
  1. Verify steamcmd is correctly installed:
whereis steamcmd

Should return a path such as below. Otherwise check to make sure steamcmd is in your path.

steamcmd: /usr/bin/steamcmd /usr/share/steamcmd

Adding .local/bin to your PATH

RMM can be directly accessed with command rmm. In order for this to work, you need to add ~/.local/bin to your PATH variable, otherwise, your terminal will not find the rmm script. If you notice that you cannot run rmm after installation, try the following:

echo 'export PATH="$PATH:$HOME/.local/bin" >> ~/.bashrc

Alternatively, RMM can always be accessed by

python -m rmm

Set RMM_PATH (Optional)

RMM will first search for the default GOG games installation directory, steamcache folder, before falling back to an error message if this value is not set. This value takes precedence over those defaults. I recommend setting this variable.

  1. A. Set RMM_PATH variable to the 'Mods' sub directory in your Rimworld game folder in your .bashrc or .zshrc. For example:
# Note please update this path to your actual game or mod directory
echo 'export RMM_PATH="$HOME/GOG\ Games/RimWorld" >> ~/.bashrc
  1. B. Alternatively, you can change this path at runtime. This is useful when managing multiple copies of the games.
export RMM_PATH="~/PATHTOGAME/game/Mods"
rmm list
# or you can use
RMM_PATH="~/PATHTOGAME/game/Mods" rmm list

Set RMM_WORKSHOP_PATH (Optional)

RMM supports managing mods in your Steam Workshop mods directory. If RimWorld is installed into the same library as your workshop mods, RMM will automatically find your workshop mods folder and assign it automatically. If you run rmm list and see, 'workshop path: /workshop/filepath', then you know this is occurring. You typically will not need to set this variable.

echo 'export RMM_WORKSHOP_PATH="$HOME/.local/share/Steam/steamapps/workshop" >> ~/.bashrc

Install from PyPi (Recommended)

python3 -m pip install --user rmm-spoons

Installation for Development

Clone repository and install with setuptools editable mode.

mkdir -p ~/build
git clone https://github.com/Spoons/rmm.git ~/build/rmm
pip install --user ~/build/rmm

Useage

List installed packages:

rmm list

Search workshop packages:

rmm search modname

Search locally installed mods

rmm query modname

Install package:

rmm sync rimhud

Removing a package:

rmm remove fuzzy

Saving a mod list

rmm export ~/modlist.txt

Install mod list:

rmm sync -f ~/modlist.txt

Update all packages:

rmm update

Backup mod directory:

rmm backup ~/rimworld.tar

Tips

Duplicating a mod setup to a new installation:

RMM_PATH=~/path/to/oldgame/game/Mods rmm export ~/modlist.txt
RMM_PATH=~/path/to/newgame/game/Mods rmm sync -f ~/modlist.txt

License

This project is licensed under the GPLv3 License - see the LICENSE file for details

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

rmm-spoons-0.0.4.tar.gz (22.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

rmm_spoons-0.0.4-py3-none-any.whl (22.0 kB view details)

Uploaded Python 3

File details

Details for the file rmm-spoons-0.0.4.tar.gz.

File metadata

  • Download URL: rmm-spoons-0.0.4.tar.gz
  • Upload date:
  • Size: 22.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.7

File hashes

Hashes for rmm-spoons-0.0.4.tar.gz
Algorithm Hash digest
SHA256 847154d92c4f65096b944df101177cb3bc94ebff6066b9ee1d5a2647924fd5d5
MD5 a204f62ef1c87a3731e1f1460a26c40f
BLAKE2b-256 ac82c1cddcd60d84ea4f6081cdb877a68de95db9208067eb9d65a3bf9db8e232

See more details on using hashes here.

File details

Details for the file rmm_spoons-0.0.4-py3-none-any.whl.

File metadata

  • Download URL: rmm_spoons-0.0.4-py3-none-any.whl
  • Upload date:
  • Size: 22.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.7

File hashes

Hashes for rmm_spoons-0.0.4-py3-none-any.whl
Algorithm Hash digest
SHA256 a2d8848f795c4835a93663053377016b88d48c8679ed004f95235b488f6eff41
MD5 89f4b1ced690f9778148ae3a303eaed9
BLAKE2b-256 4ac86004693647ad55ae0ad2e5262dde1763c0b17bba5b8a8ff32b84419254dd

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page