Production client export
How do I export a distributable client for the production build (Godot)?
9 Replies
not too familiar with godot myself, is this a question specific to the plugin or just godot itself?
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.
cc @Nathan
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.
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.
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.
Actually, does the exported executable need to be run with certain environment variables set? Or does the exporter bake them in?
i'll check in on this in a few, looks like the rivet export plugin is not triggering correctly.
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.