Crate aoe2_probe
source · [−]Expand description
A rust library for editing aoe2scenario files from AoE2 DE.
Examples
use aoe2_probe::{Scenario, ExportFormat};
let scenario = Scenario::from_file("./resources/chapter_1.aoe2scenario").unwrap();
println!("{:?}", &scenario.versio);
scenario.to_file("./resources/temp.aoe2scenario", ExportFormat::AoE2Scenario);