Skip to main content

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

RPG Maker Cook Tool Deluxe

The one stop shop for deploying RPG Maker MV/MZ games · By AceOfAces

Halva encryption causing application to not boot.

A topic by YoBro created 8 days ago Views: 44 Replies: 8
Viewing posts 1 to 3
(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

Hello, YoBro!

Can you check the index.html file using the dev tools (after buiding the test build)? You can see the code for the html file by clicking on the "Sources" tab and select it on the list.

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.

Looking at the code, it appears that the script tag wasn't updated to load the correct file, resulting into a black screen. I'm looking into why this didn't get updated. 

A bit of an update: as of right now, I wasn't able to replicate the issue. Could you please provide me a screenshot of the settings? Specifically, on the File Preparation tab.

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.

(1 edit)

OK. I done a bit more digging. Turns out that my method of patching the html file (required so it can load the binary versions of the JS files) was error prone. I found a better alternative and I'm working to release a hotfix for it.

EDIT: The hotfix is out.

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

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.