Customize

You can customize the Launcher (runner.html) with my custom barerunner.html, which simplifies the look of the launcher and removes unused code to make it lighter on the system, or you can make one yourself

Replacing Default Runner for VM

You don't need to modify anything to get barerunner.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.(file type) and 
game.unx

to

(your project name).(file type) 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 barerunner:

      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 barerunner:

(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 barerunner.html

[Click Here for barerunner]

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