LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices



Reply
 
Search this Thread
Old 08-03-2010, 05:27 AM   #1
kkorhonen
LQ Newbie
 
Registered: Jan 2009
Location: Oulu, Finland
Distribution: slackware64 14.1
Posts: 5

Rep: Reputation: 1
Running Starcraft 2 in slackware 13.1 using wine 1.2


Hello slackers

My first post to forum so don't expect miracles... Alien BOB is man for that.

I have a dual boot system with slackware 64bit and win xp (yep still running that 'cause ain't gonna buy new one... ever). Nowadays gaming is allmost only reason to boot to win xp and I don't even play much. I have been looking a way to get rid off the win xp partition from my hard drive and now I'm one step closer.

I'll list the steps I had to take to get Starcraft 2 running in slackware, I'm not going to go in details too much 'cause I'm still linux & slackware noob myself. There's good howto's to each step that I followed...

- Upgraded kernel to 2.6.35 -> next time remember to make initrd 'cause using lvm! (kernel panic otherwise... cough)
howto -> Alien BOB wiki - kernel

- Upgraded graphics driver. I used newest nvidia drivers straight from nvidias homepage
nvidia -> Nvidia drivers

- I'm on a 64bit system so I needed the multilib stuff to build 32bit packages
howto -> Alien BOB wiki - multilib

- Removed existing wine install

- Compiled and installed wine 1.2 from Slackbuilds.
link-> SlackBuilds - Wine

I didn't need any spesial winetricks kunfu to get it work, but there's two things I did in winecfg
1. In "Applications" tab I changed windows to "windows 7" (now that was an easy upgrade!)
2. In "Libraries" tab I added new override "mmdevapi" and changed it to disabled. (That fixed the no sound issue)

