Linux Format

Recipe for Chocolate Doom

-

1 Install dependenci­es

Your Pi will need certain programs to compile Chocolate Doom. Open Terminal from Applicatio­ns>Accessorie­s>Terminal or connect to the Pi via SSH and install these with the following command: sudo apt-get install libsdl-mixer1.2-dev libsdl-net1.2-dev pythonimag­ing

Press Y when you are asked to confirm that you wish to proceed with the install.

3 Compile Chocolate Doom

Use the cd command to switch to the newly created directory: cd chocolate-doom-2.2.1

Next, run configure to prepare the necessary files. Now run make to begin compiling them. This can take some time, so feel free to take a break. Once this has completed run the following command to actually install the program: sudo make install

5 Run the Doom setup procedure

Use the following command to launch setup: chocolate-doom-setup -WAD DOOM1.wad

You can use this to configure the display, sound, keyboard layout, mouse and even a gamepad if you have one. Technicall­y, you can use this screen to host and join multiplaye­r deathmatch­es as well, but it’s easier just to do this from the command line. See box ( opposite).

2 Download and extract

Go to www.chocolate-doom.org/wiki/index.php/Downloads and use the wget command in the Pi’s Terminal to download it. At the time of writing, for instance, this would be: wget https://www.chocolate-doom.org/downloads/2.2.1/chocolated­oom-2.2.1.tar.gz Once the file has downloaded, extract it using tar – for example: tar xzf chocolate-doom-2.2.1.tar.gz

4 Download WAD file (or files)

Download the shareware version of Doom, using wget . Make sure you are still inside the Chocolate Doom folder and run the following: wget http://www.doomworld.com/3ddownload­s/ports/shareware_ doom_WAD.zip

Once the file has downloaded, extract it by running the following: unzip shareware_doom_WAD.zip You’ll see that the resulting file is called DOOM1.WAD.

6 Run Chocolate Doom

To launch Doom run the following: chocolate-doom -WAD DOOM1.WAD Doom will launch in full-screen mode, which can place a strain on the Pi, so consider opening it in a window with this command:

chocolate-doom -WAD DOOM1.WAD -window 640x480 If you have a different WAD file, replace DOOM1.WAD with its name.

 ??  ??
 ??  ??
 ??  ??
 ??  ??
 ??  ??
 ??  ??

Newspapers in English

Newspapers from Australia