A reader, writer, and converter for all versions of Age of Empires scenarios.
This crate aims to support every single scenario that exists. If a scenario file from any Age of Empires 1 or Age of Empires 2 version does not work, please upload it and file an issue!
Automated scenario conversions.
Failed to decode a string as WINDOWS-1252.
Failed to encode a string as WINDOWS-1252.
Describes the terrain in a map.
Could not parse a DLC package identifier because given number is an unknown DLC ID.
Could not parse a data set because given number is an unknown data set ID.
Could not parse a diplomatic stance because given number is an unknown stance ID.
Could not parse a starting age because given number refers to an unknown age.
The SCX Format version string. In practice, this does not really reflect the game version.
A Scenario file.
An object placed in the scenario.
A map tile.
Embeddable scenario data. This includes all scenario settings, but not map data, triggers, and placed objects.
A trigger, describing automatic interactive behaviours in a scenario.
A trigger condition, describing when a trigger can fire.
A trigger effect, describing the response when a trigger fires.
The trigger system maintains an ordered list of triggers.
An ID identifying a unit type.
All the versions an SCX file uses in a single struct.
An HD Edition DLC identifier.
The data set used by a scenario, HD Edition only.
A player's diplomatic stance toward another player.
Error type for SCX methods, containing all types of errors that may occur while reading or writing scenario files.
The starting age.
A key in a language file.
Result type for SCX methods.