Tutorial Others Playing On Linux - Tutorials, Tools And Help

5.00 star(s) 3 Votes

fox_47

New Member
Feb 26, 2022
2
0
See here:

This should still work.
Tried it, having issues with it. Asked in issue reports more than a month ago and nothing. I'm on POP!_os and that seems to be the issue.
Probably switching OS-es again when I get more data drives.
 

scrumbles

Well-Known Member
Jan 12, 2019
1,116
1,259
Posting here too. I tried to play HHS+ 1.10.4.2 on wine 8.0, but I got this error:
System.Runtime.InteropServices.COMException (0x88980406): Exception from HRESULT: 0x88980406
Someone on the Internet suggested to set WINEDLLOVERRIDES='d3d9=""' and it worked. (y)
 

Mitsuna

Active Member
Jun 21, 2019
532
698
Apparently nwjs-v072 is the last revision to support the combination of --enable-webgl --angle=none -gl --use-gl=desktop and these switches are required to reduce lags and stutter at least with linux. It's especially important for "heavy" games. One example of such abysmally poor performance is Karryns Prison (rpgmaker mv) and most other ones are rpgmaker mz. Before this my best option was to use a very old nwjs which still supported --single-process switch, and while it reduced lags it was far from perfect and in some cases not enough at all.
 
Last edited:

stalkingwolf

New Member
Jan 3, 2019
2
1
Hi, I'm trying to run Masquerade Hypnosis with the automated script patcher. The game boots fine but when I try to enter a scene, I get an error stating that its not able to find a file. The directory exists within the www folder and I've tried to have a copy of it inside the root folder which doesn't work. Is there any way to get this to run natively? Since running this game on wine causes the system to have slow down.

The full error is posted below. My distro is EndeavourOS. Thanks for any assists!

