NW.js and Steam

So I am curious if anyone knows, why does steam not automatically update the necessary files like the nw.js files and make it run off the older nw.js files? Every time I test play my game this pops up and I would love to update the file, but updating it never seems to work out manually. I can still test play and edit my game, but it seems ridiculous for the files to need to be manually updated and even then, it is not guaranteed to work like it should.
image.png
The nwjs files are shipped alongside the engine in a single bundle provided by the engine developers. Steam has no way of knowing that these files are actually a dependency thats rather out of date. It would be trivial for a developer to update them manually but the rpgmaker publisher (I assume it's a decision on the publisher side) is not interested in maintaining or improving the engine.
Likely they don't want to invest resources to qa each new nwjs version to ensure compatability. It wouldn't make them more money after all, better to spend resources to add dlc banners into the engine for even more shameless advertising.

As for the specific error and why it doesn't revert the files to an older version, the "profile" data is stored in your user app data and tracks the highest version of nwjs youve launched. Reverting the nwjs version wouldn't fix that popup because the popup happens _when_ you revert nwjs. It shouldn't cause any actual issues though.

If I had to guess what happened, you probably manually updated your nwjs files at some point, then rpgmaker mv updated and steam saw the files were changed and reverted them, and your project still has a profile that was developed on a newer version.

If you want to get rid of the popup you could either update your nwjs files again or you could clear the app data for nwjs
If I had to guess what happened, you probably manually updated your nwjs files at some point, then rpgmaker mv updated and steam saw the files were changed and reverted them, and your project still has a profile that was developed on a newer version.

If you want to get rid of the popup you could either update your nwjs files again or you could clear the app data for nwjs
I haven't updated my file because any time I tried, the test play no longer worked. It would allow me to open the maker, but not test play the game after making edits and it never came up with an error, it just never opened up the test play when I clicked it.
It seems to be the same error that happens to me, the instance keeps appearing in the task manager, but the window is never created.

I did the test and even after implementation the error still appears, which was already assumed.
The only practical way I found to update the NW.js files was after deployment as the best-known video seemed a bit confusing to me.

I'm not sure, but it seems the resources.pak file contains some important parameters, and if you don't update it the window doesn't appear and returns an error in the debug.log file.
It seems to be the same error that happens to me, the instance keeps appearing in the task manager, but the window is never created.

I did the test and even after implementation the error still appears, which was already assumed.
The only practical way I found to update the NW.js files was after deployment as the best-known video seemed a bit confusing to me.

I'm not sure, but it seems the resources.pak file contains some important parameters, and if you don't update it the window doesn't appear and returns an error in the debug.log file.
So what should I do to update the file? Any suggestions on a step by step to get it to work?
So what should I do to update the file? Any suggestions on a step by step to get it to work?
If you don't know what you're doing on a technical level, I personally recommend you don't touch it. There are guides you can find (including a very long thread) about updating your NW.js version, but the fact of the matter is that RPG Maker MV was built to function correctly with one specific version.

You can find many threads all across the forums about people whose projects or plugins stopped working because they updated their NW.js.

If you looked up any threads about the error message you see in your first post, it's harmless and meaningless. It pops up behind your playtest window and doesn't affect anything.

You don't need to have messed with your own NW.js for this to happen, I saw it the first time from playing someone else's game that left files in my system cache. There are guides to removing it, but for some people they have to do it every time they run any MV/MZ game.

It just doesn't matter.
If you don't know what you're doing on a technical level, I personally recommend you don't touch it. There are guides you can find (including a very long thread) about updating your NW.js version, but the fact of the matter is that RPG Maker MV was built to function correctly with one specific version.

You can find many threads all across the forums about people whose projects or plugins stopped working because they updated their NW.js.

If you looked up any threads about the error message you see in your first post, it's harmless and meaningless. It pops up behind your playtest window and doesn't affect anything.

You don't need to have messed with your own NW.js for this to happen, I saw it the first time from playing someone else's game that left files in my system cache. There are guides to removing it, but for some people they have to do it every time they run any MV/MZ game.

It just doesn't matter.
Ok. Noted. Thank you for the info.
For this window to disappear you will only need to include a value in the name object in the package.json file, which for some reason is empty. I noticed this difference compared to projects generated by RMMZ, because this will be the name of the cache folder for Game.exe:
JSON:
{
    "name": "nw-game",
    "main": "www/index.html",
    "js-flags": "--expose-gc",
    "window": {
        "title": "",
        "toolbar": false,
        "width": 816,
        "height": 624,
        "icon": "www/icon/icon.png"
    }
}

So what should I do to update the file? Any suggestions on a step by step to get it to work?
I downloaded version 0.84.0 but an error window appears:
Code:
Game.exe - Entry Point Not Found
The procedure entry point DiscardVirtualMemory could not located in the dynamic link library C:\Users\<USER>\Documents\Output\Project3\nw.dll
It is very likely that this error happens because I use Windows 8.1, I imagine this error does not happen on Win10 or 11.

So I tried something else:
So I deployed an empty RMMZ project to Windows, copied the corresponding files to the game folder and noticed a certain improvement in performance.

When updating, it is necessary to define the "position" subfield in Window:
JSON:
{
    "name": "nw-game",
    "main": "www/index.html",
    "js-flags": "--expose-gc",
    "window": {
        "title": "",
        "toolbar": false,
        "width": 816,
        "height": 624,
        "position":"center"
        "icon": "www/icon/icon.png"
    }
}
For this window to disappear you will only need to include a value in the name object in the package.json file, which for some reason is empty. I noticed this difference compared to projects generated by RMMZ, because this will be the name of the cache folder for Game.exe:
JSON:
{
    "name": "nw-game",
    "main": "www/index.html",
    "js-flags": "--expose-gc",
    "window": {
        "title": "",
        "toolbar": false,
        "width": 816,
        "height": 624,
        "icon": "www/icon/icon.png"
    }
}


I downloaded version 0.84.0 but an error window appears:
Code:
Game.exe - Entry Point Not Found
The procedure entry point DiscardVirtualMemory could not located in the dynamic link library C:\Users\<USER>\Documents\Output\Project3\nw.dll
It is very likely that this error happens because I use Windows 8.1, I imagine this error does not happen on Win10 or 11.

So I tried something else:
So I deployed an empty RMMZ project to Windows, copied the corresponding files to the game folder and noticed a certain improvement in performance.

When updating, it is necessary to define the "position" subfield in Window:
JSON:
{
    "name": "nw-game",
    "main": "www/index.html",
    "js-flags": "--expose-gc",
    "window": {
        "title": "",
        "toolbar": false,
        "width": 816,
        "height": 624,
        "position":"center"
        "icon": "www/icon/icon.png"
    }
}
I just got it figured out. I got it updated and was able to get everything working correctly.

Original thread: https://forums.rpgmakerweb.com/threads/nw-js-and-steam.165901/