Skip to content

Update wad.md #12

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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Update wad.md #12

wants to merge 1 commit into from

Conversation

nedaras
Copy link

@nedaras nedaras commented Jan 15, 2025

Added information how to get header's checksum.

Added information how to get header's checksum.
Copy link
Contributor

@Morilli Morilli left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks to be correct.


Not present for entry headers before wad version 2.
Checksum in WAD archives are hashed using 64-bit XXH64 with seed 0.
Hashing [Entry headers](#entry-headers) ordered by its ``data offset in the WAD archive`` will produce this checksum.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

- Hashing [Entry headers](#entry-headers) ordered by its ``data offset in the WAD archive`` will produce this checksum.
+ Hashing [Entry headers](#entry-headers) ordered by their ``data offset in the WAD archive`` will produce this checksum.

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