This is a command line interface to help manage mods for Blasphemous and Blasphemous II on Linux. There is already a mod installer, but at the time being it is only available for Windows. In the meantime, this script should cover basic use cases, to automate the process of installing and managing mods.
Warning
Keep in mind that at the moment this installer does not account for configuration files, so make sure to back any important configuration before continuing.
Note
Works on the Steam Deck! Has been tested by 1 person.
Simply run inside a terminal:
sh -c "$(curl -fsSL https://raw.githubusercontent.com/salamint/blasmodcli/main/scripts/utils/install.sh)"This will clone the repository, create a virtual environment at a specific non-obtrusive location,
and install all dependencies. You can then either add the scripts folder to your $PATH variable,
or add a symbolic link to the scripts in a folder already in your $PATH.
Dependencies are automatically installed inside the virtual environment generated by the installer.
If you are not using a Python virtual environment like intended, you need to manually install the following Python packages:
aiohttp >= 3.13SQLAlchemy >= 2.0
Here are some common usages of this tool used as examples of what you could be using this tool for.
The first time you use this tool, you might want to configure a game to run mods. This can be done simply by running:
blasmodcli configureblasmodcli update
blasmodcli list
blasmodcli search quality of lifeNote
Since blasmodcli and blas2modcli are each tied to their own game, you might want to update both. That cannot be done with the same command.
You will have to type and run blas2modcli update separately.
blasmodcli install randomizer
# Do not ask for confirmation when downloading and installing mods
blasmodcli install -y better-saves# Uninstall a mod from the game's files
blasmodcli uninstall randomizer
# Remove a mod from the cache directory
blasmodcli remove better-saves
# Download a mod from a specific source and place it in the cache directory
blasmodcli download main/better-saves
# Download (if needed) and install a mod in a specific version
blasmodcli install randomizer:3.0.0For Blasphemous put this as the steam launch options:
blasmodcli launch -c -- %command%For Blasphemous II put this as the steam launch options:
blas2modcli launch -c -- %command%This will ask you if you prefer to start the game modded or vanilla everytime, but you can save an option until the next time your computer is rebooted.
You can start the game using this command:
blasmodcli launchbut this will just start the game using Steam's protocol, so it will only start the game modded if you followed the step above.
See the dedicated documentation on how to creation configuration files to add new games and sources.
Note
This part of the documentation will get more detailed later.
Otherwise, I recommend checking what each command does using the --help flag.
| Command | Operates on | Description |
|---|---|---|
backup |
Game | Backs up your saves into an archive and exports them. |
cd |
Game | Opens a sub-shell inside the game's directory. |
configure |
Game | Downloads and extract the modding tools for Blasphemous inside the game's folder. |
launch |
Game | Starts the game with the given Steam launch parameters. |
list |
Game | Shows the list of every mod available (or installed, or activated). |
search |
Game | Lists every mod whose name, author or description contains the given string of text. |
update |
Game | Updates the mod database. |
download |
Mod | Downloads the archive for a given mod. |
info |
Mod | Displays information for a given mod. |
install |
Mod | Downloads a mod and extract it in the game's modding directory. |
remove |
Mod | Remove a mod archive from the cache. |
uninstall |
Mod | Delete every file a mod added from the modding directory. |
upgrade |
Mod | Upgrades all mods (or the specified ones) to their latest version. |
| Directory | Usage |
|---|---|
~/.config/blasmodcli/ |
Tool configuration files. |
~/.local/share/blasmodcli/ |
Database and profile files. |
~/.cache/blasmodcli/mods/ |
Mod archive download firectory. |
/tmp/blasmodcli/mods/ |
Launch preferences. |