WOLFENSTEIN 3D ON YOUR RASPBERRY PI
1. INSTALL PREREQUISITES
Open Terminal on your Pi, and run sudo apt-get install cmake libsdl1.2-dev libsdl-mixer1.2-dev libsdl-net1.2-dev libbz2-dev libjpeg-dev libgtk2.0-dev . Next, run git clone https://github.com/fabiensanglard/Chocolate-Wolfenstein
3D to download the Chocolate Wolfenstein engine. Move to the directory with cd Chocolate-Wolfenstein-3D . Compile the code by running sudo make . This creates an executable: Chocolate-Wolfenstein-3D.
2. DOWNLOAD DATA FILES
Run wget http://maniacsvault.net/ecwolf/files/shareware/
wolf3d14.zip , then unzip wolf3d14.zip to download and unzip the shareware version’s files. Change over to the
directory using cd wolf3d14 . Next, run for i in $(find . -type f -name “*[ A-Z]*”); do mv “$i” “$(echo $i | tr A-Z a-z)”; done , then relocate the data files to the game directory with
mv *.wl1 /home/pi/Chocolate-Wolfenstein-3D . 3. LAUNCH WOLFENSTEIN 3D Use cd .. to switch to the main game directory. The shareware version of Wolfenstein 3D can be launched any time by entering ./ Chocolate-Wolfenstein-3D . Add the parameter
--res 640 480 or similar to adjust the screen resolution. See https://github. com/ fabiensanglard/ Chocolate-Wolfenstein3D/ blob/master/docs/ README.Wolf4SDL.txt#L81 for a full list of command-line parameters.