Expand description
Provides an Age of Empires series recorded game file reader.
§Version Support
This crate can read Age of Empires 1, Age of Empires 2: The Conquerors, and HD Edition recorded game files.
§Credits
Most of the .mgl, .mgx, .mgz format specification was taken from Bari’s classic mgx
format description, the recage Node.js library, and Happyleaves’ aoc-mgz Python library.
Re-exports§
pub use header::Header;
Modules§
- actions
- Player actions executed during a game.
- ai
- Read and write player AI state.
- header
- map
- player
- string_
table - unit
- unit_
action - unit_
type
Structs§
- Body
Actions - Iterator over body actions.
- Game
Version - The game data version string. In practice, this does not really reflect the game version.
- HDGame
Options - ObjectID
- PlayerID
- ID identifying a player (0-8).
- Recorded
Game - Recorded game reader.
Enums§
- Age
- Difficulty
- Error
- Errors that may occur while reading a recorded game file.
- Game
Mode - Game
Speed - MapSize
- MapType
- Resource
Level - Visibility
Type Aliases§
- Result
- Result type alias with
genie_rec::Erroras the error type.