Topic was automatically imported from the old Question2Answer platform.
Asked By
wombatTurkey
Old Version
Published before Godot 3 was released.
So apparently I never knew that the GDScript could be compiled into .gdc files.
I am just curious since we can ship our game with a zip, we could also just send out the appropiate files “gamemanager.gdc” for easy patching.
My question is, would it be okay to do this? How easy could it be for someone to read the gdc file to get the source? I mean, if it would require advance knowledge, and not just a “script kiddy” could do it… I mean, I think it’s fine and I’m excited! But if it’s something where a script kiddy could just get in < 2 minutes… I’ll be hesitant!
I can’t find it either for 3.x
I’m not sure it’s forgotten feature or removed…
volzhs | 2018-06-26 17:26
So how can we point it to the developers, to see if it is missing ?
On a side note, (probably not proper script encryption) but when manually checking the binary in a text / Hex editor, in 2.x, I was able to see the strings of my code, whereas here (in 3.x) I am unable to find them.
Again, this is not proper encryption i think, but might a small default security layer… ?
The normal behaviour of 2.x is to compile scripts (export a zip package and look inside), you need to refer to gdc files instead of gd when loading resource packs too.
Is also possible to export a zip, extract the gdc and attach it to a node in another project (just do not try to edit it).
Both great answers… I accepted the other one for now though, appreciate it!! I’m thinking of doing the option you listed