Skip to main content

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

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.