Install DOOM II in Linux

Started by Saturn, August 18, 2016, 03:25:41 AM

Previous topic - Next topic

Saturn

Compiled some info on how to run this incredible game in Linux. Following are the easiest methods I could come up with 8)

There are two methods listed here, DOSBox (easiest) and Wine (not much harder)

To run via DOSBox:
Install DOSBox via Terminal:
sudo apt-get install dosbox
or
[spoiler]Click Menu (button at extreme lower left corner of screen)-System Tools-Lubuntu Software Center
Type dosbox in the search field
Double click DOSBox Emulator to add it to the Apps Basket
Click Install Packages[/spoiler]

Download Doom 2 & unzip the archive. It should unzip to a folder named doom2 by default.
Move the doom2 folder to your home directory.
To configure the controls using W,A,S,D for directional keys, click the spoiler for details. Otherwise, skip this step to run the game as is :)
[spoiler]REF To 'fix' the controls for a modern feel, open the doom2 folder and double click Default.cfg to open it in a text editor. Replace the #s next to:
key_right      77
key_left      75
key_up      72
key_down      80
to make them say:
key_right      32
key_left      30
key_up      17
key_down      31
This will give a regular feel instead of trying to use the directional arrows (even though the mouse works great as is). Pressing and holding ctrl or the left mouse button to strafe. For any other changes or customizations, the charts on this page can help.[/spoiler]
Via Terminal:
cd doom2
dosbox Doom2.exe

or
dosbox Doom2.exe -fullscreen

Now for the good stuff 8)
Cheat Codes:
Enter in the following cheat codes during gameplay for the desired effect.
Cheat:    Effect:
iddqd -- God Mode
idkfa -- All Weapons/Ammo/Keys
idclip -- No Clipping Mode
idfa -- All Weapons/Ammo
IDBEHOLDS -- Beserk Pack
idclev31 -- Bonus Level
IDMUSxx -- Choose Game BGM (xx being a number)
IDBEHOLDA -- Computer Area Map
FHHALL -- Destroys all enemies except Lost Souls
IDDT -- Entire Map
IDBEHOLDI -- Invisibility
FHSHH -- Invisible to Enemies Until You Attack
IDBEHOLDV -- Invulnerability
IDCLEV xx -- Level Warp (Where xx is the level number, like 05)
IDBEHOLDL -- Light Amp Goggles
FHSHH -- Makes you completely invisible to all enemies until you shoot
IDBEHOLDR -- Radiation Suit
idchoppers -- Replace fists with Chainsaw
idmypos -- Show Position in Code
idclev32 -- Wolfenstein 3D Level

In map mode, hit IDDT *TWICE* to see all objects, you, monsters, items, and all, in the form of little triangles.
Cheat:    Effect:
iddt, iddt -- View all objects

To end a game:
Press Esc, up or down arrow to Quit Game, press Enter, press Y
To exit DOSBox:
Type exit and press Enter



To install/run via Wine:
Install Wine (if you haven't already):
[spoiler](can take a while)
Install via Terminal: (recommended bc of the updated repository; ref)
sudo add-apt-repository ppa:ubuntu-wine/ppa
sudo apt-get update
sudo apt-get install wine
(To accept the EULA Agreement about half way through the install (if prompted), hit Tab to highlight OK in red & hit Enter. Do the same for the next prompt but left arrow over to Yes)[/spoiler]

Download Doom 2 & unzip the archive. It should unzip to a folder named doom2 by default.
Move the doom2 folder to your home directory.
To configure the controls using W,A,S,D for directional keys, click the spoiler for details. Otherwise, skip this step to run the game as is :)
[spoiler]REF To 'fix' the controls for a modern feel, open the doom2 folder and double click Default.cfg to open it in a text editor. Replace the #s next to:
key_right      77
key_left      75
key_up      72
key_down      80
to make them say:
key_right      32
key_left      30
key_up      17
key_down      31
This will give a regular feel instead of trying to use the directional arrows (even though the mouse works great as is). Pressing and holding ctrl or the left mouse button to strafe. For any other changes or customizations, the charts on this page can help.[/spoiler]

Via Terminal:
cd doom2
wine setup.exe

Can leave all the settings as default and save/run the game
To open the game from a new Terminal type:
cd doom2
wine doom2.exe