Skip to main content

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

YoBro

13
Posts
2
Topics
5
Following
A member registered Dec 05, 2020

Recent community posts

Interestingly, this did not fix the issue I was having, however I did find the culprit after some a lot of testing with new projects, and different settings of RMCookTool.

With RMCookTool, you can go to Utilities > Edit Metadata > Essential Information and Presentation, and there is an option to input the 'Game ID', in my case, if it is named ANYTHING that is not 'rmmz-game' it will break the linking paths and cause the whole main.js is missing error.


It seems like this field is fine to leave as default, as when I leave it untouched, the game will launch and function just fine.

Howdy there! Apologies I been tinkering on other stuff the last few days! I'll give your hotfix a shot and let you know in this thread of anything else I run into! :D

Yeah sure thing. This is what is in the Asset Preparation Tab.

Assets Password is just 'abc123' for testing.

https://imgur.com/a/Xybt7xT

Using imgur because embedding pictures is giving me an error.

Howdy AceOfAces!
Yeah I can see the code inside the index.html just fine. Code looks as normal

<!DOCTYPE html>
<html>
    <head>
        <meta charset="UTF-8">
        <meta name="apple-mobile-web-app-capable" content="yes">
        <meta name="apple-mobile-web-app-status-bar-style" content="black-translucent">
        <meta name="viewport" content="user-scalable=no">
        <link rel="icon" href="icon/icon.png" type="image/png">
        <link rel="apple-touch-icon" href="icon/icon.png">
        <link rel="stylesheet" type="text/css" href="css/game.css">
        <title>Game</title>
    </head>
    <body style="background-color: black">
        <script type="text/javascript" src="js/main.js"></script>
<div "background:black;position:fixed;left:0;right:0;top:0;bottom:0;z-index:-1;pointer-events:none;"></div>
    </body>
</html>

Nothing seems out of the ordinary.

(1 edit)

Sweet and simple one, I think, did a reset of my settings and some basic troubleshooting but still receiving problems.

While using this tool and exporting the game with Halva Encryption enabled, trying to run the exported .EXE leads to a black window and this only this error in the console:

Failed to load resource: net::ERR_FILE_NOT_FOUND @ main.js:1

There is a couple other things I have ran into regarding external packages in my project folder, but I hope that this error is linked to this problem.

**Edit:

I should note that main.bin does exist in the location where it is failing to find main.js

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.

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.

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 edit)

Howdy there!

First time using this tool, loving the customizability so far. 

I've been doing Test-Builds on Windows 11 for an unfinished game just to get my grips around the software, and noticed I had an error with a plugin as it's friendly name (For Testing) was being formatted as "For%20Testing", not to worry, I know '%20' means space, however, it seems as though the game does not quite understand that.

By removing the spaces in folders, it seems to work fine, I'm not sure if files also have this bug where spaces in their name would cause issues, but here is a F12 error log.


Uncaught Error: ENOENT: no such file or directory, open 'C:\Users\YoBro\AppData\Local\YoBro\Sock\GameData\js\plugins\For%20Testing\MechPen_SharpText.bin'
    at Object.openSync (node:fs:561:18)
    at Object.readFileSync (node:fs:445:35)
    at NWWindow.evalNWBinInternal (extensions::nw.Window:501:36)
    at NWWindow.evalNWBin (extensions::nw.Window:486:8)
    at Function.loadScript (<anonymous>)
    at Function.setup (<anonymous>)
    at Main.loadMainScripts (<anonymous>)
    at Main.run (<anonymous>)
    at <anonymous>
    at NWWindow.evalNWBinInternal (extensions::nw.Window:505:20)


Oh and here's a strange bonus errors in the F12 panel:

index.html:1 Uncaught SyntaxError: Unexpected token '<


One last thing; for some reason, the tool does not have access to RPGMakerCookToolDX in my AppData, I'm not sure if anyone else also has this happen but here is the log:


