benches | ||
resources/tests | ||
src | ||
tests | ||
.build.yml | ||
.gitignore | ||
Cargo.lock | ||
Cargo.toml | ||
deny.toml | ||
LICENSE | ||
README.md |
Physis
Framework for interacting with FFXIV data, and successor to libxiv. This intended for developers writing modding tools, launchers and other programs.
Note: This library is still experimental, and no releases are planned. I'm currently busy with bringing all of libxiv's features over, but I plan to expand functionality beyond the original scope.
Goals
- Make it extremely easy for people to tinker around with game data.
- Parsing data should be safe, and unit tested vigorously.
- Minimal dependencies ;-) All dependencies are also checked by
cargo deny
.
Features
- Easily extract game data from SqPack files.
- Apply game and boot updates, enabling custom launchers to patch the game.
- Blockfish ciphers for encrypting and decrypting SqexArg.
- Parse various game formats:
- SqPack index and dat files
- ZiPatch files
- All three Excel data types (EXD, EXH, EXL)
- Models
- Havok Packfile/TexTool skeletons
Usage
Note: The API is nowhere near stable, so things may change or break.
If you intend to use this in a Rust project, you can simply include this crate directly.
For other use in languages I maintain libphysis, which is a C wrapper around the same functionality. This isn't for show, I actually use these bindings in other projects.
Development
If you're interested to see how these formats work in more detail, see xiv.dev and docs.xiv.zone! They explain the file formats in more detail, but I also encourage reading the library code as well if you can.
Some tests and benchmarks require the environment variable FFXIV_GAME_DIR
to be set. By default, these are disabled
since they require a legitimate copy of the retail game data. These tests can be turned on via the retail_game_testing
feature.
Contributing & Support
The best way you can help is by monetarily supporting me or by submitting patches to help fix bugs or add functionality!