This is a project for editing parts of an 'aoe2scenario' file from Age of Empires 2 Definitive Edition
Project description
AoE2ScenarioParser
AoE2ScenarioParser
is a Python library that allows you to edit aoe2scenario
files from every version of
Age of Empires 2 Definitive Edition.
Getting Started
Documentation
Documentation for installation, usage, examples, cheatsheets and API docs can be found on GitHub Pages.
Quick links
- Installing → A quick guide on how to install
AoE2ScenarioParser
- Hello World Example → Step-by-step guide to get you going
- Discord Server → For questions about
AoE2ScenarioParser
, Python or scenarios in general. - API Docs → Technical documentation for all exposed functions & classes
Discord
If you have any questions regarding AoE2ScenarioParser
? Join the discord!
Support
Every Single Scenario Version from Age of Empires 2 Definitive Edition is SUPPORTED!
Support:
1.36
Version at Release (November 14th, 2019) →1.53
Current Version (Since: March 13th, 2024)
Every single version of Age of Empires 2 Definitive Edition is supported! If a new version of Age of Empires 2 Definitive Edition just released it can take a bit for it to be able to be read. Check the Discord Server for more up-to-date information if this is the case.
If you find a scenario which can be opened by the game itself, but results in an error when using AoE2ScenarioParser
,
please report it as an issue or in the #bug‑reports channel in the Discord Server.
⚠️ To view the full-blown support table previously shown in this README, visit: support.
Progress
Every related change to the library is documented and can be found in the CHANGELOG.
Features:
AoE2ScenarioParser
allows you to edit anything inside a scenario.
For general usability "managers" have been created to make working with the files easier.
These managers allow you to quickly change aspects of units, triggers, the map, player data and more!
Below is a simplified overview of some of the features:
Inspect | Add | Edit | Remove | |
---|---|---|---|---|
Triggers | ✔️ | ✔️ | ✔️ | ✔️ |
Conditions | ✔️ | ✔️ | ✔️ | ✔️ |
Effects | ✔️ | ✔️ | ✔️ | ✔️ |
Units | ✔️ | ✔️ | ✔️ | ✔️ |
Map | n/a *1 | ✔️ | ✔️ | ✔️ |
Players | n/a *1 | ✔️* | ✔️ | ✔️* |
Messages | n/a | ✔️ | ✔️ | ✔️ |
*: You can disable or enable players like in the in-game editor (min 1, max 8).
*1: There's no specific inspection function. Though, they can still be printed with clean formatting.
Authors
- Kerwin Sneijders (Main Author)
- Alian713 (Dataset Wizard)
License
MIT License: Please see the LICENSE file.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file aoe2scenarioparser-0.1.74.tar.gz
.
File metadata
- Download URL: aoe2scenarioparser-0.1.74.tar.gz
- Upload date:
- Size: 323.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | c4a1f80d5c4040aeffe6cc5e451c04935d2699cc5772370478d205bd0b430681 |
|
MD5 | e96d1d62925d5b1f8c28e7ad5b01f896 |
|
BLAKE2b-256 | e4a3559fbacb3f53ea850388d9791461350c169c442bba396f32bf072bf42555 |
File details
Details for the file AoE2ScenarioParser-0.1.74-py3-none-any.whl
.
File metadata
- Download URL: AoE2ScenarioParser-0.1.74-py3-none-any.whl
- Upload date:
- Size: 394.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2cc33254ffd6d91b5948dfa14c328abb8402e4d2c44988f72c3646a9dc86843a |
|
MD5 | 1b8ff38cae64d0d0a30592779f4b47a8 |
|
BLAKE2b-256 | e06743f1642ef1438cac4976cb3438c1578d53c361fa388c3d576326af302fe3 |