Personal tools
You are here: Home GNU / Linux Install DirectX 9.0c on Linux using Wine
Document Actions
  • Send this page to somebody
  • Print this page
  • Add Bookmarklet

Install DirectX 9.0c on Linux using Wine

by Pierre-Yves Landuré last modified 2009-03-09 12:48

Wine is a implementation of Windows API on Linux. Even if it is quite complete, it still miss some DirectX functionalities. This article present how to add this missing functionalities by installing native DirectX 9.0c in your Wine environment.


It seems that many people have problems following this guide. So we sure that you are using the last version of Wine.

For Ubuntu 8.04 Hardy Heron, use :

sudo wget -O /etc/apt/sources.list.d/hardy-winehq.list
wget -q -O- | sudo apt-key add -
sudo apt-get update

For Ubuntu 7.10 Gutsy Gibbon, use :

sudo wget -O /etc/apt/sources.list.d/gutsy-winehq.list
wget -q -O- | sudo apt-key add -
sudo apt-get update

You will now be able to install the last version of Wine with apt-get.

Wine environment setup

First, we install needed softwares:

/usr/bin/sudo /usr/bin/apt-get install wine cabextract wget

We create the Wine environment folder:


We configure the sound so that Wine use ALSA:

/usr/bin/wget \
/usr/bin/regedit /tmp/audio.reg

Video memory amount setup

We must tell Wine the amount of Video memory present on our graphic adapter. First, download the template registry file:

/usr/bin/wget \

We update the template with a auto-detected value that should fit to our system (if you have more than 256 MB of Video memory, the auto-detected value will only be of 256 MB):

/usr/bin/lspci | /bin/grep VGA | /bin/sed -e 's/^\([^ ]* \).*/\1/' \
| /usr/bin/xargs -iPCIID /bin/sh -c "/usr/bin/lspci -v -s PCIID" \
 | /bin/grep Memory | /bin/sed -e 's/.*size=\([0-9]*\).*/\1/' \
 | /usr/bin/sort -g | /usr/bin/tail -n1 \
| /usr/bin/xargs -iVIDEORAM /bin/sed -i -e 's/VIDEO_RAM/VIDEORAM/' /tmp/video_ram.reg

And we insert the corresponding registry key into Wine registry:

/usr/bin/regedit /tmp/video_ram.reg

DOS memory space access

In Ubuntu 8.04 Hardy Heron, access to the beginning of memory space is disabled for security reasons. For some old games (Caesar III for exemple), this access is needed. To allow access to this memory area, une these command lines:

/usr/bin/sudo /bin/cp /etc/sysctl.conf /etc/sysctl.conf.back
/usr/bin/sudo /bin/sed -i -e 's/^\(vm.mmap_min_addr =\) .*/\1 0/' /etc/sysctl.conf
/usr/bin/sudo /sbin/sysctl -p

DirectX installation

Once Wine configured, we download some files needed to install DirectX:

/usr/bin/wget \
/usr/bin/wget \
/usr/bin/wget \

And we register DirectX DLLs as native in the registry:

/usr/bin/wget \
--output-document /tmp/directx.reg
/usr/bin/regedit /tmp/directx.reg

We download DirectX 9.0c installer:

/usr/bin/wget \

We extract its contents:

/bin/mkdir $HOME/.wine/drive_c/DIRECTX
/usr/bin/cabextract -d $HOME/.wine/drive_c/DIRECTX /tmp/directx_redist.exe

And we install DirectX 9 :

/usr/bin/wine "C:\DIRECTX\DXSETUP.exe"

You can now test your installation by running dxdiag:

/usr/bin/wine "C:\windows\system32\dxdiag.exe"

Note: The test is to actually run dxdiag, don't expect all tests runned by this software to work.

Once the install done and tested, we can do a little clean up:

/bin/rm /tmp/directx_redist.exe
/bin/rm -r $HOME/.wine/drive_c/DIRECTX

HTML renderer install

This step is mandatory for installing Source games (Half-Life 2, Counter Strike, etc...):

First, download WineTricks :

/usr/bin/wget \

Then install Gecko HTML render with this command line:

/bin/sh $HOME/.wine/winetricks gecko

Now, test your installation with:

/usr/bin/wine "C:\Program Files\Internet Explorer\IEXPLORE.EXE"

Active Movie installation

Active Movie is needed for displaying video for some games. First, dowload the DLL file needed to install this software:

/usr/bin/wget \

And download the Active Movie installer:

/usr/bin/wget \

Install Active Movie:

/usr/bin/wine /tmp/amov4ie.exe

And configure wine to use natively the amstream DLL:

/usr/bin/wget \
/usr/bin/wget \
/usr/bin/regedit /tmp/active_movie.reg

And registrer this DLL in the registry:

/usr/bin/regsvr32 "c:\windows\system32\amstream.dll"

QuickTime installation

QuickTime is needed to display videos in some games, such as Myst, RHEM 2, etc. First, download the QuickTime 6.5.2 installer:

/usr/bin/wget \

And run it:

/usr/bin/wine /tmp/quicktimefullinstaller-6-5-2.exe
At the end of the install, your screen black out (at least, it is what it does on my computer). Don't worry, it is a little display bug. We are going to solve it. Launch the QuickTime settings software:
/usr/bin/wine "c:\windows\system32\rundll32.exe" shell32.dll,Control_RunDLL QuickTime.cpl

And change the following parameters:

  • In section "Browser Plug-in", uncheck "QuickTime system tray icon".
  • In section "Video Settings", choose "Save Mode (GDI Only)".

You can now close the QuickTime settings.

Internet Explorer 6 installation

Warning: This is NOT recommanded. It is there because I need it for testing.

First, move the files that can create problems when installing:

/bin/mv $HOME/.wine/drive_c/Program\ Files/Internet\ Explorer/iexplore.exe $HOME/.wine/drive_c/Program\ Files/Internet\ Explorer/iexplore.exe.back
/bin/mv $HOME/.wine/drive_c/windows/system32/mshtml.dll $HOME/.wine/drive_c/windows/system32/mshtml.dll.back
/bin/mv $HOME/.wine/drive_c/windows/system32/shdoclc.dll $HOME/.wine/drive_c/windows/system32/shdoclc.dll.back
/bin/mv $HOME/.wine/drive_c/windows/system32/shdocvw.dll $HOME/.wine/drive_c/windows/system32/shdocvw.back
/bin/mv $HOME/.wine/drive_c/windows/system32/shlwapi.dll $HOME/.wine/drive_c/windows/system32/shlwapi.dll.back
/bin/mv $HOME/.wine/drive_c/windows/system32/urlmon.dll $HOME/.wine/drive_c/windows/system32/urlmon.dll.back
/bin/mv $HOME/.wine/drive_c/windows/system32/wininet.dll $HOME/.wine/drive_c/windows/system32/wininet.dll.back

And setup the registry keys needed for the install to run correctly:

/usr/bin/wget \
/usr/bin/regedit /tmp/ie6.reg

We download the Internet Explorer 6 installer, and we run it:

/usr/bin/wget \
/usr/bin/wine "C:\ie6setup.exe"

Now, we register the newly installed DLLs (you need to repeat two times the same command):