Then I mounted the Starcraft 2 dvd and copied it to hard drive (might work straight from dvd, didn't try that). Mount it with
Code:
$ mount -t udf -o ro,unhide,uid=$(id -u) /dev/cdrom /media/cdrom
howto I kinda followed -> HOWTO: Starcraft 2 on Linux with Wine

Then crossed my fingers...
Code:
$ cd /<where I copied starcraft 2 files>
$ wine Installer.exe
... and it worked! Installer ran whitout problems and updated to newest version from battle.net after installation. Game has been running whitout problems so far... it also feels like it's running bit faster than in 32bit win xp. I'm getting at least the same performance.

I hope this might help someone to get Starcraft 2 running... if not, I wasted precious forum space.
 
Old 08-03-2010, 05:40 AM   #2
gasdim
Member
 
Registered: Jun 2010
Location: Volos GREECE
Distribution: ubuntu derivative
Posts: 157

Rep: Reputation: 28
Thanks for the tip. Here nothing is wasted space.....
 
Old 08-03-2010, 10:13 AM   #3
CincinnatiKid
Member
 
Registered: Jul 2010
Distribution: Mageia-3
Posts: 399

Rep: Reputation: 33
I have Slack64 and was wanting to try Startcraft II, but decided not to because I didn't want to deal with multilib, after seeing this post though, I am thinking about trying it out.
 
Old 08-03-2010, 11:08 AM   #4
octoberblu3
Member
 
Registered: Oct 2005
Distribution: Slackware64-current
Posts: 67

Rep: Reputation: 22
Any particular reason why you updated the kernel to .35? Has anyone tried this yet with the stock kernel from current or 13.1?
 
Old 08-03-2010, 12:15 PM   #5
Tedward
LQ Newbie
 
Registered: Dec 2009
Distribution: Slackware 13.1 x86_64
Posts: 26

Rep: Reputation: 0
Neither Starcraft 2 or World of Warcraft work with the 2.6.33 kernel. It won't even load the first screen with the loading bar. Upgrading to the 2.6.35 kernel helped, and it runs both smoothly now.
 
Old 08-03-2010, 12:28 PM   #6
octoberblu3
Member
 
Registered: Oct 2005
Distribution: Slackware64-current
Posts: 67

Rep: Reputation: 22
Quote:
Originally Posted by Tedward View Post
Neither Starcraft 2 or World of Warcraft work with the 2.6.33 kernel. It won't even load the first screen with the loading bar. Upgrading to the 2.6.35 kernel helped, and it runs both smoothly now.
Thanks, I had just found the bug report myself.

For others: http://bugs.winehq.org/show_bug.cgi?id=23713
 
Old 08-03-2010, 05:39 PM   #7
kkorhonen
LQ Newbie
 
Registered: Jan 2009
Location: Oulu, Finland
Distribution: slackware64 14.1
Posts: 5

Original Poster
Rep: Reputation: 1
Quote:
Originally Posted by octoberblu3 View Post
Any particular reason why you updated the kernel to .35? Has anyone tried this yet with the stock kernel from current or 13.1?
I see Tedward allready answered to this, but I can say I tried with the stock (13.1) kernel. I couldn't get the installer to run. Then I decided to follow the instructions from WineHQ. Installer worked right away after upgrading kernel to 2.6.35. I would say upgrading the kernel is the easiest way to get SC2 running.
 
Old 08-03-2010, 07:38 PM   #8
D1ver
Member
 
Registered: Jan 2010
Distribution: Slackware 13.37
Posts: 527
Blog Entries: 3

Rep: Reputation: 126Reputation: 126
I'm glad to see that SC2 is working in Linux. I'm running it in xp at the moment but when I get around to upgrading to a new computer it'll be running slack

Though for the purposes of gaming on Linux I would probably just shell out the 40 bucks and buy crossover. It'd probably be worth it to save the time patching wine every time I buy a new game.

If any of you are playing on the SEA servers we should get a game going
 
Old 08-29-2010, 06:28 PM   #9
mmpl
LQ Newbie
 
Registered: Aug 2010
Posts: 11

Rep: Reputation: 0
Hello kkorhonen i have question how you compile wine exactly because i done that multilib and i still get that this version of wine is for 32 bit and i have 64 bits.... witch file you take from that link slackbuilds and how you compile it??
 
Old 08-30-2010, 10:17 AM   #10
dTd
Member
 
Registered: Feb 2007
Location: CT, USA
Distribution: Slackware
Posts: 62

Rep: Reputation: 8
Quote:
Originally Posted by kkorhonen View Post
I see Tedward allready answered to this, but I can say I tried with the stock (13.1) kernel. I couldn't get the installer to run. Then I decided to follow the instructions from WineHQ. Installer worked right away after upgrading kernel to 2.6.35. I would say upgrading the kernel is the easiest way to get SC2 running.
Really, 2.6.33.7 contains the fixes required to run these games and can be built easily using Pats scripts and configs. I remade the kernel packages and module packages as original substituting the 2.6.33.7 source on my home machine and starcraft 2 plays flawlessly. Hope this helps.
 
1 members found this post helpful.
Old 08-30-2010, 12:22 PM   #11
kkorhonen
LQ Newbie
 
Registered: Jan 2009
Location: Oulu, Finland
Distribution: slackware64 14.1
Posts: 5

Original Poster
Rep: Reputation: 1
Quote:
Originally Posted by mmpl View Post
Hello kkorhonen i have question how you compile wine exactly because i done that multilib and i still get that this version of wine is for 32 bit and i have 64 bits.... witch file you take from that link slackbuilds and how you compile it??
There's no wine package for 64-bit slackware, that's why you need the multilib first so that you can use the 32-bit version.
You'll need the slackbuild script (wine.tar.gz) and the source downloads (wine-1.2.tar.bz2 & attachment.cgi?id=29994) as well. Here's guide I found about using slackbuilds if you are not familiar with those. How_to_use_slackbuilds

In the slackbuild script I changed one line.
Code:
elif [ "$ARCH" = "x86_64" ]; then
  SLKCFLAGS="-O2 -fPIC"
  LIBDIRSUFFIX="64"

... to ->

elif [ "$ARCH" = "x86_64" ]; then
  SLKCFLAGS="-O2 -fPIC"
  LIBDIRSUFFIX=""
I hope this helps
 
Old 08-30-2010, 12:31 PM   #12
dimm0k
Member
 
Registered: May 2008
Location: Brooklyn ZOO
Distribution: Slackware64 14.0
Posts: 389

Rep: Reputation: 23
Great to hear! I have yet to get my system into multilib mode, but it's great knowing such a new game is already playable in Linux!
 
Old 08-30-2010, 03:21 PM   #13
igadoter
Member
 
Registered: Sep 2006
Location: wroclaw, poland
Distribution: slack 12.2, debian-Trinity , openbsd
Posts: 729

Rep: Reputation: 56
@kkorhonen
Please post your hardware configuration.
 
Old 08-30-2010, 06:31 PM   #14
kkorhonen
LQ Newbie
 
Registered: Jan 2009
Location: Oulu, Finland
Distribution: slackware64 14.1
Posts: 5

Original Poster
Rep: Reputation: 1
Quote:
Originally Posted by igadoter View Post
Please post your hardware configuration.
Sure... but what info "hardware configuration" includes? I really don't know. Anyways here some info about my system, if you need more specifics let me know.

kernel: 2.6.35
motherboard: Asus P5N-T-Deluxe
cpu: Intel(R) Core(TM)2 Quad CPU Q6700 @ 2.66GHz
memory: DDR2-800 4GB
graphics card: Asus ENGTX460/2DI/768MD5
 
Old 08-31-2010, 02:20 AM   #15
igadoter
Member
 
Registered: Sep 2006
Location: wroclaw, poland
Distribution: slack 12.2, debian-Trinity , openbsd
Posts: 729

Rep: Reputation: 56
@kkorhonen
Thank's. That explains much.
 
  


Reply

Tags
starcraft


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Wine (Slackware/Fluxbox): Starcraft upon exit repositions open windows oddly Compile this Linux - Games 0 09-12-2009 11:01 PM
must.. have.. starcraft (which wine to use?) End11 Linux - Games 17 03-09-2007 09:40 AM
starcraft with wine zexter Linux - Software 15 03-08-2007 08:05 PM
Problems running Starcraft with Wine, display and operation. blastradius Linux - Games 0 12-13-2005 01:01 PM
slow mouse movement when running starcraft under wine septanla Linux - Games 2 09-16-2005 10:40 AM


All times are GMT -5. The time now is 06:45 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration