Tutorial Others Playing On Linux - Tutorials, Tools And Help

5.00 star(s) 3 Votes

Pigfarmer

Member
May 25, 2019
280
645
Have you guys had any issues with running Karryn's Prison? I'm trying to run it via firefox but getting a bunch of JS errors, but seems like no one else in the games thread is having such issue...
 
Jul 28, 2019
233
157
Have you guys had any issues with running Karryn's Prison? I'm trying to run it via firefox but getting a bunch of JS errors, but seems like no one else in the games thread is having such issue...
Yeah I get that when trying to run it in firefox too.

Works fine using NWJS though. See the first post in this thread for instructions. (Just played the new 1.1.1e4 version for an hour or so and only problem was needing to copy/rename one audio file because of capitalisation mismatch.)

Capacitor in those spoilered instructions I noticed that deio has had their account deleted so the final 'this guide' link goes nowhere useful - probably should delete it.
 

Pigfarmer

Member
May 25, 2019
280
645
Yeah I get that when trying to run it in firefox too.

Works fine using NWJS though. See the first post in this thread for instructions. (Just played the new 1.1.1e4 version for an hour or so and only problem was needing to copy/rename one audio file because of capitalisation mismatch.)

Capacitor in those spoilered instructions I noticed that deio has had their account deleted so the final 'this guide' link goes nowhere useful - probably should delete it.
Guess I have to. Unfortunate, since most RPGM MV games run just fine in Firefox.
 

burningcel

Newbie
Mar 7, 2021
30
22
I have some questions regarding native linux porting:

1. RPGM MV games.
I've read that you need to use NW.js version equivalent to the version of the engine that the game was made with, but in the OP it says that you need to use the latest version. I'm currently using v0.67.1 which works but is slow. I tried later versions and it broke some games.
In general is it best to keep with the latest versions of nw.js for performance benefits, or to stick with the old version that works but may be slower?

2. RPGM MZ games.
I mean, there often a linux build of games with that engine (notably star knightess aura has the most recent version I think), so I suppose it exists (and I feel like it runs much better), you just take files and copy it over. I'm not exactly sure where did they get it, to begin with that native runtime was a custom build of nwjs. I've tried about 10 games so far and everything was perfect.
So you can play mz games using a "custom build of nwjs"? Any more information? How can you determine that it is an MZ game, and not for example VX ACE game?

3. Unity.
OP says
There is no easy way to port Unity games on Linux, since Unity tends to internally do asset optimization
I have MangaGamer visual novels for windows made in Unity, that were also ported to linux, but I don't have the linux binary, and can't find information as for what archeticture it was even compiled. Is there a way to try and port windows version to linux assuming assets are the same between windows and linux versions?

----

