Hey there, I was trying to deploy my game for Linux and everything's working on my end, but my friend who uses Linux can't run the game.
I'm a Windows user so I wouldn't know where to begin. I'm just sending them the raw deployment package and they can't figure it out. They've also tried WINE and it just showed "Loading..." forever.
Any help would be greatly appreciated!
I tried deploying a test project for Linux as an experiment, and I think the intention is for a Linux user to open the Game.desktop file. Is that what your friend tried and it's not working, or did they only try other things?
WINE wouldn't help if you've deployed for Linux. That would only let them run a game that you've deployed for Windows.
If Game.desktop doesn't work, based on its contents, it looks like the file called "nw" is the actual executable file.
As a Linux user, Game.desktop (which should just show up as Game in the folder) is indeed what needs to be launched.
I’ve personally had mixed results as to whether it will launch, however. I tested it a couple of months ago and double-clicking did nothing, but the test I ran a couple of minutes ago had the game launch without issue. Solar_Flare is right about nw, though. If the game won’t launch by double-clicking it, opening Terminal and running nw from there should do the trick.
That said, Wine will also run the Windows deployment if all else fails.
On PC, a Loading... screen that just doesn't end could mean a resource not found. This may mean you have used spaces in folder names or file names in your project, and non-Windows operating systems are more strict about that.
We couldn't figure out what's up with the linux version, so now we're goin through all the game files checking for spaces per Shaz' suggestion
There is no built-in automatic fix for this, it just provides a visual warning. The best way would be for the "Resource Manager" to do this when importing the files.
Maybe someone will create a plugin to solve this on game startup, to at least fix the extension.