happyleavesaoc / aoc-mgz

Age of Empires II recorded game parsing and summarization in Python 3.
MIT License
197 stars 42 forks source link

Skip ai settings in DE as long as we didn't know the correct structure #33

Closed Skazu closed 3 years ago

Skazu commented 3 years ago

This pull requests solves the issue of reading recorded games which involves ai players for AoE2 DE recs. It works by simply skipping the ai settings in DE recorded games, since i wasn't able to figure out the format changes, so this will still be an open task.

So be aware: With this PR you can check if an ai is included ('has_ai' == 1) but you will not see any settings ('yep'/'yep->ais' is empty).

happyleavesaoc commented 3 years ago

Thanks!