Alanbly
2011-Mar-21 02:53 UTC
[Wine] Trying to run RIFT on OS X 10.6 and Having DirectX Issues
I've been working for a few hours to get RIFT running on my Mac Pro. I really don't want to have to get a full windows license to play the game so it seemed like a good alternative. So I pulled wine via macports (I did this today so I got wine-1.2.2). Then downloaded the game and got it patched (my wife has a Windows machine and a Rift account). This is where progress stopped. I find that if I run the executable via the command below it results in the error shown: Code: $ /opt/local/bin/wine '/Applications/RIFT.app/Contents/Resources/RIFT Game/rift.exe' err:module:import_dll Library d3dx9_43.dll (which is needed by L"Z:\\Applications\\RIFT.app\\Contents\\Resources\\RIFT Game\\rift.exe") not found err:module:LdrInitializeThunk Main exe initialization for L"Z:\\Applications\\RIFT.app\\Contents\\Resources\\RIFT Game\\rift.exe" failed, status c0000135 So I went looking and while I have several d3dx9_*.dll files up to 42 but not 43. Is this because I should be using the "devel" version of wine? I've read that some people claim to have used winetricks to fix directx issues but I also saw someone's thread get summarily executed for using the program. So this is as far as I've gone. Any input on what I should do here?
James McKenzie
2011-Mar-21 02:58 UTC
[Wine] Trying to run RIFT on OS X 10.6 and Having DirectX Issues
On 3/20/11 7:53 PM, Alanbly wrote:> I've been working for a few hours to get RIFT running on my Mac Pro. I really don't want to have to get a full windows license to play the game so it seemed like a good alternative. > > So I pulled wine via macports (I did this today so I got wine-1.2.2). Then downloaded the game and got it patched (my wife has a Windows machine and a Rift account). This is where progress stopped. I find that if I run the executable via the command below it results in the error shown: > > Code: > $ /opt/local/bin/wine '/Applications/RIFT.app/Contents/Resources/RIFT Game/rift.exe' > err:module:import_dll Library d3dx9_43.dll (which is needed by L"Z:\\Applications\\RIFT.app\\Contents\\Resources\\RIFT Game\\rift.exe") not foundwinetricks should be able to help with this.> err:module:LdrInitializeThunk Main exe initialization for L"Z:\\Applications\\RIFT.app\\Contents\\Resources\\RIFT Game\\rift.exe" failed, status c0000135 > >Caused by the failure of the above.> > So I went looking and while I have several d3dx9_*.dll files up to 42 but not 43. Is this because I should be using the "devel" version of wine? I've read that some people claim to have used winetricks to fix directx issues but I also saw someone's thread get summarily executed for using the program. So this is as far as I've gone. Any input on what I should do here? >You can update to the devel version (currently 1.3.16) but I don't know if MacPorts or Fink have this available yet. However I did recommend using winetricks to install the dll. Our Wiki has a page dedicated to its use at http://wiki.winehq.org/winetricks. Please read the ENTIRE page before using it. I highly recommend using a separate WinePrefix for your RIFT testing. That way you will not cause problems with other programs nor force the re-installation of them when your installation either fails or is corrupt. Also, it is HIGHLY recommended that programs be installed into Wine, not copied from an existing Windows installation. James McKenzie> > > >
Alanbly
2011-Mar-21 03:19 UTC
[Wine] Re: Trying to run RIFT on OS X 10.6 and Having DirectX Issues
> James: I highly recommend using a separate WinePrefix for your RIFT testing. > That way you will not cause problems with other programs nor force the > re-installation of them when your installation either fails or is corrupt. > > Also, it is HIGHLY recommended that programs be installed into Wine, not > copied from an existing Windows installation.RIFT is the only reason I installed Wine so I haven't got anything else installed. I have been using the real Windows installation as a reference but not copying anything. You have to have an account to download the patch material which was the only reason I mentioned it. You suggest Winetricks, what should I do once I have it installed? Charles: I saw that option which was why I mentioned it. James: would this include the newer DLL?
Alanbly
2011-Mar-21 04:25 UTC
[Wine] Re: Trying to run RIFT on OS X 10.6 and Having DirectX Issues
OK, I've installed the devel version of Wine to no avail. Then tried Winetricks. It seems to execute: Code: 22:04:31 alanbly ~ $ winetricks d3dx9 dyld: Library not loaded: /opt/local/lib/libxml2.2.dylib Referenced from: /usr/local/bin/update-mime-database Reason: no suitable image found. Did find: /opt/local/lib/libxml2.2.dylib: no matching architecture in universal wrapper /opt/local/lib/libxml2.2.dylib: no matching architecture in universal wrapper Executing w_do_call d3dx9 Executing load_d3dx9 Executing cabextract -q -d /Users/alanbly/.wine/dosdevices/c:/windows/temp/_d3dx9 -L -F *d3dx9*x86* /Users/alanbly/Library/Caches/winetricks/directx9/directx_feb2010_redist.exe Executing cabextract -q -d /Users/alanbly/.wine/dosdevices/c:/windows/system32 -L -F d3dx9*.dll /Users/alanbly/.wine/dosdevices/c:/windows/temp/_d3dx9/apr2005_d3dx9_25_x86.cab /Users/alanbly/.wine/dosdevices/c:/windows/temp/_d3dx9/apr2005_d3dx9_25_x86.cab: WARNING; possible 5960 extra bytes at end of file. Executing cabextract -q -d /Users/alanbly/.wine/dosdevices/c:/windows/system32 -L -F d3dx9*.dll /Users/alanbly/.wine/dosdevices/c:/windows/temp/_d3dx9/apr2006_d3dx9_30_x86.cab /Users/alanbly/.wine/dosdevices/c:/windows/temp/_d3dx9/apr2006_d3dx9_30_x86.cab: WARNING; possible 5960 extra bytes at end of file. Executing cabextract -q -d /Users/alanbly/.wine/dosdevices/c:/windows/system32 -L -F d3dx9*.dll /Users/alanbly/.wine/dosdevices/c:/windows/temp/_d3dx9/apr2007_d3dx9_33_x86.cab /Users/alanbly/.wine/dosdevices/c:/windows/temp/_d3dx9/apr2007_d3dx9_33_x86.cab: WARNING; possible 5960 extra bytes at end of file. Executing cabextract -q -d /Users/alanbly/.wine/dosdevices/c:/windows/system32 -L -F d3dx9*.dll /Users/alanbly/.wine/dosdevices/c:/windows/temp/_d3dx9/aug2005_d3dx9_27_x86.cab /Users/alanbly/.wine/dosdevices/c:/windows/temp/_d3dx9/aug2005_d3dx9_27_x86.cab: WARNING; possible 5960 extra bytes at end of file. Executing cabextract -q -d /Users/alanbly/.wine/dosdevices/c:/windows/system32 -L -F d3dx9*.dll /Users/alanbly/.wine/dosdevices/c:/windows/temp/_d3dx9/aug2007_d3dx9_35_x86.cab /Users/alanbly/.wine/dosdevices/c:/windows/temp/_d3dx9/aug2007_d3dx9_35_x86.cab: WARNING; possible 5960 extra bytes at end of file. Executing cabextract -q -d /Users/alanbly/.wine/dosdevices/c:/windows/system32 -L -F d3dx9*.dll /Users/alanbly/.wine/dosdevices/c:/windows/temp/_d3dx9/aug2008_d3dx9_39_x86.cab /Users/alanbly/.wine/dosdevices/c:/windows/temp/_d3dx9/aug2008_d3dx9_39_x86.cab: WARNING; possible 5960 extra bytes at end of file. Executing cabextract -q -d /Users/alanbly/.wine/dosdevices/c:/windows/system32 -L -F d3dx9*.dll /Users/alanbly/.wine/dosdevices/c:/windows/temp/_d3dx9/aug2009_d3dx9_42_x86.cab /Users/alanbly/.wine/dosdevices/c:/windows/temp/_d3dx9/aug2009_d3dx9_42_x86.cab: WARNING; possible 5960 extra bytes at end of file. Executing cabextract -q -d /Users/alanbly/.wine/dosdevices/c:/windows/system32 -L -F d3dx9*.dll /Users/alanbly/.wine/dosdevices/c:/windows/temp/_d3dx9/dec2005_d3dx9_28_x86.cab /Users/alanbly/.wine/dosdevices/c:/windows/temp/_d3dx9/dec2005_d3dx9_28_x86.cab: WARNING; possible 5960 extra bytes at end of file. Executing cabextract -q -d /Users/alanbly/.wine/dosdevices/c:/windows/system32 -L -F d3dx9*.dll /Users/alanbly/.wine/dosdevices/c:/windows/temp/_d3dx9/dec2006_d3dx9_32_x86.cab /Users/alanbly/.wine/dosdevices/c:/windows/temp/_d3dx9/dec2006_d3dx9_32_x86.cab: WARNING; possible 5960 extra bytes at end of file. Executing cabextract -q -d /Users/alanbly/.wine/dosdevices/c:/windows/system32 -L -F d3dx9*.dll /Users/alanbly/.wine/dosdevices/c:/windows/temp/_d3dx9/feb2005_d3dx9_24_x86.cab /Users/alanbly/.wine/dosdevices/c:/windows/temp/_d3dx9/feb2005_d3dx9_24_x86.cab: WARNING; possible 5960 extra bytes at end of file. Executing cabextract -q -d /Users/alanbly/.wine/dosdevices/c:/windows/system32 -L -F d3dx9*.dll /Users/alanbly/.wine/dosdevices/c:/windows/temp/_d3dx9/feb2006_d3dx9_29_x86.cab /Users/alanbly/.wine/dosdevices/c:/windows/temp/_d3dx9/feb2006_d3dx9_29_x86.cab: WARNING; possible 5960 extra bytes at end of file. Executing cabextract -q -d /Users/alanbly/.wine/dosdevices/c:/windows/system32 -L -F d3dx9*.dll /Users/alanbly/.wine/dosdevices/c:/windows/temp/_d3dx9/jun2005_d3dx9_26_x86.cab /Users/alanbly/.wine/dosdevices/c:/windows/temp/_d3dx9/jun2005_d3dx9_26_x86.cab: WARNING; possible 5960 extra bytes at end of file. Executing cabextract -q -d /Users/alanbly/.wine/dosdevices/c:/windows/system32 -L -F d3dx9*.dll /Users/alanbly/.wine/dosdevices/c:/windows/temp/_d3dx9/jun2007_d3dx9_34_x86.cab /Users/alanbly/.wine/dosdevices/c:/windows/temp/_d3dx9/jun2007_d3dx9_34_x86.cab: WARNING; possible 5960 extra bytes at end of file. Executing cabextract -q -d /Users/alanbly/.wine/dosdevices/c:/windows/system32 -L -F d3dx9*.dll /Users/alanbly/.wine/dosdevices/c:/windows/temp/_d3dx9/jun2008_d3dx9_38_x86.cab /Users/alanbly/.wine/dosdevices/c:/windows/temp/_d3dx9/jun2008_d3dx9_38_x86.cab: WARNING; possible 5960 extra bytes at end of file. Executing cabextract -q -d /Users/alanbly/.wine/dosdevices/c:/windows/system32 -L -F d3dx9*.dll /Users/alanbly/.wine/dosdevices/c:/windows/temp/_d3dx9/mar2008_d3dx9_37_x86.cab /Users/alanbly/.wine/dosdevices/c:/windows/temp/_d3dx9/mar2008_d3dx9_37_x86.cab: WARNING; possible 5960 extra bytes at end of file. Executing cabextract -q -d /Users/alanbly/.wine/dosdevices/c:/windows/system32 -L -F d3dx9*.dll /Users/alanbly/.wine/dosdevices/c:/windows/temp/_d3dx9/mar2009_d3dx9_41_x86.cab /Users/alanbly/.wine/dosdevices/c:/windows/temp/_d3dx9/mar2009_d3dx9_41_x86.cab: WARNING; possible 5960 extra bytes at end of file. Executing cabextract -q -d /Users/alanbly/.wine/dosdevices/c:/windows/system32 -L -F d3dx9*.dll /Users/alanbly/.wine/dosdevices/c:/windows/temp/_d3dx9/nov2007_d3dx9_36_x86.cab /Users/alanbly/.wine/dosdevices/c:/windows/temp/_d3dx9/nov2007_d3dx9_36_x86.cab: WARNING; possible 5960 extra bytes at end of file. Executing cabextract -q -d /Users/alanbly/.wine/dosdevices/c:/windows/system32 -L -F d3dx9*.dll /Users/alanbly/.wine/dosdevices/c:/windows/temp/_d3dx9/nov2008_d3dx9_40_x86.cab /Users/alanbly/.wine/dosdevices/c:/windows/temp/_d3dx9/nov2008_d3dx9_40_x86.cab: WARNING; possible 5960 extra bytes at end of file. Executing cabextract -q -d /Users/alanbly/.wine/dosdevices/c:/windows/system32 -L -F d3dx9*.dll /Users/alanbly/.wine/dosdevices/c:/windows/temp/_d3dx9/oct2006_d3dx9_31_x86.cab /Users/alanbly/.wine/dosdevices/c:/windows/temp/_d3dx9/oct2006_d3dx9_31_x86.cab: WARNING; possible 5960 extra bytes at end of file. Using native override for following DLLs: d3dx9_24 d3dx9_25 d3dx9_26 d3dx9_27 d3dx9_28 d3dx9_29 d3dx9_30 Executing winetricks_early_wine regedit C:\windows\Temp\_d3dx9\override-dll.reg Using native override for following DLLs: d3dx9_31 d3dx9_32 d3dx9_33 d3dx9_34 d3dx9_35 d3dx9_36 d3dx9_37 Executing winetricks_early_wine regedit C:\windows\Temp\_d3dx9\override-dll.reg Using native override for following DLLs: d3dx9_38 d3dx9_39 d3dx9_40 d3dx9_41 d3dx9_42 d3dx9_43 Executing winetricks_early_wine regedit C:\windows\Temp\_d3dx9\override-dll.reg ------------------------------------------------------ d3dx9 install completed, but installed file -n /Users/alanbly/.wine/dosdevices/c: /windows/system32/d3dx9_24.dll not found ------------------------------------------------------ That put the DLL on the system but the software still doesn't run. The errors in that log also worry me. There seem to be a lot of DLL locations, is there a specific one I should make sure the DLL got into?
doh123
2011-Mar-21 13:23 UTC
[Wine] Re: Trying to run RIFT on OS X 10.6 and Having DirectX Issues
I know some people who were trying to get Rift to run in Wineskin (http://wineskin.doh123.com/), but I don't think they ever got the login/patcher to work correctly... I want to try myself sometime, but I'm not willing to buy the game until there is a free trial I can use first.
DanKegel
2011-Mar-21 15:00 UTC
[Wine] Re: Trying to run RIFT on OS X 10.6 and Having DirectX Issues
This warning "d3dx9 install completed, but installed file -n /Users/alanbly/.wine/dosdevices/c: /windows/system32/d3dx9_24.dll not found " should be harmless in your case. The file probably exists, but the extra -n confused the install check. It was reported here http://code.google.com/p/winetricks/issues/list?cursor=8 but only when I saw your post did I notice the funky -n, thanks.
Alanbly
2011-Mar-22 02:36 UTC
[Wine] Re: Trying to run RIFT on OS X 10.6 and Having DirectX Issues
Yes I built it, but the same happens without it. I didn't pull anything from Mac OS Forge, I already had x11 (XQuartz 2.3.6 (xorg-server 1.4.2-apple56)) installed and running for GIMP and a few other programs. Also the X Server itself work fine for displaying text and buttons within the RIFT executable. It's not till I get to the 3D rendering that it freaks out (the whole screen flashes with random colors, possibly the polygon colors to be rendered. I can only presume this means that is has the server right but is translating the directx wrong for some reason.
Alanbly
2011-Mar-22 02:55 UTC
[Wine] Re: Trying to run RIFT on OS X 10.6 and Having DirectX Issues
Chip: Thanks, I'll try updating XQuartz and I'll let you know
Alanbly
2011-Mar-22 03:28 UTC
[Wine] Re: Trying to run RIFT on OS X 10.6 and Having DirectX Issues
Thank you, installing a new XQuartz did the trick. For anyone else trying to get it working, it looks like the necessary pieces were the wine-devel port and the upgraded XQuartz.