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
650
Reaction score
264
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
84
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,720
Reaction score
15,304
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
650
Reaction score
264
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,232
Reaction score
1,199
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
878
Reaction score
439
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
650
Reaction score
264
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
878
Reaction score
439
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

I was listening to songs by Chuck E Cheese's voice actor (Jaret Reddick from Bowling for Soup) when the meds I was taking for my stomach virus apparently stopped working. I can't take my next dose until morning, but it's no use anyway. I'm officially sick again. Of course, I'll definitely take the next dose either way, but it's useless now.
New profile picture! This time, it's representative of my current project.
I suddenly feel like making a game for little kids: a pointless sandbox of cute animals, silly collectibles, and random mini games.
Anyone else just like, not bother to make games themed around specific holidays? I know I won't get them done in time for it to make sense.
time to enter the playtest dimension

Forum statistics

Threads
115,992
Messages
1,094,703
Members
151,286
Latest member
Heretoga
Top