What kind of data is saved in the exported .exe and .pck files?

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By Gamemap

I noticed that different Godot projects have different sizes when exporting.

The .pck file changes massively. If I understand it correctly, it contains the scene and script files. (Also the materials?) Does it contain any other files/information?

The .exe file is 35 MB for one project and 37 MB for another. What does this file contain that it only sometimes changes size? I thought I could update a game/program by changing only the .pck file. Do I also need to replace the .exe file each time?

Can someone give me a list (if possible a complete list) of all the different data stored in the .exe and .pck files?

:bust_in_silhouette: Reply From: Calinou

The PCK file contains all the project data: scenes, scripts, textures, sounds, …

The executable only contains the engine’s executable code (without editor functionality). It does not change between projects unless you modify it with rcedit when exporting. The size of the executable will slightly vary depending on the engine version you used to export the project.

I thought I could update a game/program by changing only the .pck file. Do I also need to replace the .exe file each time?

You need to replace both the EXE and PCK when updating a project. An export template is only guaranteed to be compatible with the same major.minor.patch version the PCK was exported with.