Half-Life 2 Forum

This is a community forum and not official technical support. — If you need official support: Contact Us

The following comments are owned by whoever posted them. We are not responsible for them in any way.

Back to Threads Reply to Thread

DirectX 9 Mac support

Hi,
I have run into some problems trying to get the game to work under Cross over Games 7.2 for MAC using DirectX 9 hardware support. I am using a Macbook Pro with an Nvidia 8600GT running 10.5.7.
I installed the game through Steam played some and works fine. The problem occurs when i try to run the game using the -dxlevel 90 directive from launch options. The end result is the game loading with a black screen. I hear the game menu sound behind but after 5 minutes on a black screen i kill it. When i do I can see momentarily the screen buffer showing some parts of the menu.
The way i try to run it using directX 9 is the following:

  • Run regedit for half life bottle
  • change HK_CURRENT_USER->Software->Wine-Direct3D->UseGLSL from "disabled" to "enabled"
  • at launch properties of game add the DX9 directive so the whole property looks like this
    "-novid +mat_hdr_level 0 -dxlevel 90"
    -Launch the game

After runnning into a black screen and kill it i am forced to use the directive -dxlevel 81 to go back to direct X 8.1 in order to play the game.

I finally figured out what broke GLSL in Half Life 2 in 7.2. I haven't yet been able to reproduce this problem in a stand alone test app to send it to Apple, but I'll have a workaround in place in the next release.

There is no easy way to work it around from your side. One very hacky(and untested by me) way is to open wined3d.dll.so from the CrossOver.app in a hex editor and break all ocurances of the string "GL_ARB_fragment_program", e.g. by replacing them with "XX_ARB_fragment_program". If you try this and run into problems please reinstall CrossOver before filing tickets. A CrossOver that is changed that way will only work with GLSL enabled.

Thanks for the information. I am glad that it is a known issue and i was not chasing some voodoo case.
When you say next release you mean next major release or some minor update that will be out soon?

We plan a major release, hopefully soon. It is still alpha though, and we are not entirely settled on the feature set or release date yet.

I will post something on my Blog as soon as we have a rough idea which of our current work will make it in. What will be there for sure is Joystick support on Macs, although I personally didn't test it yet. If we can we'll enable Shader Model 3.0 support on most Macs(maybe not those with Intel chips). D3D10 support won't be in there most likely. We've started development on it and can render yellow triangles now, but there's a lot more work to do. I might give the Steam overlay another try, since my last attempt for 7.2 didn't end so well.

Game candidates are L4D, Warhammer Online, Lotro(ok, I don't know the state of .NET)

thats good news
I dont know really anything about warhammer, But left 4 dead would make a lot of people happy.
Lord of the rings which consumes most of my game-time plays nicely under corssover. The only .net thing on the game is the launcher
but everyone are using Alan Jackson's pylotro launcher that replaces the .net one (Thanks Alan).
http://www.codeweavers.com/compatibility/browse/name/?app_id=2869;forum=1;msg=49640
It is both tested in American and European version(which is the one i am using and needs some extra steps to play).
My humble opinion is to leave d3d10 for later as it is not that essential(WinXP users dont have it anyhow) and concentrate on better d3d9 and more games.

I just tried 7.2.1 and the results are the same, with directX9 game does not render the menu. Was 7.2.1 the update you where referring to?

No, 7.2.1 was a fix for a bug that was exposed by a quartz_wm that ships with new macs. It does not have any other changes.

when will Directx 9 work? It is getting annoying (although I understand it is hard for you guys so don't feel like im getting upset at you guys just stuff that is not working!)

whoops I posted 2 times by accident

CrossOver Forums: the place to discuss running Windows applications on Mac and Linux

CodeWeavers or its third-party tools process personal data (e.g. browsing data or IP addresses) and use cookies or other identifiers, which are necessary for its functioning and required to achieve the purposes illustrated in our Privacy Policy. You accept the use of cookies or other identifiers by clicking the Acknowledge button.
Please Wait...
eyJjb3VudHJ5IjoiVVMiLCJsYW5nIjoiZW4iLCJjYXJ0IjowLCJ0enMiOi02LCJjZG4iOiJodHRwczpcL1wvbWVkaWEuY29kZXdlYXZlcnMuY29tXC9wdWJcL2Nyb3Nzb3Zlclwvd2Vic2l0ZSIsImNkbnRzIjoxNzMxNDM1MjAzLCJjc3JmX3Rva2VuIjoiWjdnRXAyckM2OGhDNTdMRyIsImdkcHIiOjB9