Modern linux version of DOOM
- X11 code rewrite
- OpenAL sounds
- Fluidsynth / ALSA MIDI music
- X11
- OpenAL
- FluidSynth or ALSA for music
- OpenGL + GLEW (not strictly necessary, see below)
If you want to use FluidSynth, you will also need a soundfont.
Recommended: https://archive.org/download/SC55EmperorGrieferus/Roland%20SC-55%20v3.7.sf2
You're going to need a WADfile for playing DOOM. I recommend you buy a copy of the original game through Steam.
(By the way, DOOM Eternal also gives you the WADs for DOOM I and II)
- Clone the code
- Edit the
SOUNDFONT=line in theMakefileto point to the soundfont you wish to use - Make sure the line
USE_FLUIDSYNTH=1is not commented out (so make sure that it does not have a hashtag in front of it) - Make sure that the
MUSIC_TYPEis set tofluidsynth.
- Edit the
MIDI_PORT=line in theMakefileto the MIDI port that your MIDI synthesizer uses (You can find the connected MIDI device ports by runningaplaymidi -l) - Make sure the line
USE_ALSA_SEQ=1is not commented out (so make sure that it does not have a hashtag in front of it) - Make sure that the
MUSIC_TYPEis set toalsa_seq.
- Compile with
make(you might need to runmake -Bif you've changed theMakefile) - Put the WADfile in the
wadsfolder - Run
make run - Have fun!
- You can use WASD to move around and use your mouse to look left/right.
- The interact key is
E. - Sprinting is on
LSHIFT. - You can shoot with the left mouse button.
You can go back to the original movement by disabling the -DFPSMOVE flag in the Makefile.
The old mouse movement can be enabled in the Makefile with the -DMOUSEMOVE flag.
After changing the Makefile, run make -B to recompile.
This project uses OpenGL to accelerate image processing and to display the image. (no actual graphics rewrite)
An older version of OpenGL using immediate mode can be enabled by uncommenting the GL2=1 line in the Makefile.
Alternatively X11 primitives can be used for rendering by commenting out the line USE_OPENGL=1.
Again, you'll need to run make -B to recompile.
This project is licensed under the GPLv2 license.
See LICENSE for a copy of the text.