1. First, you need a game that using the TyranoBuilder engine.
For example, Female Teacher Brainwashing and Training
The Game looks like this.
2.You need to download the linux version of electron v9.4.4 from the
The unzipped archive with the electron looks like this
Now we need to replace the resources folder from the game folder to the electron folder
and we open this folder.
There may be an extracted app folder or an app.asar file.
If there is a file there, you need to extract the folder and name it app (the archive can be extracted using the
After that, we need to edit the resources/app/tyrano/libs.js file.
3.searching for the line
and replace the function inside with
4.After modifying the file you are done with the linux build of your game
you can launch it using electron executable file
For example, Female Teacher Brainwashing and Training
The Game looks like this.
![1716443699270.png 1716443699270.png](https://attachments.f95zone.to/2024/05/thumb/3685991_1716443699270.png)
2.You need to download the linux version of electron v9.4.4 from the
You must be registered to see the links
which is called electron-linux-x64.zip . (you can also download a mac os version if you are interested)The unzipped archive with the electron looks like this
![1716444206630.png 1716444206630.png](https://attachments.f95zone.to/2024/05/thumb/3686001_1716444206630.png)
Now we need to replace the resources folder from the game folder to the electron folder
and we open this folder.
There may be an extracted app folder or an app.asar file.
![1716444568621.png 1716444568621.png](https://attachments.f95zone.to/2024/05/thumb/3686006_1716444568621.png)
If there is a file there, you need to extract the folder and name it app (the archive can be extracted using the
You must be registered to see the links
program).After that, we need to edit the resources/app/tyrano/libs.js file.
3.searching for the line
$.userenv = function() {
in this file![1716444644372.jpeg 1716444644372.jpeg](https://attachments.f95zone.to/2024/05/thumb/3686007_1716444644372.jpeg)
and replace the function inside with
![1716444672090.jpeg 1716444672090.jpeg](https://attachments.f95zone.to/2024/05/thumb/3686009_1716444672090.jpeg)
Code:
var userAgent = navigator.userAgent;
if (userAgent.match(/iphone|ipad|ipod/i)) {
return "iphone";
} else if (userAgent.match(/android/i)) {
return "android";
} else {
return "pc";
}
you can launch it using electron executable file
Last edited: