RMMV - Getting Errors I can't figure out. Please help!

I've started getting some strange errors in my game when I do a test run. First, I get a message saying my profile can't work because it's from a newer version of NW.js I've looked, and I don't even see a version of nw.js in the game files.
I'm using RPG Maker MV 1.6.2 which as far as I know is the latest version.

Is this something that I can download somewhere and replace? What "profile" is it even referring to?

1698335705505.png


Secondly, this one just started today. I'm getting an errot that my IconSet failed to load. I recently made a couple of updates to it, but they seem to be loading into RMMV just fine. I can see them in the Database editor, modify and add them when I add new items/skills etc. Today is the first playtest I've attempted since restoring some corrupted game files.

Out of an abundance of caution, I replaced it with the backup I made prior to updating it since the tweaks were only minor to begin with, but I'm still getting the error.
1698335737354.png


Is there one of the .json files that says where the IconSet.png file is located that I can look at to see if maybe the path got garbled or something so it can't find it? The "img/system/IconSet.png" part is right enough, but I could use some troubleshooting guidance here.

My game did experience a failed save earlier this week where some of the .json files in my data directory were overwritten with a bunch of what appeared to be [NUL]'s in Notepad++ I'm not sure what happened exactly, but was able to replace the corrupted files from a backup (although I'm having to redo some code that was lost from my CommonEvents.json file)

The first error with the nw.js was showing up prior to the file corruption, but I was able to just click ok and continue. I just don't want the same thing to happen when I'm ready to release the game.

Thanks in advance for any help!
the first error can be ignored as I get that as well, mainly when you
play another rpg game with a lower NWJS its saved somehow when
you run later a higher version of NWJS (there is a tool to get rid of it)
but its not permanent unless you use a lower version again and than
higher, it will return (or do it manually as it also have the same effect).

as for your second image "IconSet.png" make sure it exist in your
system folder, it mostly throw that error if its renamed or removed
from that folder, so rename it back or put it back with IconSet.png
to remove that error.
as for your second image "IconSet.png" make sure it exist in your
system folder, it mostly throw that error if its renamed or removed
from that folder, so rename it back or put it back with IconSet.png
to remove that error.

The filename has not changed, and is there.

1698339593924.png


As to the other, any idea where I can find that tool you mentioned? It's annoying enough to be worth the effort to run it every now and again.
Not sure if this matters, but it's a FastStone Png file.
Also, can we see the directory?
Is there any kind of debugging tool I can use to figure out if there's more error messages being thrown? Hitting F11 to launch the browser debugger doesn't do anything.
Not sure if this matters, but it's a FastStone Png file.
Also, can we see the directory?
Faststone is just the graphics viewer I use and it has dibs on the file association. It's never caused a problem before. Here's the Directory - and the apostrophe in the directory name has never caused a problem either.


1698339894060.png
Hm, that's look right.
Maybe try a different file and see if that works?
Hm, that's look right.
Maybe try a different file and see if that works?
Did that already. No change.
@alphawiz Please rename the folder "Callie's Life" to a name that follows the networking conventions required for HTML5-based games.

This is about the space and the ' which are both not allowed under networking rules.

Failed to load usually means that either filename or folderpath break one of the networking rules.
Forbidden are non-latin letters, spaces, most special signs and so on, but it also means that Capitalization is important - a.png and A.png are two different filenames because a is not the same letter as A.
@alphawiz Please rename the folder "Callie's Life" to a name that follows the networking conventions required for HTML5-based games.

This is about the space and the ' which are both not allowed under networking rules.

Failed to load usually means that either filename or folderpath break one of the networking rules.
Forbidden are non-latin letters, spaces, most special signs and so on, but it also means that Capitalization is important - a.png and A.png are two different filenames because a is not the same letter as A.

I would think you were right if it weren't for the fact that :

A - I tried doing that as one of the first things, to no avail.
B - I've been using that folder name for nearly two years and a dozen releases without this being an issue. Given that RMMV hasn't had an update for even longer than that, so nothing has changed that would all of a sudden cause it to stop working.
C - According to the all the folder names are relative to the location of the www/ folder (i.e. /img/system and /img/pictures etc) not the full path of where the game is located.

If I were releasing it as a browser based game, this might have some bearing, but I only release it as Windows and Mac based (For Macs, I do change the folder name, since I don't know how Macs work since I don't have one)

The capitalization is the same it has always been. IconSet.png is the default name for the file. I even tried renaming it , and then changing it in the rpg_managers.js file with no effect so it's got to be something else.
If I were releasing it as a browser based game, this might have some bearing, but I only release it as Windows and Mac based (For Macs, I do change the folder name, since I don't know how Macs work since I don't have one)
That's fine, if you've tested enough to know it's not the cause of your problems. But you should be aware that Andar is correct - it doesn't have to be a browser-based distribution for this to cause problems.

We have had numerous people playing their games off the hard drives on their own computers who have had problems because of non-HTML-compliant characters in the filepath (I'm sure you can find threads if you care enough and search hard enough 😛 ).

Naming your files and folders consistently is the only way to make sure your game will work for everyone on their unique computers. Whether you care about that is up to you.

Is there any kind of debugging tool I can use to figure out if there's more error messages being thrown? Hitting F11 to launch the browser debugger doesn't do anything.
It's F12 or F8, then the Console tab. That should give the full error trace.

Is there a www folder in your project directory? That would tell you if you accidentally deployed your game into your project folder at one point, so you might be looking at the wrong folder for any missing files.

I'm not positive what else to suggest...
That's fine, if you've tested enough to know it's not the cause of your problems. But you should be aware that Andar is correct - it doesn't have to be a browser-based distribution for this to cause problems.

We have had numerous people playing their games off the hard drives on their own computers who have had problems because of non-HTML-compliant characters in the filepath (I'm sure you can find threads if you care enough and search hard enough 😛 ).

Naming your files and folders consistently is the only way to make sure your game will work for everyone on their unique computers. Whether you care about that is up to you.


It's F12 or F8, then the Console tab. That should give the full error trace.

Is there a www folder in your project directory? That would tell you if you accidentally deployed your game into your project folder at one point, so you might be looking at the wrong folder for any missing files.

I'm not positive what else to suggest...

Like I said..I tried it, and it made no difference. I'm reluctant to leave any changes in place that have no effect so as to not cause other problems going forward.

No, there is not a www folder in my project directory. Whenever I do a deployment, I deploy to a separate folders (named DEPLOY\PC and DEPLOY\MAC respectively)
B - I've been using that folder name for nearly two years and a dozen releases without this being an issue. Given that RMMV hasn't had an update for even longer than that, so nothing has changed that would all of a sudden cause it to stop working.
All modern OS have an override that tries to force spaces to work in HTML-adresses - but it is an override, it is not "native" in a browser.

That is why you always see the spaces replaced by %20 in any browser error message - because the browser CANNOT hanlde spaces directly.

And only Microsoft claims that Windows is perfect - experience has shown that this override CAN fail, and that usually means the wrong file- and foldernames work for a time before they suddenly fail.
Additionally, because different OS handle the overrides differently, you will always get problems on all non-windows deployments.

Or why do you think all internet downloads are still using underscore as a replacement space?

So basically renaming that folder is just a very good prevention step as there is absolutely no need to keep spaces in foldernames.

C - According to the all the folder names are relative to the location of the www/ folder (i.e. /img/system and /img/pictures etc) not the full path of where the game is located.

No, it is not - not for file access on the harddrive. Loading a file from harddrive requires the full path to be handled, relative path do not work for that. Windows and Browsers might be able to identify a location with relative links, but for the loading itself a relative link is not enough.

If you carefully check the playtest, you'll see that the editor creates a virtual path to the index.html - a path that starts with the drive letter. And that is a change introduced in 1.5 or 1.6 or so exactly because of too many users having problems due to the playtest using the true path with bad foldernames before that virtual folder was introduced as an override in the playtest.
Like I said..I tried it, and it made no difference. I'm reluctant to leave any changes in place that have no effect so as to not cause other problems going forward.
While theoretically this is often a good idea for changes that you don't know the effects of, it completely ignores the possibility of non-binary errors and error-sequences.

Sometimes an error is not caused by a single point, but created by the interactions of two or three settings that each are harmless on their own.
Additionally, one error can mask a different error further along - you can't see the later errors without solving previous problems.

For that reason ALL problems need to be removed.
The only place where you change back things is if you have no idea what a specific change does and are only guessing as to what is going on.
Someone once called that "cargo cult programmer" in an interesting article here on the forum, and no that is not a nice term despite the fact that too many programmers have fallen into that trap.

But there is nothing that would require spaces and ' in foldernames, so they should be removed and remain removed.
So basically renaming that folder is just a very good prevention step as there is absolutely no need to keep spaces in foldernames.

Sometimes an error is not caused by a single point, but created by the interactions of two or three settings that each are harmless on their own.
Additionally, one error can mask a different error further along - you can't see the later errors without solving previous problems.

For that reason ALL problems need to be removed.
The only place where you change back things is if you have no idea what a specific change does and are only guessing as to what is going on.
Someone once called that "cargo cult programmer" in an interesting article here on the forum, and no that is not a nice term despite the fact that too many programmers have fallen into that trap.

But there is nothing that would require spaces and ' in foldernames, so they should be removed and remain removed.

Thank you for the advice. I'll probably follow it, if I don't wind up renaming the game before the public release anyway (previous releases have only been to my patreon subscribers). I certainly don't want to court trouble.

I did manage to solve the problem too, by the way. The underlying cause was a PEBCAK error.
(Problem Exists Between Chair And Keyboard)

When trying to restore the most recent versions of the .json data files that got corrupted. I copied the .json files from a previously released copy of the game. By using the console (thank you @ATT_Turan - it was F8 🙂 ) I saw that the game was trying to load .rpgmvp files.

After going into the System.json file and changing hasEncryptedImages and hasEncryptedAudio from true to false, everything loads without problems. If only the error message had read "unable to load /img/system/IconSet.rpgmvp" I could have figured it out a week ago. Oh well!

Thank you for your help. I apologize if I may have seemed argumentative. I was getting frustrated.

@admin - This thread can be closed.
This thread can be closed.
you need to report the topic with the report button to have it closed
you need to report the topic with the report button to have it closed
Thanks! I couldn't remember how it was done.
This thread is being closed due to being solved. If you need it reopened, report it to let us know why.

Original thread: https://forums.rpgmakerweb.com/threads/rmmv-getting-errors-i-cant-figure-out-please-help.162418/