Difference between revisions of "Installing WA on Linux"

From Worms Knowledge Base

Jump to: navigation, search
m (New page: This tutorial (and a required file related to this tutorial) is provided by MadEwokHerd. Feedback or requests for help should be directed at [http://forum.team17.com/showthread.php?t=28710...)
 
m
Line 11: Line 11:
 
You should have Wine version 0.9.13 or newer installed before starting this process. You can check wine's version by typing
 
You should have Wine version 0.9.13 or newer installed before starting this process. You can check wine's version by typing
  
::wine --version
+
:'''wine --version'''
  
 
If it looks like a date, then it's way too old. If you don't have wine, or it's older than 0.9.13, you should get a newer version. See [http://winehq.org/site/download this site] for help with that.
 
If it looks like a date, then it's way too old. If you don't have wine, or it's older than 0.9.13, you should get a newer version. See [http://winehq.org/site/download this site] for help with that.
Line 29: Line 29:
 
First, open a terminal, and go to the the directory where your cdrom drive is mounted (may differ on your system):
 
First, open a terminal, and go to the the directory where your cdrom drive is mounted (may differ on your system):
  
::cd /media/cdrom/
+
:'''cd /media/cdrom/'''
  
 
Run the installer on the cd:
 
Run the installer on the cd:
  
::wine install/install.exe
+
:'''wine install/install.exe'''
  
 
Use the installer to install the program as you would on Windows. Remember the directory where you installed it. If it asks you to reboot or install directx, say no.
 
Use the installer to install the program as you would on Windows. Remember the directory where you installed it. If it asks you to reboot or install directx, say no.
Line 39: Line 39:
 
Now go back to somewhere where you can create files:
 
Now go back to somewhere where you can create files:
  
::cd
+
:'''cd'''
  
 
Download the WA updater:
 
Download the WA updater:
 
   
 
   
::wget http://www.nanacide.com/wahelp/WA_update-3.6.28.0_Beta_Installer.exe
+
:'''wget http://www.nanacide.com/wahelp/WA_update-3.6.28.0_Beta_Installer.exe'''
  
 
Run the updater:
 
Run the updater:
  
::wine WA_update-3.6.28.0_Beta_Installer.exe
+
:'''wine WA_update-3.6.28.0_Beta_Installer.exe'''
  
 
Don't try to run WA; it won't work just yet. Move on to the next step.
 
Don't try to run WA; it won't work just yet. Move on to the next step.
Line 55: Line 55:
 
This is why you can't run WA in the normal way. Wine has a bug that prevents it from running WA properly. The bug hasn't been fixed yet, but there is a hack you can use to make it run. To install it, go to the directory where you installed WA:
 
This is why you can't run WA in the normal way. Wine has a bug that prevents it from running WA properly. The bug hasn't been fixed yet, but there is a hack you can use to make it run. To install it, go to the directory where you installed WA:
  
::cd ~/.wine/drive_c/MicroProse/Worms\ Armageddon/
+
:'''cd ~/.wine/drive_c/MicroProse/Worms\ Armageddon/'''
  
 
download the archive with ddraw.dll in it:
 
download the archive with ddraw.dll in it:
  
::wget http://www.nanacide.com/wahelp/files/wa_ddraw.tar.bz2 (for users of Wine 0.9.15 and below)
+
:'''wget http://www.nanacide.com/wahelp/files/wa_ddraw.tar.bz2''' (for users of Wine 0.9.15 and below)
::wget http://madewokherd.nfshost.com/worms/wa_ddraw-0.9.XX.tar.bz2 (replace XX with your Wine version)
+
:'''wget http://madewokherd.nfshost.com/worms/wa_ddraw-0.9.XX.tar.bz2''' (replace XX with your Wine version)
  
 
extract it:
 
extract it:
  
::tar -xvjf wa_ddraw.tar.bz2
+
:'''tar -xvjf wa_ddraw.tar.bz2'''
  
 
and move ddraw.dll to the WA directory:
 
and move ddraw.dll to the WA directory:
  
::mv ddraw/ddraw.dll .
+
:'''mv ddraw/ddraw.dll .'''
  
 
== 5. Running WA ==
 
== 5. Running WA ==
Line 74: Line 74:
 
To run WA, go to the directory where you installed it:
 
To run WA, go to the directory where you installed it:
  
::cd ~/.wine/drive_c/MicroProse/Worms\ Armageddon/
+
:'''cd ~/.wine/drive_c/MicroProse/Worms\ Armageddon/'''
  
 
and type the following command:
 
and type the following command:
  
::wine wa.exe /NOINTRO
+
:'''wine wa.exe /NOINTRO'''
  
 
or (to run WA in a window):
 
or (to run WA in a window):
  
::wine explorer /desktop=wa,640x480 wa.exe /NOINTRO
+
:'''wine explorer /desktop=wa,640x480 wa.exe /NOINTRO'''

Revision as of 11:35, 12 February 2008

This tutorial (and a required file related to this tutorial) is provided by MadEwokHerd. Feedback or requests for help should be directed at this thread on the Team17 Forum.

Notes and issues

  • In full screen mode, minimization does not work properly, either in the menus or in-game.
  • In virtual desktop (windowed) mode, the front-end stops responding toinput after closing any dialog. It seems to be safe to close the WineDesktop window in this case.
  • With wine 0.9.42, virtual desktop mode is unusable, but fullscreen mode is fine.

1. Getting Wine

You should have Wine version 0.9.13 or newer installed before starting this process. You can check wine's version by typing

wine --version

If it looks like a date, then it's way too old. If you don't have wine, or it's older than 0.9.13, you should get a newer version. See this site for help with that.

2. Setting up for Wine

Run winecfg, select the Drives tab. Select your cd drive. If it's not there, add it (on a modern Linux distro, you should be able to use /media/cdrom).

Click the Advanced button, and make sure your cd-rom drive's type is set to "CD-ROM".

You may also want to configure your sound here. People seem to recommend OSS, but I've personally had better luck with ALSA. No one really uses the other drivers. You should probably start with OSS and then try ALSA if the sound doesn't work right.

3. Installing/Patching/Updating WA

Warning: DO NOT INSTALL WA AS ROOT. Not only is running Wine as root a bad idea, installing WA as root will not work. So don't try it.

First, open a terminal, and go to the the directory where your cdrom drive is mounted (may differ on your system):

cd /media/cdrom/

Run the installer on the cd:

wine install/install.exe

Use the installer to install the program as you would on Windows. Remember the directory where you installed it. If it asks you to reboot or install directx, say no.

Now go back to somewhere where you can create files:

cd

Download the WA updater:

wget http://www.nanacide.com/wahelp/WA_update-3.6.28.0_Beta_Installer.exe

Run the updater:

wine WA_update-3.6.28.0_Beta_Installer.exe

Don't try to run WA; it won't work just yet. Move on to the next step.

4. Installing a modified ddraw.dll

This is why you can't run WA in the normal way. Wine has a bug that prevents it from running WA properly. The bug hasn't been fixed yet, but there is a hack you can use to make it run. To install it, go to the directory where you installed WA:

cd ~/.wine/drive_c/MicroProse/Worms\ Armageddon/

download the archive with ddraw.dll in it:

wget http://www.nanacide.com/wahelp/files/wa_ddraw.tar.bz2 (for users of Wine 0.9.15 and below)
wget http://madewokherd.nfshost.com/worms/wa_ddraw-0.9.XX.tar.bz2 (replace XX with your Wine version)

extract it:

tar -xvjf wa_ddraw.tar.bz2

and move ddraw.dll to the WA directory:

mv ddraw/ddraw.dll .

5. Running WA

To run WA, go to the directory where you installed it:

cd ~/.wine/drive_c/MicroProse/Worms\ Armageddon/

and type the following command:

wine wa.exe /NOINTRO

or (to run WA in a window):

wine explorer /desktop=wa,640x480 wa.exe /NOINTRO
Personal tools