Regarding these scripts
Here are 2 scripts i use for RPGM MV/MZ Games
Code:
# copy nwjs over
cp -r ~/.local/rpgm_nw/nwjs/* $PWD
nwjs directory is empty in your zip file, does that mean I can use the latest version?

Code:
# RPGM MZ
elif [ -d $PWD/js ]; then
    dir=$PWD
    main
So to determine that the game is an MZ game you should look if it has a /js directory?
Also I don't see any more specific lines for MZ games in your scripts, does that mean that an ordinary stable version of nw.js will be enough to run them?

Wait, $dir is only used for cheat menu..
so that means MZ games can be run with NW.js just like MV games? just run ./nw then?
also that means MZ games have a /js directory but don't have a /www directory?
 
Last edited:

aalexkj24

Newbie
Dec 18, 2018
78
51
Most rpg-mv and mz games work with nwjs without any issue. I am using .69.

The usual issues nwjs i face and the fixes,

  1. Videos does not play or games crash when playing videos (The Office Wife) - fix is replace ffmpeg.so with the one from . Use the same version of nwjs-ffmpeg-prebuilt as the your nwjs version. This because the ffmpeg included with nwjs is just a dummy version, because of mpeg patent.
  2. case sensitive file name issue - either use a fat partition or filecase plugin (the plugin in available one of the previous page - https://f95zone.to/threads/playing-on-linux-tutorials-tools-and-help.19523/post-8844481) or wine
  3. compiled java script (The Island) - No fix. Use wine


For Unity and other types, i use wine. 99% of the games works fine with wine
 

burningcel

Newbie
Mar 7, 2021
30
22
For Unity and other types, i use wine. 99% of the games works fine with wine
I run those games in a virtual machine without hardware acceleration, so would strongly prefer native
there are only so many virtualizaton layers that you can stack on top of each other before you get embarassed by an rpgm porn game heating your CPU to 70°C
 

nerogaf

Member
Aug 23, 2019
475
289
I have some questions regarding native linux porting:

1. RPGM MV games.
I've read that you need to use NW.js version equivalent to the version of the engine that the game was made with, but in the OP it says that you need to use the latest version. I'm currently using v0.67.1 which works but is slow. I tried later versions and it broke some games.
In general is it best to keep with the latest versions of nw.js for performance benefits, or to stick with the old version that works but may be slower?

2. RPGM MZ games.

So you can play mz games using a "custom build of nwjs"? Any more information? How can you determine that it is an MZ game, and not for example VX ACE game?

3. Unity.
OP says

I have MangaGamer visual novels for windows made in Unity, that were also ported to linux, but I don't have the linux binary, and can't find information as for what archeticture it was even compiled. Is there a way to try and port windows version to linux assuming assets are the same between windows and linux versions?

----

Regarding these scripts

Code:
# copy nwjs over
cp -r ~/.local/rpgm_nw/nwjs/* $PWD
nwjs directory is empty in your zip file, does that mean I can use the latest version?

Code:
# RPGM MZ
elif [ -d $PWD/js ]; then
    dir=$PWD
    main
So to determine that the game is an MZ game you should look if it has a /js directory?
Also I don't see any more specific lines for MZ games in your scripts, does that mean that an ordinary stable version of nw.js will be enough to run them?

Wait, $dir is only used for cheat menu..
so that means MZ games can be run with NW.js just like MV games? just run ./nw then?
"I tried later versions and it broke some games." - sir, which games were broken?
How exactly?
Please, send me the screenshots of Your issues.
Grateful for Your reply.
 

Mitsuna

Active Member
Jun 21, 2019
520
683
So ok MZ games have css/js etc folders usually in root and MV have a slightly different structure, it's easy to tell. And yes you can find rmmz scripts inside the js folder when it's MZ. I've had a slightly better experience with the latest nwjs when it comes to MZ performance, but old official MV build in fact can run modern MZ games as well, it just lags more. Do note official nwjs build doesn't have a support for h264 encoded files required by some games, so it's awfully inconvenient and you have to rely on that random person who does not provide updates in time. Or you could build it yourself, I guess.

When it comes to MV games, I usually use the latest MV build for the max performance, it's normally fine even if the game originally comes with the much more ancient revision (not to mention single-process switch doesn't work anymore and I need it for performance), but can heavily leak the memory on the scene change. Sometimes you have to play with the switches or update the shader scripts (it's very rare).

Previous versions like VXAce had a different folder structure and you can tell the engine by the file inside 'System' folder and some file extensions like rgss3a, you either use wine(staging) to play it, or there was an alternative native engine I never tried.

I was able to play ~100% of Unity games usually with no issues at all and full hardware acceleration thanks to the wine-staging, just install dxvk (or sometimes disable it instead).

It might be worth mentioning that electron gives a much better game performance, but not every plugin is compatible so I wouldn't recommend to try it unless your favorite game is utterly unplayable due to frame drops. I've heard some people use firefox, since it does provide a proper hardware acceleration nowadays, but I guess it's the same problem, more or less.

If you ever experience problems with the file names case sensitivity it's preferable to use chattr +F and an ext4 partition with casefold option enabled.
 

deesosa

Member
Dec 15, 2018
150
413
I have some questions regarding native linux porting:

1. RPGM MV games.
I've read that you need to use NW.js version equivalent to the version of the engine that the game was made with, but in the OP it says that you need to use the latest version. I'm currently using v0.67.1 which works but is slow. I tried later versions and it broke some games.
In general is it best to keep with the latest versions of nw.js for performance benefits, or to stick with the old version that works but may be slower?

2. RPGM MZ games.

So you can play mz games using a "custom build of nwjs"? Any more information? How can you determine that it is an MZ game, and not for example VX ACE game?

3. Unity.
OP says

I have MangaGamer visual novels for windows made in Unity, that were also ported to linux, but I don't have the linux binary, and can't find information as for what archeticture it was even compiled. Is there a way to try and port windows version to linux assuming assets are the same between windows and linux versions?

----

Regarding these scripts

Code:
# copy nwjs over
cp -r ~/.local/rpgm_nw/nwjs/* $PWD
nwjs directory is empty in your zip file, does that mean I can use the latest version?

Code:
# RPGM MZ
elif [ -d $PWD/js ]; then
    dir=$PWD
    main
So to determine that the game is an MZ game you should look if it has a /js directory?
Also I don't see any more specific lines for MZ games in your scripts, does that mean that an ordinary stable version of nw.js will be enough to run them?

Wait, $dir is only used for cheat menu..
so that means MZ games can be run with NW.js just like MV games? just run ./nw then?
also that means MZ games have a /js directory but don't have a /www directory?
any nwjs version always worked for me.
MZ games don't have the www/ directory, instead all the files and directories that are usually in www/ directory, are in the main directory.
If you don't want to add cheat menu, all you need are the first 2 lines
Bash:
    # delete all windows executables and libraries
    find . -type f -iregex '.*\.\(exe\|dll\)' -delete

    # copy nwjs over
    cp -r ~/.local/rpgm_nw/nwjs/* $PWD
although i'd still keep the directory checks so you don't accidentally run it inside a wrong directory.
Of course the directory you store nwjs in can be anywhere, just change it to your preference.
 
  • Like
  • Red Heart
Reactions: F4C430 and rrxm

ririmudev

Member
Dec 15, 2018
304
302
Wondering if anyone is familiar with discoloration and weird graphics display issues? E.g., for Breeders of the Nephelym, the colors are dark & contrast is low. For Honey Select 2, character cards are basically black. For Solas City Heroes, the characters don't render, and show up as censor boxes (clothes and UI appear fine). Anyway, the gist is that the games run, but don't look right.
I'm guessing it's either my graphics card or driver. Driver is 390, pretty old, but I'd tried upgrading a couple times and it caused problems (one game worked better, but others stopped working). Card is GeForce GTX 960.
(For some reason, I usually don't get those issues on my laptop, which has a 940MX, and driver also hasn't been upgraded in a while).

Anyway, I'm open to getting whatever good graphics card works on an X99, but thought I'd ask around before opening up the wallet.
Of course, both PC and Laptop are Ubuntu (20.04). PC has wine wine-8.0-rc3 (Staging), and Laptop has wine-6.2 (Staging)

See, this is why I avoid upgrading. Stuff often works better on the old stuff, in my experience. To a limit... you won't see me on Windows 3.1 anymore
 

rrxm

Newbie
Jul 27, 2018
48
50
Wondering if anyone is familiar with discoloration and weird graphics display issues? E.g., for Breeders of the Nephelym, the colors are dark & contrast is low. For Honey Select 2, character cards are basically black. For Solas City Heroes, the characters don't render, and show up as censor boxes (clothes and UI appear fine). Anyway, the gist is that the games run, but don't look right.
I'm guessing it's either my graphics card or driver. Driver is 390, pretty old, but I'd tried upgrading a couple times and it caused problems (one game worked better, but others stopped working). Card is GeForce GTX 960.
(For some reason, I usually don't get those issues on my laptop, which has a 940MX, and driver also hasn't been upgraded in a while).

Anyway, I'm open to getting whatever good graphics card works on an X99, but thought I'd ask around before opening up the wallet.
Of course, both PC and Laptop are Ubuntu (20.04). PC has wine wine-8.0-rc3 (Staging), and Laptop has wine-6.2 (Staging)

See, this is why I avoid upgrading. Stuff often works better on the old stuff, in my experience. To a limit... you won't see me on Windows 3.1 anymore
I have the same display problems that you describe when using Nvidia GPU (390 driver too, GeForce 720M). In my case, it was in The Twist, The Night Driver and Last Hope. It is only with 3D graphics and when using Wine though.
 

MagicPRO

Newbie
Aug 24, 2017
19
55
Wondering if anyone is familiar with discoloration and weird graphics display issues? E.g., for Breeders of the Nephelym, the colors are dark & contrast is low. For Honey Select 2, character cards are basically black. For Solas City Heroes, the characters don't render, and show up as censor boxes (clothes and UI appear fine). Anyway, the gist is that the games run, but don't look right.
I'm guessing it's either my graphics card or driver. Driver is 390, pretty old, but I'd tried upgrading a couple times and it caused problems (one game worked better, but others stopped working). Card is GeForce GTX 960.
(For some reason, I usually don't get those issues on my laptop, which has a 940MX, and driver also hasn't been upgraded in a while).

Anyway, I'm open to getting whatever good graphics card works on an X99, but thought I'd ask around before opening up the wallet.
Of course, both PC and Laptop are Ubuntu (20.04). PC has wine wine-8.0-rc3 (Staging), and Laptop has wine-6.2 (Staging)

See, this is why I avoid upgrading. Stuff often works better on the old stuff, in my experience. To a limit... you won't see me on Windows 3.1 anymore
I would recommend trying to set up those game with Lutris. There you can choose from multiple Wine versions (including GloriousEggroll releases). You can also set up Wine prefix for each game separately and DXVK support is available to you from the get-go. Your post does not mention if you are using DXVK or not, but I personally have seen a lot of graphic glitches if you run games only with Wine and without DXVK.
 
  • Like
Reactions: schwachi

ririmudev

Member
Dec 15, 2018
304
302
I would recommend trying to set up those game with Lutris. There you can choose from multiple Wine versions (including GloriousEggroll releases). You can also set up Wine prefix for each game separately and DXVK support is available to you from the get-go. Your post does not mention if you are using DXVK or not, but I personally have seen a lot of graphic glitches if you run games only with Wine and without DXVK.
Hey thanks, forgot about dxvk. Do you know what version(s) of dxvk you are using? I can try that as a starting point. I wouldn't jump to lutris just yet, since I'm used to dealing with wine directly, so wouldn't benefit much from convenience.
 

rrxm

Newbie
Jul 27, 2018
48
50
DXVK do not work with .390 Nvidia driver. This version do not support Vulkan.
 

aalexkj24

Newbie
Dec 18, 2018
78
51
DXVK do not work with .390 Nvidia driver. This version do not support Vulkan.
try adding graphics driver ppa

sudo add-apt-repository ppa:graphics-drivers/ppa


i have really old computer and still got 515 from the repo
 

rrxm

Newbie
Jul 27, 2018
48
50
try adding graphics driver ppa

sudo add-apt-repository ppa:graphics-drivers/ppa


i have really old computer and still got 515 from the repo
My GPU is a 720M (NVIDIA Corporation GF117M), so I can use only the .390 version.

You don't have permission to view the spoiler content. Log in or register now.
 

rrxm

Newbie
Jul 27, 2018
48
50
I have the same display problems that you describe when using Nvidia GPU (390 driver too, GeForce 720M). In my case, it was in The Twist, The Night Driver and Last Hope. It is only with 3D graphics and when using Wine though.
I tried again The Twist and The Night Driver.

The Twist now works fine (version 0.51), without problems with the colors. The Night Driver have the same problems with colors, but I discover that running with -force-feature-level-10-1 or -force-feature-level-10-0 fix the problem.

colors_problem.png problem_fixed.png
 

ririmudev

Member
Dec 15, 2018
304
302
Problem... "solved". Actually, my main laptop died... I researched and ordered a new custom build within 30 mins (priorities, lol), and in the meantime put the old laptop's SSD in the desktop. Which included the laptop wine prefix. I forgot that I did a lot of work setting up the laptop wine prefix, and was able to run things just fine with it from the desktop. I think I had vulkan setup correctly there, among who knows what else.
 

fox_47

New Member
Feb 26, 2022
2
0
Off topic, but because I've looked everywhere else; Is there a way to get Vortex Mod Manager running and operational on Pop!_os? I've tried what I could find but nothing.
 
5.00 star(s) 3 Votes