Skip to main content

Add your description here

Project description

rimpack

rimpack is a Python CLI for building, validating, and launching RimWorld modpacks from human-authored project files.

It treats a modpack as a normal project directory:

  • pack.toml is the root manifest.
  • mods/*.list files define authored mod intent.
  • rules/ contains optional activation and ordering rules.
  • generated/ contains outputs that can be regenerated.
  • launch state stays machine-local instead of mutating the real RimWorld install.

The repository is spec-driven. The authoritative behavior and file-format definitions live in specs/.

Current Capabilities

Today, rimpack can:

  • initialize a new modpack project with rimpack init
  • inspect RimWorld mods with rimpack load-mods
  • resolve Steam Workshop items with rimpack resolve steam
  • subscribe and unsubscribe Workshop mods
  • add mod references to a declared .list file with rimpack add
  • append ordering rules with rimpack add-ordering-rule
  • validate a modpack before launch with rimpack validate
  • launch a modpack through a symlinked runtime tree with rimpack launch

Activation rule files are supported by the project format and validation pipeline, but there is not yet a dedicated CLI command to author them.

Install

The project uses Python 3.12+ and uv.

uv sync --dev
uv run rimpack --help

You can also run the console script directly after syncing:

rimpack --help

First Run

Running rimpack with no command creates a user-local config file if one does not already exist. That config stores absolute machine-local paths such as:

  • the RimWorld install directory
  • the Steam Workshop content directory for app 294100

You can also provide them through environment variables:

  • RIMWORLD_FOLDER
  • STEAM_WORKSHOP_FOLDER

Quick Start

Initialize a new pack:

uv run rimpack init .\MyPack

Add a Workshop mod to the @libraries list:

uv run rimpack add @libraries steam:2009463077

Validate the pack:

uv run rimpack validate

Leave temporarily resolved Workshop mods subscribed after validation:

uv run rimpack validate --no-clean

Launch it:

uv run rimpack launch

Documentation

Browsable project documentation lives in docs/:

A GitHub Actions workflow publishes those docs to GitHub Pages on pushes to main.

Development

The expected local checks are:

uv run ruff check .
uv run basedpyright
uv run pytest

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

rimpack-0.2.0.tar.gz (101.8 kB view details)

Uploaded Source

Built Distribution

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

rimpack-0.2.0-py3-none-any.whl (50.0 kB view details)

Uploaded Python 3

File details

Details for the file rimpack-0.2.0.tar.gz.

File metadata

  • Download URL: rimpack-0.2.0.tar.gz
  • Upload date:
  • Size: 101.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.9.5

File hashes

Hashes for rimpack-0.2.0.tar.gz
Algorithm Hash digest
SHA256 a321702e09ec66097a09044b4144fe5290c78e00020e4939da1879562a6add9e
MD5 520b1d62e6ccdb17de23f1b69cdb8a65
BLAKE2b-256 2c7a56490d8110be3405eabc7a4c1a0972403c1b504967846e8f428660ac2f80

See more details on using hashes here.

File details

Details for the file rimpack-0.2.0-py3-none-any.whl.

File metadata

  • Download URL: rimpack-0.2.0-py3-none-any.whl
  • Upload date:
  • Size: 50.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.9.5

File hashes

Hashes for rimpack-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 885a57b55cc9dbfcbc5915d766534883c4d0fa6b8276586788a8c87d64e5131c
MD5 e1ec3b987da96b7261a5f6dd61b450b4
BLAKE2b-256 5e4a6de3b826f10c864175620f4adf0eda0b41aafec52abfbb927198566a0483

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