简体中文 | English
A toolkit based on UnityPy for automating the creation and updating of Blue Archive/ブルーアーカイブ mods.
Supports Steam version (PC) and other versions (Global/JP server, PC/Android/iOS).
Introduction

- Downloaded a mod from the internet, replaced the corresponding file in the game directory, but the game shows “Abnormal Client” and cannot login?
- Downloaded a mod released a long time ago, but the filename is different from the latest version? Even after replacement, the character image doesn’t change/doesn’t display at all/game freezes?
- Want to create your own mod to replace character illustrations, but don’t know how to operate?
- Want to extract character illustrations or other assets?
BA Modding Toolkit can help you solve the above problems, with foolproof operations, no need to manually manipulate bundle files.
Getting Started
You can download the latest version of the executable file from the Releases page, and double-click to run the program.
Program Functionalities
Check out the Usage Page for detailed instructions.
The program contains multiple functionalities:
- Mod Update: Update or port Mod files between different platforms
- Batch Update: Batch process multiple Mod files
- CRC Tool: CRC checksum calculation and correction functionality
- Asset Packer: Pack asset files from a folder into a Bundle file, replacing the corresponding assets in the Bundle
- Asset Extractor: Extract specified types of assets from Bundle files
- Tools
- Generate Mod Report:Generate a report of all Mod files in the game directory.
- Fix Abnormal Client:Fix the “abnormal client” issue.
- Backup Mods:Backup all Mod files in the game directory.
- ADB File Push: Push local files to Android devices using ADB commands.
- File List: View and manage all Bundle files in the specified directory.