2025-11-03 15:11:20.216 +11:00 [INF] RPG Maker Cook Tool Deluxe 6.2.6-release.20251025+71b61afb12596f4a929914729baabe055323c61e started up.
2025-11-03 15:11:20.219 +11:00 [INF] Data validation is ready.
2025-11-03 15:11:20.219 +11:00 [INF] Registerring services...
2025-11-03 15:11:20.219 +11:00 [INF] Registerring HTTP Client Builder...
2025-11-03 15:11:20.220 +11:00 [INF] Registerring File Services...
2025-11-03 15:11:20.220 +11:00 [INF] Registerring Dialog Services...
2025-11-03 15:11:20.222 +11:00 [INF] Services registered.
2025-11-03 15:11:20.222 +11:00 [INF] Preparing main window...
2025-11-03 15:11:20.275 +11:00 [INF] Checking if the default settings file is present...
2025-11-03 15:11:20.275 +11:00 [INF] Not found. Creating the file...
2025-11-03 15:11:20.279 +11:00 [INF] Checking if the default settings file is present...
2025-11-03 15:11:20.279 +11:00 [INF] Not found. Creating the file...
2025-11-03 15:11:20.284 +11:00 [FTL]  Exception! 
System.UnauthorizedAccessException: Access to the path 'C:\Users\YoBro\AppData\Roaming\Dragonhouse\RPGMakerCookToolDX' is denied.
   at Microsoft.Win32.SafeHandles.SafeFileHandle.CreateFile(String, FileMode, FileAccess, FileShare, FileOptions)
   at Microsoft.Win32.SafeHandles.SafeFileHandle.Open(String, FileMode, FileAccess, FileShare, FileOptions, Int64, Nullable`1 )
   at System.IO.File.OpenHandle(String, FileMode , FileAccess , FileShare , FileOptions , Int64 )
   at System.IO.File.WriteToFileAsync(String, FileMode, ReadOnlyMemory`1, Encoding, CancellationToken)
   at Dragonhouse.RMCookToolDeluxe.Compiler.BuilderJob.SaveDefaults()
2025-11-03 15:11:20.284 +11:00 [FTL]  Exception! 
System.UnauthorizedAccessException: Access to the path 'C:\Users\YoBro\AppData\Roaming\Dragonhouse\RPGMakerCookToolDX' is denied.
   at Microsoft.Win32.SafeHandles.SafeFileHandle.CreateFile(String, FileMode, FileAccess, FileShare, FileOptions)
   at Microsoft.Win32.SafeHandles.SafeFileHandle.Open(String, FileMode, FileAccess, FileShare, FileOptions, Int64, Nullable`1 )
   at System.IO.File.OpenHandle(String, FileMode , FileAccess , FileShare , FileOptions , Int64 )
   at System.IO.File.WriteToFileAsync(String, FileMode, ReadOnlyMemory`1, Encoding, CancellationToken)
   at Dragonhouse.RMCookToolDeluxe.Compiler.BuilderJob.SaveDefaults()


If you need any extra parameters from me, just let me know! Thank you!

*edit: Fixed typo

Thank you for your hard work

Ah wonderful, excellent work on this! 

I am excited for Steamworks PLUS! o7

Hello!! Thank you and nice work on your plugin, however I seem to have a problem.

I am trying to use plugin command 'Get Steam ID' which wants me to assign a variable to store the data.

However, when the plugin command executes, it fills it with [object Object]

When I try doing the script (SteamworksAPIManager.getSteamId) the same thing happens.

When I use console.log() it seems to report a lot of data, however I just want to grab the SteamID if possible.

Hi o7

At line 2,903 of KOTC Pathfinding plugin, the code tries to execute "return $KoTCPathMatrix1", I found that simply deleting this line of code stops the crash as well as continuing to work with Yanfly's Region Restrictions.

I don't know if this is advisable by Knight, but it's a working Band-Aid fix so far.