goto-bus-stop / recanalyst

Analyzes Age of Empires 2 recorded game files.
https://goto-bus-stop.github.io/recanalyst/doc/v4.2.0
GNU General Public License v3.0
77 stars 11 forks source link

Support WololoKingdoms #31

Open goto-bus-stop opened 7 years ago

goto-bus-stop commented 7 years ago

WololoKingdoms recorded games can be read, but some of its unit IDs are different, eg because of:

https://github.com/Tails8521/WololoKingdoms/blob/master/fixes/ai900unitidfix.cpp

We can deal with that in ResourcePacks\AgeOfEmpires::normalizeUnit, if we can detect when WololoKingdoms is in use.

happyleavesaoc commented 6 years ago

You can look at these bytes to detect WK: https://github.com/happyleavesaoc/aoc-mgz/blob/master/mgz/header/playerstats.py#L218-L221

At least until another mod uses this mechanic, but it should be pretty safe for competitive recs.