Error: ENOENT: no such file or directory, open '/scenario/090.sl'
Object.openSync (node:fs:585:3)
Object.readFileSync (node:fs:453:35)
ADV_System.fileLoad (chrome-extension://flfmceippknfahohabhhdnogamoodkfm/www/js/plugins/TS_Decode.js:26:21)
ADV_System.start (chrome-extension://flfmceippknfahohabhhdnogamoodkfm/www/js/plugins/TS_ADVsystem.js:1186:23)
Game_Interpreter.pluginCommand (chrome-extension://flfmceippknfahohabhhdnogamoodkfm/www/js/plugins/TS_ADVsystem.js:4070:15)
Game_Interpreter.pluginCommand (chrome-extension://flfmceippknfahohabhhdnogamoodkfm/www/js/plugins/TS_ReplayMode.js:951:49)
Game_Interpreter.pluginCommand (chrome-extension://flfmceippknfahohabhhdnogamoodkfm/www/js/plugins/ParallelBgs.js:130:41)
Game_Interpreter.pluginCommand (chrome-extension://flfmceippknfahohabhhdnogamoodkfm/www/js/plugins/MPP_ChoiceEX.js:290:30)
Game_Interpreter.pluginCommand (chrome-extension://flfmceippknfahohabhhdnogamoodkfm/www/js/plugins/UTA_MessageSkip.js:132:41)
Game_Interpreter.pluginCommand (chrome-extension://flfmceippknfahohabhhdnogamoodkfm/www/js/plugins/PictureWipe.js:72:41)
 

scrumbles

Well-Known Member
Jan 12, 2019
1,116
1,259
Error: ENOENT: no such file or directory, open '/scenario/090.sl'
Not sure if this is the right solution, but I've been able to watch the prologue after replacing '/scenario/' with './scenario/' in:
Code:
./www/plugins/TS_ADVsystem.js:198:  var path = window.location.pathname.replace(/(\/www|)\/[^\/]*$/, '/scenario/');
./www/plugins/TS_Debug.js:19:       var path = window.location.pathname.replace(/(\/www|)\/[^\/]*$/, '/scenario/');
Also, in my nwjs directory I made soft links pointing to package.json and the www/ and scenario/ directories of the game. Then I launched the nw executable as usual.
Hope this helps, good luck!
 
  • Like
Reactions: stalkingwolf

stalkingwolf

New Member
Jan 3, 2019
2
1
Thanks for help! Just tried loading into one of the ending saves provided and the scene loaded in just fine

Not sure if this is the right solution, but I've been able to watch the prologue after replacing '/scenario/' with './scenario/' in:
Code:
./www/plugins/TS_ADVsystem.js:198:  var path = window.location.pathname.replace(/(\/www|)\/[^\/]*$/, '/scenario/');
./www/plugins/TS_Debug.js:19:       var path = window.location.pathname.replace(/(\/www|)\/[^\/]*$/, '/scenario/');
Also, in my nwjs directory I made soft links pointing to package.json and the www/ and scenario/ directories of the game. Then I launched the nw executable as usual.
Hope this helps, good luck!
 
  • Like
Reactions: scrumbles

Mand21

Member
Nov 25, 2020
174
64
Yoooo, I made a post similar to this one, but I used the Protondb/Winehq classification system:

Platinum = Runs perfectly, no issues, equal to or better than Windows.
Gold = Runs perfectly after tweaks
Silver = No matter what, will run with bugs or performance issues but generally playable
Bronze = Has issues that make it difficult or impossible to play comfortably
Borked = Does not work at all. Won't even open or otherwise utterly unplayable.
 
Sep 10, 2022
227
267
In Daily Lives Of My Countryside I get the error- Loading Error Failed to Load: img/SumRndmDde/preload/Preload.png. I took a look at the folder and there is no png with that name, if I add one another error shows up about Actor.json but the file is there, anyone knows how to fix it?
 

scrumbles

Well-Known Member
Jan 12, 2019
1,116
1,259
In Daily Lives Of My Countryside I get the error- Loading Error Failed to Load: img/SumRndmDde/preload/Preload.png. I took a look at the folder and there is no png with that name, if I add one another error shows up about Actor.json but the file is there, anyone knows how to fix it?
What version are you playing and how did you run the game?
I downloaded the compressed version of v0.2.7.1 and I launched it via NW.js v.0.49.1. It looked fine, once I fixed the case-sensitivity issue (a few workarounds are mentioned in this thread).

As for the missing file, I don't think you should worry about. While there is no image called "Preload.png", the game should find and load "Preload.rpgmvp" (basically, a crypted version of the original PNG file). In RPGM games, the file extension doesn't actually matter.
 
Sep 10, 2022
227
267
What version are you playing and how did you run the game?
I downloaded the compressed version of v0.2.7.1 and I launched it via NW.js v.0.49.1. It looked fine, once I fixed the case-sensitivity issue (a few workarounds are mentioned in this thread).

As for the missing file, I don't think you should worry about. While there is no image called "Preload.png", the game should find and load "Preload.rpgmvp" (basically, a crypted version of the original PNG file). In RPGM games, the file extension doesn't actually matter.
same version as you and I used NW 0.75.1 (most recent). basically I copied the same files that the thread told and put inside the nw folder and tried to open through html.index
 

scrumbles

Well-Known Member
Jan 12, 2019
1,116
1,259
same version as you and I used NW 0.75.1 (most recent). basically I copied the same files that the thread told and put inside the nw folder and tried to open through html.index
Mh, I could not replicate your error because v0.75.1 does not even work on my system. It just throws a couple of errors (I guess it is a driver issue).
Anyway, that was my step-to-step solution, hope this helps:
You don't have permission to view the spoiler content. Log in or register now.
 

scrumbles

Well-Known Member
Jan 12, 2019
1,116
1,259
So, I wanted to play Porn Empire natively. Not sure if I have ported it correctly, but so far it works.
Its engine is Godot 3. Afaik two things were needed: the executable and the resource pack file (file extension: .pck).
You don't have permission to view the spoiler content. Log in or register now.
You don't have permission to view the spoiler content. Log in or register now.
You don't have permission to view the spoiler content. Log in or register now.
I hope this make sense. Apologies in advance for any mistakes.
 
  • Like
Reactions: Fsfdss

scrumbles

Well-Known Member
Jan 12, 2019
1,116
1,259
You know you can port any Godot game into a native Linux version by downloading Godot SDK. Same as for Ren'Py games. I did it for this game (https://f95zone.to/threads/the-anomalous-dr-vibes-v0-16-drvibes.20377/) too.
Yes, that's what I did. I downloaded the SDK and generated the binaries.

I don't think I know how to import the entire .pck inside the SDK (without extracting the assets, I mean) and run the game instead. I don't even know if it's possible, actually.
 
  • Like
Reactions: cold_arctus

cold_arctus

Devoted Member
Sep 25, 2018
8,944
10,832
I don't think I know how to import the entire .pck inside the SDK (without extracting the assets, I mean) and run the game instead. I don't even know if it's possible, actually.
In case of The Anomalous Dr. Vibes you don't need to extract the .pck file. Fire up Godot SDK and build a new game. Then copy over the assets from the Windows version.
 

Arrchman

Newbie
May 16, 2020
33
15
So, I wanted to play Porn Empire natively. Not sure if I have ported it correctly, but so far it works.
If it is working and Godot isn't complaining about missing resources, all should be fine.
You could also just have put the correct godot version in the same folder with the pck and just renamed the executable to have the exact name as the pck, with only being different in the file extension. This should work in most cases.

I may be mistaken, but I'm pretty sure Porn Empire also offers Linux versions (both amd64 and i386), since Godot makes it so easy to export to different platforms.
1683628369327.png
 

scrumbles

Well-Known Member
Jan 12, 2019
1,116
1,259
You could also just have put the correct godot version in the same folder with the pck and just renamed the executable to have the exact name as the pck, with only being different in the file extension. This should work in most cases.
In Porn Empire the .pck is embedded in the executable, both for the Windows and the Linux version. It's a unique, huge, file.
Before doing what you suggest, I still had to 1. extract the .pck and 2. launch the SDK to generate the Linux executable, because I had neither of those files.
I may be mistaken, but I'm pretty sure Porn Empire also offers Linux versions (both amd64 and i386), since Godot makes it so easy to export to different platforms.
The latest version hasn't been pirated shared yet. Currently, only the Windows version is available.
 

burningcel

Newbie
Mar 7, 2021
30
22
if [ -d $dir ]; then
Problem with this part when using directory names with whitespaces, as bash expands $dir to a bunch of arguments.
Any way to make it treat whitespace in a varibale as just another character? It would really suck to have to replace all whitespaces with underscores in all of my archives..

Especially considering that I've just spent the past thirty minutes trying to extract in one move the contents of a .7z achive to another folder from the command line to no avail.
Whoever made that wonderful piece of s*ftware should have a wonderful life together with their progeny ahead of them, keeping GERMan overengineering traditions alive and all..
 

rrxm

Newbie
Jul 27, 2018
59
55
Problem with this part when using directory names with whitespaces, as bash expands $dir to a bunch of arguments.
Any way to make it treat whitespace in a varibale as just another character? It would really suck to have to replace all whitespaces with underscores in all of my archives..

Especially considering that I've just spent the past thirty minutes trying to extract in one move the contents of a .7z achive to another folder from the command line to no avail.
Whoever made that wonderful piece of s*ftware should have a wonderful life together with their progeny ahead of them, keeping GERMan overengineering traditions alive and all..
Surround with quotes should do the trick:

if [ -d "$dir" ]; then
 
5.00 star(s) 3 Votes