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.1.tar.gz (27.6 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.1-py3-none-any.whl (17.1 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: mindustry_pal-0.3.1.tar.gz
  • Upload date:
  • Size: 27.6 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.1.tar.gz
Algorithm Hash digest
SHA256 f2966689338a2157818739633b69d480865cf51ac0320e44f7989ba9e847d9e4
MD5 3c4ca563631b8925bf7896345eca8118
BLAKE2b-256 4209850452d1972257662711523f4f0dd0ea5c661d4a76381448943ddf439ef3

See more details on using hashes here.

File details

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

File metadata

  • Download URL: mindustry_pal-0.3.1-py3-none-any.whl
  • Upload date:
  • Size: 17.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.1-py3-none-any.whl
Algorithm Hash digest
SHA256 eba0e2db13d181d40b83216f5bf1b73835278ce02074fe4f61ec4b8987e8c7bc
MD5 436446ee7d930350081d7ad0b8422b89
BLAKE2b-256 f7596975062aef3cc2ab9fa5cbcdfa23f4475bc030c2e4a3fb5649fd652caf7a

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