Expand description
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!
Modules§
- convert
- Automated scenario conversions.
Structs§
- DLCOptions
- Decode
String Error - Failed to decode a string as WINDOWS-1252.
- Encode
String Error - Failed to encode a string as WINDOWS-1252.
- Map
- Describes the terrain in a map.
- ParseDLC
Package Error - Could not parse a DLC package identifier because given number is an unknown DLC ID.
- Parse
Data SetError - Could not parse a data set because given number is an unknown data set ID.
- Parse
Diplomatic Stance Error - Could not parse a diplomatic stance because given number is an unknown stance ID.
- Parse
Starting AgeError - Could not parse a starting age because given number refers to an unknown age.
- SCXHeader
- SCXVersion
- The SCX Format version string. In practice, this does not really reflect the game version.
- Scenario
- A Scenario file.
- Scenario
Object - An object placed in the scenario.
- Tile
- A map tile.
- Tribe
Scen - Embeddable scenario data. This includes all scenario settings, but not map data, triggers, and placed objects.
- Trigger
- A trigger, describing automatic interactive behaviours in a scenario.
- Trigger
Condition - A trigger condition, describing when a trigger can fire.
- Trigger
Effect - A trigger effect, describing the response when a trigger fires.
- Trigger
System - The trigger system maintains an ordered list of triggers.
- Unit
TypeID - An ID identifying a unit type.
- Version
Bundle - All the versions an SCX file uses in a single struct.
- Victory
Conditions - Victory
Entry - Victory
Point Entry
Enums§
- DLCPackage
- An HD Edition DLC identifier.
- DataSet
- The data set used by a scenario, HD Edition only.
- Diplomatic
Stance - A player’s diplomatic stance toward another player.
- Error
- Error type for SCX methods, containing all types of errors that may occur while reading or writing scenario files.
- Starting
Age - The starting age.
- String
Key - A key in a language file.
- Victory
Condition
Type Aliases§
- Result
- Result type for SCX methods.