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?
On Jun 23, 2010, at 6:40 PM, augusto2131 wrote:> 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 =/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: $ rm -rf $HOME/.wine from Terminal and install Garena and War3 again.> Is it possible that the display drivers should be updated IN wine?No. Wine depends on your system to provide display services.> Anyone knows what should I do?Yeah... Complain to the developers of Garena and demand a Mac port. :) 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
Charles Davis wrote:> On Jun 23, 2010, at 6:40 PM, augusto2131 wrote: > > > > 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 =/ > > > 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: > > $ rm -rf $HOME/.wine > > from Terminal and install Garena and War3 again. > > > Is it possible that the display drivers should be updated IN wine? > > > No. Wine depends on your system to provide display services. > > > Anyone knows what should I do? > > > Yeah... Complain to the developers of Garena and demand a Mac port. :) 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. > > ChipWhat does it mean to have trashed my Wine prefix? What will happen when I type "rm -rf $HOME/.wine"? 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 =/
Charles Davis wrote:> On Jun 23, 2010, at 7:06 PM, augusto2131 wrote: > > > What does it mean to have trashed my Wine prefix? > > > 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 will happen when I type "rm -rf $HOME/.wine"? > > > That deletes the Wine prefix. Nothing horribly dangerous, but you'll have to install Garena and War3 again (like I said). > > > I used this tutorial to install wine "http://davidbaumgold.com/tutorials/wine-mac/". > > > Oh, you used MacPorts. > > > I didn't knew that there were different ways to install wine... Are my 3D apps going to work? > > > 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: > > port installed mesa > > say? (Type it into the Terminal.) > > > And yeah, the developers of Garena said they were developing a Mac applications but that was years ago and still nothing =/ > > > That sucks :\ . > > ChipYeah 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) So I think it's installed. So, will my 3D applications work? Thanks for all the help man, I really appreciate it :D