for i in $HOME/.wine/drive_c/windows/system32/*.dll $HOME/.wine/drive_c/windows/system32/*.ocx; do /usr/bin/regsvr32 /i $i; done
for i in $HOME/.wine/drive_c/windows/system32/*.dll $HOME/.wine/drive_c/windows/system32/*.ocx; do /usr/bin/regsvr32 /i $i; done

Note: Ignore errors shown by this two commands.

Once this done, we install the msls31.dll file:

/usr/bin/wget \

You can now run Internet Explorer with this command line:

/usr/bin/wine iexplore.exe

Going deeper

If you want to go further into Wine configuration, I encourage you to read:


Guild Wars

First, download the game installer:

/usr/bin/wget \

Uncompress it:

/usr/bin/unzip -d $HOME/.wine/drive_c/ $HOME/.wine/drive_c/

Download the optimized settings for Guild Wars and add them to the Wine registry:

/usr/bin/wget \
--output-document /tmp/guild_wars.reg
/usr/bin/regedit /tmp/guild_wars.reg

Now, install Guild Wars:

/usr/bin/wine "C:\GwSetup.exe"

Once this install done, you can go slash some monsters :D (arrrgh, I'm waiting for Diablo III to show up !).

Civilization IV

First, download WineTricks:

/usr/bin/wget \

And use it to install Microsoft XML 3:

/bin/sh $HOME/.wine/winetricks msxml3
Then, install Civilization IV from the game CD-Rom. And download patch 1.74:
wget \

And install it:

/usr/bin/wine /tmp/civilization_iv_patch_v1.74_multi-langues_40669.exe


Steam allow you to install Half-Life 2, Counter Strike, etc. In order to make Steam work, you need the Gecko HTML renderer:

First, download WineTricks :

/usr/bin/wget \

And use it to install the Gecko HTML renderer:

/bin/sh $HOME/.wine/winetricks gecko
Download the Steam installer:
/usr/bin/wget \

And run it:

/usr/bin/msiexec /i $HOME/.wine/drive_c/SteamInstall_French.msi

Once the install done, you can delete the Steam installer:

/bin/rm  $HOME/.wine/drive_c/SteamInstall_French.msi

You can now apply the registry settings for the Source engine (for Half-Life 2, Counter Strike, Source, Day of Defeat Source, Portal, etc...):

/usr/bin/wget \
--output-document /tmp/hl2.reg
/usr/bin/regedit /tmp/hl2.reg

You can now install Half-Life 2, Counter Strike Source, Day of Defeat, Portal, etc...

Trackmania Nations Forever

To run Trackmania Nations Forever, first, apply registry settings for this game:

/usr/bin/wget \
--output-document /tmp/tmforever.reg
/usr/bin/regedit /tmp/tmforever.reg

Once this done, install the game with Steam.

Once the installation done, replace the file wrap_oal.dll in order to get the sound to work:

/bin/mv $HOME/.wine/drive_c/Program\ Files/Steam/steamapps/common/trackmania\ nations\ forever/wrap_oal.dll $HOME/.wine/drive_c/Program\ Files/Steam/steamapps/common/trackmania\ nations\ forever/wrap_oal.dll.back
/usr/bin/wget \
--output-document=$HOME/.wine/drive_c/Program\ Files/Steam/steamapps/common/trackmania\ nations\ forever/wrap_oal.dll

Crimson Skies

Crimson Skies needs you to install Active Movie. The install of this software is described earlier in this article.

You also need to install the native imm32 DLL:

/usr/bin/wget \
/usr/bin/wget \
/usr/bin/regedit /tmp/cskies_install.reg

Once this done, install the game from the CD-Rom with this command line:

/usr/bin/wine /media/C_SKIES/install.exe

And download a NO-CD patch, the game can not work without it:

/bin/mv $HOME/.wine/drive_c/Program\ Files/Microsoft\ Games/Crimson\ Skies/crimson.exe $HOME/.wine/drive_c/Program\ Files/Microsoft\ Games/Crimson\ Skies/crimson.exe.back
/usr/bin/wget \
--output-document=$HOME/.wine/drive_c/Program\ Files/Microsoft\ Games/Crimson\ Skies/crimson.exe

Now, we copy some files from the CD-ROM so that we can run the game without errors:

/bin/mkdir $HOME/.wine/drive_c/Program\ Files/Microsoft\ Games/Crimson\ Skies/LAUNCHER
/bin/cp /media/C_SKIES/install.exe $HOME/.wine/drive_c/Program\ Files/Microsoft\ Games/Crimson\ Skies/LAUNCHER/
/bin/cp /media/C_SKIES/setupenu.dll $HOME/.wine/drive_c/Program\ Files/Microsoft\ Games/Crimson\ Skies/LAUNCHER/

To run the game, use the following command line, or a error message about broken database will show up:

/usr/bin/wine "C:\Program Files\Microsoft Games\Crimson Skies\LAUNCHER\install.exe"

Note: The mouse cursor is quite bogus in the menus. On my own, I get it to the target by doing great circular mouvements.

Once you have seen the introduction video, I encourage you to delete it, since i've found no way to bypass it. Without doing this, you will lost 3 minutes each time you launch the game:

/bin/rm $HOME/.wine/drive_c/Program\ Files/Microsoft\ Games/Crimson\ Skies/GOSDATA/ASSETS/GRAPHICS/MPG/msopen1.mpg
/bin/rm $HOME/.wine/drive_c/Program\ Files/Microsoft\ Games/Crimson\ Skies/GOSDATA/ASSETS/GRAPHICS/MPG/zipper.mpg
/bin/rm $HOME/.wine/drive_c/Program\ Files/Microsoft\ Games/Crimson\ Skies/GOSDATA/ASSETS/GRAPHICS/MPG/chap0.mpg


RHEM 2 needs you to install QuickTime as described earlier in this article.

Once this done, install the game using for exemple the following command line (if it does not work, launch the "setup.exe" from the "setup" folder on the CD-ROM).

/usr/bin/wine /media/cdrom/setup/setup.exe

and download the No-CD Patch. The game is using the Starforce 2 protection (thank you, Micro Application... ), and it can not work without such a patch.

Supreme Commander

Warning: GPGNet work only since Wine 0.9.60.

Warning: GPGNet does not work well. But i've manage to get automatic updates to work. But do not expect to enter internet games with GPGNet. This install guide is not complete and it does not seems that completing it is possible in the actual state of Wine.

First, download WineTricks :

/usr/bin/wget \

Install the Gecko HTML render:

/bin/sh $HOME/.wine/winetricks gecko

Install Flash:

/bin/sh $HOME/.wine/winetricks flash

Install Dot Net 2.0 framework:

/bin/sh $HOME/.wine/winetricks dotnet20

Install Visual Java #:

/usr/bin/wget \
/bin/mkdir $HOME/.wine/drive_c/VISUALJAVA
/usr/bin/cabextract -d $HOME/.wine/drive_c/VISUALJAVA /tmp/vjredist.exe
/usr/bin/wine "C:\VISUALJAVA\install.exe"

Once this done, you can do a little clean up:

/bin/rm /tmp/vjredist.exe
/bin/rm -fr $HOME/.wine/drive_c/VISUALJAVA

We now download some DLLs:

/bin/mv $HOME/.wine/drive_c/windows/system32/shdocvw.dll $HOME/.wine/drive_c/windows/system32/shdocvw.dll.back
/usr/bin/wget \
/usr/bin/wget \
/usr/bin/wget \
/usr/bin/wget \

And we setup Wine to use them as native:

/usr/bin/wget \
--output-document /tmp/gpgnet.reg
/usr/bin/regedit /tmp/gpgnet.reg

We now install the game from the CD-ROM.

Then, run GPGNet with the following command line.Login and let the software update itself. Run GPGNet as many times as necessary.

/usr/bin/wine "C:\Program Files\THQ\Gas Powered Games\GPGNet\GPG.Multiplayer.Client.exe"

Use this command until GPGNet version is Since this version, GPGNet crash just after login. To correct this problem, we install a missing DLL:

/usr/bin/wget \
--output-document=$HOME/.wine/drive_c/Program\ Files/THQ/Gas\ Powered\ Games/GPGNet/GPG.Multiplayer.Plugin.dll

Then, when GPGNet version is the last one, login to a Supreme Commander session in order to get all the game updates.

Next, in order to get Supreme Commander sound, you need to install more DLLs:

/usr/bin/wget \
/bin/tar --directory $HOME/.wine/drive_c/windows/system32/ -xjf /tmp/xactengine-dlls-tar.bz2
/usr/bin/regsvr32 $HOME/.wine/drive_c/windows/system32/xactengine2_*.dll

And apply some optimizations for Supreme Commander in the Wine registry:

/usr/bin/wget \
--output-document /tmp/spc.reg
/usr/bin/regedit /tmp/spc.reg

You can now play to Supreme Commander on local network.

Wine environment reset







rm -fr ~/.wine
rm -r ~/.local/share/desktop-directories/wine-*
rm -r ~/.config/menus/applications-merged/wine-*
rm -r ~/.local/share/applications/wine/



Great website and scripts

Posted by Sudhi at 2008-06-12 05:51
Hey there!
First of all thanks a lot for this information
I used the howto wine page extensively.
I am a gentoo user. but the commands and all the scripts were really great and helpful
(I just needed to change few paths here and there.)
Your site is great and so are the scripts
keep up the good work


Very helpful

Posted by Luke at 2008-06-16 01:24
This was very very helpful! Thanks!

Best wine howto...

Posted by Frank at 2008-06-20 20:17
... I've ever read! Thanks for this great howto!

guest test title

Posted by GuestagecyJN at 2018-06-14 18:00
guest test post
<a href=" ">bbcode</a>
<a href="">html</a> simple


Posted by Dan Kegel at 2008-06-22 10:01
Looks like a good set of recipes.
A lot of this should be rolled into winetricks, I'll see about that.

OK... try winetricks now

Posted by Dan Kegel at 2008-06-22 11:02
winetricks now has a vjrun20 verb to install the Visual J# runtime,
and the directx9 verb now actually does the install and overrides.
This should simplify your recipe somewhat, please test.

Also, winetricks has had a working quicktime verb for some
time, can that replace most of your quicktime recipe?
(And the black screen bug can also be suppressed
by setting vista mode, btw.)

dxdiag segfaults on Wine 1.0

Posted by Flandry at 2008-06-24 15:44
Your howto avoids a "Fatal Error" during the DXSETUP i get using the wine review howto, but even when it finishes without error dxdiag always segfaults for me like so:

fixme:dsound:IKsPrivatePropertySetImpl_Get unsupported property: {1aeaa606-35f0-11d1-b161-00c04fc28aca}
Segmentation fault

I have wine 1.0 freshly installed on Kubuntu Hardy LTS AMD64. 3D acceleration is properly set up. I tried using the June and the March redistributables with the same results.

Is anyone else having this trouble?

dsound error

Posted by lwolf at 2008-06-24 16:47

for me it sounds like a misconfigured sound. Either your system does not have a working alsa sound, either you need to use winecfg to change your sound settings.

Good Luck

Lone Wolf

Call of Duty 4

Posted by Ron at 2008-07-07 03:09
What would I have to do so I can run Call of Duty 4


Posted by lwolf at 2008-07-07 04:44
Since i do not own CoD 4, i can not help you, but you should visit:

for more informations.


Posted by robi at 2011-07-08 08:28

New to ubuntu

Posted by Ron at 2008-07-07 04:16
When I try to update the video memory I keep getting this error not sure if I am inputting the commands wrong or what.

ron@ron-desktop:~$ /usr/bin/lspci | /bin/grep VGA | /bin/sed -e 's/^\([^ ]* \).*/\1/' \ | /usr/bin/xargs -iPCIID /bin/sh -c "/usr/bin/lspci -v -s PCIID"/ | /bin/grep Memory | /usr/bin/sort -g | /usr/bin/tail -n1\ | /usr/bin/xargs -iVIDEORAM | /bin/sed -i -e 's/VIDEO_RAM/VIDEORAM/' /tmp/video_ram.reg
/bin/sed: can't read : No such file or directory
/usr/bin/tail: 1 : invalid number of lines

