Since the nwjs-lnx-test folder isn’t deployed to the player, there’s no need to clean it. (The included desktop file is slightly misused, in that regard, but I suppose it mostly works?) Linux (playtest) Looks like app icons on Linux are quite tricky for unpackaged software! Unfortunately, the format doesn’t understand relative paths, so you can’t easily set up a nice icon for it. (Best leave the Exec= and Type= keys as they are.) You can freely rename and edit the ….desktop file with a plaintext editor to suit your game, ideally after deployment. Enabling the sandbox means that plugin scripts won’t get access to your players’ document folder, but can still read and write the game folder just fine.) Bonus: Rename sktop ( Platform and sandbox opt-in are optional, but probably nice to have. If you upload the contents of the output folder directly to itch.io without wrapping folder inside the archive, then the following nwjs-lnx/.itch.toml file works for all RPG Maker NW games: ] itch.toml app manifest, it becomes much easier for players to start your game from the Itch app. Your players can run either nw or the ….desktop file to start the game after extracting it. It is not needed in the updated runtime but is the main file of the old runtime, which may be confusing to players as it may still work after the other files are replaced.ĭone, you can now deploy your games for modern Linux systems. Please double-check that you have deleted the Game executable (without file extension). (If you can’t open the archive on Windows, 7-Zip is a great archive tool there.) Then, extract the runtime files from the nwjs-v…-linux-圆4.tar.gz archive so that the new folder contents look like this: ( icon/icon.png appears to be unused here, as is The actual icon is, or should be, in your game project folder.) Open the lwjs-lnx folder and delete all except the following files: (You can always reset them by deleting them entirely and verifying your RPG Maker MV installation through Steam, but it’s helpful to copy them elsewhere now, too, in case you’d like to quickly change runtime versions later.) Linux (deployment target) These are the folders that need to be modified. You should see, among others, the nwjs-lnx and nwjs-win folders, as well as, at least on those operating systems, one nwjs-…-test folder. In Steam, you can find this by right-clicking on the entry in the games list and choosing “Manage” > “Browse local files”. Open the installation folder of RPG Maker MV. Additionally, download the matching “SDK” version for the OS you are using the editor in. For now, download the “Stable”, “64-bit” “Normal” version of each OS your game should support. You can download the current versions of the runtime from, but some extra files are necessary to make the games work properly. You should see a window like this, listing a few version numbers:Īs of writing this, the most recent stable nw.js version is v0.72.0. To check which NW.js version an RPG Maker game uses, rename the package.json file in its folder and then start it normally. (When run from the terminal, this will usually report “Fontconfig warning:” errors.) How to check the NW.js version It combines the Node.js runtime (for, among other things, local file system access) with the Chromium browser runtime (for rendering HTML-based user interfaces, though RPG Maker mostly renders into a single element).Ĭurrent versions of this runtime come with large improvements to JavaScript performance and much wider support for hardware-accelerated (WebGL mode) rendering in RPG Maker, so if your players are reporting performance issues, even on older devices, updating NW.js can fix many of them.Īdditionally, all versions of NW.js that come with RPG Maker MV are incompatible with current versions of the gconf package on Linux, which prevents the deployed games and the editor playtest from starting entirely on this system. NW.js, “(previously known as node-webkit)”, is a program to develop desktop apps using JavaScript. (Additionally, developing plugins for the 2015 runtime is unnecessarily painful due to missing features, so to spare my sanity, I require the 2018 runtime for my plugins.)įortunately, RPG Maker MV uses an unmodified copy of NW.js as its runtime for desktop deployment, which means it’s pretty easy to update it manually! The process isn’t really different between development OS, so I’ll go through it target by target. RPG Maker MV has unfortunately stopped receiving updates to its runtime in 2018, and the Linux deployment target for Windows installations of the editor specifically has not been updated since 2015, which causes performance and compatibility issues on modern systems.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |