Customize

You can customize the Launcher (runner.html) with my custom betterrunner.html, which adds many new features to the old runner, or you can make one yourself

Note that betterrunner currently only supports GMS2 versions 2023.8 or lower

It works with GMS2 2024 versions, but the "Downloading data" Loading Bar does not work

Replacing Default Runner for VM

You don't need to modify anything to get betterrunner.html to work for VM

Replacing Default Runner for YYC

YYC needs some modification for every web port that wants it, because the files are renamed from

runner.(js OR wasm OR data) and 
game.unx

to

(your project name).(js OR wasm OR data) and 
(your project name).unx

So what modifications need to be made?

Editing the HTML files

  1. Open both the original runner.html and the custom runner you want to replace it with
  2. Search for "function manifestFiles()"

It should look something like this in betterrunner:

      function manifestFiles()
      {
        return [ "runner.data",
"runner.js",
"runner.wasm",
"audio-worklet.js",
"game.unx" ].join( ";");
      }
  1. Copy the entire function from the original runner and replace the custom runner's "function manifestFiles" with it

And then it should look something like this in betterrunner:

(Using my Sugary Spire Port as example)

      function manifestFiles()
      {
        return [ "game.unx",
"SugarySpire_PRANK.data",
"SugarySpire_PRANK.html",
"SugarySpire_PRANK.js",
"SugarySpire_PRANK.wasm" ].join( ";");
      }
  1. Go to the bottom of the HTML file
  2. When you see line of code similar to this
<script async type="text/javascript" src="runner.js"></script>

Copy the code from the original runner to the custom one's (remember to replace it, not just add it)

So it should look something like this:

<script async type="text/javascript" src="SugarySpire_PRANK.js"></script>

Download barerunner

Here is the Github Repository for my betterrunner.html

[Click Here for betterrunner]

Last Updated: 12/8/2019, 10:00:17 PM