• ProjectsQuestion
  • Question with best practice for encryption (or protecting source code)

I'm currently working on game project (single player game) with Godot 4.03 and gdscript. After exporting to exe, i found out there is reverse engineer tool (gdsdecomp from https://github.com/bruvzg/gdsdecomp) and it 100% decompiled my source code (beside original blender file).

considering how easy it is to get source file by others, what is the best practice or way to protect the source code?

looking at the comment from other blog (reddit) suggest it is impossible anyway but what do you guys think?

  • There's no reliable way to protect your source code from being decompiled and reverse-engineered. The most you can do is make it more difficult to do so, and/or use obfuscation techniques to make it harder to read. Unfortunately, any protections you can put in place can be circumvented if someone is determined enough.

There's no reliable way to protect your source code from being decompiled and reverse-engineered. The most you can do is make it more difficult to do so, and/or use obfuscation techniques to make it harder to read. Unfortunately, any protections you can put in place can be circumvented if someone is determined enough.