This guide will show you how to edit the maps in Wolfenstein 3D, one of the greatest FPS's of all time :D . First, you need to install dosbox:
sudo aptitude update && sudo aptitude install dosbox
http://www.dosgamesarchive.com/download/download.php?id=15
For the purposes of this tutorial, I'll assume you downloaded the game from this source. Extract the archive and cd to its content (watch out, it's a little tarbomb) :
mkdir wolf
mv wolf3d.zip wolf
cd wolf
unzip wolf3d.zip
dosbox ~/wolf/DEICE.EXE
We need to execute the new "WOLF.EXE" file with dosbox:
dosbox ~/wolf/WOLF3D/WOLF.EXE
Next, we need to setup the map editor. I use NMAP. You can get it here: http://toastytech.com/files/nmap.zip
And read the documentation here: http://toastytech.com/files/nmap.txt
The easiest way to do this is as follows:
cd
wget http://toastytech.com/files/nmap.zip
mkdir nmap
mv nmap.zip nmap
cd nmap
unzip nmap.zip
cp ~/wolf/WOLF3D/GAMEMAPS.WL1 ~/nmap/
cp ~/wolf/WOLF3D/MAPHEAD.WL1 ~/nmap/
dosbox ~/nmap/NMAP.EXE
cp ~/wolf/WOLF3D/GAMEMAPS.WL1 ~/wolf/WOLF3D/GAMEMAPS.WL1.original
cp ~/wolf/WOLF3D/MAPHEAD.WL1 ~/wolf/WOLF3D/MAPHEAD.WL1.original
cp -i ~/nmap/GAMEMAPS.WL1 ~/wolf/WOLF3D/GAMEMAPS.WL1
cp -i ~/nmap/MAPHEAD.WL1 ~/wolf/WOLF3D/MAPHEAD.WL1
NOTE: If you didn't get the game files from the above link, you may need to edit ~/nmap/NMAP.CFG -- make the first character a "0" if you have version 1.0 of Wolf 3D.
If you have any problems following this guide, please let me know and I will do my best to help.