Skip to content

[Feature Request]: Support PCK format v4 #32

@nikitalita

Description

@nikitalita

Feature description

Godot recently changed the pack format, and it's going to be landing in v4.7.

This is a relatively simple change; if it's pack format v4, AND it's both a sparse bundle and the directory is encrypted, there is a 32-byte salt_data buffer right after the dir_offset (this takes up 8 of the 16 previously reserved 32-bit fields). This salt gets appended to the files when looking them up in the data directory.

Implementation Ideas

This only affects sparse pcks (which are used for encrypting APKs without extended APK support), so if you don't support those, I think this is just an enum bump? Either way, here's the PR where it landed:

godotengine/godot#113920

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions