MZ linux proton compatibility?

I've been switching back and forth between various Linux distros and Windows for the majority of this year so far, and have officially settled with PopOS as my preferred OS (I do love Fedora and Arch distros such as Manjaro and some others).

For gaming, I found Arch distros + PopOS to give me the best possible gaming performance, but one really annoying issue is RPG Maker MZ's linux compatibility. For some reason it ran pretty damn bad on Fedora, and ran significantly better (in comparison) on Arch and PopOS.

When I run the software, I've been using GE's custom proton 7-36, which gives me decent enough performance, and allows me to work on my project, but I was wondering if anyone here that has any experience with this situation knows either better versions of proton for rpg maker, or other ways to improve performance.

The main issue I'm having is lag in the editor. When I start the program, the lag is very minimal, where when I open a window there's at most a half-second before it opens, which isn't a big deal. But as I do more and more with it, the lag increases. It's not enough to make it impossible to work, but it gets pretty annoying having potentially a 2 second delay when trying to open any window in the editor. Another issue I have is that when hovering over things in the editor, and how text would appear over it to give info on the thing you're hovering over, for me the text is flickering a lot, and in most cases doesn't show. This one isn't a real issue, since I've used this long enough to know what all these things do, it's just an annoying issue.
I actually use MZ on PopOS as well, I run the program through proton on steam, however I encounter the same issue with windows, so I'm not sure I'm able to help..

Even the playtest seems to crash the editor after so long for me, but I managed to find a work around for this by downloading nwjs files, and pasting it in the project directory as "nwjs", then linking all the project files, into the "nwjs" folder, from there I open the folder in terminal and just execute ./nw.

Playtests run significantly faster since it's not running through a compatibility layer, and the MZ crashing seems to be less significant.

I wish there was official linux support as they had for MV, honestly with GTK as the tool used to build the GUI for it, it would not be much extra work if any to port, aside from adding an "export to linux" option, and adding the linux nwjs files, and a handful of other minor things.

Honestly, after the official linux support was pretty much shot down, I thought about building my own GUI for MZ, however even if I did, I couldn't share it with other linux users, as I cannot verify whether they obtained MZ legally. But if i were really to go that far, I might as well just write my own game engine and sell it, since the amount of time to do so would be immense...
I actually use MZ on PopOS as well, I run the program through proton on steam, however I encounter the same issue with windows, so I'm not sure I'm able to help..

Even the playtest seems to crash the editor after so long for me, but I managed to find a work around for this by downloading nwjs files, and pasting it in the project directory as "nwjs", then linking all the project files, into the "nwjs" folder, from there I open the folder in terminal and just execute ./nw.

Playtests run significantly faster since it's not running through a compatibility layer, and the MZ crashing seems to be less significant.

I wish there was official linux support as they had for MV, honestly with GTK as the tool used to build the GUI for it, it would not be much extra work if any to port, aside from adding an "export to linux" option, and adding the linux nwjs files, and a handful of other minor things.

Honestly, after the official linux support was pretty much shot down, I thought about building my own GUI for MZ, however even if I did, I couldn't share it with other linux users, as I cannot verify whether they obtained MZ legally. But if i were really to go that far, I might as well just write my own game engine and sell it, since the amount of time to do so would be immense...

One issue I have had on Windows is the editor would be prone to crashing at random. Not gonna lie, when I started my project I was using a illegitimate version of the editor, but have long since been using it on Steam. That was version 1.0.1 or whatever, and I've long sinced updated it to the current version, so the editor wasn't crashing nearly as much as it was in the past. But even within the last couple of weeks, this being when I was using Windows, it'd randomly crash at times. One thing I was doing for general housekeeping was grouping up character faces into their own folders, so I wouldn't have a long list on the faces window. This also meant that I needed to go through all the events in my game and update all the dialogue involving the effected characters, since otherwise the game would freeze if it gets to dialogue with a broken picture location. I had to save pretty frequently cause there were quite a few times where I'd open the faces window only for the game to crash.

I saw some discussions about how apparently MV didn't get official Linux support until around the end of its run, when the software itself was considered complete. People saying that it made sense vs having to maintain two separate versions of the software, compared to waiting til the windows version gets to the point where it needs no more updates, that way they only have to release a Linux version once, not have to keep updating it along with the windows one.
Even the playtest seems to crash the editor after so long for me, but I managed to find a work around for this by downloading nwjs files, and pasting it in the project directory as "nwjs", then linking all the project files, into the "nwjs" folder, from there I open the folder in terminal and just execute ./nw.
Could you explain this process to me? I've only been using Linux for most of this year, with it being pretty recent that I fully switched over to the platform. If you could tell me what exactly to download, and which files to place where and do what.
so first your gonna wanna download the nwjs version from https://dl.nwjs.io/ I personally use the 0.49.2 version. you'll want the file labeled "nwjs-sdk-v0.49.2-linux-x64.tar.gz" download it, and I extract it's contents to a folder named "nwjs" I then place this folder into my projects directory. After that enter the nwjs folder, and delete the package.json that exists within it.

1665958349363.png


I then make a link to ALL the files in my project directory, EXCEPT the nwjs folder, inside the nwjs folder. You can do this by highlighting all the files( except nwjs ), and dragging them over the nwjs folder, hold it there until nwjs folder opens, then hold "Alt" and drop the files on empty space within the nwjs folder( while still holding alt ). you should get a popup with "Move here" "Copy here" and "Link here" choose "Link here" after all that it should look like this.

1665958660221.png


The arrows on the files means it's a link to a folder/file. from here, right click the "nw" file, choose properties, go to permissions tab, make sure that allow executing is checked. After that you can just double click the "nw" file, or open a terminal from within the "nwjs" folder and type "./nw" without the double quote marks.

thats it, you can launch the game natively, without needing to click on the playtest button( cause it makes my editor crash after a short amount of time ). Granted, my editor still eventually crashes just nowhere near as frequent as it does while using play test. This will also make your game run faster/smoother since 1) it's a newer nwjs version, and 2) your not running the game itself through proton.

I've moved this thread to MZ Support. Thank you.

Original thread: https://forums.rpgmakerweb.com/threads/mz-linux-proton-compatibility.151970/