A dead simple CLI-based launcher for Cosmic Reach and Cosmic Quilt
Project description
Cosmix
A dead simple CLI-based launcher for Cosmic Reach and Cosmic Quilt.
Installation
git clone https://codeberg.org/emmathemartian/cosmix && cd cosmix
python3 -m pip install -r requirements.txt
python3 -m build
python3 -m pip install ./dist/*.whl
python3 -m cosmix version
I recommend making an alias to python3 -m cosmix
. In Zsh you can do this by adding the following to your .zshrc
:
alias cosmix="python3 -m cosmix"
Arch Linux:
Arch Linux and it's derivatives may complain with this
error: externally-managed-environment
To get around this, use
python3 -m pip install --user --break-system-packages ./dist/*.whl
Obviously this has a chance of breaking something, but in my testing I have yet to have that happen. Though be aware and know that I am not responsible if you break your system.
You may also need to install Maven. On Arch Linux this is just pacman -S maven
.
Usage
cosmix version
prints the current installed cosmix version
cosmix debug
prints a lot of debug information related to cosmix
cosmix add [name]
adds and downloads a new instance
options:
--version -v VERSION specify a Cosmic Reach version to use. defaults to "latest"
--quilt-version -q VERSION specify a Cosmic Quilt version to use. defaults to "none"
cosmix update [name]
updates an existing version
options:
--version -v VERSION specify a Cosimc Reach version to use. defaults to "latest"
--quilt-version -q VERSION specify a Cosmic Quilt version to use. defaults to "none"
cosmix instances
lists all instances
cosmix launch [name]
launches an instance
cosmix info [name]
prints info about an instance
cosmix add-mod [instance] [path to mod jar]
adds a mod jar to an instance
cosmix add-crm1-mod [instance] [CRM-1 repo] [mod id]
adds a mod to an instance via CRM-1
cosmix trash [name]
moves an instance to the system's trash folder
Examples
# Create an unmodded instance named `vanilla` on the latest CR version
cosmix add vanilla
# Create a Cosmic Quilt instance named `my-quilt` on the latest CR version with Cosmic Quilt 1.2.7
cosmix add my-quilt --quilt-version 1.2.7
# Create a vanilla instance named `old-version` on CR 0.0.1
cosmix add old-version -v 0.0.1
# Install the latest version of Flux API available on JoJoJux's autorepo to the instance `test`
cosmix add-crm1-mod test https://crm-repo.jojojux.de/repo.hjson dev.crmodders.flux
# Update the `latest` instance to the latest available versions of Cosmic Reach and Cosmic Quilt
cosmix update latest -v latest -q latest
Folder Structure
Cosmix stores all of its data in your XDG_DATA_HOME
(typically ~/.local/share/
) on Linux and APPDATA
on Windows and in the cosmix
folder.
This folder will contain the following extra folders:
cosmix/
deps/
cosmic-reach/
JARs for each downloaded Cosmic Reach version.
instances/
Folders containing each downloaded instance.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file cosmix_launcher-1.0.0.tar.gz
.
File metadata
- Download URL: cosmix_launcher-1.0.0.tar.gz
- Upload date:
- Size: 8.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.11.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 025c8762272f1f9a6ba0ffe88141ca15dbaaf8eaf99bd6ef3cc0ea7e8ddd8278 |
|
MD5 | 284ce72e53893409698774bcb2802d85 |
|
BLAKE2b-256 | ef01c0d7cc2fb12a20bc2691a3b0db610d7e2aeb4a00b0a917021a89960a336e |
File details
Details for the file cosmix_launcher-1.0.0-py3-none-any.whl
.
File metadata
- Download URL: cosmix_launcher-1.0.0-py3-none-any.whl
- Upload date:
- Size: 9.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.11.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 623f3e0b7119206b1ecaba45355d16d60259d47db0f1c38f0cce6e4820763a10 |
|
MD5 | 08c073b694949cbe7fb7771c8ce8d4bb |
|
BLAKE2b-256 | 8efe25714db7ce1925a8e0a1208dbbc557f4d8d312b02c3eb5b849aaeff33883 |