export Game as one file

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

if you export your Game there is one application file and an text editor file. Is there any oppertunity that there is only one file?

Which text file is it?

Zylann | 2021-01-27 11:38

an text file which you can open whith text editor, I think it is Source code in there.

Bot7 | 2021-01-27 12:06

What text file is it? What name? What’s inside? I’m not aware of Godot doing that

Zylann | 2021-01-27 12:07

it is the normal text file that is exported. if this text file isnt in the folder of the application file and you open the application file there is an error. The normal text file if you export.

Bot7 | 2021-01-27 12:26

Again, vanilla Godot does not usually produce a text file in your exported game. All I know is that it produces an executable, and a .pck binary file depending on your options. I have no idea which text file you are referring to.

Zylann | 2021-01-27 12:29

yes. i mean the .pck file. is there any opption that it export only an application file, no .pck file?

Bot7 | 2021-01-27 12:39

sorry for wasting your time

Bot7 | 2021-01-27 12:44

:bust_in_silhouette: Reply From: CodedOre

You can find the option you’re looking for in the export options, under Binary Formats and there as Embed Pck.

ok thanks, but if i open the application file there is an eror that says project data not found … . How to fix this?

Bot7 | 2021-01-27 13:23

To be honest, without more informations, dunno…

I would at first try a clean export with a new export target and see if it’s work there, then looking further.

It does work here, so the problems is either a bad export or something in your project, if you ask me.

CodedOre | 2021-01-27 13:36

thanks i will try it

Bot7 | 2021-01-27 13:38