Expand description
Parser and applier for FFXIV ZiPatch (.patch) binary files.
This crate is split into two layers that share types but are otherwise independent:
- Parsing —
ZiPatchReaderis an iterator overChunks read from anystd::io::Readsource. Nothing in the parser touches the filesystem. - Applying — the
Applytrait writes a parsed chunk to disk through anApplyContext, which holds the game install root, target platform, and internal file-handle cache.
Typical usage opens a patch file, constructs a context, and pipes chunks
through ZiPatchReader::apply_to.
Re-exports§
pub use apply::Apply;pub use apply::ApplyContext;pub use chunk::Chunk;pub use chunk::ZiPatchReader;pub use error::ZiPatchError;
Modules§
- apply
- Filesystem application of parsed chunks (
Apply,ApplyContext). - chunk
- Wire-format chunk types and the
ZiPatchReaderiterator. - error
- Error type returned by parsing and applying (
ZiPatchError).
Enums§
- Platform
- Target platform for
SqPackfile path resolution.
Type Aliases§
- Result
- Crate-wide
Resultalias parameterised overZiPatchError.