Any way to distribute game with exposed resources? (without including full Godot binary)

Godot Version

4.3 rc 2

Question

I am trying to export my game with the resources exposed and not in a PCK file. I am following article in the Godot docs about exporting projects

According to this, It seems that the only way to do this is to distribute the game with the Godot Binary, but I would rather not as the binary is bigger than the game itself.

The only other possibility I’ve seen is exporting the game as a zip as it generates a project.binary file but have no idea what to do with it.

I feel like I am missing something obvious but have no idea what it could be.

Thank you in advance!

Assuming you exporint a Windows build. If you export your project with the embed PCK option disabled, then you should end up with a my_project.exe and a my_project.pck. You should then be able to discard the PCK file and run the ZIP file by using

my_project.exe --main-pack my_project.zip

This .exe will smaller than the editor .exe, but I don’t think it can be made any smaller easily. You would only need to do the export above once, after that you can just re export the ZIP file.

1 Like

I’ll mark this as the solution as it answered my original question, in my case it was more efficient to build the Godot binary with the 3d elements and editor removed (which I did not know you could do before posting the question)

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.