Running godot engine GUI inside virtual machine but running game outside the VM

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

I want to use the godot engine GUI inside a virtual machine, but run the game binary outside the virtual machine. How can I achieve this?

I’ve found this option: Debug → Small deploy with network.

What this means? Can it be used to achieve what I want? If no, what other option can be used?

I don’t want to deploy everytime I need to test, I want to be able to test outside the VM machine everytime

Someone correct me if I’m wrong but a VM is a closed environment, you prob won’t be able to accomplish this. The only option I see is build the exe in the VM and then move the executable to your local machine to test it. The “Small deploy with network.” option appears to work for Android and IOS, not sure how it will work on windows/linux tho.

intrus18 | 2019-03-18 13:46

If your VM and the “outside” (host?) can share a (network) drive then you could run the IDE and the “game” on the same drive. You see the command line for running the project in the output window of the IDE when you press “play”. (or just pass --help to the godot executable to see the parameters)

I just see a problem in the debugging because the debugger in the IDE won’t start (and be available for network connections) until you run the project. Personally, i don’t fully understand why they include network debugging but don’t enable the debug server all the time.

Anyway, it would perhaps be helpful to know WHY you would want to do this. I would see some use in running the project on another machine (i.e. for compatibility/performance testing) or VM. But WHY run the IDE in a VM??

wombatstampede | 2019-03-18 15:17