Skip to main content

A CLI for managing Mindustry game versions and campaigns

Project description

Mindustry Pal

Your fellow pal helping you with Mindustry Game

$ mindustry --help          
usage: mindustry [-h] [-q] [-v] command ...

A CLI for managing Mindustry game versions and campaigns.

positional arguments:
  command
    store        Store (dump) current Mindustry campaign in a file.
    switch       Switch between Mindustry campaigns.
    ...

What's this?

I am a simple working man who enjoys playing Mindustry and is lazy enough to get annoyed at manually downloading new versions of the game and managing different playthroughs all by the buttons in the game.

So, Mindutry Pal automates exactly this thing: it stores current saves, mods and settings the way game makes backups (in .zip files) and allows you to switch between them and create new ones.

I also said something about downloading versions but Mindustry Pal cannot do it yet. Maybe, some time...

Installation

This command line utility is a standard Python package and it is published on PyPI, so you can install it via pip or other package managers.

pip install mindustry-pal

mindustry-pal --help

You can also use it with uv as a tool or dependency:

# No separate installation step!
uvx mindustry-pal --help

# Can be installed into its own isolated environment!
uv tool install mindustry-pal

mindustry --help

Basic Usage

You can run Mindustry Pal with either of two commands (they are just aliases):

  • mindustry-pal
  • mindustry

Quick Workflow

Say, you've got a lot of mods on version 5.0 and noticed Anuken made a couple of releases. Now, you want to update to 8.0 and start from the scratch. That's what you do:

# Save current prograss into a campaign file
mindustry store my-old-modded-chaos

# Create a brand new empty campaign for new game version
mindustry create 8.0-playthrough

# Now, you're ready to play!

# Wanna get back to legacy experience? Return your saves? Just switch back:
mindustry switch my-old-modded-chaos

List of commands

This utility features the following commands:

  • store [name]: stores your current Mindustry campaign into a .zip file.
  • restore [name]: overrides your game files with those stored in a .zip file.
  • create <name>: creates a new empty campaign and switches to it (current is automatically saved).
  • switch <name>: safely switches from one campaign to another.
  • status: tells you information about your current campaign save file.
  • list: prints a list of all campaigns currently stored on disk.

Where the campaigns go?

Whatcha doin with my files, man?

Mindustry-Pal uses your operating system's standard app data directory. It keeps its config file and zipped campaigns in a dedicated Mindustry-Pal folder (just next to where Mindustry folder is).

The path is as follows:

  • Windows: %APPDATA%\Mindustry-Pal
  • Linux: ~/.local/share/Mindustry-Pal or $XDG_DATA_HOME/Mindustry-Pal
  • macOS: ~/Library/Application Support/Mindustry-Pal

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

mindustry_pal-0.3.0.tar.gz (25.8 kB view details)

Uploaded Source

Built Distribution

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

mindustry_pal-0.3.0-py3-none-any.whl (15.1 kB view details)

Uploaded Python 3

File details

Details for the file mindustry_pal-0.3.0.tar.gz.

File metadata

  • Download URL: mindustry_pal-0.3.0.tar.gz
  • Upload date:
  • Size: 25.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.11.20 {"installer":{"name":"uv","version":"0.11.20","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for mindustry_pal-0.3.0.tar.gz
Algorithm Hash digest
SHA256 1936ce6aab202bea7e79594284e23bb8295182a001216056f1042362614feb8a
MD5 71b08fdb664d926c9a5ed6e0c96c07f7
BLAKE2b-256 7bb3dabe8fee0f7d64ffc4b03685205ae45b6c6386d1d2ee01cc7563484f8268

See more details on using hashes here.

File details

Details for the file mindustry_pal-0.3.0-py3-none-any.whl.

File metadata

  • Download URL: mindustry_pal-0.3.0-py3-none-any.whl
  • Upload date:
  • Size: 15.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.11.20 {"installer":{"name":"uv","version":"0.11.20","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for mindustry_pal-0.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 9ab672f9b7804390e3e30d694ed8135317fee8cbcc421bd5b0a5720e95268b98
MD5 6e6b7ff4ceff865c4c630b121e283913
BLAKE2b-256 058dc4b309c40e27d08edd9f99ceac1b4932ecd8d40f14f359bc666ba4271aab

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