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

Fix some misc issues with deserializing pre-Bytecode 13 games #2020

Draft
wants to merge 9 commits into
base: master
Choose a base branch
from

Conversation

Dobby233Liu
Copy link
Contributor

@Dobby233Liu Dobby233Liu commented Jan 21, 2025

Description

See commit messages

Aside of the object count estimation being incorrect,

Caveats

Notes

To check if pos is aligned we calculate (pos & (alignment - 1)).
When pos is aligned, the result will always be 0.
However right now the Align functions of UTReader/Writer
checks if it equals to the intended padding byte, which
makes zero sense. This commit makes them check against 0.
@Dobby233Liu Dobby233Liu marked this pull request as draft January 21, 2025 13:08
Copy link

github-actions bot commented Jan 21, 2025

@Dobby233Liu Dobby233Liu force-pushed the room-view-following-object-tolerate-negative-100 branch from 38b0714 to 4788c6c Compare January 21, 2025 13:12
@Dobby233Liu Dobby233Liu force-pushed the room-view-following-object-tolerate-negative-100 branch from 4788c6c to 003fb1e Compare January 21, 2025 13:13
@Dobby233Liu Dobby233Liu marked this pull request as ready for review January 21, 2025 13:14
@Dobby233Liu Dobby233Liu marked this pull request as draft January 21, 2025 14:39
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.

error opening .WIN file
1 participant