Skip to content

vpkpp: add support for reading Godot pck v3/v4 - #133

Merged
craftablescience merged 2 commits into
craftablescience:mainfrom
NotNite:push-pkuuynzvuuvk
Aug 30, 2026
Merged

vpkpp: add support for reading Godot pck v3/v4#133
craftablescience merged 2 commits into
craftablescience:mainfrom
NotNite:push-pkuuynzvuuvk

Conversation

@NotNite

@NotNite NotNite commented Aug 26, 2026

Copy link
Copy Markdown
Contributor

PCK v3 is present in Godot 4.5 and 4.6. It is always relative (unlike v2) and has a new directory offset, which skips the reserved space after the header. PCK v4 (Godot 4.7+)'s only change is an encrypted directory salt stored after dirOffset, but since encrypted packs aren't supported anyways, I didn't bother adding it.

I haven't implemented writing since I don't need this feature, but if that's a blocker for merge I can add that as well.

image

@NotNite NotNite changed the title vpkpp: add support for Godot pck v3/v4 vpkpp: add support for reading Godot pck v3/v4 Aug 26, 2026
@craftablescience craftablescience added the enhancement New feature or request label Aug 30, 2026

@craftablescience craftablescience left a comment

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

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

Thanks!

NotNite and others added 2 commits August 30, 2026 16:21
PCK v3 is present in Godot 4.5 and 4.6. It is always relative (unlike v2)
and has a new directory offset, which skips the reserved space after the
header.

PCK v4 (Godot 4.7+)'s only change is an encrypted directory salt stored
after `dirOffset`, but since encrypted packs aren't supported anyways, I
didn't bother adding it.
@craftablescience
craftablescience merged commit 143a79f into craftablescience:main Aug 30, 2026
@NotNite
NotNite deleted the push-pkuuynzvuuvk branch August 31, 2026 01:13
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.

2 participants