A simple set of tools for packing and unpacking XP3 archives, which are commonly used in visual novel engines like Kirikiri and Kirikiroid2.
This project contains two components:
- xp3-packer: Packs a directory into an XP3 archive.
- xp3-unpacker: Extracts the contents of an XP3 archive into a directory.
- Rust & Cargo:
Make sure you have Rust installed. Cargo, Rust’s package manager, is included with the installation.
-
Clone the Repository:
git clone <repository-url> cd storycraft-xp3-tool
-
Build in Release Mode:
cargo build --release
This will generate the executables in the
target/release/
directory:- On Linux/macOS:
xp3-packer
andxp3-unpacker
- On Windows:
xp3-packer.exe
andxp3-unpacker.exe
- On Linux/macOS:
To pack a directory into an XP3 archive, run:
./target/release/xp3-packer <input_dir> <output_xp3>
Example:
./target/release/xp3-packer game_files game_archive.xp3
To extract an XP3 archive into a directory, run:
./target/release/xp3-unpacker <input_xp3> <output_dir>
Example:
./target/release/xp3-unpacker game_archive.xp3 extracted_files
This project is licensed under the MIT License.
Contributions, bug reports, and feature requests are welcome. Please fork the repository and submit a pull request with your improvements.
This tool was developed to help modders and translators work with XP3 archives found in many visual novel projects.