https://wiki.archlinux.org/api.php?action=feedcontributions&user=Fusion1997&feedformat=atomArchWiki - User contributions [en]2024-03-29T07:37:37ZUser contributionsMediaWiki 1.41.0https://wiki.archlinux.org/index.php?title=Starcraft2&diff=115844Starcraft22010-08-29T07:50:24Z<p>Fusion1997: /* References and Resources */</p>
<hr />
<div>==Environment==<br />
<br />
<br />
====You need Kernel <= 2.6.32 or kernel>=2.6.35====<br />
{{Note|core/kernel26 is up to date (both i686 and x86_64). Just make sure to run pacman -Syu and reboot.}}<br />
<br />
Without such a kernel, you will get one of these errors at the start most of the time:<br />
PRIV_INSTRUCTION, ACCESS_VIOLATION or Internal Battle.net Error<br />
<br />
====Wine >= 1.2====<br />
You need wine >= 1.2. community/wine is recent enough.<br />
$ pacman -S wine<br />
<br />
====Configure Wine====<br />
*For normal sound output:<br />
$ winecfg<br />
Go to Libraries, add "mmdevapi" and set it to "disabled".<br />
*Or you can install openal, in which case the mmdevapi setting isn't required:<br />
# pacman -S openal<br />
# pacman -S lib32-openal (this line is only necessary for x86_64)<br />
*Install libjpeg and libldap:<br />
# pacman -S libjpeg libldap<br />
# pacman -S lib32-libjpeg lib32-libldap (this line is only necessary for x86_64)<br />
*Tell wine how much memory your graphics card has (to avoid some graphics problems that may appear after a while):<br />
$ regedit<br />
Go to HKEY_CURRENT_USER/Software/Wine/Direct3D<br />
Right-click on Direct3D, select New -> String Value<br />
Name it VideoMemorySize, set it to the amount of memory your graphics card has (such as 128, 256, 768 or whatever you have).<br />
*For Map-Editor: <br />
**The latest winetricks can be found at [http://winezeug.googlecode.com/svn/trunk/winetricks http://winezeug.googlecode.com/svn/trunk/winetricks], download and start:<br />
$ sh winetricks vcrun2005 vcrun2008<br />
*To get rid of some warnings that may or may not matter, you may want to install the following on x86_64:<br />
# pacman -S lib32-esound lib32-mpg123 lib32-jack<br />
*Don't emulate a virtual desktop for the installer.<br />
*If the installer doesn't work, backup and remove your .wine directory.<br />
*If you are asked to install Gecko, then click install to do so.<br />
*If the installer hangs while downloading patch 1.03, install ie6, and set the wine version to windows XP:<br />
$ sh winetricks ie6<br />
$ winecfg<br />
Go to Applications, set Windows Version to "Windows XP"<br />
<br />
==Installing StarCraft II==<br />
<br />
<br />
====Installing from DVD====<br />
*Mount DVD/DVD Image, (unhide invisible data), for example:<br />
$ mount -o ro,unhide,uid=1000 /dev/dvd /media/dvd (for the DVD)<br />
$ mount -o loop,ro,unhide,uid=<your_id> <starcraft.iso> /media/dvd (for an image) <br />
*Start the installer:<br />
$ wine /media/dvd/Installer.exe<br />
<br />
====Blizzard Downloader====<br />
*Get the downloader from your [http://battle.net battle.net] account (you need to log in).<br />
*You may want to go to View -> Preferences and check "Don't throttle background download".<br />
*During the install, you will need about twice the space of the installed game, since it downloads to a temporary directory (of your choice) before installing. This directory can be deleted after install.<br />
<br />
==Playing StarCraft II==<br />
$ cd .wine/drive_c/Program\ Files/StarCraft\ II/<br />
$ wine StarCraft\ II.exe<br />
(Or use the Starcraft II icon, but that'll make it more difficult to troubleshoot in case you have problems.)<br />
<br />
==Hints for Performance Tuning==<br />
* CTRL+ALT+F shows FPS<br />
* Launching the game with the -opengl flag has been reported to increase performance. (This may be specific to the mac version.)<br />
* Disabling Shader in wine could help, if FPS is too low. (It may also cause the game to not work at all. Again, possibly only mac.)<br />
* Make sure that you are not using old graphics drivers. Nvidia drivers should be 256.35 or later (extra/nvidia is up to date).<br />
<br />
==x86_64==<br />
If you are running a 64bit version of Arch Linux, you may have trouble getting the updating done. Since StarCraft 2 uses Internet Explorer to render all the HTML pages, you need to have Internet Explorer installed. However, by the installer of IE6 will warn you that 64bit is not supported. By default, if you have created your wine configuration directory (~/.wine), it will be set to 64 bit. To overcome this problem, you must recreate your ~/.wine configuration. Simply remove the ~/.wine directory, add export WINEARCH="win32" to your ~/.bashrc, logout of X, login once again and launch wine. It should create a ~/.wine folder. Next install ie6 with<br />
$ winetricks ie6<br />
<br />
[https://bbs.archlinux.org/viewtopic.php?pid=806725#p806725 More information can be found here]<br />
<br />
==Other Problems==<br />
<br />
* For some, the game crashes upon exit.<br />
* If you want to use pulseaudio, compile it from [http://aur.archlinux.org/packages.php?O=0&K=wine-pulse&do_Search=Go AUR]. Pulseaudio may have a big performance impact, see [http://wiki.archlinux.org/index.php/Pulseaudio#Troubleshooting Pulseaudio Troubleshooting]<br />
* (There seems to be more issues with ati cards than nvidia.)<br />
* For some, in-gamechange of resolution does not work. Editing 'width=x' and 'height=y' in Variables.txt in My Documents/Starcraft II solves this issue. Replace x and y with the prefered resolution.<br />
<br />
==References and Resources==<br />
<br />
*[http://appdb.winehq.org/objectManager.php?sClass=version&iId=20882 StarCraft II: Wings of Liberty (Retail)] (WineHQ AppDB)<br />
*[http://bugs.winehq.org/show_bug.cgi?id=23806 StarCraft II crashes because of ACCESS_VIOLATION before the loading screen] (WineHQ Bug Tracking Database)<br />
*[http://bugs.winehq.org/show_bug.cgi?id=23323 World of Warcraft crashes upon login after 3.3.5 patch.] (WineHQ Bug Tracking Database)<br />
*[https://bbs.archlinux.org/viewtopic.php?id=101822 starcraft2 crashing on loading] (archlinux forums)<br />
*[https://bbs.archlinux.org/viewtopic.php?id=103354 starcraft2 fails to update to patch 1.03] (archlinux forums)<br />
*[http://eu.battle.net/sc2/en/forum/topic/76237660 Known Issues] (battle.net EU forums)<br />
*[http://eu.battle.net/sc2/en/forum/topic/283440977 Patch News] (battle.net EU forums)<br />
*[http://www.teamliquid.net/forum/viewmessage.php?topic_id=117649 Customizable Hotkeys] (teamliquid forums)</div>Fusion1997https://wiki.archlinux.org/index.php?title=Starcraft2&diff=115843Starcraft22010-08-29T07:49:36Z<p>Fusion1997: /* References and Resources */</p>
<hr />
<div>==Environment==<br />
<br />
<br />
====You need Kernel <= 2.6.32 or kernel>=2.6.35====<br />
{{Note|core/kernel26 is up to date (both i686 and x86_64). Just make sure to run pacman -Syu and reboot.}}<br />
<br />
Without such a kernel, you will get one of these errors at the start most of the time:<br />
PRIV_INSTRUCTION, ACCESS_VIOLATION or Internal Battle.net Error<br />
<br />
====Wine >= 1.2====<br />
You need wine >= 1.2. community/wine is recent enough.<br />
$ pacman -S wine<br />
<br />
====Configure Wine====<br />
*For normal sound output:<br />
$ winecfg<br />
Go to Libraries, add "mmdevapi" and set it to "disabled".<br />
*Or you can install openal, in which case the mmdevapi setting isn't required:<br />
# pacman -S openal<br />
# pacman -S lib32-openal (this line is only necessary for x86_64)<br />
*Install libjpeg and libldap:<br />
# pacman -S libjpeg libldap<br />
# pacman -S lib32-libjpeg lib32-libldap (this line is only necessary for x86_64)<br />
*Tell wine how much memory your graphics card has (to avoid some graphics problems that may appear after a while):<br />
$ regedit<br />
Go to HKEY_CURRENT_USER/Software/Wine/Direct3D<br />
Right-click on Direct3D, select New -> String Value<br />
Name it VideoMemorySize, set it to the amount of memory your graphics card has (such as 128, 256, 768 or whatever you have).<br />
*For Map-Editor: <br />
**The latest winetricks can be found at [http://winezeug.googlecode.com/svn/trunk/winetricks http://winezeug.googlecode.com/svn/trunk/winetricks], download and start:<br />
$ sh winetricks vcrun2005 vcrun2008<br />
*To get rid of some warnings that may or may not matter, you may want to install the following on x86_64:<br />
# pacman -S lib32-esound lib32-mpg123 lib32-jack<br />
*Don't emulate a virtual desktop for the installer.<br />
*If the installer doesn't work, backup and remove your .wine directory.<br />
*If you are asked to install Gecko, then click install to do so.<br />
*If the installer hangs while downloading patch 1.03, install ie6, and set the wine version to windows XP:<br />
$ sh winetricks ie6<br />
$ winecfg<br />
Go to Applications, set Windows Version to "Windows XP"<br />
<br />
==Installing StarCraft II==<br />
<br />
<br />
====Installing from DVD====<br />
*Mount DVD/DVD Image, (unhide invisible data), for example:<br />
$ mount -o ro,unhide,uid=1000 /dev/dvd /media/dvd (for the DVD)<br />
$ mount -o loop,ro,unhide,uid=<your_id> <starcraft.iso> /media/dvd (for an image) <br />
*Start the installer:<br />
$ wine /media/dvd/Installer.exe<br />
<br />
====Blizzard Downloader====<br />
*Get the downloader from your [http://battle.net battle.net] account (you need to log in).<br />
*You may want to go to View -> Preferences and check "Don't throttle background download".<br />
*During the install, you will need about twice the space of the installed game, since it downloads to a temporary directory (of your choice) before installing. This directory can be deleted after install.<br />
<br />
==Playing StarCraft II==<br />
$ cd .wine/drive_c/Program\ Files/StarCraft\ II/<br />
$ wine StarCraft\ II.exe<br />
(Or use the Starcraft II icon, but that'll make it more difficult to troubleshoot in case you have problems.)<br />
<br />
==Hints for Performance Tuning==<br />
* CTRL+ALT+F shows FPS<br />
* Launching the game with the -opengl flag has been reported to increase performance. (This may be specific to the mac version.)<br />
* Disabling Shader in wine could help, if FPS is too low. (It may also cause the game to not work at all. Again, possibly only mac.)<br />
* Make sure that you are not using old graphics drivers. Nvidia drivers should be 256.35 or later (extra/nvidia is up to date).<br />
<br />
==x86_64==<br />
If you are running a 64bit version of Arch Linux, you may have trouble getting the updating done. Since StarCraft 2 uses Internet Explorer to render all the HTML pages, you need to have Internet Explorer installed. However, by the installer of IE6 will warn you that 64bit is not supported. By default, if you have created your wine configuration directory (~/.wine), it will be set to 64 bit. To overcome this problem, you must recreate your ~/.wine configuration. Simply remove the ~/.wine directory, add export WINEARCH="win32" to your ~/.bashrc, logout of X, login once again and launch wine. It should create a ~/.wine folder. Next install ie6 with<br />
$ winetricks ie6<br />
<br />
[https://bbs.archlinux.org/viewtopic.php?pid=806725#p806725 More information can be found here]<br />
<br />
==Other Problems==<br />
<br />
* For some, the game crashes upon exit.<br />
* If you want to use pulseaudio, compile it from [http://aur.archlinux.org/packages.php?O=0&K=wine-pulse&do_Search=Go AUR]. Pulseaudio may have a big performance impact, see [http://wiki.archlinux.org/index.php/Pulseaudio#Troubleshooting Pulseaudio Troubleshooting]<br />
* (There seems to be more issues with ati cards than nvidia.)<br />
* For some, in-gamechange of resolution does not work. Editing 'width=x' and 'height=y' in Variables.txt in My Documents/Starcraft II solves this issue. Replace x and y with the prefered resolution.<br />
<br />
==References and Resources==<br />
<br />
*[http://appdb.winehq.org/objectManager.php?sClass=version&iId=20882 StarCraft II: Wings of Liberty (Retail)] (WineHQ AppDB)<br />
*[http://bugs.winehq.org/show_bug.cgi?id=23806 StarCraft II crashes because of ACCESS_VIOLATION before the loading screen] (WineHQ Bug Tracking Database)<br />
*[http://bugs.winehq.org/show_bug.cgi?id=23323 World of Warcraft crashes upon login after 3.3.5 patch.] (WineHQ Bug Tracking Database)<br />
*[https://bbs.archlinux.org/viewtopic.php?id=101822 starcraft2 crashing on loading] (archlinux forums)<br />
*[https://bbs.archlinux.org/viewtopic.php?id=103354 starcraft2 fails to update to patch 1.03 (archlinux forums)<br />
*[http://eu.battle.net/sc2/en/forum/topic/76237660 Known Issues] (battle.net EU forums)<br />
*[http://eu.battle.net/sc2/en/forum/topic/283440977 Patch News] (battle.net EU forums)<br />
*[http://www.teamliquid.net/forum/viewmessage.php?topic_id=117649 Customizable Hotkeys] (teamliquid forums)</div>Fusion1997