Bundling Lectrote with Custom interpeter

I got the Lectrote bundling process to work with my game, Never Gives Up Her Dead.

I want to use the files of my Bisquixe interpreter, which has the same structure as Quixe.

My game folder looks like this:
image

(the figures folder being included here is because the website references them directly in this way).

My package.json contents look like this:

{
  "name": "NGUHD",
  "productName": "Never Gives Up Her Dead",
  "version": "3.0.0",
  "lectroteVersion": "1.4.6",
  "lectrotePackagedGame": "NGUHD/Never Gives Up Her Dead.gblorb",
  "lectroteMacAppID": "",
  "lectroteCopyright": "Written by Mathbrush",
  "description": "Rescue a crashing starship!",
  "lectroteExtraFiles": [
    "Never Gives Up Her Dead.gblorb"
  ],
  "main": "main.js",
  "scripts": {
    "start": "electron main.js"
   },
  "author": "Mathbrush <brushton84@gmail.com>",
  "license": "All Rights Reserved",
  "dependencies": {
    "electron": "^29.4.0"
  },
  "devDependencies": {
    "electron-packager": "^17.1.0",
    "@electron/universal": "^1.0"
  },
  "optionalDependencies": {
    "appdmg": "^0.6.6"
  }
}

It compiles, but the output looks like this:

image

This looks like it’s working with just some bad links. Any ideas on what might be missing? The sample adventure game compiles just fine, I think.

Edit:
The sample game looks like this:

I got my game to work without the custom effects:

2 Likes

I found out it’s not Bisquixe’s fault. Including just the Play.html from the default Quixe release causes the same effect as above. I’m going to try listing play.html manually in package.json.

The play.html in Lectrote is organized somewhat differently. Stylesheet has a different pathname, for example. You want to modify that one rather than trying to drop in a play.html from the web site template.

1 Like

That’s very helpful! Is the sample one in samplegame folder the best one to modify, or is there another one somewhere?

That’s the only one I know of. If you discover another one, let me know.

1 Like

@zarf You’re right! I copied over all of my Release items except for play.html and index.html (which Bisquixe doesn’t modify) and it worked!

I now have the capacity to sell Bisquixe games on itch. Thanks!

Edit: Honestly, this is very exciting. It’s now easy with this setup of mine to make changes to the resulting Lectrote at will. Very fun! And it looks so good.

7 Likes