Production client export

How do I export a distributable client for the production build (Godot)?
9 Replies
ptato
ptato14mo ago
not too familiar with godot myself, is this a question specific to the plugin or just godot itself?
Xen
XenOP14mo ago
Godot specific. There's undocumented parameters being passed to the debug build when you run it through the rivet plugin. I need to know what those are so I can manually pass them to the Godot exporter, or the rivet plugin needs a magic button for building.
ptato
ptato14mo ago
cc @Nathan
Nathan
Nathan14mo ago
hey! the rivet plugin automatically injects a configuration file in your final godot build. it will use the environment selected in the plugin for the final build.
Xen
XenOP14mo ago
I've tried building like normal (with the godot exporter) and it looks like the executables created don't have the correct server hostname and port.
Nathan
Nathan14mo ago
hmm, does it log which port it's trying to connect to? if not, there's a way to enable debug rivet logs. can send the link to the docs in a moment.
Xen
XenOP14mo ago
WARNING: Could not find backend endpoint, falling back to localhost:6420
at: push_warning (core/variant/variant_utility.cpp:1112)
[Rivet] Using default endpoint
[Rivet] Endpoint: http://localhost:6420
WARNING: Could not find game version endpoint
at: push_warning (core/variant/variant_utility.cpp:1112)
[Rivet] Game version: unknown
WARNING: Could not find backend endpoint, falling back to localhost:6420
at: push_warning (core/variant/variant_utility.cpp:1112)
[Rivet] Using default endpoint
[Rivet] Endpoint: http://localhost:6420
WARNING: Could not find game version endpoint
at: push_warning (core/variant/variant_utility.cpp:1112)
[Rivet] Game version: unknown
Actually, does the exported executable need to be run with certain environment variables set? Or does the exporter bake them in?
Nathan
Nathan14mo ago
i'll check in on this in a few, looks like the rivet export plugin is not triggering correctly.
Xen
XenOP14mo ago
Lol. Okay. So, I'm trying to figure out how this all works. It looks like there's no way to get Godot to export .rivet/config.gd and res://.rivet_config.gd might not be generated correctly when building, so I manually copied it over to try it out and something actually DELETES res://.rivet_config.gd, I assume before the export runs, because that file does not get exported.
No description

Did you find this page helpful?