Difference between revisions of "WarCraft III"

From ArchWiki
Jump to: navigation, search
(Created page with 'Category:Games and entertainment (English) Category:Wine (English) Category:HOWTOs (English) {{i18n_links_start}} {{i18n_entry|English|Warcraft III}} {{i18n_links_en...')
 
Line 3: Line 3:
 
[[Category:HOWTOs (English)]]
 
[[Category:HOWTOs (English)]]
  
{{i18n_links_start}}
+
Warcraft III is a real-time strategy game created by Blizzard Entertainment. This article will describe how install and run it and its addon The Frozen Throne on Arch Linux using [[Wine]].
{{i18n_entry|English|Warcraft III}}
+
{{i18n_links_end}}
+
  
''' This article is outdated and in bad shape. I am going to clean it up a bit. --[[User:Zearan|Zearan]] 05:48, 21 March 2009 (EDT)'''
 
  
 +
==Introduction==
  
'''WarCraft III is broken in general (Campaign freeze, load freeze, no Battle.net, replay freeze, etc) as of wine version 0.9.46+ If you want to play WarCraft III under wine you should get version 0.9.45. PKGBUILD is in [http://bbs.archlinux.org/viewtopic.php?id=38802 this] thread.'''
+
Warcraft III can be run with full OpenGL support, meaning you don't need the non-free [[Cedega]]. All you need is Wine.
  
'''EDIT: Wine 0.9.51 has just been reliased and I compiled it and tested War 3 with it and it finaly works! No need to use version 0.9.45 anymore! Upgrade as soon as that version hits arch repos ;) (or change the first line in the original PKGGBUILD and the md5sums.'''
+
===Installing Wine===
  
'''EDIT 2: Wine 0.9.54 has just been reliased and sadly WarCraft III/Frozen Throne are completely broken now... you cannot even launch the game... I recommend you not to upgrade your wine to this version if you wish to play War 3... There are no known fixes of this issues as it was reported a matter of hours ago (16:34 26.01.2008)'''
+
Wine is available in the [extra] repository:
  
'''EDIT 3: On my machine Warcraft III is just working fine (Monday, November 03 2008, WINE 1.1.7)'''
+
pacman -S wine
  
