CREATE YOUR AI CUM SLUT ON CANDY.AI TRY FOR FREE
x

Tutorial Others Playing On Linux - Tutorials, Tools And Help

5.00 star(s) 3 Votes

camper88

Member
Feb 14, 2023
346
364
The issue here isn't related with the "bare Linux install" or lack of any mentioned packages installed system-wide with the exception of libxss (which is installed with any chromium based browser or mpv, anyway). This particular issue with Treasure of Nadia on Arch is caused by heavily outdated nwjs version (0.29.0) bundled with the game files, which crashes on Arch. Solution is plain and simple - update nwjs. This simple how-to works on any Linux distribution and might help also with other issues, e.g. performance related:

1. , extract, optionally rename (for this case lets name the folder ToN) any recent version of nwjs, that works well on your PC.
2. , extract and move libffmpeg.so to ToN/lib/.
3. Move the www folder and the package.json from the downloaded game to our new ToN folder (repeat this step when updating the game - merge and overwrite just the www folder).
4. Run ./nw from our new ToN folder (make it executable first if needed: chmod +x nw)
Didn't work.
 

camper88

Member
Feb 14, 2023
346
364
NW.js GAMES
(Treasure of Nadia - Demon Deals - etc...)
-
[(ARCH) LINUX INSTALLATION]

Yo there,

I'm making this post cause nobody here could ever clearly explain what is necessary and sufficient in order to play Treasure of Nadia on a bare Linux install. Most of the people who have answered, wrongly saying that it works out-of-the-box simply have systems with tons of packages installed which is why they didn't have to do anything, just as I didn't have to on my previous Ubuntu 18.04 system.

But on a bare Linux install like an ArchLinux system, here is what you must do:

You will most likely encounter this issue when trying to launch the game normally by executing the nw binary (the launcher.sh and Game.desktop are just wrappers) in the game directory :

FATAL:platform_font_linux.cc(83)] Check failed: InitDefaultFont(). Could not find the default font


Install Packages :

  • ffmpeg
  • nwjs-ffmpeg-codecs-bin (for Arch -> AUR) which will install nwjs-bin (AUR too) consequently
Then, launch the game this way (and not the way everybody says):

  1. cd <game_dirpath>
  2. LD_PRELOAD=/opt/nwjs/libffmpeg.so /usr/bin/nw .
The environment variable in the last command is to enforce nw (the command /usr/bin/nw, not to be confused with the file nw in the game directory) to use the ffmpeg codecs we installed which are needed to run the game.

Hope this post can help some of you other FOSS (Fappers with Open Source Software) !!

PS: You can also get an error about libXss.so.1 missing for which you can install the package libxss, but it will normally be installed automatically as a dependency to nwjs-bin

References:
[1]https://f95zone.to/threads/playing-on-linux-tutorials-tools-and-help.19523/post-3187251 | Thanks to johnelros for leading me to the right path !
[2]
[3] | Thread about another NW.js game with a very similar problem
Okay this worked! Thanks a lot!
 

p0m

Newbie
Apr 8, 2020
39
15
Hello! I'm trying to patch succubus reborn to use the fan translation but can't seem to run the "Succubus Reborn (Patch and Run).Ink" at the end of the steps, something about windows not having a way to open it, or file not found. currently using wine on manjaro. Any tips?
 

burningcel

Newbie
Mar 7, 2021
30
22
Are there any nwjs optimization options I can pass in the package.json for faster software rendering? Tried disable-gpu and disable-gpu-rasterization with no difference.

I have no hardware acceleration on my machine and only integrated gpu and there is a big difference in performance between "Do you have Akira points?" and "Detective girl of the steam city" for example even tho they both use the same version of nwjs. Anything I can try?
 
Jul 28, 2019
256
172
Hello! I'm trying to patch succubus reborn to use the fan translation but can't seem to run the "Succubus Reborn (Patch and Run).Ink" at the end of the steps, something about windows not having a way to open it, or file not found. currently using wine on manjaro. Any tips?
ReiPatcher has some windows api dependencies which wine does not support. It is possible to use the XUnity Auto Translator through the after installing the BepInEx plugin manager. Not sure what happens with access to the customisations of the fan translation though.
 

