gdsdecomp icon indicating copy to clipboard operation
gdsdecomp copied to clipboard

How do i compile .GD script files back to .GDC format?

Open Karri966 opened this issue 2 years ago • 10 comments

As the title says im looking for a solution to this since the gdre_tools.exe has the "Compile .GD script files..." button but its grayed out.

Karri966 avatar May 31 '22 13:05 Karri966

I'm interested in this as well. Standalone version produced empty output for 3.x

Kein avatar Jun 16 '22 07:06 Kein

Try the new standalone release: https://github.com/bruvzg/gdsdecomp/releases/tag/v0.0.8

nikitalita avatar Jun 18 '22 20:06 nikitalita

With 0.8 Error: Couldn't load project data at path ".". Is the .pck file missing? If you've renamed the executable, the associated .pck file should also be renamed to match the executable's name (without the extension).

Kein avatar Jun 18 '22 20:06 Kein

what OS are you using?

nikitalita avatar Jun 18 '22 20:06 nikitalita

Oh nevermind, I renamed executable but it looks like it searches for pack with the same name as binary so it failed.

Kein avatar Jun 18 '22 20:06 Kein

yeah, that's a Godot limitation. Does GDC compiling work now?

nikitalita avatar Jun 18 '22 20:06 nikitalita

I still can't compile the GD files back to GDC format. Here's a screenshot showing the option is still grayed out after extracting the .pck file and decrypting the gdc files: https://prnt.sc/NXTfItnM9HQg

Karri966 avatar Jun 18 '22 23:06 Karri966

@bruvzg ?

nikitalita avatar Jun 18 '22 23:06 nikitalita

Same

Kein avatar Jun 19 '22 06:06 Kein

There's no custom compilers for each of the versions implemented. So the easiest way to compile it back is taking an appropriate version of the engine (https://downloads.tuxfamily.org/godotengine/) adding script to the empty project, exporting it as zip and extract compiled script.

bruvzg avatar Jul 04 '22 11:07 bruvzg