Call of Duty 4: Modern Warfare 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

COD4 on Crossover 8 in OSX

Anyone running this? Just curious on how well it works....

Does not seem to be too much info...

I successfully installed COD4 in steam and it loads properly. However upon running the graphics rendering was extremely blotched and choppy to make the game unplayable. After modifying the graphics setting the first level would crash upon attempting to load. So essentially at this stage COD4 is unplayable in Crossover Games 8.0 for Mac.

I have CoD4 installed, not through steam, but just a stand alone .exe, with all the graphic options turned down/off and it seems to be running fine. I only ran the first level for about 30 seconds though.

Playing with the settings looks like its "Soften Smoke Edges" Needs to turned off for the graphics to work

If you try these things, does it help?

  • Set graphics at high
  • In 3D settings Vertex Shader Support: Hardware and set Allow Pixel Shader
    unset driver emulation

use run command --> select the Call of duty bottle --> type “regedit” and then:

  • in HKEY_CURRENT_USER-Software-Wine create, if it's doesn't already exists, a new key named Direct3D
  • in Direct3D create the following strings with teh following values:

string: DirectDrawRenderer value: opengl
string: Nonpower2Mode value: repack
string: OffscreenRenderingMode value: fbo
string: RenderTargetLockMode value: auto
string: UseGLSL value: readtex
string: VideoMemorySize value: (memory size of your graphic card)

Let me know...

Hi there,

Also trying to run COD4 under Crossover 8 on Mac OS X.

Not running through steam, just stand-alone .exe install.

I've created a new bottle and installed under winxp settings.

Now, do i install DirectX 9.0c through the COD4 setup when it asks? or click no and install separately through CrossOver.

If the latter, do i install the DirectX into the SAME bottle as COD4 install? I think Crossover only downloads DirectX 8.

Now COD4 requires DirectX 9.0c to run, what's the best way to get DirectX 9.0c in the bottle?

Thanks.

EDIT:

So installing the DirectX built-in through Crossover (Downloads November 2008 version of DirectX) into the same bottle as COD4, i still get the same error "Video card or driver doesn't support UBYTE4N vertex data".

I tried those Regedit tweaks suggested above and the game launches! ... I get sounds of the Menu but no video at all.. just blackscreen.. tried quitting with keyboard.. but no dice.. maybe keyboard isn't working either or i just don't know how to quit in COD4. Can't do the 3d Graphics or setting tweaks as i cant see what i'm doing in the game..

So please any suggestions? .. is this purely a directx thing?

Matt wrote:

Hi there,

Also trying to run COD4 under Crossover 8 on Mac OS X.

Not running through steam, just stand-alone .exe install.

I've created a new bottle and installed under winxp settings.

Now, do i install DirectX 9.0c through the COD4 setup when it asks?
or click no and install separately through CrossOver.

If the latter, do i install the DirectX into the SAME bottle as COD4
install? I think Crossover only downloads DirectX 8.

Now COD4 requires DirectX 9.0c to run, what's the best way to get
DirectX 9.0c in the bottle?

Thanks.

EDIT:

So installing the DirectX built-in through Crossover (Downloads
November 2008 version of DirectX) into the same bottle as COD4, i
still get the same error "Video card or driver doesn't support
UBYTE4N vertex data".

I tried those Regedit tweaks suggested above and the game launches!
... I get sounds of the Menu but no video at all.. just
blackscreen.. tried quitting with keyboard.. but no dice.. maybe
keyboard isn't working either or i just don't know how to quit in
COD4. Can't do the 3d Graphics or setting tweaks as i cant see what
i'm doing in the game..

So please any suggestions? .. is this purely a directx thing?

What version of MacOSX and what videocard are you using?

Cheers!

Matt, your symptoms sounds like the game is behind the full-screen shielding window. This can happen depending on the particular sequence of window manipulations the game does.

You might try Command-Option-R to force CrossOver out of full-screen mode. Does that reveal the game window? (It will be a window without title bar or other decorations sitting in the upper left of your screen.)

You might try using winecfg to enable a virtual desktop for the bottle. Configure > Manage Bottles > Control Panel > launch winecfg > Graphics tab > Emulate a virtual desktop.

Artist Formally Known as Dot wrote:

What version of MacOSX and what videocard are you using?

Cheers!

Mac OS X 10.5.8, ATI Radeon HD2600 256MB

More details: 2.8Ghz Core 2 Duo, 4GB Memory.

Ken Thomases wrote:

