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...')
 
(the AcceptEx patch was merged into Wine, so this should be solved)
(47 intermediate revisions by 14 users not shown)
Line 1: Line 1:
[[Category:Games and entertainment (English)]]
+
[[Category:Gaming]]
[[Category:Wine (English)]]
+
[[Category:Wine]]
[[Category:HOWTOs (English)]]
+
[[sr:WarCraft III]]
 +
{{Article summary start|Summary}}
 +
{{Article summary text|Warcraft III installation guide.}}
 +
{{Article summary end}}
  
{{i18n_links_start}}
+
==Introduction==
{{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)'''
+
WarCraft III is a real-time strategy game created by Blizzard Entertainment. This article will describe how to install and run it and its addon The Frozen Throne on Arch Linux using [[Wine]].
 +
WarCraft III can be run with full OpenGL support, meaning you do not need the non-free [[Cedega]].
  
 +
==Installing Wine==
  
'''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.'''
+
Wine is available in the [extra] repository:
  
'''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.'''
+
pacman -S 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)'''
+
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.
 +
A WarCraft III specific Wine version exists in AUR, both in stable and development version. See [https://aur.archlinux.org/packages.php?ID=33231 here] and [https://aur.archlinux.org/packages.php?ID=27298 here] for more information.
  
'''EDIT 3: On my machine Warcraft III is just working fine (Monday, November 03 2008, WINE 1.1.7)'''
+
==Configuring Wine==
  
Warcraft III is a 3D RTS game created by Blizzard: [http://www.blizzard.com/war3/ Main Site].
+
This shows you how to configure Wine before installing WarCraft III and The Frozen Throne.
  
This article will describe how install and run it on Arch Linux using [http://winehq.org/ Wine].
+
===Windows version===
  
 +
In order to make copy protection work under Wine you must switch your Windows version to 2000 or XP.
  
==Introduction==
+
===Audio===
 
+
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.
+
  
===Installing Wine===
+
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.
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===
 
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.'''
 
 
===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 finally 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.
 +
 
 +
* 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.
 +
 
 +
==Running WarCraft III==
 +
 
 +
You can now run WarCraft III. You can check if the installer has made you a 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.
  
===Installing Warcraft III, The Frozen Throne===
+
====WarCraft III: The Reign of Chaos====
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===
+
wine ~/.wine/drive_c/Program\ Files/Warcraft\ III/war3.exe -opengl
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.
+
====WarCraft III: The Frozen Throne====
You can now launch the game: (note that you need your original cd inserted)
+
wine /path/to/Frozen\ Throne.exe -opengl
+
  
===Post installation tricks===
+
  wine ~/.wine/drive_c/Program\ Files/Warcraft\ III/Frozen\ Throne.exe -opengl
====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:
+
You do not need the -opengl parameter if your Direct3D rendering is fast enough. Please test this for yourself.
'''The option to change the key binding is in System Menu -> Preferences Menu -> Windows.'''
+
  
If you're using KDE:
+
==Troubleshooting==
'''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==
+
===Patch 1.23===
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.
+
To login to battle.net with the latest version of wine make sure you have lib32-gnutls or gnutls installed.
  
Enjoy!
+
==See also==
 +
* [[Wine]]
 +
* [http://appdb.winehq.org/objectManager.php?sClass=application&iId=897 WineHQ's AppDB entry]
 +
* [[Snoopy]]

Revision as of 02:57, 16 December 2012

Summary help replacing me
Warcraft III installation guide.

Introduction

WarCraft III is a real-time strategy game created by Blizzard Entertainment. This article will describe how to install and run it and its addon The Frozen Throne on Arch Linux using Wine. WarCraft III can be run with full OpenGL support, meaning you do not need the non-free Cedega.

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. A WarCraft III specific Wine version exists in AUR, both in stable and development version. See here and here for more information.

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 finally update to the current version.

Installing WarCraft III: The Reign of Chaos

This is rather simple. DO NOT use cracked versions of this game.

  • 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 a 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 do not need the -opengl parameter if your Direct3D rendering is fast enough. Please test this for yourself.

Troubleshooting

Patch 1.23

To login to battle.net with the latest version of wine make sure you have lib32-gnutls or gnutls installed.

See also