Note
This project is migrated from zyf722/flamethrower.
For versions v0.1.6 and earlier, please visit Releases of that repository.
Starting from version v0.1.7, this project is renamed flammenwerfer to avoid naming conflicts with other projects.
🔥 Flammenwerfer (flamethrower in German), where ❄️ Frostbite meets the dance of inferno.
flammenwerfer is a Python package designed to provide a simple interface for modders to interact with the original Frostbite engine binaries.
pip install flammenwerferIn case you use Poetry:
poetry add flammenwerferThe package only supports the following features now:
flammenwerfer.hash: Hash functions used by the Frostbite engine. Currently, only FNV series hash functions (flammenwerfer.hash.fnv) are supported.flammenwerfer.localization: Interface forHistogramandLocalizationBinaryfiles.
Currently no documentation is available since the package is still in its early stages of development. However, BF1CHS/bf1chs (a toolbox for Simplified Chinese localization of Battlefield 1) could be checked for some examples of usage. More examples are welcomed.
Though the package is still in its early stages of development, Pull Requests are welcome.
You can setup your own copy of the source code with Git and Poetry:
# Git
git clone https://github.com/BF1CHS/flammenwerfer.git
cd flammenwerfer/
# Poetry
poetry lock
poetry install
poetry shellIt is strongly recommended to follow the Conventional Commits specification when writing commit messages and creating pull requests.