Warcraft III is a 3D RTS game created by Blizzard: [http://www.blizzard.com/war3/ Main Site].
+
If you need any further help check out the [[Wine]] article. You will also want to run 'winecfg' and change a few settings to your liking before running the install CD.
  
This article will describe how install and run it on Arch Linux using [http://winehq.org/ Wine].
+
==Configuring wine==
  
 +
This shows you how to configure Wine before installing Warcraft III and The Frozen Throne.
  
==Introduction==
+
===Windows version===
  
Warcraft III can be run with full OpenGL support, meaning you don't need the non-free [http://www.transgaming.com/products_linux.php Cedega].  Warcraft III can be run perfectly using Wine itself, which allows you to '''NOT''' pay for Cedega, and also allows you to support free, open source software.
+
In order to make copy protection work under Wine you must switch your Windows version to 2000 or XP.
  
===Installing Wine===
 
Currently, you're going to want to install [http://bbs.archlinux.org/viewtopic.php?id=38802 Wine 0.9.45]. At the time of this writing, 0.9.53 is available in the Arch repos.  I recommend you use [[ABS - The Arch Build System]] to install 0.9.45 as battle.net is broken in version 0.9.46+,partially fixed in versions 0.9.51 to 0.9.53 (you are unable to host games) and WarCraft III is completely broken in 0.9.54 (you can't even launch the game in 0.9.54)
 
You'll also want to run 'winecfg' and change a few settings to your liking before running the install CD.
 
 
==Configuring wine==
 
This shows you how to configure wine before installing WarCraft III and The Frozen Throne
 
===Windows version===
 
In order to make copy protection work under wine you must switch your windows version to Xp or 2000.
 
 
===Audio===
 
===Audio===
Both OSS and ALSA work (Although on my specific hardware many games including WarCraft III and Heroes 3 just crash with alsa. This is a wine issue on certain hardware and If alsa doesn't work for you (You're shown black screen after game launch) The switch to OSS)
+
 
'''NOTE: Using aoss makes sound glitch every three seconds so I don't recomend to use it.'''
+
Both OSS and ALSA work. If you expierence difficulties with ALSA you may want to switch to OSS. Please note that aoss can make your sound glitch every three seconds so it is not recommend to use it.
 +
 
 
===Devices===
 
===Devices===
In order for the Copy Protection to work you must add a cdrom device:
+
 
Add device, set path to /mnt/cd (or whatever you use when you mount cdrom) and change the device type to cdrom.
+
In order for the copy protection to work you must add a CD-ROM device:
 +
Add a device, set path to /media/cdrom (or whatever you use when you mount CDs) and change the device type to "CD-ROM".
  
 
==Installation==
 
==Installation==
The following process will detail how to install Warcraft III, and the expansion 'The Frozen Throne', update to the current version '''[Version 1.21a as of this writing]'''.
 
  
===Installing Warcraft III, The Reign of Chaos===
+
The following process will detail how to install Warcraft III and the expansion The Frozen Throne and update to the current version.
This is rather simple.  I '''DO NOT''' support cracked versions of this game.  Buy the game, it's not expensive, and Battle.net is free to use.
+
  
* Place the CD in your drive, and mount it (or let it automount if that's how your machine is setup)
+
===Installing Warcraft III: The Reign of Chaos===
 +
This is rather simple. '''DO NOT''' use cracked versions of this game. They may need further adjustment before they run.
 +
 
 +
* Place the CD in your drive and mount it (or let it automount if that's how your machine is setup).
 +
* Open a terminal and change in the directory of the CD.
 
* Run
 
* Run
  wine /path/to/cd/install.exe
+
  wine install.exe
* Follow the dialog boxes and enter your Key when it asks for it.
+
* Follow the dialog boxes of the setup and enter your key when it asks for it.
 +
* Do not forget to leave the directory or you may have problems getting your CD back from your computer.
 +
 
 +
===Installing Warcraft III: The Frozen Throne===
 +
 
 +
Please follow the same procedure as above, using the CD of The Frozen Throne instead.
 +
 
 +
===Upgrading to the current version===
 +
 
 +
You can try updating via Battle.net or use an offline patch. For the first solution just hit the Battle.net button in the main menu after you have started the game. Be sure you have read the post installation tipps before running Warcraft III the first time. If you want to patch offline, follow these steps:
 +
 
 +
*Look [http://us.blizzard.com/support/article.xml?articleId=20673 here] for the patch.
 +
*Download the current patch and save it in the directory you installed Warcraft III.
 +
*Open a terminal, change into that directory and run the patch via
 +
wine <patchname>.exe
 +
 
 +
If you have patched to version 1.22 or higher you do not need your CD anymore for starting the game.
 +
 
 +
==Post installation tricks==
 +
 
 +
There are some things you might want to fix before running Warcraft III the first time because they still can cause you trouble. If one of the following registry keys or values does not exist, simply create it.
 +
 
 +
===Disabling intro movies===
 +
 
 +
The movies are not displayed correctly and cannot be aborted. So we set them to be already seen.
 +
 
 +
*Open a terminal, run
 +
regedit
 +
*Go to
 +
HKEY_CURRENT_USER\Software\Blizzard Entertainment\Warcraft III\Misc
 +
*Set "seenintromovie" to "1".
 +
 
 +
===Widescreen resolution===
 +
 
 +
The option menu of Warcraft III does not support high widescreen resolutions. If you want to use one you have to put it in the registry by hand. Please note that you will loose this setting if you enter the options menu inside Warcraft III because it will overwrite your setting with the highest value it is capable of.
 +
 
 +
*Open a terminal, run
 +
regedit
 +
*Go to
 +
HKEY_CURRENT_USER\Software\Blizzard Entertainment\Warcraft III\Video
 +
*Set "resheigth" and "reswidth" to whatever you prefer. Pay attention that you can enter either hexadecimal or decimal values.
 +
 
 +
===Alt key combo===
 +
 
 +
If you like to use [Alt] + left click for minimap signal and you are using KDE or Gnome you will find that this feature does not work due to keyboard shortcuts with [Alt] that your desktop environment uses.
 +
 
 +
====Gnome====
 +
The option to change the key binding is in System -> Preferences -> Windows.
 +
 
 +
====KDE====
 +
Go into KDE Control Center, expand Desktop, click window behavior, then click window actions tab. You can turn off the alt combos. If you want to make window specific settings, click on window specific settings under window behavior on the side.
  
===Installing Warcraft III, The Frozen Throne===
 
Please follow the '''exact same''' process outlined in [[#Installing Warcraft III, The Reign of Chaos]], using the Frozen Throne CD instead.
 
  
===Upgrading to the Current Patch Level : 1.21a===
+
==Running Warcraft III==
I didn't test whether you can update directly via Battle.net but if you cannot download and apply patch manually:
+
[http://www.blizzard.com/SUPPORT/?id=mwr0744p Find patches here]
+
Download War3TFT_121a_English.exe and run:
+
wine /path/to/War3TFT_121a_English.exe
+
  
You have now successfully patched your installation.
+
You can now run Warcraft III. You can check if the installer has made you an starter in your applications menu. If so, you can use it. If you have any problems you may want to check the command to start Warcraft III. The path to your Warcraft III folder can be different depending on the location of your wine folder and the installation path of Warcraft III.
You can now launch the game: (note that you need your original cd inserted)
+
wine /path/to/Frozen\ Throne.exe -opengl
+
  
===Post installation tricks===
+
====Warcraft III: The Reign of Chaos====
====Default launch with OpenGl rendering====
+
If you want the WarCraft III to launch by default with opengl rendering (Direct3D rendering is slow, but playable) run
+
wine regedit
+
Got to [HKEY_CURRENT_USER\Software\Blizzard Entertainment\Warcraft III]
+
Add a dword key with Name '''Gfx OpenGL''' and value '''00000001'''
+
====Alt key combo====
+
If you like to use alt+left click for minimap signal and you are using KDE/Gnome you'll find that this feature doesn't work due to keyboard shortcuts with alt, that your Desktop Environment uses:
+
  
If you're using gnome:
+
wine ~/.wine/drive_c/Program\ Files/Warcraft\ III/war3.exe -opengl
'''The option to change the key binding is in System Menu -> Preferences Menu -> Windows.'''
+
  
If you're using KDE:
+
====Warcraft III: The Frozen Throne====
'''Go into KDE Control Center, expand Desktop, click window behavior, then click window actions tab. You can turn off the alt-combos. If you want to make window specific settings, click on window specific settings under window behavior on the side.'''
+
  
==Fin==
+
wine ~/.wine/drive_c/Program\ Files/Warcraft\ III/Frozen\ Throne.exe -opengl
Congratulations. You should now be able to run Warcraft III under Arch Linux.  I'd highly recommend you take a look at the mod "Defense of the Ancients" (DotA for short).  You won't regret it.
+
  
Enjoy!
+
You may not need the -opengl parameter if your Direct3D rendering is fast enough. Please test this for yourself.

Revision as of 11:01, 21 March 2009


Warcraft III is a real-time strategy game created by Blizzard Entertainment. This article will describe how install and run it and its addon The Frozen Throne on Arch Linux using Wine.


Introduction

Warcraft III can be run with full OpenGL support, meaning you don't need the non-free Cedega. All you need is Wine.

Installing Wine

Wine is available in the [extra] repository:

pacman -S wine

If you need any further help check out the Wine article. You will also want to run 'winecfg' and change a few settings to your liking before running the install CD.

Configuring wine

This shows you how to configure Wine before installing Warcraft III and The Frozen Throne.

Windows version

In order to make copy protection work under Wine you must switch your Windows version to 2000 or XP.

Audio

Both OSS and ALSA work. If you expierence difficulties with ALSA you may want to switch to OSS. Please note that aoss can make your sound glitch every three seconds so it is not recommend to use it.

Devices

In order for the copy protection to work you must add a CD-ROM device: Add a device, set path to /media/cdrom (or whatever you use when you mount CDs) and change the device type to "CD-ROM".

Installation

The following process will detail how to install Warcraft III and the expansion The Frozen Throne and update to the current version.

Installing Warcraft III: The Reign of Chaos

This is rather simple. DO NOT use cracked versions of this game. They may need further adjustment before they run.

  • Place the CD in your drive and mount it (or let it automount if that's how your machine is setup).
  • Open a terminal and change in the directory of the CD.
  • Run
wine install.exe
  • Follow the dialog boxes of the setup and enter your key when it asks for it.
  • Do not forget to leave the directory or you may have problems getting your CD back from your computer.

Installing Warcraft III: The Frozen Throne

Please follow the same procedure as above, using the CD of The Frozen Throne instead.

Upgrading to the current version

You can try updating via Battle.net or use an offline patch. For the first solution just hit the Battle.net button in the main menu after you have started the game. Be sure you have read the post installation tipps before running Warcraft III the first time. If you want to patch offline, follow these steps:

  • Look here for the patch.
  • Download the current patch and save it in the directory you installed Warcraft III.
  • Open a terminal, change into that directory and run the patch via
wine <patchname>.exe

If you have patched to version 1.22 or higher you do not need your CD anymore for starting the game.

Post installation tricks

There are some things you might want to fix before running Warcraft III the first time because they still can cause you trouble. If one of the following registry keys or values does not exist, simply create it.

Disabling intro movies

The movies are not displayed correctly and cannot be aborted. So we set them to be already seen.

  • Open a terminal, run
regedit
  • Go to
HKEY_CURRENT_USER\Software\Blizzard Entertainment\Warcraft III\Misc
  • Set "seenintromovie" to "1".

Widescreen resolution

The option menu of Warcraft III does not support high widescreen resolutions. If you want to use one you have to put it in the registry by hand. Please note that you will loose this setting if you enter the options menu inside Warcraft III because it will overwrite your setting with the highest value it is capable of.

  • Open a terminal, run
regedit
  • Go to
HKEY_CURRENT_USER\Software\Blizzard Entertainment\Warcraft III\Video
  • Set "resheigth" and "reswidth" to whatever you prefer. Pay attention that you can enter either hexadecimal or decimal values.

Alt key combo

If you like to use [Alt] + left click for minimap signal and you are using KDE or Gnome you will find that this feature does not work due to keyboard shortcuts with [Alt] that your desktop environment uses.

Gnome

The option to change the key binding is in System -> Preferences -> Windows.

KDE

Go into KDE Control Center, expand Desktop, click window behavior, then click window actions tab. You can turn off the alt combos. If you want to make window specific settings, click on window specific settings under window behavior on the side.


Running Warcraft III

You can now run Warcraft III. You can check if the installer has made you an starter in your applications menu. If so, you can use it. If you have any problems you may want to check the command to start Warcraft III. The path to your Warcraft III folder can be different depending on the location of your wine folder and the installation path of Warcraft III.

Warcraft III: The Reign of Chaos

wine ~/.wine/drive_c/Program\ Files/Warcraft\ III/war3.exe -opengl

Warcraft III: The Frozen Throne

wine ~/.wine/drive_c/Program\ Files/Warcraft\ III/Frozen\ Throne.exe -opengl

You may not need the -opengl parameter if your Direct3D rendering is fast enough. Please test this for yourself.