Matt, your symptoms sounds like the game is behind the full-screen
shielding window. This can happen depending on the particular
sequence of window manipulations the game does.

You might try Command-Option-R to force CrossOver out of full-screen
mode. Does that reveal the game window? (It will be a window
without title bar or other decorations sitting in the upper left of
your screen.)

You might try using winecfg to enable a virtual desktop for the
bottle. Configure > Manage Bottles > Control Panel > launch winecfg

Graphics tab > Emulate a virtual desktop.

Hi there, thanks for the response!

So i've tried doing both those things, and still get the blackscreen with audio.

These are my Direct3D settings in regedit..

[HKEY_CURRENT_USER\Software\Wine\Direct3D]
"DirectDrawRenderer"="opengl"
"OffscreenRenderingMode"="fbo"
"PixelShaderMode"="enabled"
"useGLSL"="enabled"
"VertexShaderMode"="hardware"
"VideoMemorySize"="256"

Anything else I can try?

Paulthetall wrote:

  • in Direct3D create the following strings with teh following
    values:

string: DirectDrawRenderer value: opengl
string: Nonpower2Mode value: repack
string: OffscreenRenderingMode value: fbo
string: RenderTargetLockMode value: auto
string: UseGLSL value: readtex
string: VideoMemorySize value: (memory size of your
graphic card)

Some of those don't make much sense:

"fbo" is already the default value for OffscreenRenderingMode in recent versions of CrossOver Games. Setting it to "backbuffer" can fix some rendering glitches, but will result in terrible performance.

"readtex" is not a meaningful value for UseGLSL, which will cause it to default to "auto". If you're going to experiment with UseGLSL, you normally try each of "disabled" and "enabled" to see which produces better results.

Maybe you accidentally confused UseGLSL and RenderTargetLockMode? "readtex" is a sensible value for the latter. If you really meant to suggest "auto" for RenderTargetLockMode, then it's not necessary to specify that since it's the default.

I find no mention of Nonpower2Mode in the code. Maybe it's an obsolete key that's no longer used, but lives on in legend. 😉

Matt wrote:

Mac OS X 10.5.8, ATI Radeon HD2600 256MB

More details: 2.8Ghz Core 2 Duo, 4GB Memory.

What version of CrossOver Games are you using? 8.1.3 included some changes meant to fix ATI Mac graphics in some games, but completely busted it in others. You should try the unsupported 8.1.4 build. http://www.codeweavers.com/account/downloads/?_dl=unsupported

Ken Thomases wrote:

What version of CrossOver Games are you using? 8.1.3 included some
changes meant to fix ATI Mac graphics in some games, but completely
busted it in others. You should try the unsupported 8.1.4 build.
http://www.codeweavers.com/account/downloads/?_dl=unsupported

Ah only 8.0.0, i guess ill update and see how we go then? :)

Cheers for your help!

EDIT:

OK installing COD4 now... do i need to install DirectX 9 ? If so do i do it through the COD4 setup or externally through Crossover program? thanks...

EDIT EDIT:

OK ALL GOOD!! wooo.. running 100% it seems!... only in training area at the moment, running windowed in virtual desktop at 800x600... I tried pumping to 1024x768 in a 800x600 desktop, it did it at first then crashed shortly after.

Crossover Games 8.1.4 runs the game FINE 😀

trying to run in CSX9.... game loads and when you get to opening movie crashes with Direct X error. :(

I am running through Steam as well on a 2010 MacBook Pro 13.3 with a 2.4 intel duo.

I don't know if this will fix the crash, but there's a typo in a registry value in CrossOver Games 9 (which will be fixed in future releases).

Use the Run Command to run regedit. Navigate to HKEY_CURRENT_USER\Software\Wine\AppDefaults\iw3sp.exe\Direct3D. Change the name of the value "AlwaysOffscren" (one 'e') to "AlwaysOffscreen" (two 'e's).

1 to 16 of 16

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...
eyJjb3VudHJ5IjoiVVMiLCJsYW5nIjoiZW4iLCJjYXJ0IjowLCJ0enMiOi02LCJjZG4iOiJodHRwczpcL1wvbWVkaWEuY29kZXdlYXZlcnMuY29tXC9wdWJcL2Nyb3Nzb3Zlclwvd2Vic2l0ZSIsImNkbnRzIjoxNzMxNDM1MjAzLCJjc3JmX3Rva2VuIjoiTXdFZmtHbUpIUlhUNkNXciIsImdkcHIiOjB9