Hard time with Warcraft III

A place where Linux Gamers can share their experience and help each other with Linux Games, native or emulated ;)

Moderator: Moderators

Hard time with Warcraft III

Postby Dragons Tooth » Sat Nov 03, 2007 20:16

Hello!
Today I tried to run Warcraft III with wine, but I end up with bigger problems than at the beginning. I installed W3 English ver. 1.0. Installation went without problems, then I treated it witch no-cd patch, because it won't run even if cd is in drive. I ran the game and then started the problems.

1) First of all I ran W3 from desktop: Menu of the game showed up but it was moving very slow, I chose the Exodus of the Horde campaign and it starts but working slow and it works on my nerves.

2) After that as a root I run it from console with: "wine \path\to\game.exe". Exodus of the Horde stops at 90%, Human campaign at 100%. Console said:
Code: Select all
err:ole:CoCreateInstance apartment not initialised
fixme:win:EnumDisplayDevicesW ((null),0,0x34f260,0x00000000), stub!
fixme:win:EnumDisplayDevicesW ((null),0,0x34f638,0x00000000), stub!
fixme:win:EnumDisplayDevicesW ((null),0,0x34f24c,0x00000000), stub!
fixme:imm:ImmGetOpenStatus (0x119f20): semi-stub
fixme:imm:ImmReleaseContext (0x30024, 0x119f20): stub
fixme:imm:ImmGetOpenStatus (0x119f20): semi-stub


3) Then I run it from console as a normal user. It freezes completely. Console writes:
Code: Select all
err:ole:CoCreateInstance apartment not initialised
fixme:win:EnumDisplayDevicesW ((null),0,0x34f260,0x00000000), stub!
fixme:win:EnumDisplayDevicesW ((null),0,0x34f638,0x00000000), stub!
fixme:win:EnumDisplayDevicesW ((null),0,0x34f24c,0x00000000), stub!


4) I run it as a root with: " wine \path\to\game.exe -opengl". Menu moves fast (same speed as in Windows) but loading bar stops at 70%. After I terminated game session whole screen crashed and I has to use "ctrl+alt+-" combination for some normal screen size. Console log:
Code: Select all
err:ole:CoCreateInstance apartment not initialised
fixme:win:EnumDisplayDevicesW ((null),0,0x34f260,0x00000000), stub!
fixme:win:EnumDisplayDevicesW ((null),0,0x34f4d4,0x00000000), stub!
fixme:win:EnumDisplayDevicesW ((null),0,0x34f50c,0x00000000), stub!
fixme:xrandr:X11DRV_XRandR_SetCurrentMode Cannot change screen BPP from 32 to 16
fixme:imm:ImmGetOpenStatus (0x119f58): semi-stub
fixme:imm:ImmReleaseContext (0x20024, 0x119f58): stub
fixme:win:EnumDisplayDevicesW ((null),0,0x34f4a0,0x00000000), stub!
fixme:imm:ImmGetOpenStatus (0x119f58): semi-stub
fixme:imm:ImmGetOpenStatus (0x119f58): semi-stub
fixme:win:EnumDisplayDevicesW ((null),0,0x34f4a0,0x00000000), stub!
fixme:xrandr:X11DRV_XRandR_SetCurrentMode Cannot change screen BPP from 32 to 16
fixme:imm:ImmGetOpenStatus (0x119f58): semi-stub
fixme:imm:ImmGetOpenStatus (0x119f58): semi-stub


5) At the end I tried to open the game from desktop because I forgot to check human campaign. It freezes completely. When I terminated it, whole situation gone worse. I received a sound error:
Code: Select all
"Sound server informational message:
Error while initializing the sound driver:
device: default can't be opened for playback (Operation not permitted)
The sound server will continue, using the null output device."


As a result there is no sound in system :shock:

Winecfg log: "Xlib: extension "XFree86-DRI" missing on display ":0.0"."

PS. I wager that all Console logs says that something is missing, but I don't know what.
PS2 After all this steps I was making some changes in xorg.conf with color deep, but I unwised my changes. Game was working with my changes but very slow, and system after reset don't works with 32 bit color deep.
If it's possible, please solve this two problems. Thanks for all ;)

