Gentoo Forums
Gentoo Forums
Quick Search: in
Starcraft CD test on wine?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Gamers & Players
View previous topic :: View next topic  
Author Message
reub2000
Guru
Guru


Joined: 31 Jan 2004
Posts: 355

PostPosted: Fri Aug 26, 2005 8:42 am    Post subject: Starcraft CD test on wine? Reply with quote

How do you get the CD test to not fail when using StarCraft on wine?
Back to top
View user's profile Send private message
kbi
n00b
n00b


Joined: 08 Feb 2005
Posts: 7

PostPosted: Sat Aug 27, 2005 7:25 pm    Post subject: Reply with quote

I have a dual boot system with 3 hd. I run starcraft off of my windows patition where it is installed. Here's how I do it:

In .wine/config you want something like:
"Path" = "c:\\windows;c:\\windows\\system;d:\\;e:\\;f:\\"

~/.wine/dosdevices $ ls -l
total 0
lrwxrwxrwx 1 kbi users 9 Jul 15 23:25 c: -> /mnt/hdc1 (my 3rd hd is my windows boot partition)
lrwxrwxrwx 1 kbi users 9 Aug 2 00:18 d: -> /mnt/iso1
lrwxrwxrwx 1 kbi users 9 Aug 2 00:12 e: -> /mnt/iso2
lrwxrwxrwx 1 kbi users 9 Aug 16 14:46 f: -> /mnt/iso3
lrwxrwxrwx 1 kbi users 4 Aug 18 17:36 g: -> /tmp
lrwxrwxrwx 1 kbi users 9 Aug 18 18:25 h: -> /mnt/hdb1 (windows partition on my 2nd hd were I have starcraft installed)

~/.wine/dosdevices $ mount -o loop /home/kbi/storage/starcraft.iso /mnt/iso1 (might have to do it as root)
~/.wine/dosdevices $ mount -o loop /home/kbi/storage/broodwars.iso /mnt/iso2 (if you want to play bw too)
~/.wine/dosdevices $ cd /mnt/hdb1/Program\ Files/Starcraft

/mnt/hdb1/Program Files/Starcraft $ wine ./Starcraft
Back to top
View user's profile Send private message
reub2000
Guru
Guru


Joined: 31 Jan 2004
Posts: 355

PostPosted: Sun Aug 28, 2005 7:29 am    Post subject: Reply with quote

But you couldn't save replays that way, unless you used vfat for the windows partition.
Back to top
View user's profile Send private message
KK_r
Apprentice
Apprentice


Joined: 17 Dec 2003
Posts: 176

PostPosted: Sun Aug 28, 2005 9:27 am    Post subject: Reply with quote

can't you use a nocd-crack? There is cracks that support battle.net games...
_________________
Seamos realistas, exijamos lo imposibile
Back to top
View user's profile Send private message
reub2000
Guru
Guru


Joined: 31 Jan 2004
Posts: 355

PostPosted: Sun Aug 28, 2005 10:37 am    Post subject: Reply with quote

KK_r wrote:
can't you use a nocd-crack? There is cracks that support battle.net games...
For some reason I don't trust executables distributed by pirate groups.
Back to top
View user's profile Send private message
KK_r
Apprentice
Apprentice


Joined: 17 Dec 2003
Posts: 176

PostPosted: Sun Aug 28, 2005 10:46 am    Post subject: Reply with quote

what do you think they could do? they can't even give you virus because you don't run windows. And it's not pirate groups, many people including me use nocd crack with their bought games.
_________________
Seamos realistas, exijamos lo imposibile
Back to top
View user's profile Send private message
reub2000
Guru
Guru


Joined: 31 Jan 2004
Posts: 355

PostPosted: Sun Sep 04, 2005 1:18 pm    Post subject: Reply with quote

Found the problem. Wine moved it's configuration from ~/.wine/config to some mysterious place. So the CD drive that I thought was configured through ~/.wine/config wasn't acctually configured. Ran winecfg and configured the CD drive. So now it passes the CD test, but is slow, and only runs in windowed mode.
Back to top
View user's profile Send private message
kbi
n00b
n00b


Joined: 08 Feb 2005
Posts: 7

PostPosted: Mon Sep 05, 2005 1:00 am    Post subject: Reply with quote

I'm not a Wine expert. It runs full screen for me. Here's the part of my config that looks like it might govern that.

[x11drv]
; Number of colors to allocate from the system palette
"AllocSystemColors" = "100"
; Use a private color map
"PrivateColorMap" = "N"
; Favor correctness over speed in some graphics operations
"PerfectGraphics" = "N"
; Color depth to use on multi-depth screens
;;"ScreenDepth" = "16"
; Allow the window manager to manage created windows
"Managed" = "N"
; Use a desktop window of 640x480 for Wine
;"Desktop" = "640x480"
; Use XFree86 DGA extension if present
; (make sure /dev/mem is accessible by you !)
"UseDGA" = "N"
; Use XVidMode extension if present
"UseXVidMode" = "Y"
; Use XRandR extension if present
"UseXRandR" = "Y"
; Use the take focus protocol
"UseTakeFocus" = "Y"
; Enable DirectX mouse grab
"DXGrab" = "Y"
; Create the desktop window with a double-buffered visual
; (useful to play OpenGL games)
"DesktopDoubleBuffered" = "N"
; Run in synchronous mode (useful for debugging X11 problems)
;;"Synchronous" = "Y"
;
; Use the Render extension to render client side fonts (default "Y")
;;"ClientSideWithRender" = "Y"
; Fallback on X core requests to render client side fonts (default "Y")
;;"ClientSideWithCore" = "Y"
; Set both of the previous two to "N" in order to force X11 server side fonts
;
; Anti-alias fonts if using the Render extension (default "Y")
;;"ClientSideAntiAliasWithRender" = "Y"
; Anti-alias fonts if using core requests fallback (default "Y")
;;"ClientSideAntiAliasWithCore" = "Y"

Hope that might help.
Back to top
View user's profile Send private message
reub2000
Guru
Guru


Joined: 31 Jan 2004
Posts: 355

PostPosted: Mon Sep 05, 2005 5:47 pm    Post subject: Reply with quote

Disabling my second monitor and and xinerama, starcraft plays fine in fullscreen mode.

I swear that this dual-head setup has been nothing but trouble.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gamers & Players All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum