u/joedacoolguy

I got tired of compiling Godot export templates, so I built a tool for it.
▲ 34 r/GodotEngine+1 crossposts

I got tired of compiling Godot export templates, so I built a tool for it.

https://preview.redd.it/7l4uz9itk2bh1.png?width=735&format=png&auto=webp&s=98a6a14e2064a6b9d14b336663f2f5d220b751e0

I wanted to use Godot's built in script encryption, but every time I looked into it I ended up going through the same process:

  • Install Python
  • Install SCons
  • Install a C++ toolchain
  • Download the Godot source
  • Compile custom export templates
  • Configure everything manually

It works, but it felt like way too much effort just to use a feature Godot already supports.

So I built godot-secure-templater.

It's a small CLI that automates the whole workflow. It will:

  • Detect your Godot version
  • Download everything it needs and verifies checksums of tools
  • Compile custom export templates
  • Generate or reuse your encryption key
  • Configure your export settings
  • Clean up after itself when it's finished

One thing that was important to me is that it's completely self contained. Everything gets installed inside your project, so there's no messing with your system Python, SCons, MinGW or environment variables. If you don't want it anymore, just delete the .gst folder and it's gone.

The goal is to make encrypted exports as simple as:

gst create

instead of spending ages setting up a build environment.

Right now it's very much an MVP (v0.1.1), but it already works for Windows projects. The roadmap includes proper CI support, build caching, parallel compilation, and a plugin based architecture so Linux and Web exports can be added first, with support for other platforms as plugins later on.

I'd really appreciate any feedback, especially from anyone who's had to compile Godot export templates manually before. Have I solved the annoying part, or is there something else you'd want a tool like this to do?

GitHub: https://github.com/joesturge/godot-secure-templater

reddit.com
u/joedacoolguy — 2 days ago