Problem playing Warcraft III (directx)
-
- Level 1
- Posts: 5
- Joined: Wed Jun 23, 2010 7:29 pm
Problem playing Warcraft III (directx)
Hi. I found out about Wine 2 days ago. So, my goal is to play Warcraft III through Garena with Wine on my Mac. I installed Garena, and it works ok so far. But I cant initialize Warcraft III, I get this message: "Warcraft was unable to initialize DirectX. Please ensure you have DirectX 8.1 or newer installed and that your display drivers are current."
I already installed d3dx9 and directx9 with winetricks but still no luck =/
Is it possible that the display drivers should be updated IN wine?
Anyone knows what should I do?
I already installed d3dx9 and directx9 with winetricks but still no luck =/
Is it possible that the display drivers should be updated IN wine?
Anyone knows what should I do?
Problem playing Warcraft III (directx)
On Jun 23, 2010, at 6:40 PM, augusto2131 wrote:
$ rm -rf $HOME/.wine
from Terminal and install Garena and War3 again.
Then you don't have to mess with Wine, because War3 itself runs natively on Mac OS.
But seriously, where did you get Wine? Did you build it yourself, or are you using a binary distribution like Wineskin or WineBottler? If you built it yourself, you need to make sure you built with OpenGL support, or no 3D apps are going to work. The configure script tells you if you're missing stuff like this. You might have to tell it to look in the right place (see http://wiki.winehq.org/MacOSX/Building ).
Remember that you need to have X11 installed to run Wine at all (for now). I recommend the far superior builds from http://xquartz.macosforge.net/ . Also remember that X11 on Mac doesn't know how to change the display resolution, so you have to run War3 in a virtual desktop.
Chip
Don't. You shouldn't need either of them. (It's a DX8 app, after all.) You've probably trashed your Wine prefix at this point, so just do:Hi. I found out about Wine 2 days ago. So, my goal is to play Warcraft III through Garena with Wine on my Mac. I installed Garena, and it works ok so far. But I cant initialize Warcraft III, I get this message: "Warcraft was unable to initialize DirectX. Please ensure you have DirectX 8.1 or newer installed and that your display drivers are current."
I already installed d3dx9 and directx9 with winetricks but still no luck =/
$ rm -rf $HOME/.wine
from Terminal and install Garena and War3 again.
No. Wine depends on your system to provide display services.Is it possible that the display drivers should be updated IN wine?
Yeah... Complain to the developers of Garena and demand a Mac port.Anyone knows what should I do?

But seriously, where did you get Wine? Did you build it yourself, or are you using a binary distribution like Wineskin or WineBottler? If you built it yourself, you need to make sure you built with OpenGL support, or no 3D apps are going to work. The configure script tells you if you're missing stuff like this. You might have to tell it to look in the right place (see http://wiki.winehq.org/MacOSX/Building ).
Remember that you need to have X11 installed to run Wine at all (for now). I recommend the far superior builds from http://xquartz.macosforge.net/ . Also remember that X11 on Mac doesn't know how to change the display resolution, so you have to run War3 in a virtual desktop.
Chip
-
- Level 1
- Posts: 5
- Joined: Wed Jun 23, 2010 7:29 pm
Re: Problem playing Warcraft III (directx)
What does it mean to have trashed my Wine prefix? What will happen when I type "rm -rf $HOME/.wine"?Charles Davis wrote:On Jun 23, 2010, at 6:40 PM, augusto2131 wrote:
Don't. You shouldn't need either of them. (It's a DX8 app, after all.) You've probably trashed your Wine prefix at this point, so just do:Hi. I found out about Wine 2 days ago. So, my goal is to play Warcraft III through Garena with Wine on my Mac. I installed Garena, and it works ok so far. But I cant initialize Warcraft III, I get this message: "Warcraft was unable to initialize DirectX. Please ensure you have DirectX 8.1 or newer installed and that your display drivers are current."
I already installed d3dx9 and directx9 with winetricks but still no luck =/
$ rm -rf $HOME/.wine
from Terminal and install Garena and War3 again.No. Wine depends on your system to provide display services.Is it possible that the display drivers should be updated IN wine?Yeah... Complain to the developers of Garena and demand a Mac port.Anyone knows what should I do?Then you don't have to mess with Wine, because War3 itself runs natively on Mac OS.
But seriously, where did you get Wine? Did you build it yourself, or are you using a binary distribution like Wineskin or WineBottler? If you built it yourself, you need to make sure you built with OpenGL support, or no 3D apps are going to work. The configure script tells you if you're missing stuff like this. You might have to tell it to look in the right place (see http://wiki.winehq.org/MacOSX/Building ).
Remember that you need to have X11 installed to run Wine at all (for now). I recommend the far superior builds from http://xquartz.macosforge.net/ . Also remember that X11 on Mac doesn't know how to change the display resolution, so you have to run War3 in a virtual desktop.
Chip
I used this tutorial to install wine "http://davidbaumgold.com/tutorials/wine-mac/".
I didn't knew that there were different ways to install wine... Are my 3D apps going to work?
And yeah, the developers of Garena said they were developing a Mac applications but that was years ago and still nothing =/
Problem playing Warcraft III (directx)
On Jun 23, 2010, at 7:06 PM, augusto2131 wrote:
port installed mesa
say? (Type it into the Terminal.)
Chip
The "Wine prefix" (also known as a "Wine bottle") is the place where Wine puts, among other things, a virtual 'drive C'. When you "trashed" your Wine prefix, you put something in it that Wine can't handle, like actual DX9 DLLs. (They warned you not to use the 'directx9' verb with winetricks!)What does it mean to have trashed my Wine prefix?
That deletes the Wine prefix. Nothing horribly dangerous, but you'll have to install Garena and War3 again (like I said).What will happen when I type "rm -rf $HOME/.wine"?
Oh, you used MacPorts.I used this tutorial to install wine "http://davidbaumgold.com/tutorials/wine-mac/".
Are you running Snow Leopard? On SL, MacPorts defaults to building 64-bit (if the system supports it). You have to make sure mesa (the port that provides GL support; MacPorts should have installed it when you installed wine-devel) was built +universal if you're on SL. What does:I didn't knew that there were different ways to install wine... Are my 3D apps going to work?
port installed mesa
say? (Type it into the Terminal.)
That sucks :\ .And yeah, the developers of Garena said they were developing a Mac applications but that was years ago and still nothing =/
Chip
-
- Level 1
- Posts: 5
- Joined: Wed Jun 23, 2010 7:29 pm
Re: Problem playing Warcraft III (directx)
Yeah I'm using SL. When I typed port installed mesa I got this message:Charles Davis wrote:On Jun 23, 2010, at 7:06 PM, augusto2131 wrote:The "Wine prefix" (also known as a "Wine bottle") is the place where Wine puts, among other things, a virtual 'drive C'. When you "trashed" your Wine prefix, you put something in it that Wine can't handle, like actual DX9 DLLs. (They warned you not to use the 'directx9' verb with winetricks!)What does it mean to have trashed my Wine prefix?That deletes the Wine prefix. Nothing horribly dangerous, but you'll have to install Garena and War3 again (like I said).What will happen when I type "rm -rf $HOME/.wine"?Oh, you used MacPorts.I used this tutorial to install wine "http://davidbaumgold.com/tutorials/wine-mac/".Are you running Snow Leopard? On SL, MacPorts defaults to building 64-bit (if the system supports it). You have to make sure mesa (the port that provides GL support; MacPorts should have installed it when you installed wine-devel) was built +universal if you're on SL. What does:I didn't knew that there were different ways to install wine... Are my 3D apps going to work?
port installed mesa
say? (Type it into the Terminal.)That sucks :\ .And yeah, the developers of Garena said they were developing a Mac applications but that was years ago and still nothing =/
Chip
The following ports are currently installed:
mesa @7.8.1_1+hw_render+universal (active)
So I think it's installed. So, will my 3D applications work?
Thanks for all the help man, I really appreciate it

Problem playing Warcraft III (directx)
On Jun 23, 2010, at 7:38 PM, augusto2131 wrote:
Like I said earlier, you need to run War3 in a virtual desktop (because X11 doesn't know how to change the display resolution). You can do this from winecfg (type 'winecfg' into Terminal). Go to the "Graphics" tab and tick "Emulate a virtual desktop".
Chip
All right, so you've got 32-bit mesa.Yeah I'm using SL. When I typed port installed mesa I got this message:
The following ports are currently installed:
mesa @7.8.1_1+hw_render+universal (active)
They should.So I think it's installed. So, will my 3D applications work?
Like I said earlier, you need to run War3 in a virtual desktop (because X11 doesn't know how to change the display resolution). You can do this from winecfg (type 'winecfg' into Terminal). Go to the "Graphics" tab and tick "Emulate a virtual desktop".
No problem.Thanks for all the help man, I really appreciate it![]()

Chip
-
- Level 1
- Posts: 5
- Joined: Wed Jun 23, 2010 7:29 pm
-
- Level 1
- Posts: 5
- Joined: Wed Jun 23, 2010 7:29 pm