Raingest

New Member
Nov 5, 2022
3
0
What if the game only have the www folder and package.json? and no nw.pak? (RPGMaker)

Trying to run the game, it show a error with "Required value 'name' is invalid."
 

aalexkj24

Newbie
Dec 18, 2018
82
53
What if the game only have the www folder and package.json? and no nw.pak? (RPGMaker)

Trying to run the game, it show a error with "Required value 'name' is invalid."
Open package.json and check if "name" is empty. If its empty fill it with game name.
 
  • Like
Reactions: Raingest

Blup Blup

Well-Known Member
Sep 14, 2017
1,164
645
cold_arctus: Thanks for all the information!

For a project I'm searching for VN software plus adding other code -- not minigames, but interactive demonstrations -- which should also work in Linux, because that is my main OS. Windows and macOS are almost a given in most engines anyway. :). I started with various games to see what is possible.

A few days ago I started in the others section and stumbled upon High school master. If a forum post is correct is should be written in TyranoBuilder which doesn't have Linux support. However I saw that it should be possible to run in Linux which is good enough for now. However this game doesn't have nw*.pak files but chrome*.pak files. It has also a singel app.asar and both indicate that it is based on Electron.

After unpacking the app.asar it has tyrano directory and icons. The version of Electron is 7.1.2 and that is old. However it can still be installed and when done in Linux it gives the runtime which is pretty similar as the Windows one in the official game. After a few hurdles I can start it which results in a black screen and a menu in probably Japanese. After unpacking and editing the main.js I now have an English version and a debugger console. That reveals that there is a problem with the JavaScript which handles the mouse.

Anyway it seems that at least the newest version of TyranoBuilder doesn't use NW.js anymore, but Electron. Or this developer has hacked things together, but that is not very likely. If someone wants to know how I got till the point I'm now, I will write another post. But I'm probably stopping after this because the finding of Electron and other more recent VN tools who use it, that is probably a better route to investigate...
 

gfurst

Active Member
Nov 6, 2019
614
264
Is it possible to get nwjs to run tyrano game natively?
Specifically I was trying to get the latest work to run. Also tried one of the scripts here but not sure what to do.

edit:
to add to this to make it clearer, executable is 99MB, I don't know if that's regular for tyrano but most data doesn't seem to be included there.
there is a resources/app folder which does seem to house most resources, including a package.json index.html and main.js
 
Last edited:

scrumbles

Well-Known Member
Jan 12, 2019
1,069
1,096
there is a resources/app folder which does seem to house most resources, including a package.json index.html and main.js
A resources folder with an app subfolder, you say? Mh, it sounds like an Electron thing. Actually, is built on top of it (while older versions were based on NW.js). Without inspecting the .js files and the executable, I would not rule out any options.
 
Jul 28, 2019
256
172
Is it possible to get nwjs to run tyrano game natively?
Specifically I was trying to get the latest work to run. Also tried one of the scripts here but not sure what to do.

edit:
to add to this to make it clearer, executable is 99MB, I don't know if that's regular for tyrano but most data doesn't seem to be included there.
there is a resources/app folder which does seem to house most resources, including a package.json index.html and main.js
Yes it can be possible. But I think you were really asking how.

This reddit thread might be helpful. Look at the reply (and possibly comments in that thread) by Paoda.
 
Sep 12, 2023
14
15
The Adobe Flash section is outdated. Adobe has taken down the links since flash went EOL. The player can be found on , though naturally youll need flatpak in your system to use it but i consider it the ideal place to obtain it nowadays.

You can also use both on browsers and linux. While the compatibility is great, its still not perfect. Nonetheless, it should prove to be fine for most porn games. 99% of meet and fuck games work on ruffle so theres that also
 
Last edited:

gfurst

Active Member
Nov 6, 2019
614
264
A resources folder with an app subfolder, you say? Mh, it sounds like an Electron thing. Actually, is built on top of it (while older versions were based on NW.js). Without inspecting the .js files and the executable, I would not rule out any options.
Code:
const electron = require('electron');
const app = electron.app;
const BrowserWindow = electron.BrowserWindow;
That does indeed look like the case. So what now, can you native electron to run it somehow?
 

scrumbles

