Skip to content

feat: support AoE2 DE save version 67.x (v101.103.38580.0) - #141

Closed
sanduckhan wants to merge 1 commit into
happyleavesaoc:masterfrom
sanduckhan:feat/support-save-67x
Closed

sanduckhan wants to merge 1 commit into
happyleavesaoc:masterfrom
sanduckhan:feat/support-save-67x

Conversation

@sanduckhan

Copy link
Copy Markdown
Contributor

Save version 67.2 (game update v101.103.38580.0) introduced two new fields in the replay header format:

  1. Per-player: a new 4-byte field at the end of each player record in parse_de(), after the existing save >= 64.3 field.

  2. Post-player-loop: a new 8-byte field (Unix timestamp + 4-byte padding) after the save >= 66.3 block, before the lobby string.

Without these reads, de_string() assertions fail on the second player's record (byte stream misalignment by 4 bytes per player), causing every replay from this game version to be rejected with "could not parse:".

Save version 67.2 (game update v101.103.38580.0) introduced two new
fields in the replay header format:

1. Per-player: a new 4-byte field at the end of each player record in
   parse_de(), after the existing save >= 64.3 field.

2. Post-player-loop: a new 8-byte field (Unix timestamp + 4-byte
   padding) after the save >= 66.3 block, before the lobby string.

Without these reads, de_string() assertions fail on the second player's
record (byte stream misalignment by 4 bytes per player), causing every
replay from this game version to be rejected with "could not parse:".

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@sanduckhan

Copy link
Copy Markdown
Contributor Author

Closing in favor of #139 which provides more comprehensive save version 67.x support (covers both fast and full parsers).

@sanduckhan sanduckhan closed this Mar 2, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant