Setting Odamex up on Debian
Contents
Setting up Odamex on Debian
As of 0.4, Odamex has an [official/unofficial] Debian package. The package operates differently from the Archlinux package and has a few different things you should check before you post a bug.
Setting up aliases for .bashrc
Because the Debian package does not use sed to set a static wad directory, you will have to run Odamex with the .desktop file included with the package or you can setup your bash configuration to automatically add the -waddir argument. To do this, you would need to run
echo "alias odamex='/usr/bin/odamex -waddir /usr/share/doom'" >> ~/.bashrc echo "alias odasrv='/usr/bin/odasrv -waddir /usr/share/doom'" >> ~/.bashrc source ~/.bashrc
Optionally, you can change the directory set as the waddir to wherever you house your game files.
Note: if you change the directory to a custom setting, you have to cp /usr/share/doom/odamex.wad to the directory you set, otherwise Odamex will not run
Setting up midi playback
Without any midi sequencer setup, Odamex has strange effects in Debian-based systems. To eliminate this, if you haven't already setup a midi sequencer or an emulation software, this command will grab and install Timidity for you
apt-get install timidity
You also must run this as a user with sudo or as root.
By default, the .desktop files installed with the package use the wad directory /usr/share/doom/ to look for data. This directory is also protected by permissions (unless you chown it). If you want to be able to write to this directory yourself (and nobody else) you can safely run:
chown -R <your username> /usr/share/doom/
If you choose not to change the ownership of the directory (and its contents), you will have to copy all of the game data with sudo or as root. If you changed the directory to something else in the .bashrc section, you can copy the data over with cp