Skip to main content

Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines

Howdy Ace!

Here's what I can give you:

  • For what is going on the project, it's being designed as just a game, ~25-30 plugins (Some notable expansive code changing plugin examples are SRD_HUDMakerUltra.js, mz3d.js, GabeMZ plugins etc).  I have some folders in my js/Plugins/ folder which are just for file organisation.  Looking at the error log, it's weirdly assign '%20' to only the folders with spaces inside Plugins, the rest of the file path line contains a space. Using fs.existsSync to check if the file path exists does indeed return False, but removing the '20%' and replacing it with a space character, it does report True.
  • The index.html proooobably relates to the issue about me, so we can most likely forget about it for now.
  • This is arguably the biggest headache, okay here are my findings; Every time the application is launched, this error is generated inside of the .log file it creates. This error does not stop the tool from working (unless it conflicts with the first problem I am having), I believe it looks like it is just trying to access the directory in order to write settings to save. I have tried everything, from releasing and reassigning permissions, recreating the folders myself, running as administrator, etc. I am to believe this might be some kind of pathing fault within the source code unless there is just something extremely specific on my computer stopping this program from writing to that location..
(+1)

After a bit of digging, I found the cause for saving the default settings. Due to a typo, it tried to write on a file that was actually the folder. Hence, that error. I'm working on a hotfix for it and publish it as soon as possible.

Hey there no problem!


Do you think there is any idea why I am still having the UTF key for Space appearing in my project?

Again, a lot of the directories in the console log a regular spacebar, but specifically for plugins it seems to add one itself.

(1 edit)

To keep it simple: The paths are handled like a page URL in websites. Hence why it adds that %20.

I understand the %20 representing the Space character for URLs, but I believe you're calling Node FS and its adding these signs in when Node FS should use literal spaces, the failure is occurring here: node:fs:561


You can recreate this issue quite easily I believe;

1. Create a new RPG Maker MZ project, then in your file system explorer, navigate to <Game Folder>/js/plugins and add a folder with a literal space (e.g. "Plugin Test"). Add a known working plugin into this folder.

2. Within RPG Maker MZ, go to your Plugin Manager and remove all plugins, then add the plugin that is contained within the "Plugin Test" folder.

3. Save and playtest the game, after one playtest, use RM Cook Tool Deluxe and attempt at building a Test Build, after the build is finished, try executing the game. 

The expect result should be that the game will launch but you'll be presented with an infinite load screen, opening the developer console presents the issue and cause.

If you'd like, I am more than happy to record an example of this in action incase you cannot reproduce the issue yourself.