Nintendo parameter archive (AAMP) library in Rust
A simple to use library for reading, writing, and converting Nintendo parameter archive (AAMP) files
in Rust. Supports only AAMP version 2, used in The Legend of Zelda: Breath of the Wild. Can
convert from AAMP to readable, editable YAML and back.
use aamp::ParameterIO;
let mut file = std::fs::File::open("test/Enemy_Lizalfos_Electric.bchemical").unwrap();
let pio = ParameterIO::from_binary(&mut file).unwrap();
for list in pio.lists.iter() {
}
for obj in pio.objects.iter() {
}
let yaml_dump: String = pio.to_text().unwrap();
License Notice
This software contains some edited code from yaml-rust
,
primarily the addition of support for tags on maps and sequences. The original MIT/Apache license
and code are available on the GitHub repo.