<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xml:base="http://www.hermann-uwe.de" xmlns:dc="http://purl.org/dc/elements/1.1/">
<channel>
 <title>Uwe Hermann - Playing Starcraft on Linux using Wine - Comments</title>
 <link>http://www.hermann-uwe.de/blog/playing-starcraft-on-linux-using-wine</link>
 <description>Comments for &quot;Playing Starcraft on Linux using Wine&quot;</description>
 <language>en</language>
<item>
 <title>Starcraft is over 10 years</title>
 <link>http://www.hermann-uwe.de/blog/playing-starcraft-on-linux-using-wine#comment-75154</link>
 <description>&lt;p&gt;Starcraft is over 10 years old.  I really don&#039;t think you need to worry about CPU load from it.&lt;/p&gt;
</description>
 <pubDate>Mon, 16 Mar 2009 14:42:09 +0100</pubDate>
 <dc:creator>Anonymous</dc:creator>
 <guid isPermaLink="false">comment 75154 at http://www.hermann-uwe.de</guid>
</item>
<item>
 <title>Thanks!</title>
 <link>http://www.hermann-uwe.de/blog/playing-starcraft-on-linux-using-wine#comment-61765</link>
 <description>&lt;p&gt;I just used your procedure, and it worked like a charm, even on amd64!&lt;/p&gt;
&lt;p&gt;Joost&lt;/p&gt;
</description>
 <pubDate>Fri, 05 Dec 2008 12:28:45 +0100</pubDate>
 <dc:creator>Joost Damad</dc:creator>
 <guid isPermaLink="false">comment 61765 at http://www.hermann-uwe.de</guid>
</item>
<item>
 <title>very similar to World of Warcraft</title>
 <link>http://www.hermann-uwe.de/blog/playing-starcraft-on-linux-using-wine#comment-61664</link>
 <description>&lt;p&gt;I used similar instructions to install/configure World of Warcraft. &lt;/p&gt;
&lt;p&gt;Comments:&lt;br /&gt;
In Debian 5.0 (testing or unstable), by default the CD is set to be user mountable.  Mounting it as root should be unneccessary.&lt;/p&gt;
&lt;p&gt;For security, I created a second user solely to play games in.&lt;/p&gt;
&lt;p&gt;To start it, I added a gdm session and set it as the default login for that user.  The session simply calls wine calling WoW or in your case StarCraft.&lt;/p&gt;
</description>
 <pubDate>Wed, 03 Dec 2008 23:29:39 +0100</pubDate>
 <dc:creator>Warren</dc:creator>
 <guid isPermaLink="false">comment 61664 at http://www.hermann-uwe.de</guid>
</item>
<item>
 <title>It seems to me like the</title>
 <link>http://www.hermann-uwe.de/blog/playing-starcraft-on-linux-using-wine#comment-61663</link>
 <description>&lt;p&gt;It seems to me like the reproduction of the latest test result on WineHQ for StraCraft: Broodwar (but guessing from your post you just installed StarCraft (no expansion pack)) &lt;a href=&quot;#appdb-bw-lnk&quot;&gt;[0]&lt;/a&gt;. Even though that was done with the 1.1.8 packages available on &lt;a href=&quot;http://mentors.debian.net/cgi-bin/sponsor-pkglist?action=details;package=wine&quot;&gt;mentors.d.n&lt;/a&gt; (right now, there is already 1.1.9 available).&lt;/p&gt;
&lt;p&gt;Greetings,&lt;br /&gt;
Cùran, the last tester ;)&lt;/p&gt;
&lt;p&gt;&lt;a name=&quot;appdb-bw-lnk&quot;&gt;[0]&lt;/a&gt; &lt;a href=&quot;http://appdb.winehq.org/objectManager.php?sClass=version&amp;amp;iId=149&amp;amp;iTestingId=34212&quot;&gt;http://appdb.winehq.org/objectManager.php?sClass=version&amp;amp;iId=149&amp;amp;iTestingId=34212&lt;/a&gt;&lt;/p&gt;
</description>
 <pubDate>Wed, 03 Dec 2008 22:30:01 +0100</pubDate>
 <dc:creator>Cùran</dc:creator>
 <guid isPermaLink="false">comment 61663 at http://www.hermann-uwe.de</guid>
