When exporting how do I get my folders in the res:// folder, it only exports the executable and the pk files

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

What the title says, I want my folders in my project to be exported with the executable, instead of the pk file, so that I can edit or change stuff when its in an exported format.

:bust_in_silhouette: Reply From: eadarinel

Project → Export → Select your template → “Resources” tab.
You just need to exclude your folder from the project so you can get its content using something like:

:bust_in_silhouette: Reply From: Zylann

AFAIK folders in a projects always get exported into pck, or not exported. One reason is because some files you put in your project don’t exist in the same format once exported, they go through an import process first, which makes them more efficient to load by the engine. Textual scenes and resources also get converted to binary.
What you describe sounds very similar to just shipping an editor build (basically, shipping your project, with the Godot executable inside), although Godot isn’t really thought for that use case and importing would still be required somehow.

You may otherwise have to load these files differently, not using res://, because res:// is for resources packaged with the project. In an exported game, importers are not included as well, so you will have to do some manual work if you want texture compression for example.

1 Like