Skip to content

Conversation

yvan-burrie
Copy link

Improved the reading for the triggers system with version and data length used correctly. Although, I do not know where the triggers version is read and whether HD Edition still uses version 1.6. I did not test my code, so I hope it works!

Improved the reading for the triggers system with version and data length used correctly. Although, I do not know where the triggers version is read and whether HD Edition still uses version 1.6. I did not test my code, so I hope it works!
@goto-bus-stop
Copy link
Owner

Thanks! The scenery version identifier is definitely useful information.

There do seem to be a few issues. If you clone the repository, you can test your changes locally using composer run-script test. That'll try to run the code on a few dozen recorded game files from different AoE2 versions.

@yvan-burrie
Copy link
Author

Cool, I will have to try testing next time.

There's a lot more data that uses the scenery version, which needs to expanded on.

I believe the 64 bit float for the triggers version is used to detect the position for skipping huge amounts of unknown data? I will try to clarify some of those unknowns later, as HD Edition will maybe add things.

@yvan-burrie
Copy link
Author

I just realised I forgot to include the 16 bit integer known as "timelineAvailableId" which should be read between the timeline entries counter and the timeline entry structures, line 472.

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.

2 participants