My hardware: Radeon x1200 (curse the ATI :roll: ), AMD Athlon 64 X2 4200+, 1Gb DDR2, Wine version: Wine 0.9.48.
Software: Sabayon Linux x86-64.
"After eating jackal's corpse you are mortally poisoned. You die at level 5 of dungeon"
<gasp> Not again! ;]
User avatar
Dragons Tooth
Young Hen
 
Posts: 21
Joined: Sat Nov 03, 2007 17:43
Location: Poland/Japan

Re: Hard time with Warcraft III

Postby Dragons Tooth » Sat Nov 03, 2007 21:56

Yes, I'm using the newest, stable version of Wine released about week ago. I've read that W3 HowTo before but I though it will works if I'll do a thing exactly like on this site: http://frankscorner.org/index.php?p=warcraft3
Does that patching might have influence on same game? But it was working fine with this patch. i don't know what to think about it :)
"After eating jackal's corpse you are mortally poisoned. You die at level 5 of dungeon"
<gasp> Not again! ;]
User avatar
Dragons Tooth
Young Hen
 
Posts: 21
Joined: Sat Nov 03, 2007 17:43
Location: Poland/Japan

Re: Hard time with Warcraft III

Postby Dragons Tooth » Sat Nov 03, 2007 23:18

As I wrote before menu works with opengl smoothly but loading bar suddenly stops at 70%
I have used in game folder: "wine War3.exe -opengl" It isn't working with "--" before War3.exe :wink:
"After eating jackal's corpse you are mortally poisoned. You die at level 5 of dungeon"
<gasp> Not again! ;]
User avatar
Dragons Tooth
Young Hen
 
Posts: 21
Joined: Sat Nov 03, 2007 17:43
Location: Poland/Japan

Re: Hard time with Warcraft III

Postby Dragons Tooth » Sun Nov 04, 2007 0:13

Well this wine error disappeared when I fixed my sound but I'll try that reinstall and I'll post here when I find myself in trouble. Thanks a lot :)

Edit: Now is more clear situation. I tried the installation method which is on WineHQ and it works the same as patched W3. But now it is clear with users: Normal user with directx and opengl- game freezes, root with directx and opngl- menu is working, loading bar stops about 10-30% before the end. For root DX and Opengl Console logs have almost the same lines in:
Code: Select all
err:ole:CoCreateInstance apartment not initialised
fixme:win:EnumDisplayDevicesW ((null),0,0x34f260,0x00000000), stub!
fixme:win:EnumDisplayDevicesW ((null),0,0x34f4d4,0x00000000), stub!
fixme:win:EnumDisplayDevicesW ((null),0,0x34f50c,0x00000000), stub!


I googled First line and I found this on MS site:
Code: Select all
 CoCreateInstance:
Creates a single uninitialized object of the class associated with a specified CLSID. Call CoCreateInstance when you want to create only one object on the local system. To create a single object on a remote system, call CoCreateInstanceEx, as CoCreateInstance requires that the HKCR\APPID\{appid}\RemoteServerName key be set to specify where remote activation of the object must occur. To create multiple objects based on a single CLSID, refer to the CoGetClassObject function.


One line in opengl log:
Code: Select all
fixme:xrandr:X11DRV_XRandR_SetCurrentMode Cannot change screen BPP from 32 to 16


(reinstall of ATI fglrx yields with no results)

So I wager the main problem is with that CoCreateInstance and Null- thing, but I still don't know what it is. It's something with MS, maybe... Oh well, if somebody know anything what would help me, please post. One more time Thanks :wink:
"After eating jackal's corpse you are mortally poisoned. You die at level 5 of dungeon"
<gasp> Not again! ;]
User avatar
Dragons Tooth
Young Hen
 
Posts: 21
Joined: Sat Nov 03, 2007 17:43
Location: Poland/Japan

Re: Hard time with Warcraft III

Postby Dragons Tooth » Sun Nov 04, 2007 23:32

I solved my problem if it can be called a solution :) I unemerged my newest Wine and emerged older version 0.9.45 and Warcraft runs perfectly. Geez... guys from Wine team should consider fixing the newest version. Thanks people for your big help :wink:
"After eating jackal's corpse you are mortally poisoned. You die at level 5 of dungeon"
<gasp> Not again! ;]
User avatar
Dragons Tooth
Young Hen
 
Posts: 21
Joined: Sat Nov 03, 2007 17:43
Location: Poland/Japan


Return to The Gamers Shed

Who is online

Users browsing this forum: No registered users and 2 guests