[][src]Crate genie_rec

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

BodyActions

Iterator over body actions.

GameVersion

The game data version string. In practice, this does not really reflect the game version.

HDGameOptions
ObjectID
PlayerID

ID identifying a player (0-8).

RecordedGame

Recorded game reader.

Enums

Age
Difficulty
Error

Errors that may occur while reading a recorded game file.

GameMode
GameSpeed
MapSize
MapType
ResourceLevel
Visibility

Type Definitions

Result

Result type alias with genie_rec::Error as the error type.