I'm trying to build a standalone game package using Lectrote; having some trouble.
Following the directions under "Packaging a bound game" at
https://github.com/erkyrath/lectrote#readme, I've managed to accomplish the following:
I have a subdirectory called "adv2xburs" inside the main Lectrote directory. Inside it I have my game file (adv2xburs.gblorb), about.html, play.html, and the package.json file, which looks like this:
Code:
{
"name": "adv2xburs",
"productName": "The Adventures of Twice Bursitis",
"version": "1.0.0",
"lectroteVersion": "1.2.8",
"lectrotePackagedGame": "adv2xburs/adv2xburs.gblorb",
"lectroteMacAppID": "com.gentry.adv2xburs",
"lectroteCopyright": "Written by Michael Gentry",
"description": "An interactive inflammation",
"lectroteExtraFiles": [
"adv2xburs.gblorb"
],
"main": "main.js",
"scripts": {
"start": "electron main.js",
"preinstall": "if [ -f quixe/LICENSE ]; then echo Quixe already installed; elif [ -d .git ]; then git submodule init; git submodule update; else git clone https://github.com/erkyrath/quixe.git; fi"
},
"author": "Andrew Plotkin <erkyrath@eblong.com>",
"license": "MIT",
"dependencies": {
"electron": "1.6.11"
},
"devDependencies": {
"electron-packager": "^8.0.0",
"appdmg": "^0.4.0"
}
}
I open a command prompt and type:
Code:
python.exe makedist.py win32-x64 --game \adv2xburs
I then get the following output:
Code:
Lectrote version: 1.2.8
Installing to: tempapp
Traceback (most recent call last):
File "makedist.py", line 316, in <module>
builddir(dest, pack, pkg)
File "makedist.py", line 245, in builddir
subprocess.call(args)
File "C:\Users\mikeg\AppData\Local\Programs\Python\Python36-32\lib\subprocess.py", line 267, in call
with Popen(*popenargs, **kwargs) as p:
File "C:\Users\mikeg\AppData\Local\Programs\Python\Python36-32\lib\subprocess.py", line 707, in __init__
restore_signals, start_new_session)
File "C:\Users\mikeg\AppData\Local\Programs\Python\Python36-32\lib\subprocess.py", line 992, in _execute_child
startupinfo)
FileNotFoundError: [WinError 2] The system cannot find the file specified
It looks like there's a missing file in my Python directory. I installed the latest version from
www.python.org/download; is there a different version/distribution that I should be using?
Any help appreciated.