How easy is it to decompile a data.pck file?

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By user41420082
:warning: Old Version Published before Godot 3 was released.

I know that game resources are packed into the data.pck file if I chose to do so in the export options. However, I want to know how easy it is to decompile that data.pck file.

Additionally, I asked this before but didn’t get any answers but how do I add support for DLCs in my game (probably in form of a separate PCK file).

I know that it isn’t particularly hard to disassemble a .pck file, but I don’t have details on how to do it.

In short, don’t view data packing as an encryption or protection system (this is true for any game engine, probably).

Calinou | 2016-12-30 11:06

:bust_in_silhouette: Reply From: eons

EDIT: This is for the additional question, not the main.
The answer have not changed in the last months, I think…

https://forum.godotengine.org/4404/is-it-possible-to-append-files-to-pck-or-patch-files?show=4423#a4423

You can try this
https://github.com/godotengine/godot-docs/issues/154#issuecomment-221551632

I have tried to use pckpacker and export then loading with Globals.load_resource_pack with no success (everything ends overwriting my scene or ignoring the package in user://), even in zip format, is supposed to be possible but no clue how.

So does that mean it’s not yet possible?

user41420082 | 2016-10-08 03:07

In the docs issue, punto- said he made it with pckpacker but is not documented how.

So, looks like is possible but need some research and trial and error until someone makes a tutorial for it (or until the API gets more user friendly).

eons | 2016-10-08 15:00

Ahh I see. Now if only someone can respond to the main question

user41420082 | 2016-10-08 20:10

:bust_in_silhouette: Reply From: qubodup

Files area easily extracted using Dragon UnPACKer’s HyperRipper feature

Video guide: