DirectX on my Macbook pro???

Questions about Wine on macOS.
Locked
dalevik
Newbie
Newbie
Posts: 2
Joined: Tue Aug 13, 2013 8:30 am

DirectX on my Macbook pro???

Post by dalevik »

Hey there fellow mac users.
I am trying to install GTA IV on my macbook pro but it says that i need to update my DirectX.
Since my OS doesn't support DirectX i downloaded Wine to fix this. The only problem is that as soon as i open the DirectX installer with Wine the installation can not be completed for some reason.
And when i try to do it with Wine Bottler, half way through it says "Prefix creation aborted"
I would be glad if someone could help me:)

Sorry for my english, i'm from sweden
Maexel
Level 3
Level 3
Posts: 71
Joined: Fri Dec 07, 2012 11:08 am

Re: DirectX on my Macbook pro???

Post by Maexel »

Hi dalevik,

Don't worry about your English, you've expressed yourself totally understandable :wink: . How have you got wine installed and which version? If with MacPorts, you can easily get winetricks created form DanKegel (thanks a lot for these handy and helpful scripts). If not, I would recommend you to install MacPorts (http://www.macports.org/install.php) first. Alternatively, you can follow these steps as well to get winetricks: http://wiki.winehq.org/winetricks

My favour is the MacPorts way, so I show you how to go further on with MacPorts installed. So once it is installed, type in Terminal:
1) sudo port install winetricks (-> this will get you DanKegel's Winetricks)

Next step is to update your DirectX dlls:
2) winetricks d3dx9_36 (-> this will install you the dlls for DirectX9)

If it still is not working with DirectX9 (because GTA needs even a more actual version or whatever reason for :? ), you can let winetricks show you a variety of available dlls or apps which can be installed (is the same as in step 2: Enter winetricks and then what you want to be installed, it's that easy :D ):
winetricks dlls list or for a general overview winetricks list and form there list apps, fonts, games etc. :wink:
You'll get the hang of it.

Hope you'll get a step further with my advices.

Cheers mate,
Maexel
dalevik
Newbie
Newbie
Posts: 2
Joined: Tue Aug 13, 2013 8:30 am

Re: DirectX on my Macbook pro???

Post by dalevik »

Maexel wrote:Hi dalevik,

Don't worry about your English, you've expressed yourself totally understandable :wink: . How have you got wine installed and which version? If with MacPorts, you can easily get winetricks created form DanKegel (thanks a lot for these handy and helpful scripts). If not, I would recommend you to install MacPorts (http://www.macports.org/install.php) first. Alternatively, you can follow these steps as well to get winetricks: http://wiki.winehq.org/winetricks

My favour is the MacPorts way, so I show you how to go further on with MacPorts installed. So once it is installed, type in Terminal:
1) sudo port install winetricks (-> this will get you DanKegel's Winetricks)

Next step is to update your DirectX dlls:
2) winetricks d3dx9_36 (-> this will install you the dlls for DirectX9)

If it still is not working with DirectX9 (because GTA needs even a more actual version or whatever reason for :? ), you can let winetricks show you a variety of available dlls or apps which can be installed (is the same as in step 2: Enter winetricks and then what you want to be installed, it's that easy :D ):
winetricks dlls list or for a general overview winetricks list and form there list apps, fonts, games etc. :wink:
You'll get the hang of it.

Hope you'll get a step further with my advices.

Cheers mate,
Maexel
I have tried to follow your instructions but i don't seem to catch some of the things (I'm very new to these kinds of things)

The Wine I use is downloaded from http://winebottler.kronenberg.org and is the 1.6-rc5 version (it claims to be the most recent one)
And also WineBottler Version 1.4.1.4

1) When i enter "sudo port install winetricks" the terminal asks for my PW, and when i enter it the terminal starts to spam out all kinds of errors like "Warning: All compilers are either blacklisted or unavailable; defaulting to first fallback option"
So i went to the website you recomended to download winetricks, but all i found was a .txt document, is that the right one?

2) And since it's a text document, where am i supposed to fix the Directx dll?

Maybe i'm totally wrong but as i mentioned earlier I'm really new to this :) So Thank you for all the time you spent just to help me, I relly appreciate it

/Dalevik
Maexel
Level 3
Level 3
Posts: 71
Joined: Fri Dec 07, 2012 11:08 am

Re: DirectX on my Macbook pro???

Post by Maexel »

Hey,

First things first :wink: . I can't help you out with WineBottler since I've never used it before. Yes, it's a plain script, winetricks, created by DanKegel. But... I think it will be a problem to use it together with WineBottler since I'm lacking experience with Bottler and don't know where wine has been compiled to...
So, my suggestion is, that you uninstall WineBottler and get wine over MacPorts :wink: . The installation process will all be done over Terminal. What you need to reconsider although is, if you can afford enough time because the whole installation will take you around 3 - 4 hours. Good side to eat: once it started, you don't need to stay there and can use the time for whatever purpose :wink: .
If you decide to do so, you need first to check what your OS specifics are. Which version of OS are you running (Leopard, Lion, Mountain Lion)? This is necessary to know because with Leopard ('10.5.8'), you can't install wine-devel (newest version of wine, so called under MacPorts) due to cmake.
If you're willing to go further on, let me know. But make sure first to check in AppDatabase (http://appdb.winehq.org) if GTA is running well :wink: . Otherwise the whole effort wouldn't be rewarded...

Cheers mate,
Maexel
Locked