this guide has been written for ubuntu

Posted by lwolf at 2008-07-07 04:43
so, on other distribution, it can fail.
Try by removing full path from commands:

lspci | grep VGA | sed -e 's/^\([^ ]* \).*/\1/' \ | xargs -iPCIID sh -c "lspci -v -s PCIID"/ | grep Memory | sort -g | tail -n1\ | xargs -iVIDEORAM | sed -i -e 's/VIDEO_RAM/VIDEORAM/' /tmp/video_ram.reg

Good luck.

written for ubuntu

Posted by fub at 2009-01-01 23:31
Great many thank for this howto!
or better: merci beaucoup!

in OpenSuse 11.0 it works if you leave out the full path and use su for the lspci part.
Lets see if my slideshow software will run now.


Thanks - got Empire At War working

Posted by Stephan Beal at 2008-07-09 11:09
Thanks a ton for this article. i finally got "Star Wars: Empire at War" (and the expansion, "Forces of Corruption") running on Linux.



Posted by johnnybravo@mac at 2008-09-05 09:13
Many Thanks for the posts! You guys are great. I was looking for the clear instruction of installation of wine from scratch. My plan was to use it with Office2007.
Unfortunately this crap DirectX9 installing using "setup.exe" did not work for me. Now with your instructions it worked fine!!! Also these tricks with getting libs
directly.... Great!
I have tested CrossOver with Office2007 which did not work at all. After one day testing I dropped the App to the trash.
Now I have copied all the instructions above to rebuild my wine env if something fails in between. Just FYI I am running following configuration:
port wine 1.0_rc1 (devel 1.1.3 did not work)
X11 updated from xorg to Xquartz 2.3.0 (xorg-server 1.4.2-apple5)
on MacBook Pro

