VectorLinux
July 31, 2014, 09:31:28 pm *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News: Visit our home page for VL info. To search the old message board go to http://vectorlinux.com/forum1. The first VL forum is temporarily offline until we can find a host for it. Thanks for your patience.
 
Now powered by KnowledgeDex.
   Home   Help Search Login Register  
Please support VectorLinux!
Pages: [1]
  Print  
Author Topic: PRBoom and Doom -- HowTo  (Read 2600 times)
MarkGrieveson
Vectorian
****
Posts: 531


« on: August 11, 2012, 12:57:49 pm »

I did get Doom going on my Vector system (using PrBoom).  Make sure you have the package rpm2tgz installed on your system via GSlapt.

I did the following:  
  • Downloaded an rpm file for PrBoom (2.5.0-5.fc15.i686).  Fedora PrBoom 2.5.0-5 worked.  The preceding link is for an x86 system.  For x86-64, try PrBoom (2.5.0-5.fc15.x86_64) --> I assume this would work, though I haven't tried this one.
  • Then ran the command rpm2tgz on it
  • Then right-clicked on the resulting file (prboom-2.5.0-5.fc15.i686.tgz) from within the file manager (Thunar), and selected "Install package" from the menu choices.
  • Then downloaded a wad file from http://www.nongnu.org/freedoom/download.html (I chose the "Complete IWAD", which gave me freedoom-iwad-latest.zip -- decompress this and find the wad file -- in this case, "doom2.wad")
  • Then to the directory /usr/local/share I added, via root with the "mkdir" command, two additional directories, those being "games" and then within this new directory, another one called "doom" (resulting in the directory /usr/local/share/games/doom).  This is from what is instructed here for PRBoom (see "Getting a Doom IWAD").  This is only necessary if these directories don't already exist, which on my system they did not.
  • Then copied the wad file (in this case, "doom2.wad") to /usr/local/share/games/doom
  • Then ran the command "chmod 0755" on the wad file ("doom2.wad") using root
  • Then, as regular user, you should be able to run a game of Doom using the command "prboom"

Custom wads can be used too (IE, like some of the ones that are found here).  Just use the following command:

prboom -iwad doom2.wad -file custom.wad

Note, the location of the custom.wad need not be in the same directory as the doom2.wad.  It can be in your user's directory (the command must properly give the location of the file (aka custom.wad) though).

If you would like to add music to Doom as well, see the next post.

Let me know if there are any issues.  
« Last Edit: December 19, 2012, 08:27:50 pm by MarkGrieveson » Logged

I am using VL7.0 standard with XFCE
MarkGrieveson
Vectorian
****
Posts: 531


« Reply #1 on: August 11, 2012, 10:03:18 pm »

For the music, install SDL_mixer from GSlapt.  Then, follow the instructions as written here (Music).  Basically, get timidity.tar.gz, unpack it in /usr/local/lib, then run the following command:

Code:
ln -s /usr/local/lib/timidity/timidity.cfg /etc/timidity.cfg

Doom should then have music.

There is a timidity++ package in Gslapt, but I tried this and it did not work for Doom.
« Last Edit: August 11, 2012, 10:06:26 pm by MarkGrieveson » Logged

I am using VL7.0 standard with XFCE
stretchedthin
Administrator
Vectorian
*****
Posts: 3780


WWW
« Reply #2 on: August 11, 2012, 10:03:57 pm »

Hey, MarkGrieveson

Nice tut, worked for me.  I even got sound.
Logged

Vectorlinux screencasts and  tutorials can be found at....
http://www.opensourcebistro.com/blog1
http://www.youtube.com/user/vid4ken?feature=mhee
MarkGrieveson
Vectorian
****
Posts: 531


« Reply #3 on: August 11, 2012, 10:09:25 pm »

Thanks stretchedthin, I'm glad to hear it worked.
Logged

I am using VL7.0 standard with XFCE
MarkGrieveson
Vectorian
****
Posts: 531


« Reply #4 on: August 11, 2012, 10:30:05 pm »

--
« Last Edit: August 14, 2012, 02:39:41 am by MarkGrieveson » Logged

I am using VL7.0 standard with XFCE
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2013, Simple Machines Valid XHTML 1.0! Valid CSS!