After reading about the Blake Stone compile fixes, as it was a Wolf3d port, I came across a post on the forum Wolf3d Haven about trying to find the source code to something called wolf4gw. Now wolf4gw is a port of the Borland C source of Wolfenstein 3d to Open Watcom C++‘s 32bit MS-DOS extender DOS/4GW, done by ‘ripper’.
The project eventually gave way to wolf4sdl, and as they say the rest is history.
Sadly it seems that just about all the source copies of wolf4gw were lost, except I did manage to find an ‘improved’ version simply refered to as wolf3dx. From the blurb:
Tricob has released the Wolf4GW-based source code of WolfDX. Included is a text file called (Tricob).TXT.
So I have been using Watcom 10.0 for Duke Nukem 3d, however, this version relies on the _asm inline assembler which was introduced in Watcom 11. However Watcom 11c had issues with some of the assembly forcing me to go even further to OpenWatcom 1.3. For me the install was easy, I used CrossOver to install OpenWatcom for DOS-DOS32bit only, copied the compiler into DOSBox, and played mostly with the makefiles, and finally got a working exe!
I know it may not look like much, but really it is running in 32bit protected mode!
Since all of this is open/freeware/shareware I can redistribute OpenWatcom, the source to wolf3dx, and the shareware levels of Wolfenstein. Naturally I’m using DOSBox to compile and test, but you can use anything that can run MS-DOS 32bit stuff.
Download my archive here.