This is a Python script that leverages the power of Imagemagick to make certain aspects of modding APICO easier.
🐝 All images used in this tool belong to TNGineers and are used and distributed with their permission.
- Generates text images using the font used in the menu object titles
- Generates spritesheets with mouseover and undiscovered versions of items out of a single item sprite
- Can optionally add the dark outline to the source sprite
- Install Python 3
- Debian/Ubuntu Liunx:
sudo apt install python3 python3-dev python-venv
- macOS:
brew install python
(Homebrew) orxcode-select --install
- Windows:
choco install python
(Chocolatey) or Download the installer
- Debian/Ubuntu Liunx:
- Install ImageMagick
- Use
venv
to isolate your environmentpython -m venv env # Linux and macOS source env/bin/activate # Windows .\env\bin\activate
- Install the dependencies
pip install -r requirements.txt
- Activate your isolated environment
# Linux and macOS source env/bin/activate # Windows .\env\bin\activate
- Run the script
./run.py -h
./run.py text -string "I love apico" -color "#d89d41" -output "text.png"
From a sprite that already has a dark outline
./run.py spritesheet -sprite jalapeno.png -output jalapeno_sheet.png
From a sprite that doesn't have a dark outline
./run.py spritesheet -sprite book.png -output book_sheet.png -darkoutline 1