You are not logged in.

#1 2011-06-04 06:02:32

NuMPTy
Member
From: Canada
Registered: 2011-06-04
Posts: 35

[SOLVED] Starcraft 2 in a separate X Server

Hi everyone,

I'm looking for a bit of hand holding here.

I've gone over the wiki (https://wiki.archlinux.org/index.php/Gaming) and tried googlin' for the correct way of doing this, however I can't seem to find a way to launch this correctly via WINE.

It's 2 AM and I'm exhausted, but I can't seem to get this to work.

Would someone mind showing me how to do this properly? smile

I need to start the .exe with 'wine start /home/NuMPTy/.wine/drive_c/Program\ Files/StarCraft\ II/StarCraft\ II.exe'

Thanks smile

Last edited by NuMPTy (2011-06-04 20:15:59)

Offline

#2 2011-06-04 07:11:40

brebs
Member
Registered: 2007-04-03
Posts: 3,742

Re: [SOLVED] Starcraft 2 in a separate X Server

Here's my wine-running howto.

Offline

#3 2011-06-04 07:58:03

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: [SOLVED] Starcraft 2 in a separate X Server

Please tell us what exactly the problem is: no X shows up, X shows but the game doesn't run, any errors in the logs?

http://www.reddit.com/r/starcraft/comme … after_the/
The secret sauce seems to be to add 'exec <your wm>' at the end of your .xinitrc (I use a separate one named '.xinitsc2')

xinit .xinitsc2 -- :1

.xinitsc2:

wine /home/nathan/.wine/drive_c/Program\ Files/StarCraft\ II/StarCraft\ II.exe

exec dwm

Works here.

dwm is a very light wm so it won't have an impact on your gaming experience and it takes half a second to start up :-)

Last edited by karol (2011-06-04 08:00:33)

Offline

#4 2011-06-04 18:45:09

NuMPTy
Member
From: Canada
Registered: 2011-06-04
Posts: 35

Re: [SOLVED] Starcraft 2 in a separate X Server

Actually - no issue at the moment. I just wanted to ensure my config was correct smile

I'll try these out when I get home.

Thanks!

Offline

#5 2011-06-04 19:20:22

NuMPTy
Member
From: Canada
Registered: 2011-06-04
Posts: 35

Re: [SOLVED] Starcraft 2 in a separate X Server

Alright - newbie question #2 (sorry - I've never been great with xorg) sad

The steps karol have provided work perfectly. I have a separate x server being launched and SC2 is executed via wine correctly smile

My xinitrc2 looks like:

setxkbmap -option -option terminate:ctrl_alt_bksp
wine /home/NuMPTy/.wine/drive_c/Program\ Files/StarCraft\ II/StarCraft\ II.exe

exec dwm


The only problem I've got now is that SC2 is utilizing both monitors (well, all of my primary and the left half of my secondary).

What can I put in my xinit to force a single monitor to be used (and define the resolution)? I've seen setups using xorg.conf, however I'm not sure how I can incorporate that.

Thanks in advance!

Offline

#6 2011-06-04 19:25:27

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: [SOLVED] Starcraft 2 in a separate X Server

NuMPTy wrote:

What can I put in my xinit to force a single monitor to be used (and define the resolution)? I've seen setups using xorg.conf, however I'm not sure how I can incorporate that.

Thanks in advance!

Have you tried the way the wiki says:

xinit /usr/bin/nexuiz-glx -- :1 -xf86config xorg-game.conf 

?
Does

xinit .xinitsc2 -- :1 -xf86config xorg-game.conf

work?

Offline

#7 2011-06-04 19:29:52

NuMPTy
Member
From: Canada
Registered: 2011-06-04
Posts: 35

Re: [SOLVED] Starcraft 2 in a separate X Server

Sigh - I apparently missed that. I'll give it a try.

Thanks again karol

Offline

#8 2011-06-04 19:37:53

NuMPTy
Member
From: Canada
Registered: 2011-06-04
Posts: 35

Re: [SOLVED] Starcraft 2 in a separate X Server

Works like a 'freakin charm.

Thanks karol!

Offline

#9 2011-06-04 20:09:00

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: [SOLVED] Starcraft 2 in a separate X Server

NuMPTy wrote:

Works like a 'freakin charm.

Thanks karol!

You're welcome.

Please mark the thread as solved.

Offline

Board footer

Powered by FluxBB