Skip to content

feat(vpkpp): VPK v54 #29

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

Merged
merged 1 commit into from
Sep 18, 2024
Merged

feat(vpkpp): VPK v54 #29

merged 1 commit into from
Sep 18, 2024

Conversation

craftablescience
Copy link
Owner

@craftablescience craftablescience commented Sep 17, 2024

v54 adds a compressed length field (uint32_t) after the length field for each entry and before the entry terminator. If the compressed length is 0, the file is not compressed. Compression is done through zstd, and the compression dictionary is saved inside the VPK as a regular file named after the VPK filename (i.e. a VPK named cstrike_dir.vpk would have a file called cstrike.dict at the root of the VPK).

@craftablescience craftablescience added the enhancement New feature or request label Sep 17, 2024
@craftablescience craftablescience self-assigned this Sep 17, 2024
@craftablescience craftablescience force-pushed the feat/vpk-v54 branch 2 times, most recently from 6995929 to 16ec998 Compare September 18, 2024 03:17
@craftablescience craftablescience marked this pull request as ready for review September 18, 2024 04:26
@craftablescience craftablescience merged commit 7260f39 into main Sep 18, 2024
6 checks passed
@craftablescience craftablescience deleted the feat/vpk-v54 branch September 18, 2024 04:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant