Brandon's
Wolfenstein 3D Source Code Help Center
Yes, it's finally here: Help for compiling the Wolfenstein 3D source code! Here, you will find everything you need to know to successfully compile the source code for Wolfenstein 3D. If you have any specific questions about how to do different things with the source code, please go to the Message Board.
GOOD NEWS!!!
The original Message Board is back!!! (See above)
By the way, before you start with the instructions, please just do a quick overview of this page so you know where everything is.
If you have any new questions for the troubleshooting section then please visit the troubleshooting forum.
Here is what you need: |
Borland C++ 3.0 or 3.1, the Wolfenstein 3D source code, and Wolfobj.zip |
Don't turn back now, Borland is available for download here.
Here is what you have to do: |
What ever you do, DO NOT click Compile | Build All because it will miscompile a few obj files and in resault mess up the graphics in the game. But if you did click Compile | Build All, then go to the troubleshooting section and look for the appropriate question. |
Congratulations! If you followed these steps exactly then you just SUCCESSFULLY COMPILED THE SOURCE CODE FOR WOLFENSTEIN 3D!!! Now that you have done this, please scroll down to the area that concerns your new executable. |
Other notes: |
One more thing that you need to make sure of is that you set the following parameter in your AUTOEXEC.BAT file: PATH C:\TC\BIN If my current AUTOEXEC.BAT file contains the following code: @ECHO OFF Then I would change the code so the path line reads: PATH C:\WINDOWS;C:\DOS;C:\TC\BIN Hence the code for my AUTOEXEC.BAT file would look like this: @ECHO OFF Another thing to remember is that the AUTOEXEC.BAT file is located in the root directory of drive C. You will need to restart your computer after this, or just run AUTOEXEC.BAT |
WinZip VS. PkUnzip |
If you are using WinZip for Windows to unzip Wolfobj.zip Wolfsrc.zip and TC.zip then do as you normally do with unzipping them, you shouldn't have any problems with it. But if you are using PkUnzip, you are going to have to do things a little differently. To unzip these particular files, you are going to have to use the -d parameter. For example, if you wanted to unzip TC.zip to C:\TC then you would type in the following at the DOS Prompt: pkunzip -d tc.zip c:\tc By doing this, PkUnzip will make sure to include all the subdirectories located in the zipped file. The same thing goes for the other two zip files I mentioned above. |
When you are ready to run your new Wolf3D.exe |
Unzip a fresh copy of the full version of Wolfenstein 3D to a new directory. Go to the directory you specified for the "Output Directory" (see above), click View | Refresh. Then copy your new Wolf3D.exe to the directory you just unzipped Wolfenstein 3D to. Then download vgafiles.zip (see downloads section) and unzip it to the same directory as the fresh copy of Wolfenstein 3D (overwrite.) Then, of course, use your new executable. PLEASE ALSO NOTE THAT ALL YOUR WOLF3D FILES MUST BE V1.4 |
Special Thanks to B.J. Rowan for providing wolfobj.zip and vgafiles.zip. Thanks also goes to Nate Smith for reminding me about the autoexec.bat file.