This document explains how to build MultiPatcher using Meson, Ninja, DOSBox, and Turbo C++ 3.
Required:
-
Meson
pip install meson -
Ninja
pip install ninja -
DOSBox or DOSBox-X
Download DOSBox -
Turbo C++ 3
Download Turbo C++
Optional (recommended):
- Mesonconfig
pip install mesonconfig
-
Run
mesonconfigon the project directory. -
Go to the "External Tools" menu.
-
Change "Path to DOSBox executable" to the path where the DOSBox executable is located, including the executable filename. The following is an example for Linux:
(/usr/bin/dosbox) Path to DOSBox executable -
Change "Turbo C++ directory" to the path where Turbo C++ is installed. (The path must contain BIN, INCLUDE, etc) The following is an example for Windows:
(C:\\TURBOC) Turbo C++ directory -
Run
meson setup <output_directory> --native-file local.conf. The following is an example command:meson setup builddir --native-file local.conf
-
Run
meson compile -C <output_directory>to build MultiPatcher. The following is an example command:meson compile -C builddir
The ISO image will be generated as
<output_directory>/MultiPatcher.iso
-
In the root of the MultiPatcher directory, create a new file named
local.conf. -
Add the following configuration (use double backslashes for Windows):
[project options] dosbox = '<dosbox-file>' tcc = '<tcc-folder>'
-
<dosbox-file>must point to the path where the DOSBox executable is located, including the executable filename. The following is an example:dosbox = 'C:\\DOSBox-X\\DOSBox-X.exe' -
<tcc-folder>must point to the path where Turbo C++ is installed. (The path must contain BIN, INCLUDE, etc)
-
Then continue from step 5 in Instructions.
You will need a copy of Microsoft Visual Basic 4.0 16-bit to compile this application. Microsoft Visual Basic 4.0
- Open Microsoft Visual Basic 4.0 16-bit
- Open the project in
source/VB4 - Make necessary modifications and compile it using the File menu in VB4.
- Copy the compiled .EXE file as
source/BASE/Patchg16.exealong with theDATA/folder. - Recompile the whole project using meson.