Utilities for working with Tea for God assets, configuration files, and a modding framework
teacx.py
: Utilities for working with.cx
files, which are used to encode XML data for better load timestearipper.py
: A multi-tool of sorts for extracting and modifying assets from Tea for God, as well as packaging and unpackaging mods
See docs/usage.md for detailed usage instructions, and docs/modding.md for information on mods.
Currently, there is no central repository for mods. However, you can find mods on the Tea for God Discord.
Prebuilt:
- Download the latest release for your platform from the releases page
- Unzip the release to a directory of your choice
- Add it to your PATH if you want to run the tools from anywhere, or leave them running from the directory
- Run the tools as needed (
teacx
,tearipper
)
All below options require Python 3.8 or higher to be installed.
From source:
- Clone the repository
- Run
pip install -r requirements.txt
to install the required dependencies - Run the tools as needed (
python teacx.py
,python tearipper.py
)
Building executables:
- Make sure you have
pyinstaller
installed (pip install pyinstaller
) - Run
build.bat
to build the executables - The executables will be in the
resources
directory - Follow the prebuilt installation instructions from step 3
Short-term:
- Add support for install-time scripts in mods, and warn the user if they are present
- Create a GUI for the tools, possibly using Dear PyGui
Long-term:
- Add support for decoding other file formats, such as
.tex
- Add mod dependency support
- Optimize mod size by using more complex binary diffing/patching algorithms
This project is licensed under the MIT License - see the LICENSE file for details
- Tea for God by void room
- void room Discord and void room himself for helping me understand the
.cx
format - ChatGPT for saving my ass on multiple occasions