Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/SiegeEngineers/genie-rs

Rust libraries for reading/writing various Age of Empires I/II files.
https://github.com/SiegeEngineers/genie-rs

age-of-empires drs genie-engine scx

Last synced: 3 months ago
JSON representation

Rust libraries for reading/writing various Age of Empires I/II files.

Awesome Lists containing this project

README

        

# genie-rs

[![docs.rs](https://img.shields.io/badge/docs.rs-genie-blue?style=flat-square)](https://docs.rs/genie/)
[![crates.io](https://img.shields.io/crates/v/genie.svg?style=flat-square)](https://crates.io/crates/genie)
[![GitHub license](https://img.shields.io/github/license/SiegeEngineers/genie-rs?style=flat-square&color=darkred)](https://github.com/SiegeEngineers/genie-rs/blob/default/LICENSE.md)
![MSRV](https://img.shields.io/badge/MSRV-1.64.0%2B-blue?style=flat-square)

Rust libraries for reading/writing various Age of Empires I/II files.

## Example Programs

```bash
# Extract scenario files from a campaign to the working directory.
cargo run --example extractcpx ~/path/to/campaign.cpx

# Show the scenario files in a campaign file.
cargo run --example extractcpx ~/path/to/campaign.cpx -l

# Convert an HD Edition (+expansions) scenario to WololoKingdoms.
cargo run --example convertscx ~/path/to/input.aoe2scenario ~/path/to/output.scx wk

# Display contents of a language file.
cargo run --example displaylang ~/path/to/input/language.dll dll
cargo run --example displaylang ~/path/to/input/language.ini ini
cargo run --example displaylang ~/path/to/input/key-value-strings.txt key-value

# Convert HD Edition key-value.txt language files to language.ini files for Voobly or aoc-language-ini
cargo run --example wolololang ~/path/to/input/key-value-strings.txt ~/path/to/output/language.ini
```

## License

[GPL-3.0](./LICENSE.md)