Hi, since the February 17 2026 update (Americas/Chieftains DLC), mgz fails to parse replays with an assertion error in de_string().
Error:
File "/venv/lib/python3.12/site-packages/mgz/fast/header.py", line 46, in de_string
assert data.read(2) == b'\x60\x0a'
AssertionError
Full traceback:
Traceback (most recent call last):
File "mgz/fast/header.py", line 744, in parse
de = parse_de(header, version, save)
File "mgz/fast/header.py", line 455, in parse_de
de_string(data)
File "mgz/fast/header.py", line 46, in de_string
assert data.read(2) == b'\x60\x0a'
AssertionError
RuntimeError: could not parse:
Environment:
- mgz version: 1.8.51 (latest from GitHub as of Feb 20)
- Python: 3.12
- Game version: Age of Empires II: DE post-Americas DLC (Feb 17, 2026)
Notes:
The \x60\x0a pattern still exists in the replay file but at a different offset (found at position 27823)
Replays from before the Feb.. 17 update parsed correctly?
Hi, since the February 17 2026 update (Americas/Chieftains DLC), mgz fails to parse replays with an assertion error in de_string().
Error:
Environment:
Notes:
The \x60\x0a pattern still exists in the replay file but at a different offset (found at position 27823)
Replays from before the Feb.. 17 update parsed correctly?