Encryption Export

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

Okay so, i want to export my game but i want my scripts to be encrypted, altho whenever i type in an encryption key i get: -Invalid Encryption Key (must be 64 characters long), I checked the length of it and it was 64 characters long, I also can’t Export All

Did you compile the export templates with your key? See here if not: Compiling with PCK encryption key — Godot Engine (stable) documentation in English

omggomb | 2021-05-31 10:06

How can i compile it exactly?

StevenRafft | 2021-06-01 15:20

It’s basically like compiling the engine but with tools=False and target=release as well as target=release_debug.Have a look at this section in the docs (for windows): Introduction to the buildsystem — Godot Engine (stable) documentation in English

If you’ve never compiled the engine before, you should read the following pages in the docs:

It’s a bit more involved but actually pretty straight forward at least from my experience on windows and linux.

omggomb | 2021-06-02 19:31