Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Reforged update 02 #17

Open
wants to merge 4 commits into
base: master
Choose a base branch
from
Open

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