Please check the build logs for more information.
See Builds for ideas on how to fix a failed build, or Metadata for how to configure docs.rs builds.
If you believe this is docs.rs' fault, open an issue.
rvpacker-txt-rs-lib
rvpacker-txt-rs-lib that provides functions to extract the text from RPG Maker .rxdata, .rvdata, .rvdata2 and .json files to .txt format for easy translation.
It also provides the json module to convert .rxdata, .rvdata and .rvdata2 files to JSON and back.
This library is used in RPGMTranslate GUI and rvpacker-txt-rs CLI.
Installation
cargo add rvpacker-txt-rs-lib
Features
This crate provides core structs and functions in core module, but also exports wrappers around those, like Purger, Writer, Reader.
Reader/Writer/Purger
These structs abstract over the core module and process files, handling all system calls.
Example
use ;
core module
This module provides structs Base, MapBase, OtherBase, SystemBase, PluginBase and ScriptBase.
Example
use ;
use read;
json module
json module provides generate and write functions to generate JSON representations of older engines' files and write them back respectively.
Example
use ;
Serialization/Deserialization
All public enums and structs in this crate are serializable with serde.
Flat enums that contain only number variants are serialized with #[serde(into = "u8", try_from = "u8")] attribute, which converts enums to a single u8 integer, representing the variant. The same applies to FileFlags struct.
Support
Me, the maintainer of this project, is a poor college student from Eastern Europe.
If you could, please consider supporting us through:
Even if you don't, it's fine. We'll continue to do as we right now.
License
Project is licensed under WTFPL.