How to Update NW.js to Dramatically improve Game Performance!

● ARCHIVED · READ-ONLY
Started by KillerGin 273 posts Page 8 of 14 View original ↗
  1. Arthran said:
    Yeah, it would be the same. But it's possible that you will start getting the NW.js profile error mentioned in the original post. If that happens, then you just gotta delete the files mentioned in the original post:
    Thanks! Although I'm currently having an issue with downloading version 48.4. When I click on previous releases from https://nwjs.io/downloads/ and click on 48.4 it takes me to this and I can only download each file individually.
  2. @EndlessGame those a all packages, in ZIP, TAZ etc, so download
    the win.ZIP or macOS ZIP only, not each of them as most are
    source files or different systems :)
  3. ShadowDragon said:
    @EndlessGame those a all packages, in ZIP, TAZ etc, so download
    the win.ZIP or macOS ZIP only, not each of them as most are
    source files or different systems :)
    Ah I see now. Thanks!
  4. Arthran said:
    Yeah, it would be the same. But it's possible that you will start getting the NW.js profile error mentioned in the original post. If that happens, then you just gotta delete the files mentioned in the original post:
    When I go into the RPGMV file the only thing available is a QtWebEngine folder, after that is a Default folder, and then it's a GPUCache folder and a Visited Links file. In the GPUCache folder are four data files and one index file. Would I be deleting those?
  5. I got finally succesfully update 0.29 to 0.48.4nwjs with pixi 4.8.9
    which is indeed better :)
  6. mmKALLL said:
    Just in case any other MZ user is confused: the latest update (1.5.0) has bumped the NW.js version up to 0.51.0. It also seems like orange-greenworks for Steam achievements is possible with this version!
    My MZ is up-to-date, and it still has 0.48.4
  7. Arthran said:
    My MZ is up-to-date, and it still has 0.48.4

    Hmm... Could it be possible that Windows and Mac use different versions? I'm pretty sure I haven't touched NW.js myself. I had a look at the patch notes and couldn't find the exact version, though...
  8. mmKALLL said:
    Hmm... Could it be possible that Windows and Mac use different versions? I'm pretty sure I haven't touched NW.js myself. I had a look at the patch notes and couldn't find the exact version, though...
    It's definitely possible that Mac has a different version than Windows. Since Apple dropped support for OpenGL, it seems feasible that a newer version of NW.js could be required for Mac, in order to accommodate that change.
  9. Arthran said:
    If you upgrade NW.js to version 0.49 or higher, it can break plugins that involve input or window manipulation. I personally recommend going with version 0.48.4 (the same one MZ uses). I haven't noticed any notable performance benefits from going higher than that, and it should be safe for all of your plugins.
    Unfortunately with reverting to 48.4, my input plugin is still broken. The performance feels the same between the two though, which is good. Haven't figured out how to fix the NW.js profile error yet, but I guess that's for another day.
  10. @EndlessGame there is one for windows, but no for mac, but problem is,
    if you play a MV/MZ game with lower version or higher version NWJS,
    than open your project, the error pops back up.

    there isn't really a permanent solution to get rid of it, there might be
    one way, but it require win/mac knowledge to do so, but I dont know
    if it is 100% solution as I still get mine back when playing other people
    games, and it pop up back again.
  11. EndlessGame said:
    Thanks! Although I'm currently having an issue with downloading version 48.4. When I click on previous releases from https://nwjs.io/downloads/ and click on 48.4 it takes me to this and I can only download each file individually.
    For Windows, the one that you probably want is this one: nwjs-sdk-v0.48.4-win-x64.zip

    EndlessGame said:
    When I go into the RPGMV file the only thing available is a QtWebEngine folder, after that is a Default folder, and then it's a GPUCache folder and a Visited Links file. In the GPUCache folder are four data files and one index file. Would I be deleting those?
    No, don't delete those. There should be a User Data folder:

    1660058690803.png

    If you don't have it, I don't know why.

    EndlessGame said:
    Unfortunately with reverting to 48.4, my input plugin is still broken. The performance feels the same between the two though, which is good. Haven't figured out how to fix the NW.js profile error yet, but I guess that's for another day.
    Sorry to hear it didn't help you. Just out of curiosity, what is the name of the plugin?
  12. Arthran said:
    For Windows, the one that you probably want is this one: nwjs-sdk-v0.48.4-win-x64.zip


    No, don't delete those. There should be a User Data folder:

    View attachment 237215

    If you don't have it, I don't know why.


    Sorry to hear it didn't help you. Just out of curiosity, what is the name of the plugin?
    Thanks for getting back to me, I appreciate it. Weird that I don't have that file. Oh well.

    The plugin is called EFJ_Baron_Gamepad_Modification.
  13. Why it work for everyone but except me?Drop fps.png
    NW 0.49.2 just 1s will drop, it's not stability like version 0.29.4 ( Default ). Can anyone explain?
  14. I updated nwjs to 0.68. (second time to 0.49.2). Now, instead of playtest there is a huge black square. It doesn't even behave as a window, it's just black square that can't be turned on by tab. I have to go to the task managed and end nwjs to exit rpgm aker. (I still hear sounds from game like title music but thats all). Using MV.
    1662833997783.png

    In the first lines of the post you say to NOT rename nw.exe to Game.exe and then, in the listed steps you say to in fact rename it? So I followed those steps, replaced nwjs-test with a new nwjs, and in nwjs-win I replaced everything besides www and package.json, renamed nw.exe (in both folders)...

    Did this happen to anyone else here?

    My bad, redid whole instalation and then thought: wait, maybe its not nwjs, but the project itself. Disabled YEP_Core and it immedietaly launched.
  15. I did this tutorial because I'm working on a project called "Venture Quest" as part of a collab with a special needs vocational program that I go to. Someone complained of lag and I knew I needed some optimization.

    Thanks to this the performance was night and day. Thanks for telling how to do this thang. UwU
  16. @T34KEN it's not the plugin of YEP_EngineCore as it is working for me.
    it might be your plugin order of yanfly which they are in.

    but sometimes, you need to restart MV or close the playtest and re-open it.
    as for some reason, it doesn't take effect instantly, so a restart works mostly.
  17. It doesn't seem like anyone has pointed out how to get rid of the warnings about missing map files that updating NW causes (or at least I failed to find that with the search tool).

    Grab these two files:

    As well as "pixi.js.map" when you're downloading the newer pixi.js (it should be an option right next to it).

    Put all 3 in your project's "js\libs" folder, same as pixi.js.

    Congrats, you now have map files for the entire pixi library, and if it ever breaks you'll now know exactly where ;)

    Alternatively, if you just want to get rid of the warnings and don't need those maps (they are just a debug tool and won't affect the game), you can just remove the last lines in pixi.js, pixi-picture.js and pixi-tilemap.js (the comments specifying a map file).
  18. Well, you guys can try my stable setup for Pixi 5, it works well with NW 0.72.
    Currently using Pixi 5.3.12 now. And btw not all NW versions are stable, some of them have various annoying bugs (like 0.68.1).
  19. duy123a said:
    Well, you guys can try my stable setup for Pixi 5, it works well with NW 0.72.
    Currently using Pixi 5.3.12 now. And btw not all NW versions are stable, some of them have various annoying bugs (like 0.68.1).


    Does this work with greenworks (so we can enable Steam Achievements)?