Linux Deployment help needed: Unsure of what/how to run it.

FemboySJL

Warper
Member
Joined
Sep 29, 2021
Messages
2
Reaction score
1
First Language
English
Primarily Uses
RMMV
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!
 

Solar_Flare

Veteran
Veteran
Joined
Jun 6, 2020
Messages
655
Reaction score
265
First Language
English
Primarily Uses
RMMV
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.
 

AssumedPseudonym

Lawful Neutral
Veteran
Joined
Jul 15, 2021
Messages
71
Reaction score
87
First Language
English
Primarily Uses
RMMV
 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.
 
Last edited:

Shaz

Global Moderators
Global Mod
Joined
Mar 2, 2012
Messages
43,745
Reaction score
15,312
First Language
English
Primarily Uses
RMMV
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.
 

FemboySJL

Warper
Member
Joined
Sep 29, 2021
Messages
2
Reaction score
1
First Language
English
Primarily Uses
RMMV
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
 

Solar_Flare

Veteran
Veteran
Joined
Jun 6, 2020
Messages
655
Reaction score
265
First Language
English
Primarily Uses
RMMV
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.
Another way a resource might not be found on Linux is if it's a different case. I don't think this is a very likely scenario, but I could see it maybe happening if you reference a file from a note tag or if you renamed it at some point after setting up a reference in the editor.

For example: suppose you had a file called "maincharacter.png" and set up actor 1 to use that file. Then you rename the file to "MainCharacter.png". It'll still work on Windows, but there's a chance it won't work on Linux (if the editor isn't smart enough to automatically fix it).
 

ATT_Turan

Forewarner of the Black Wind
Veteran
Joined
Jul 2, 2014
Messages
2,272
Reaction score
1,228
First Language
English
Primarily Uses
RMMV
For example: suppose you had a file called "maincharacter.png" and set up actor 1 to use that file. Then you rename the file to "MainCharacter.png". It'll still work on Windows
I have been using Windows computers for some 24 years...I've done file manipulation and writing batch commands and such in DOS...I never knew that Microsoft OS file names were case-insensitive.

You learn something every freaking day.
 

Dev_With_Coffee

Veteran
Veteran
Joined
Jul 20, 2020
Messages
896
Reaction score
443
First Language
PT-BR
Primarily Uses
RM2k3
In RMMV when you try to use a file with a capsular extension an alert appears:
IMAGE


The problem is that it doesn't appear in the manager, only when selecting to use:
IMAGE


This happens on web servers, you can find two files with the same name in the same directory as long as they have variations between upper and lower case letters, for example:
  • ..
  • index.php
  • logo.jpg
  • logo.JPG
 

Solar_Flare

Veteran
Veteran
Joined
Jun 6, 2020
Messages
655
Reaction score
265
First Language
English
Primarily Uses
RMMV
I have been using Windows computers for some 24 years...I've done file manipulation and writing batch commands and such in DOS...I never knew that Microsoft OS file names were case-insensitive.
Not just Microsoft - Apple file systems are also case-insensitive. (Although Apple allows you to reformat the filesystem to be case-sensitive, but I don't understand why you'd want to.)

On the other hand, Linux file systems are (almost?) always case-sensitive.

In RMMV when you try to use a file with a capsular extension an alert appears:
Oh cool, it's nice that they have a check for that. I think the reason for that specific alert is that the game data only stores the filename, and RPGMaker appends .png to it when loading, so it will always be a lowercase extension.

I have no idea if it can detect and auto-correct if the game data is storing the filename in a case that doesn't match the case on disk though.
 

Dev_With_Coffee

Veteran
Veteran
Joined
Jul 20, 2020
Messages
896
Reaction score
443
First Language
PT-BR
Primarily Uses
RM2k3
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.
 

Latest Threads

Latest Profile Posts

Disk Check Plugin - Running on Linux:
RMMV-Game-Mint.png
workin on some graphics for my game. was originally planning on doing a cartoony style for the town but I might stick with this instead
I'm so annoyed with myself...I can't get this code to work so it looks like I'm going the plugin route for a problem I should be able to do myself :kaolivid:Great. Now I get to murder save file compatibility. Again.
Can't believe my code from four years ago is still working! Did some expansions, and...
1635194553179.png
In related news, I may have an update for my old Extra status window plugin ready. That is, once I manage to sit down and update the documentation... and the demo project... :kaoswt:

Forum statistics

Threads
116,079
Messages
1,095,574
Members
151,450
Latest member
Dankim633
Top