This site is currently in read-only mode during migration to a new platform.
You cannot post questions, answers or comments, as they would be lost during the migration otherwise.
0 votes

If I use embed .pck is it more secure or not?
Is it better than normal export?
If I use embed .pck and I didnt use script encrypt export. How difficult to get code?
And if I use embed .pck and I use script encrypt export. How difficult to get code?

Godot version 3.5.1
in Engine by (47 points)

1 Answer

0 votes

Embedding is generally easier for the end user, as there is only one file to deal with. It's click and run.

If you embed without encrypting, most players won't know how to get the code and therefore won't go through the effort. It takes only one knowledgeable person with too much time on his hands to extract your code. Then everyone can see it.

If you embed with encryption, you will have to include the key in the export so your program can decrypt your scripts. Most players won't know how to get the key to decrypt the code and therefore won't go through the effort. It takes only one knowledgeable person with too much time on his hands to extract your key and decrypt your code. Then everyone can see it.

So basically it's dealer's choice, but don't stress over it.

by (595 points)

But isnt there a way to do it secure the code?

I'm not an expert by any means. From what I've gleaned over the years, there is no simple, completely secure way to keep people from looking at your code. It can be done to a large degree (see Bluray), but the required infrastructure does not exist within Godot (or any other game engine to date, to the best of my knowledge); and the cost and effort are far, far beyond what 99.99999999% of us will ever be able to provide.

thank you, maybe you are true

Welcome to Godot Engine Q&A, where you can ask questions and receive answers from other members of the community.

Please make sure to read Frequently asked questions and How to use this Q&A? before posting your first questions.
Social login is currently unavailable. If you've previously logged in with a Facebook or GitHub account, use the I forgot my password link in the login box to set a password for your account. If you still can't access your account, send an email to [email protected] with your username.