</item>
<item>
 <title>Playing Starcraft on Linux using Wine</title>
 <link>http://www.hermann-uwe.de/blog/playing-starcraft-on-linux-using-wine</link>
 <description>&lt;p&gt;&lt;a href=&quot;http://www.hermann-uwe.de/node/1411&quot;&gt;&lt;img src=&quot;http://www.hermann-uwe.de/files/images/winehq_top_logo.png&quot; width=&quot;209&quot; height=&quot;99&quot; align=&quot;right&quot; hspace=&quot;5&quot; alt=&quot;Wine logo&quot; /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Here&#039;s a quick HOWTO for using &lt;a href=&quot;http://winehq.org/&quot;&gt;Wine&lt;/a&gt; to play &lt;a href=&quot;http://en.wikipedia.org/wiki/Starcraft&quot;&gt;Starcraft&lt;/a&gt; on a Linux machine.&lt;/p&gt;
&lt;h2&gt;Starcraft Installation&lt;/h2&gt;
&lt;pre&gt;
  $ &lt;strong&gt;apt-get install wine&lt;/strong&gt; (as root)
  $ &lt;strong&gt;winecfg&lt;/strong&gt;
&lt;/pre&gt;&lt;p&gt;
The winecfg (graphical) utility will setup some config file defaults in your &lt;strong&gt;~/.wine&lt;/strong&gt; directory. Click on &lt;strong&gt;Graphics&lt;/strong&gt; and activate &lt;strong&gt;Allow DirectX apps to stop the mouse leaving their window&lt;/strong&gt;. Also, click on &lt;strong&gt;Audio&lt;/strong&gt; (a dialog will pop up, just click &lt;strong&gt;OK&lt;/strong&gt;). This will autodect your soundcard and setup Wine to use it. Under &lt;strong&gt;Drives&lt;/strong&gt; click &lt;strong&gt;Add&lt;/strong&gt; (this will add &lt;strong&gt;D:&lt;/strong&gt;) and change the path to &lt;strong&gt;/media/cdrom&lt;/strong&gt;, so that Wine knows about your CD-ROM drive. Finally click &lt;strong&gt;OK&lt;/strong&gt; to close winecfg and save the settings.&lt;/p&gt;
&lt;p&gt;&lt;a href=&quot;http://www.hermann-uwe.de/node/1414&quot;&gt;&lt;img src=&quot;http://www.hermann-uwe.de/files/images/winecfg.jpg&quot; width=&quot;200&quot; height=&quot;273&quot; align=&quot;right&quot; hspace=&quot;5&quot; alt=&quot;winecfg screenshot&quot; /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;The next step is to insert the Starcraft CD-ROM into the drive and start the installer using Wine:&lt;/p&gt;
&lt;pre&gt;
  $ &lt;strong&gt;mount /media/cdrom&lt;/strong&gt; (as root)
  $ &lt;strong&gt;wine /media/cdrom/setup.exe&lt;/strong&gt;
