Skip to content

Commit 917309d

Browse files
committed
Fix Windows build to support multiple build parameters
1 parent 5c74fcb commit 917309d

6 files changed

Lines changed: 6 additions & 7 deletions

File tree

2-build-files/README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,8 @@ This folder contains support scripts for building the BBC Master version of Elit
88

99
* [elite-decrypt.py](elite-decrypt.py) decrypts an encrypted game binary by doing the opposite to the elite-checksum.py script (this is not used in the build process, but is useful when trying to decrypt any new releases that might be found)
1010

11+
It also contains the `make.exe` executable for Windows, plus the required DLL files.
12+
1113
---
1214

1315
Right on, Commanders!
File renamed without changes.
File renamed without changes.

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -154,7 +154,7 @@ Note that the build ends with a warning that there is no `SAVE` command in the s
154154

155155
### Windows
156156

157-
For Windows users, there is a batch file called `make.bat` to which you can pass one of the build targets above. Before this will work, you should edit the batch file and change the values of the `BEEBASM` and `PYTHON` variables to point to the locations of your `beebasm.exe` and `python.exe` executables. You also need to change directory to the repository folder (i.e. the same folder as `make.exe`).
157+
For Windows users, there is a batch file called `make.bat` to which you can pass one of the build targets above. Before this will work, you should edit the batch file and change the values of the `BEEBASM` and `PYTHON` variables to point to the locations of your `beebasm.exe` and `python.exe` executables. You also need to change directory to the repository folder (i.e. the same folder as `make.bat`).
158158

159159
All being well, doing one of the following:
160160

make.bat

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,5 @@
11
@echo off
22
SETLOCAL
3-
SET BEEBASM=..\..\bin\beebasm.exe
4-
SET PYTHON=C:\Home\Python27\python.exe
5-
make %1
6-
if [%2]==[] goto skip
7-
make %2
8-
:skip
3+
SET BEEBASM=C:\Users\user\bin\beebasm.exe
4+
SET PYTHON=C:\Users\user\AppData\Local\Microsoft\WindowsApps\python.exe
5+
2-build-files\make %*

0 commit comments

Comments
 (0)