Jump to content

BCGM Python

From Battle Cats Game Modding Wiki

BCGM_Python is a basic command line tool made by fieryhenry.

Installing

  1. Make sure you have installed Python, you will need version 3.9 or greater.
  2. The following commands vary depending on your operating system:

Run the commands inside Command Prompt, PowerShell or other terminal. Do not run the commands inside the Python interpreter itself.

py -m pip install -U battle-cats-game-modder

Depending on your distro, you might not be able to install it using the system pip. Try running:

python3 -m pip install -U battle-cats-game-modder

If that doesn't work, you have to either install it via pipx, or create and activate a virtual environment.

Pipx

See pipx for installation guide.

Then run:

pipx install battle-cats-game-modder

Virtual Environment

If you want to create a virtual environment instead of using pipx, then run the following:

python3 -m virtualenv .venv # creates a virtual environment at ${PWD}/.venv

source .venv/bin/activate # activate in bash

# source .venv/bin/activate.fish # activate in fish

python3 -m pip install -U battle-cats-game-modder # install it

Run the commands inside a terminal.

python3 -m pip install -U battle-cats-game-modder

Running

Run the commands inside Command Prompt, PowerShell or other terminal. Do not run the commands inside the Python interpreter itself.

py -m BCGM_Python

python3 -m BCGM_Python