1. sh winetricks directx9 (http://wiki.winehq.org/winetricks) 2. regedit sound.reg (sound.reg being this file: http://bugs.winehq.org/attachment.cgi?id=18560) 3. patch your wine sources with this patch and compile: http://bugs.winehq.org/attachment.cgi?id=18559 4. copy the XAudio2_0.dll into the ~/.wine/drive_c/windows/system32 directory. Download XAudio2_0.dll from http://rapidshare.de/files/41317359/XAudio2_0.dll.html 5. game should work at this moment (it is only workaround - without in-game sounds)
The following comments are owned by whoever posted them. WineHQ is not responsible for what they say.
No Sound In-Game
by Telly Williams on Monday January 17th 2011, 1:57
I get sound when the game first starts and during the cinema before the stage starts. I don't get any sound at the title screen or during gameplay. If I play an entire stage through (to see if sound will come back on) it stays off. If I complete a stage, start the next stage, quit the game, and then select the new stage, I get sound only during the cinema (again). Is there something I've forgotten to install? Two or three months ago this game worked fine. Thanks.
by Chris Andrews on Saturday June 19th 2010, 8:19
I got sound to work. Im using 1.2-rc4. No patches needed, Just make sure you have the libopenal 32bit files installed.
In debian I downloaded the 32bit libopenal package and chucked libopenal.so.0 into /usr/lib32 then did the symlink from the winebuild/lib32/libopenal.so.0 to /usr/lib32/libopenal.so.0 thing.
i also have libopenal1 and libopenal-dev installed
4. Get NoCD/DVD Patch
4.a) Get Patch from www.gamecopyworld.com
4.b) cp CoDWaW.exe $HOME/.wine_cod5/drive_c//
5. Run it
You might want to delete the temporary/installer files from $HOME/.wine_cod5/drive_c/windows/temp/ and $HOME/.wine_cod5/drive_c/windows/Installer/ as the installer does not delete them and they are HUGE.
You might also want to get the "d3dx9_37.dll" and copy it to $HOME/.wine_cod5/drive_c/windows/system32/. I have the feeling that I get better fps with this DLL instead of the builtin wine version.
I could not get sound to work at all. I even unpacked all the game's IWD files and converted the game sounds from ADPCM WAV to uncompressed 16bit PCM WAV files. Unfortunately the game does not seem to support uncompressed PCM files anymore. With the converted sound files I get the error message "Streaming file does not have the PRIV chunk" in the game's console log.
1.5 version works without patching Wine
by Josko on Monday August 10th 2009, 10:20
after downloading a bunch of patches to CoD5 and patching it to 1.5 version I've successfuly ran it. Very playable, AAx4 AF max on 1680*1050 on a 3.0GHz Quad core with GTX260 and 185.18.29 nVidia drivers!
I've noticed I already got XAudio file in system32 and just downloaded the registry needed. Installed the game, patched it and runs.
Sound doesn't work and you can't create a online account (the game can't seem to connect online?) but that's maybe my own problem to fix.Also I didn't went pass mission one since playing without sound isn't my style.
Working, but unplayable !
by ryan on Monday January 26th 2009, 17:29
Got it working as per instructions but the frame rate is incredibly poor, less than 1 FPS ! Works fine in windows fps wise on same hardware.
Is there something im missing in the registry that may speed it up ? I added the videomemory option as it complained of "out of memory" and fbo in the wine/directx section, the fbo option helped a little.
Perhaps my system lacks the raw power to force a reasonable frame rate under wine ? COD 4 is certainly playable though .
Got it working
by Rico on Wednesday January 7th 2009, 10:02
- I've installed the game with wine-1.1.11 (current git seems to be broken).
- installed directx9 via winetricks
- copied the XAudio2_0.dll from a XP installation
- added a few registry keys for XAudio2_0.dll