Add a Rocket Launcher (Wolf4SDL)

Rocket launchers are a weapon introduced in the last three episodes of Wolfenstein 3D, but only for the Boss enemies. Let's fix that!

This guide will take you through the steps to adding a Rocket Launcher for the player to use in your Wolf4SDL project.

By the end you will have learned:

Compiling the code for shareware Wolfenstein 3D and Spear of Destiny

The source code comes prepared to build version 1.4 of the full version of Wolfenstein 3D, but is actually capable of building for multiple different versions of the game, as well as Spear of Destiny!

This guide will show you how to change the code to compile for different games and different versions of them. It assumes you already have a game project that successfully compiles. If not, you'll want to check out the guide for setting up a Wolf4SDL project.

Enabling Feature Flags (High Resolution Textures, Cloudy Skies, etc)

Wolf4SDL comes with extra features already added and just needing to be activated. This guide teaches you what is in Feature Flags, how to activate them, and how to use them.

Saving Memory in DOS

Once you start adding things to the original Wolfenstein 3D engine, you may quickly come across an "Abnormal Program Termination" error. This is because for all of Wolfenstein 3D's ingenuity, it was restricted by DOS's capabilities. Prominently, a restriction in the amount of memory available to the game.


This guide answers common questions regarding the long-maintained Wolf4SDL source port.