Once again... Many Thanks!


Posted by koocho at 2008-09-16 18:46
thank you for this wonderful instructions! everything installed fine!


Posted by Alejandro at 2008-10-02 23:32
Let me say it this way, OH MY FUCKING GOD
Dude u own!

GW Worked great and it also helps a lot running damn windows apps on linux

great job u got +1000000000 points


Posted by Alejandro at 2008-10-02 23:33
by the way, it worked under Arch Linux x86_64 =)

Cabal Online

Posted by cpb at 2008-10-15 01:45
does ne1 know if this make cabal online bootable??


Posted by rowman at 2008-10-17 19:43
Thank you very much

thankyou very muchacho

Posted by eekcage nico at 2008-10-30 02:44
Cheers, Your page is a must bookmark¬!

I am playing with Trackmania Forever (nonsteam) just about to test in 32 bit with latest nvid drivers. wine + 64 is a little ikky


Posted by Bob at 2008-11-17 10:49
Just what I've been looking for for the past 3 days.
Kudos to you and the Ubuntu community.

DirectX Installation Error

Posted by Jeremy at 2008-11-25 19:39
When I get to the part of the instructions where you enter:

/usr/bin/wine "C:\DIRECTX\DXSETUP.exe"

into your terminal, I get the following error:

err:setupapi:do_file_copyW Unsupported style(s) 0x144