Add-Ons
The add-ons mentioned in this section are optional, and you can choose whether to enable them according to your needs.
The following add-ons are independent third-party programs. Please comply with their licenses when downloading and using them.
BA-Modding-Toolkit only invokes the programs through subprocess module. It does not contain or distribute any code or files of these programs, nor is it responsible for any issues that may arise during their use.
Spine Skeleton Data Converter
wang606/SpineSkeletonDataConverter
This tool can convert Spine 3 format .skel files used in some older Mods to the Spine 4 format supported by the current game version.
Additionally, it can convert Spine 4 format files to Spine 3 format in the “Asset Extractor” feature.
Configure the path of the SpineSkeletonDataConverter.exe program in the settings interface and check the “Enable Spine Conversion” option.
- There may be inconsistencies before and after conversion.
- Even if
SpineSkeletonDataConverter.exe is not configured, you can still use this program normally to update Mods that use Spine files compatible with the current version (4.2.xx).
- If the Mod you want to update was made in 2025 or later, it already uses the Spine 4 format, so you can update it normally without configuring this option.
SpineViewer
ww-rm/SpineViewer
This tool can parse and render Spine .skel animation files. You can configure the path to SpineViewerCLI.exe in the Settings interface for use by this program.
- In the Asset Extractor tab, you can optionally render preview images after extraction.
- In the “Mod Report” feature, you can optionally render preview images when generating the report.
- It can be used to detect differences in
.skel animation lists, and is used in the “Mod Update” and “Asset Packer” features.
Spine2Dump
Deathemonic/Spine2Dump
This tool can also parse and render Spine .skel animation files; just choose either it or the SpineViewer in the previous section, both are configurable in the Settings interface.
- Select Spine2Dump as the render backend in the Settings interface and configure the path to
spine2dump.exe.
- In practice it renders faster in batch processing, but the output preview size may differ from SpineViewer and is hard to control.
- It only supports Spine 4.x format
.skel files; Spine 3.8 files should use SpineViewer instead.
ADB (Android Debug Bridge)
Android Debug Bridge
This tool can communicate with Android devices. You can configure the path of adb.exe in the settings interface to directly read and write files on Android devices in the same way as local files on Windows, without manually exporting or importing files from Android devices.
- This feature requires an Android device to be connected and authorized for this program to access.
- After setting the path to
adb.exe, select the target Android device and corresponding file source in the “Settings” window.
Check out the ADB-Usage Page for detailed instructions.
Subproject
BA-characters-internal-id
Agent-0808/BA-characters-internal-id
A reference table that records the mapping between in-game character names and their corresponding internal file IDs (e.g., CH0288 → Utsumi Aoba).
- In various features, after parsing the Bundle file name to obtain the internal ID, the actual character name can be displayed based on this lookup table.
- It is also used to display character names based on internal character IDs when generating Mod reports.
The packaged version downloaded from Releases already includes a copy of the data file (BA-Characters-Internal-ID.csv) in the Addons/ subdirectory next to the executable, ready to use out of the box. You can also download the latest version manually in the Settings interface.
The data file is licensed under CC BY-SA 4.0 (see Addons/BA-Characters-Internal-ID-LICENSE.txt for the full notice). The data is compiled from the text data of KivoWiki and is used in this program only for fair purposes such as displaying character names.
Language Support
The development language of this project is zh-CN, and the currently maintained language is en-US.
During the Beta stage, we only guarantee the completeness of zh-CN content; texts for other languages may not be updated promptly when new content is added. We will gradually supplement and improve the maintained languages before the official release. If you find any errors in the existing language content, feel free to point them out via Issue or PR.
If you want to add a language yourself, you can create a locales folder next to the EXE file and put the new language file in it (e.g. new-LANG.json). The program will load external language files from that directory.
If you are interested in adding a new language, PRs are welcome. However, due to limited maintenance capacity, newly added languages will most likely not be actively maintained afterwards — your understanding is appreciated.
Command Line Interface (CLI)
In addition to the graphical interface, this project provides a Command Line Interface (CLI) version cli/main.py.
You can download the precompiled executable file BAMT-CLI.exe from the Releases page or use the uv run bamt-cli command to run the source code.
CLI Usage
All operations can be executed via the bamt-cli command. You can use --help to view all available commands and parameters.
# View all available commands
bamt-cli -h
# View environment information
bamt-cli env
# View detailed help and examples for a specific command
bamt-cli update -h
bamt-cli batch-update -h
bamt-cli pack -h
bamt-cli extract -h
bamt-cli crc -h
bamt-cli report -h
bamt-cli backup -h
Due to the technical limitation of the Tap library, the compiled binary file cannot display parameter variable annotations. When running the source code, the parameter variable annotations will be displayed in the help information.
Check the CLI Usage Page for Complete Usage Instructions.
Developing
Please ensure that Python 3.11 or higher is installed.
git clone https://github.com/Agent-0808/BA-Modding-Toolkit.git
cd BA-Modding-Toolkit
# use uv to manage dependencies
python -m pip install uv
uv sync
uv run bamt
The author’s programming skills are limited, welcome to provide suggestions or issues, and also welcome to contribute code to improve this project.
You can add BA-Modding-Toolkit code to your project or modify the existing code to implement custom Mod creation and update functionality.
cli/main.py is a command-line interface (CLI) version of the main program, which you can refer to for calling processing functions.
Tested Environments
The table below lists tested environment configurations for reference.
| Operating System |
Python |
UnityPy |
Pillow |
Status |
Note |
| Windows 10 |
3.12.4 |
1.23.0 |
12.0.0 |
✅ |
Dev Env |
| Windows 10 |
3.11.x |
1.23.0 |
12.0.0 |
✅ |
|
| Windows 10 |
3.12.4 |
1.23.0 |
10.4.0 |
✅ |
|
| Windows 10 |
3.13.7 |
1.23.0 |
11.3.0 |
✅ |
|
| Windows 10 |
3.12.4 |
1.24.0 |
10.4.0 |
❌ |
|
| Ubuntu 22.04 (WSL2) |
3.13.10 |
1.23.0 |
12.0.0 |
✅ |
|
File Structure
BA-Modding-Toolkit/
│
│ # ============= Code =============
│
├── src/ba_modding_toolkit/
│ ├── __init__.py
│ ├── __main__.py # Entry point
│ ├── asset.py # Bundle asset operations
│ ├── bundle.py # Bundle class
│ ├── searching.py # Searching logic
│ ├── spine.py # Spine-related utilities
│ ├── naming.py # File naming logic
│ ├── references.py # Cross-bundle pointer parsing
│ ├── models.py # Data models
│ ├── i18n.py # Internationalization functionality
│ ├── core/ # Core processing logic package
│ │ ├── __init__.py
│ │ ├── extraction.py # Asset extraction
│ │ ├── introspect.py # Bundle introspection & read-only diagnostics
│ │ ├── mod_install.py # Mod installation
│ │ ├── mod_update.py # Mod update
│ │ ├── packing.py # Asset packing
│ │ ├── preview.py # Preview rendering
│ │ └── report.py # Report generation
│ ├── utils/ # Utility classes and helper functions package
│ │ ├── __init__.py
│ │ ├── about.py # Program version info & environment diagnostics
│ │ ├── common.py # Common utilities
│ │ ├── crc.py # CRC checksum calculation and correction
│ │ ├── image.py # Image processing
│ │ └── paths.py # Path handling
│ ├── adb/ # ADB related modules
│ ├── cli/ # Command Line Interface (CLI) package
│ │ ├── __main__.py # CLI Entry Point
│ │ ├── main.py # CLI Main Program
│ │ ├── taps.py # Command Line Argument Parsing
│ │ └── handlers.py # Command Line Argument Handling
│ ├── gui/ # GUI package
│ │ ├── __init__.py
│ │ ├── main.py # GUI program main entry point
│ │ ├── app.py # Main application App class
│ │ ├── components.py # UI components, themes, logging
│ │ ├── configs.py # Configuration definitions
│ │ ├── utils.py # UI related utility functions
│ │ ├── windows/ # Individual windows and dialogs
│ │ └── tabs/ # Feature tabs
│ ├── assets/ # Project assets
│ └── locales/ # Language files
├── tests/ # Pytest test cases folder
│ ├── assets/ # Test assets
│ └── test_*.py # Test cases
├── config.toml # Local configuration file (automatically generated)
│
│ # ============= Misc. =============
│
├── requirements.txt # Python dependency list (for legacy installation)
├── pyproject.toml # Python project configuration file
├── LICENSE # Project license file
├── docs/ # Project documentation folder
│ └── help/ # Images in help documentation
├── README_zh-CN.md # Project documentation (Chinese)
└── README.md # Project documentation (this file)
Acknowledgement
Thank you to all contributors for their valuable contributions.
Special thanks to:
Third-Party Libraries
This project uses the following excellent 3rd-party libraries:
- UnityPy (MIT License): Core library for parsing and manipulating Unity Bundle files
- Pillow (MIT License): Image processing
- tkinterdnd2 (MIT License): Adds drag-and-drop functionality support for Tkinter
- ttkbootstrap (MIT License): Modern Tkinter theme library
- toml (MIT License): Parse and dump TOML configuration file
- SpineAtlas (MIT License): Spine animation file atlas parser and editor
- Tap (MIT License): Parsing command line arguments
- pytest (MIT License): Test framework
See Also
Some useful related repositories:
- BA-AD:Download original game resources
- AtlasToolkit: Extract, modify, and repack atlas sprites
Disclaimer
BA Modding Toolkit is a personal project and is not affiliated with, endorsed by, or connected to NEXON Games Co., Ltd., NEXON Korea Corp., Yostar, Inc., or any of their subsidiaries. All game assets, characters, music, and related intellectual property are the trademarks or registered trademarks of their respective owners. They are used in this tool for educational and interoperability purposes only (fair use). Please respect the Terms of Service of the official game. Do not use this tool for cheating or malicious activities.
评论