Skip to main content

Python utility for processing Frostbite engine game files and interacting with the Frosty Editor.

Project description

[!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

🔥 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.

Installation

This package is managed by Poetry.

Currently, the package is in its early stages of development and is not yet ready for public use. However, if you are interested, you can install the package by cloning the repository and running the following command:

poetry install

Then you can use the package in the virtual environment created by Poetry.

Usage

The 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 for Histogram and LocalizationBinary files.

Examples of how to use the package are available in the examples directory. There is only one example now, which is an interactive toolbox for Chinese localization of Battlefield 1 (with UI in Chinese). More examples are welcomed.

Contributing

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 shell

It is strongly recommended to follow the Conventional Commits specification when writing commit messages and creating pull requests.

License

GPL-3.0

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

flammenwerfer-0.1.9.tar.gz (18.2 kB view hashes)

Uploaded Source

Built Distribution

flammenwerfer-0.1.9-py3-none-any.whl (19.1 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page