Skip to content

Building on DOS

ChadsArcade edited this page Aug 29, 2020 · 1 revision

You will need a working DJGPP environment to compile VMMenu for DOS. There are many tutorials online for this. If you want to build the version with sound effects, you will also need SEAL.

I build the DOS version on a virtual machine running Win XP, compile under pure DOS has not been tested.

  • Download and unzip the VMMenu files

  • Download the iniparser files from https://github.com/ndevilla/iniparser

  • Download the DOS ZVG SDK files

  • Copy the dictionary and iniparser .h and .c files into the VMMenu/iniparser directory

  • Copy the ZVG files from the inc and shared folders into the VMMenu/DOS/zvg directory

Then run:

make target=DOS clean
make target=DOS

For the version with audio:

make target=DOS clean
make target=DOSAud

This will create the vmmenu.exe file in the current directory. The audio version will be named svmmenu.exe

Optionally you can install upx and use the compile.bat script in the VMMenu/DOS directory to compile and compress the resulting vmmenu.exe file. Note that this batch file will first attempt to copy the source files to the current location before compilation, this is because I tended to house the source on a Linux PC and compile from an XP virtual machine. You may wish to edit out the file copy commands if you are working directly under XP/DOS.

Clone this wiki locally