&lt;/pre&gt;&lt;p&gt;
Follow the instructions in the installer until the Starcraft install is finished (you&#039;ll need your CD key number), then exit the installer (don&#039;t start playing Starcraft right away).&lt;/p&gt;
&lt;p&gt;The next step is to get the latest patch and get rid of the need to insert the CD-ROM every time.&lt;/p&gt;
&lt;pre&gt;
  $ &lt;strong&gt;wget http://ftp.blizzard.com/pub/starcraft/patches/PC/SC-1161.exe&lt;/strong&gt;
  $ &lt;strong&gt;wine SC-1161.exe&lt;/strong&gt;
&lt;/pre&gt;&lt;p&gt;
After the patch is installed click &lt;strong&gt;OK&lt;/strong&gt; and Starcraft will be started (very annoying). Leave the game again. We&#039;ll get rid of the CD-ROM requirement now:&lt;/p&gt;
&lt;pre&gt;
  $ &lt;strong&gt;cp /media/cdrom/install.exe ~/.wine/drive_c/Programme/Starcraft/StarCraft.mpq&lt;/strong&gt;
&lt;/pre&gt;&lt;p&gt;
That&#039;s a pretty big file, it may take a while. You might have to change &quot;Programme&quot; in the path (I have the German Starcraft version). That&#039;s it. You can now play Starcraft (without needing the CD-ROM) using:&lt;/p&gt;
&lt;pre&gt;
  $ &lt;strong&gt;wine ~/.wine/drive_c/Programme/Starcraft/StarCraft.exe&lt;/strong&gt;
&lt;/pre&gt;&lt;h2&gt;Notes&lt;/h2&gt;
&lt;p&gt;A good thing is, it even works nice and fast with the open-source &lt;strong&gt;nv&lt;/strong&gt; NVIDIA driver (no need to install the proprietary driver).&lt;/p&gt;
&lt;p&gt;I noticed one very annoying &quot;bug&quot; with the mouse behaviour at first. The mouse would sometimes just get stuck during the game (which is a total disaster of course, if you&#039;re in the middle of a fast-paced game). Left-clicking somewhere would &quot;unstuck&quot; the mouse, but it&#039;s still very bad. After many, many hours of &lt;a href=http://appdb.winehq.org/objectManager.php?sClass=version&amp;amp;iId=51&quot;&quot;&gt;reading&lt;/a&gt; bugreports and trying various patches I finally found out the root cause for the problem.&lt;/p&gt;
&lt;p&gt;It&#039;s somehow related to my window manager (&lt;a href=&quot;http://www.icewm.org/&quot;&gt;IceWM&lt;/a&gt;); whenever you move the mouse to the bottom of the Starcraft screen (where the IceWM status bar is, even though it&#039;s not on top or even visible, and even though Wine/Starcraft runs in full-screen mode!), something funny happens with X11/IceWM and the mouse gets stuck. I haven&#039;t yet found out if/which IceWM option could fix this behavior, but I have a small work-around. Just start Wine directly on a second X11 server with Starcraft (without any window manager being involved):&lt;/p&gt;
&lt;pre&gt;
  $ &lt;strong&gt;xinit -e &#039;/usr/bin/wine ~/.wine/drive_c/Programme/Starcraft/StarCraft.exe&#039; -- :1&lt;/strong&gt;
&lt;/pre&gt;&lt;p&gt;
No patches needed (stock Wine from Debian unstable works fine, that&#039;s version 1.0.1 right now). I hope this saves other people some debugging time...&lt;/p&gt;
&lt;h2&gt;Brood War Installation&lt;/h2&gt;
&lt;p&gt;In order to play the &lt;a href=&quot;http://appdb.winehq.org/objectManager.php?sClass=version&amp;amp;iId=149&quot;&gt;Brood War&lt;/a&gt; expansion you can follow a similar procedure. Insert the Brood War CD-ROM, then:&lt;/p&gt;
&lt;pre&gt;
  $ &lt;strong&gt;mount /media/cdrom&lt;/strong&gt; (as root)
  $ &lt;strong&gt;wine /media/cdrom/setup.exe&lt;/strong&gt;
  $ &lt;strong&gt;cp /media/cdrom/install.exe ~/.wine/drive_c/Programme/Starcraft/BroodWar.mpq&lt;/strong&gt;
  $ &lt;strong&gt;wget http://ftp.blizzard.com/pub/broodwar/patches/PC/BW-1161.exe&lt;/strong&gt;
  $ &lt;strong&gt;wine BW-1161.exe&lt;/strong&gt;
&lt;/pre&gt;&lt;p&gt;
After you&#039;ve done that, you can start both Starcraft (classic) and Brood War via:&lt;/p&gt;
&lt;pre&gt;
  $ &lt;strong&gt;wine ~/.wine/drive_c/Programme/Starcraft/StarCraft.exe&lt;/strong&gt;
&lt;/pre&gt;&lt;p&gt;
You will be asked in the game whether you want to actually play the Starcraft or Brood War variant.&lt;/p&gt;
&lt;h2&gt;Reducing CPU load&lt;/h2&gt;
&lt;p&gt;As of &lt;strong&gt;version 1161&lt;/strong&gt; for the Starcraft / Brood War patch, there&#039;s a new game option which can drastically lower the CPU load while playing Starcraft. First fire up Starcraft and start any game. Then, press &lt;strong&gt;F10&lt;/strong&gt;, select &lt;strong&gt;Options / Game speed&lt;/strong&gt;, and  check the &lt;strong&gt;&quot;Enable CPU Throttling box&quot;&lt;/strong&gt;. You&#039;ll probably need to restart Starcraft afterwards.&lt;/p&gt;
&lt;h2&gt;Multiplayer and Firewalls&lt;/h2&gt;
&lt;p&gt;Multiplayer LAN games work just fine (didn&#039;t try BattleNet that much yet), but if you use a &lt;a href=&quot;http://www.hermann-uwe.de/security/my-firewall-iptables-scripts&quot;&gt;strict firewall rule set&lt;/a&gt; as I do (which blocks most ingress as well as egress traffic) you have to open a number of different ports. Here&#039;s what I added to &lt;a href=&quot;http://www.hermann-uwe.de/files/fw_laptop&quot;&gt;my firewall script&lt;/a&gt;:&lt;/p&gt;
&lt;pre&gt;
  $IPTABLES -A OUTPUT -m state --state NEW -p udp --dport 6111 -j ACCEPT
  $IPTABLES -A INPUT -m state --state NEW -p udp --dport 6111 -j ACCEPT
  $IPTABLES -A OUTPUT -m state --state NEW -p udp --dport 6112 -j ACCEPT
  $IPTABLES -A OUTPUT -m state --state NEW -p tcp --dport 6112 -j ACCEPT # BattleNet
&lt;/pre&gt;&lt;h2&gt;Starcraft on netbooks&lt;/h2&gt;
&lt;p&gt;&lt;a href=&quot;http://www.hermann-uwe.de/photoblog/one-a110-netbook-running-starcraft&quot;&gt;&lt;img src=&quot;http://www.hermann-uwe.de/files/images/one_a110_starcraft.preview.jpg&quot; width=&quot;200&quot; height=&quot;150&quot; align=&quot;right&quot; alt=&quot;One A110 netbook running Starcraft&quot; /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Starcraft works just fine on various netbooks; for instance, I tested it on my &lt;a href=&quot;http://www.a110wiki.de&quot;&gt;One A110 netbook&lt;/a&gt; (VIA VX800) with 256 MB of RAM, &lt;em&gt;and&lt;/em&gt; the whole &lt;strong&gt;.wine&lt;/strong&gt; directory being on a USB thumb drive (thus slow; but my internal SSD was already full). I bet it&#039;ll also work fine on the &lt;as href=&quot;http://en.wikipedia.org/wiki/ASUS_Eee_PC&quot;&gt;ASUS Eee PC&lt;/a&gt; and other netbooks...&lt;/p&gt;
&lt;p&gt;Audio works fine, and game speed is quite OK, the only minor &quot;problem&quot; is that you should use an external USB mouse, the touchpad is just too small (and too slow to use) for such a fast-paced game.&lt;/p&gt;
&lt;p&gt;The full Wine package (and all dependencies) consume quite a lot of space on the (usually very small) hard drive or SSD of a netbook, but luckily you can get away with only a minimal Wine install for playing Starcraft:&lt;/p&gt;
&lt;pre&gt;
  $ &lt;strong&gt;apt-get install wine-bin libwine-alsa&lt;/strong&gt; (as root)
&lt;/pre&gt;&lt;p&gt;
That&#039;s sufficient, and a &lt;em&gt;lot&lt;/em&gt; smaller than installing the full &lt;strong&gt;wine&lt;/strong&gt; package.&lt;/p&gt;
&lt;p&gt;&lt;strong style=&quot;color:red&quot;&gt;Update 2009-03-04:&lt;/strong&gt; Added info about patch 1161 and CPU load reduction.&lt;br /&gt;
&lt;strong style=&quot;color:red&quot;&gt;Update 2008-12-19:&lt;/strong&gt; Added Starcraft-on-netbooks section.&lt;br /&gt;
&lt;strong style=&quot;color:red&quot;&gt;Update 2008-12-13:&lt;/strong&gt; Added BroodWar and multiplayer info.&lt;/p&gt;
</description>
 <comments>http://www.hermann-uwe.de/blog/playing-starcraft-on-linux-using-wine#comments</comments>
 <category domain="http://www.hermann-uwe.de/taxonomy/term/2050">blizzard</category>
 <category domain="http://www.hermann-uwe.de/taxonomy/term/49">debian</category>
 <category domain="http://www.hermann-uwe.de/taxonomy/term/1102">driver</category>
 <category domain="http://www.hermann-uwe.de/taxonomy/term/1807">emulation</category>
 <category domain="http://www.hermann-uwe.de/taxonomy/term/2053">icewm</category>
 <category domain="http://www.hermann-uwe.de/taxonomy/term/60">linux</category>
 <category domain="http://www.hermann-uwe.de/taxonomy/term/2055">manager</category>
 <category domain="http://www.hermann-uwe.de/taxonomy/term/2051">mouse</category>
 <category domain="http://www.hermann-uwe.de/taxonomy/term/1609">nv</category>
 <category domain="http://www.hermann-uwe.de/taxonomy/term/2052">problem</category>
 <category domain="http://www.hermann-uwe.de/taxonomy/term/2047">starcraft</category>
 <category domain="http://www.hermann-uwe.de/taxonomy/term/1392">unstable</category>
 <category domain="http://www.hermann-uwe.de/taxonomy/term/2049">win32</category>
 <category domain="http://www.hermann-uwe.de/taxonomy/term/2054">window</category>
 <category domain="http://www.hermann-uwe.de/taxonomy/term/1316">windows</category>
 <category domain="http://www.hermann-uwe.de/taxonomy/term/2048">wine</category>
 <pubDate>Wed, 03 Dec 2008 21:20:28 +0100</pubDate>
 <dc:creator>Uwe Hermann</dc:creator>
 <guid isPermaLink="false">1412 at http://www.hermann-uwe.de</guid>
</item>
</channel>
</rss>
