Skip to content

Reforged update 02#17

Open
manh4wk wants to merge 4 commits intoscopatz:masterfrom
manh4wk:reforged_update_02
Open

Reforged update 02#17
manh4wk wants to merge 4 commits intoscopatz:masterfrom
manh4wk:reforged_update_02

Conversation

@manh4wk
Copy link
Contributor

@manh4wk manh4wk commented Feb 7, 2023

Added a new reader for the ReforgedPlayerMetadata class that should allow for reading more replays from Warcraft III Reforged. Unfortunately, there doesn't seem to be a good way to tell which reader to use for it, so I just try one and then if it fails it tries the other. It looks like there are some new GAME_TYPES being used, maybe if we had more different types of replays that would tell us.

I also added the BNet portrait ID as a property of the ReforgedPlayerMetadata class. I don't have a mapping to know which portrait ID maps to which portrait, but if we figure that out later it can be added.

Closes #16

Provided support for two input formats for the ReforgedPlayerMetadata class.
Add new news file with changes
One of the byte readers in the ReforgedPlayerMetadata class skipped reading in the portrait ID
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.

Not updated to be compatible with replays of version 1.32 yet?

1 participant