Difference between revisions of "Setting Odamex up on Debian"

From OdaWiki
(Somewhat detailed instructions for the Debian package)
 
(I hate wiki syntax)
Line 1: Line 1:
 +
==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.
 
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 ===
+
==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  
 
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  
  
Line 11: Line 12:
 
''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''
 
''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 ===
+
==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
 
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
  
Line 18: Line 19:
 
You also must run this as a user with ''sudo'' or as root.
 
You also must run this as a user with ''sudo'' or as root.
  
=== Installing a(n) IWAD/PWAD or other game related data ===
+
==Installing a(n) IWAD/PWAD or other game related data==
 
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:  
 
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:  
  

Revision as of 03:52, 3 June 2008

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.

Installing a(n) IWAD/PWAD or other game related data

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