[][src]Crate genie_cpx

Campaign files store multiple scenario files in one easily distributable chunk.

genie-cpx can read and write campaign files using the Campaign and CampaignWriter structs, respectively.

Structs

Campaign

A campaign file containing scenario files.

CampaignWriter

A campaign file writer. Instantiate it, then add scenario files to it.

ScenarioMeta

Data about a scenario in the campaign file.

Enums

ReadCampaignError

Type for errrors that could occur while reading/parsing a campaign file.

WriteCampaignError

Type for errors that could occur during writing.

Constants

AOE1_DE

Version identifier for AoE1: Definitive Edition campaign files.

AOE2_DE

Version identifier for AoE2: Definitive Edition campaign files.

AOE_AOK

Version identifier for AoE1, AoE2, and AoE2: HD campaign files.

Type Definitions

CPXVersion

Version identifier for the campaign file format.