The DirectX window says it needs to restart the computer, however, clicking Next does nothing and the terminal just has a flashing cursor under the last error line. It never returns to username@username-desktop:~$

Any help or suggestions anyone?

Thanks in advance.

directx install crash

Posted by swivelsnoot at 2009-02-08 02:24
If you have any trouble with wine crashing with directx install,
or games crashing on startup,
or complaining about directx not being installed,
you may need to re-install your linux graphics card driver before fixing wine or directx.

Thank you

Posted by Fixxer at 2008-12-02 12:37
This is the best site for linux help that I have found for makeing wine more useable.
Thanks for takeing the time to publish this.


Posted by Zed at 2008-12-23 21:45
Works like a charm for Unreal Tournament GOTY


Posted by Buddha at 2009-01-30 21:24
Great work freen. thanks.

great tutorial

Posted by detanto at 2009-02-03 06:11
great tutorial but still i cannot play Championship Manager 2008 .. hu hu hu .. but before i follow this tutorial i can't install it,
now CM2008 is installed on my machine but still i can't play it. when i start it from terminal it says :

fixme:ntdll:NtQueryInformationProcess (0xffffffff,info_class=34,0x17ca520,0x00000004,0x17ca51c) Unknown information class
fixme:ntdll:NtQuerySystemInformation info_class SYSTEM_HANDLE_INFORMATION
fixme:ntdll:NtQueryObject Unsupported information class 3
fixme:debugstr:CheckRemoteDebuggerPresent (0xffffffff)->(0x17c940c): Stub!
fixme:d3d:IWineD3DImpl_FillGLCaps OpenGL implementation supports 32 vertex samplers and 32 total samplers
fixme:d3d:IWineD3DImpl_FillGLCaps Expected vertex samplers + MAX_TEXTURES(=8) > combined_samplers
fixme:win:EnumDisplayDevicesW ((null),0,0x17c9258,0x00000000), stub!
wine: Unhandled page fault on write access to 0x003d2000 at address 0xd74c46 (thread 0009), starting debugger...
Unhandled exception: page fault on write access to 0x003d2000 in 32-bit code (0x00d74c46).
etc.. etc..

do you guys have a clue? i'm using ubuntu intrepid

thx in advance

It worked as a charm. Merci!

Posted by Bremm at 2009-02-24 10:44
But I don't know if someone here could help me. I applied the whole directx part of tutorial over Wine 1.1.15. I tested with 4x4 Evo2 and worked perfectly, it just increased the FPS from 30 to almost 100 (but 130 FPS under OpenGL yet... lol). Now I'm trying to run a game called "Need for Russia - Сделано в СССР (2007)" and it shows "Memory Access Violation", even with workaround in sysctl.conf (here is Intrepid 8.10 and already has a with "vm.mmap_min_addr = 0").

This is the basic output when I run it:

$ wine NFR.exe
fixme:d3d:IWineD3DImpl_FillGLCaps OpenGL implementation supports 32 vertex samplers and 32 total samplers
fixme:d3d:IWineD3DImpl_FillGLCaps Expected vertex samplers + MAX_TEXTURES(=8) > combined_samplers
fixme:win:EnumDisplayDevicesW ((null),0,0x33f71c,0x00000000), stub!
fixme:dsalsa:IDsDriverBufferImpl_SetVolumePan (0x153c28,0x153bb0): stub
fixme:d3d:WineD3D_ChoosePixelFormat Add OpenGL context recreation support to SetDepthStencilSurface
err:ddraw:PixelFormat_WineD3DtoDD Can't translate this Pixelformat 62
err:ddraw:PixelFormat_WineD3DtoDD Can't translate this Pixelformat 63
err:ddraw:PixelFormat_WineD3DtoDD Can't translate this Pixelformat 64
fixme:ddraw:IDirectDrawImpl_RestoreAllSurfaces (0x1428c8): Stub
fixme:d3d7:IDirect3DImpl_7_EvictManagedTextures (0x1428c8): Stub!
fixme:winmm:MMDRV_Exit Closing while ll-driver open

