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
656
Reaction score
269
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
72
Reaction score
93
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
44,102
Reaction score
15,524
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
656
Reaction score
269
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,743
Reaction score
1,611
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
965
Reaction score
470
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
656
Reaction score
269
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
965
Reaction score
470
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

1638170340913.png
Crossover Inn is getting very crowded, and I love it
Climbing to the top #mapping
1638160732198.png
I've started the first steps of the final few maps that I need to make for B:ms. I haven't been able to say that in a really, really long time. It'd probably be a good idea to blog about this or something.
Question for the Mods: What am I supposed to do when I can't make a synopsis 350 words long? (for project recruitment thread) @Shaz @mlogan
The game is meant to be more on the simple side in order to be achievable so I'm a bit stuck...

Forum statistics

Threads
117,049
Messages
1,104,121
Members
153,001
Latest member
5naf_plushies
Top