Well-Known Member
Jan 12, 2019
1,069
1,096
Code:
const electron = require('electron');
const app = electron.app;
const BrowserWindow = electron.BrowserWindow;
That does indeed look like the case. So what now, can you native electron to run it somehow?
It is worth a try.
Download from Github, extract it, replace its "resources" folder with the one from the game, check if the file "electron" is executable, and launch it. Just for the first time, don't double click on it, but open the terminal and type ./electron. You know, just in case there are any errors.

I don't know if a particular release is better than the others, probably you need to test them starting from the latest one. On Github, select a stable release, expand the asset list and download the archive called electron-vXX.Y.Z-linux-x64.zip.

Btw, if the "resources" folder of the game is expanded, you may have to deal with stuff like file names being case-sensitive or having Japanese characters.
 

gfurst

Active Member
Nov 6, 2019
614
264
It is worth a try.
Ok, I think its supposed to be working, it opens but gets stuck in loading files state, but I think it identified the game files, from the terminal output:

Code:
% ./electron
Fontconfig warning: "/usr/share/fontconfig/conf.avail/05-reset-dirs-sample.conf", line 6: unknown element "reset-dirs"
{
  name: 'tyranogame',
  version: '1.0.0',
  description: 'TyranoScript|ティラノスクリプト Ver5(C)ShikemokuMK http://tyrano.jp',
  main: 'main.js',
  dependencies: { 'fs-extra': '^8.1.0', 'adm-zip': '^0.4.13' },
  devDependencies: {},
  scripts: { test: 'echo "Error: no test specified" && exit 1' },
  window: {
    title: 'ティラノスタジオ',
    width: '1920',
    height: '1440',
    min_width: 100,
    min_height: 100,
    resize: true,
    devtools: false
  },
  keywords: [],
  author: '',
  license: 'ISC'
}
{
  title: 'ティラノスタジオ',
  width: '1920',
  height: '1440',
  min_width: 100,
  min_height: 100,
  resize: true,
  devtools: false
}
(electron) 'getUserAgent function' is deprecated and will be removed. Please use 'userAgent property' instead.
(electron) 'setUserAgent function' is deprecated and will be removed. Please use 'userAgent property' instead.
[42695:1102/141224.525771:ERROR:buffer_manager.cc(488)] [.DisplayCompositor]GL ERROR :GL_INVALID_OPERATION : glBufferData: <- error from previous GL command
I've checked just in case, most filenames are all lowercase, and no japanese names were garbled.

Oh yeah, worth mentioning too, I tried both the latest version (v26) and the one that apparently was shipped with the game (v7).
 

TaurusBR

Newbie
Oct 7, 2019
99
117
I'm having the following error:

Failed to load extension:
Failed to load extension from: /home/$USER/GMS.mx/gRPGM/Defenestration 0.5a. Required value 'name' is missing or invalid.


I've already downloaded the normal nwjs and the SDK, changed the lib folder, but the error continues. And I removed the space from the game name and the version, but without success.

Btw, I use Mx Linux 21.3 (Kernel 5.10.158-2 amd64 - systemd) and I've never had a problem before, this is the first time. Any suggestion?
 

n3k0d3v

Newbie
Dec 5, 2017
76
78
I'm having the following error:

Failed to load extension:
Failed to load extension from: /home/$USER/GMS.mx/gRPGM/Defenestration 0.5a. Required value 'name' is missing or invalid.


I've already downloaded the normal nwjs and the SDK, changed the lib folder, but the error continues. And I removed the space from the game name and the version, but without success.

Btw, I use Mx Linux 21.3 (Kernel 5.10.158-2 amd64 - systemd) and I've never had a problem before, this is the first time. Any suggestion?
If I remember correctly this happens because the value for the name variable is missing in package.json
You need to open the package.json file and input any value for the name variable. For example- name: "some_game"
 
  • Heart
Reactions: TaurusBR

TaurusBR

Newbie
Oct 7, 2019
99
117
If I remember correctly this happens because the value for the name variable is missing in package.json
You need to open the package.json file and input any value for the name variable. For example- name: "some_game"
Btw, the name was empty. However, it worked. Thx very much.
 
5.00 star(s) 3 Votes