Thanks in advance


Posted by Irian at 2009-03-28 02:15
Best guide I've seen ANYWHERE!

One question though .... at one point you state "We update the template with a auto-detected value that should fit to our system (if you have more than 256 MB of Video memory, the auto-detected value will only be of 256 MB)". Is it possible at all to change it so it uses more than 256MB, if we have more than that (say 512MB on our GPUs)? Again, thanks!

memory auto detection

Posted by lwolf at 2009-03-28 06:18
yes, it is possible to edit the /tmp/video_ram.reg file. It is even recommended if you have a video card with more that 256 MB of memory :).

Great thanks!

Posted by Irian at 2009-03-28 16:52
Great thanks!

Guild Wars Settings

Posted by FirewolfX-7 at 2009-05-13 00:09
Following your instruction it keeps crashing to desktop before I can even see the menu screen, (shows the loading screen part)

Posted by Aaron Hill at 2009-05-30 07:00
You are AWESOME.

Thank you so much for putting this up.


Posted by mE at 2009-06-08 22:04
Nice Guide... Works Perfectly.

I just have one doubt. The video size in

[HKEY_CURRENT_USER\Software\Wine\Direct3D] 1209735725

is to be set as 512, 512MB, 524288 or 524288kb ??

video ram

Posted by lwolf at 2009-06-09 03:48
The videoram size is to be set to 512 :)

ClientRegistry.blob BUG

Posted by mE at 2009-06-09 11:31
I have noticed that Steam will launch a game only the first time. After that i will only popup the message "Preparing to launch GAME" and thats it.
Something changes in ClientRegistry.blob and needs to be deleted every time i need to launch a game... So i did a script for it

rm ~/.wine/drive_c/Program\ Files/Steam/ClientRegistry.blob
wine ~/.wine/drive_c/Program\ Files/Steam/Steam.exe exit

but that means every time i need to wait for Steam to update and then insert password...
Have any ideas?

Linux Slackware 12.2 // Nvidia 8800GT with last official driver // Wine wine-1.1.21 with DirectX9.0c


Posted by Nightwolf at 2009-07-08 00:02
I would like to just say I think this is the best site help Ive every found on the net for Linus thank you greatly


Posted by Razer at 2009-08-06 14:32

Half-Life Blackout

Posted by Sasp at 2009-09-02 19:03
Hi, first of all: you've got a great site here, but I have a question:

Everytime I want to start Half life 2 (or Gmod) Steam says, that it's loading the game. Then the screen becomes black and I return to the desktop.
I read this comment:

"I have noticed that Steam will launch a game only the first time. After that i will only popup the message "Preparing to launch GAME" and thats it.
Something changes in ClientRegistry.blob and needs to be deleted every time i need to launch a game... So i did a script for it

rm ~/.wine/drive_c/Program\ Files/Steam/ClientRegistry.blob
wine ~/.wine/drive_c/Program\ Files/Steam/Steam.exe exit

but that means every time i need to wait for Steam to update and then insert password...
Have any ideas?

Linux Slackware 12.2 // Nvidia 8800GT with last official driver // Wine wine-1.1.21 with DirectX9.0c"

I tried it, but it didn't work (no such file found). Also, it didn't even start the game one time. Have you got an Idea what I did wrong?


Posted by ubuntu at 2009-12-26 09:19
Thanks for this documant. I am a little speak english but I undertans this documant. Iam using Jaunty and commands stil working. Now ı playing Heroes Shadow of Death, ı know this game very old but ı love this game.

Thanks again and good day.

Issue of Upgrade

Posted by Marko at 2010-07-01 11:52
OK, this is excellent tutorial. But I have a question; since Football Manager 2010 is not running smoothly when I watch the game in TV view, how can I upgrade directx9 AFTER I did everything in this tutorial?

Powered by Plone CMS, the Open Source Content Management System

This site conforms to the following standards: