Install DirectX 9.0c on Linux using Wine
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.
Warning
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 http://wine.budgetdedicated.com/apt/sources.list.d/hardy.list -O /etc/apt/sources.list.d/hardy-winehq.list
wget -q http://wine.budgetdedicated.com/apt/387EE263.gpg -O- | sudo apt-key add -
sudo apt-get update
For Ubuntu 7.10 Gutsy Gibbon, use :
sudo wget http://wine.budgetdedicated.com/apt/sources.list.d/gutsy.list -O /etc/apt/sources.list.d/gutsy-winehq.list
wget -q http://wine.budgetdedicated.com/apt/387EE263.gpg -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:
/usr/bin/wineprefixcreate
We configure the sound so that Wine use ALSA:
/usr/bin/wget http://howto.landure.fr/gnu-linux/installer-directx-9-0c-avec-wine/audio.reg \
--output-document=/tmp/audio.reg
/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 http://howto.landure.fr/gnu-linux/installer-directx-9-0c-avec-wine/video_ram.reg \
--output-document=/tmp/video_ram.reg
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 http://howto.landure.fr/gnu-linux/installer-directx-9-0c-avec-wine/mscoree.dll \
--output-document=$HOME/.wine/drive_c/windows/system32/mscoree.dll
/usr/bin/wget http://howto.landure.fr/gnu-linux/installer-directx-9-0c-avec-wine/streamci.dll \
--output-document=$HOME/.wine/drive_c/windows/system32/streamci.dll
/usr/bin/wget http://howto.landure.fr/gnu-linux/installer-directx-9-0c-avec-wine/gm.dls \
--output-document=$HOME/.wine/drive_c/windows/system32/drivers/gm.dls
And we register DirectX DLLs as native in the registry:
/usr/bin/wget http://howto.landure.fr/gnu-linux/installer-directx-9-0c-avec-wine/directx.reg \
--output-document /tmp/directx.reg
/usr/bin/regedit /tmp/directx.reg
We download DirectX 9.0c installer:
/usr/bin/wget http://howto.landure.fr/gnu-linux/installer-directx-9-0c-avec-wine/directx_mar2008_redist.exe \
--output-document=/tmp/directx_redist.exe
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 http://www.kegel.com/wine/winetricks \
--output-document=$HOME/.wine/winetricks
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" http://appdb.winehq.com/
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 http://howto.landure.fr/gnu-linux/installer-directx-9-0c-avec-wine/dciman32.dll \
--output-document=$HOME/.wine/drive_c/windows/system32/dciman32.dll
And download the Active Movie installer:
/usr/bin/wget http://howto.landure.fr/gnu-linux/installer-directx-9-0c-avec-wine/amov4ie.exe \
--output-document=/tmp/amov4ie.exe
Install Active Movie:
/usr/bin/wine /tmp/amov4ie.exe
And configure wine to use natively the amstream DLL:
/usr/bin/wget http://howto.landure.fr/gnu-linux/installer-directx-9-0c-avec-wine/amstream.dll \
--output-document=$HOME/.wine/drive_c/windows/system32/amstream.dll
/usr/bin/wget http://howto.landure.fr/gnu-linux/installer-directx-9-0c-avec-wine/active_movie.reg \
--output-document=/tmp/active_movie.reg
/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 http://howto.landure.fr/gnu-linux/installer-directx-9-0c-avec-wine/quicktimefullinstaller-6-5-2.exe \
--output-document=/tmp/quicktimefullinstaller-6-5-2.exe
And run it:
/usr/bin/wine /tmp/quicktimefullinstaller-6-5-2.exeAt 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 http://howto.landure.fr/gnu-linux/installer-directx-9-0c-avec-wine/ie6.reg \
--output-document=/tmp/ie6.reg
/usr/bin/regedit /tmp/ie6.reg
We download the Internet Explorer 6 installer, and we run it:
/usr/bin/wget http://download.microsoft.com/download/ie6sp1/finrel/6_sp1/W98NT42KMeXP/EN-US/ie6setup.exe \
--output-document=$HOME/.wine/drive_c/ie6setup.exe
/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 http://howto.landure.fr/gnu-linux/installer-directx-9-0c-avec-wine/msls31.dll \
--output-document=$HOME/.wine/drive_c/windows/system32/msls31.dll
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:
Games
Guild Wars
First, download the game installer:
/usr/bin/wget http://www.guildwars.com/downloads/gwsetup.zip \
--output-document=$HOME/.wine/drive_c/gwsetup.zip
Uncompress it:
/usr/bin/unzip -d $HOME/.wine/drive_c/ $HOME/.wine/drive_c/gwsetup.zip
Download the optimized settings for Guild Wars and add them to the Wine registry:
/usr/bin/wget http://howto.landure.fr/gnu-linux/installer-directx-9-0c-avec-wine/guild_wars.reg \
--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 http://www.kegel.com/wine/winetricks \
--output-document=$HOME/.wine/winetricks
And use it to install Microsoft XML 3:
/bin/sh $HOME/.wine/winetricks msxml3Then, install Civilization IV from the game CD-Rom. And download patch 1.74:
wget http://howto.landure.fr/gnu-linux/installer-directx-9-0c-avec-wine/civilization_iv_patch_v1-74_multi-langues_40669.exe \
--output-document=/tmp/civilization_iv_patch_v1.74_multi-langues_40669.exe
And install it:
/usr/bin/wine /tmp/civilization_iv_patch_v1.74_multi-langues_40669.exe
Steam
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 http://www.kegel.com/wine/winetricks \
--output-document=$HOME/.wine/winetricks
And use it to install the Gecko HTML renderer:
/bin/sh $HOME/.wine/winetricks geckoDownload the Steam installer:
/usr/bin/wget http://steampowered.com/download/SteamInstall_French.msi \
--output-document=$HOME/.wine/drive_c/SteamInstall_French.msi
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 http://howto.landure.fr/gnu-linux/installer-directx-9-0c-avec-wine/hl2.reg \
--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 http://howto.landure.fr/gnu-linux/installer-directx-9-0c-avec-wine/tmforever.reg \
--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 http://howto.landure.fr/gnu-linux/installer-directx-9-0c-avec-wine/wrap_oal.dll \
--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 http://howto.landure.fr/gnu-linux/installer-directx-9-0c-avec-wine/imm32.dll \
--output-document=$HOME/.wine/drive_c/windows/system32/imm32.dll
/usr/bin/wget http://howto.landure.fr/gnu-linux/installer-directx-9-0c-avec-wine/cskies_install.reg \
--output-document=/tmp/cskies_install.reg
/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 http://howto.landure.fr/gnu-linux/installer-directx-9-0c-avec-wine/crimson.exe \
--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
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 http://www.kegel.com/wine/winetricks \
--output-document=$HOME/.wine/winetricks
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 http://howto.landure.fr/gnu-linux/installer-directx-9-0c-avec-wine/vjredist.exe \
--output-document=/tmp/vjredist.exe
/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 http://howto.landure.fr/gnu-linux/installer-directx-9-0c-avec-wine/shdocvw.dll \
--output-document=$HOME/.wine/drive_c/windows/system32/shdocvw.dll
/usr/bin/wget http://howto.landure.fr/gnu-linux/installer-directx-9-0c-avec-wine/shlwapi.dll \
--output-document=$HOME/.wine/drive_c/windows/system32/shlwapi.dll
/usr/bin/wget http://howto.landure.fr/gnu-linux/installer-directx-9-0c-avec-wine/msimtf.dll \
--output-document=$HOME/.wine/drive_c/windows/system32/msimtf.dll
/usr/bin/wget http://howto.landure.fr/gnu-linux/installer-directx-9-0c-avec-wine/msctf.dll \
--output-document=$HOME/.wine/drive_c/windows/system32/msctf.dll
And we setup Wine to use them as native:
/usr/bin/wget http://howto.landure.fr/gnu-linux/installer-directx-9-0c-avec-wine/gpgnet.reg \
--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 1.5.188.1. Since this version, GPGNet crash just after login. To correct this problem, we install a missing DLL:
/usr/bin/wget http://howto.landure.fr/gnu-linux/installer-directx-9-0c-avec-wine/gpg-multiplayer-plugin.dll \
--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 http://howto.landure.fr/gnu-linux/installer-directx-9-0c-avec-wine/xactengine-dlls-tar.bz2 \
--output-document=/tmp/xactengine-dlls-tar.bz2
/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 http://howto.landure.fr/gnu-linux/installer-directx-9-0c-avec-wine/spc.reg \
--output-document /tmp/spc.reg
/usr/bin/regedit /tmp/spc.reg
You can now play to Supreme Commander on local network.
Wine environment reset
Warning : THE FOLLOWING COMMAND LINES DELETE ALL OF YOUR WINE ENVIRONMENT. This include:
-
YOUR GAMES BACKUPS
-
YOUR GAMES INSTALLS
-
YOUR TRICKS
EVERYTHING THAT NEED WINE OR IS ABOUT WINE.
USE THESE COMMAND LINES AT YOUR OWN RISKS:
rm -fr ~/.wine
rm -r ~/.local/share/desktop-directories/wine-*
rm -r ~/.config/menus/applications-merged/wine-*
rm -r ~/.local/share/applications/wine/
Thanks
- Thanks to Wine Review for their articles DirectX 9.0c on Linux with Wine and DirectX 9.0c March 2008 redistributable on Linux with Wine.
- Thanks to Lepouf for his article Wine et Civilization IV.
- Thanks to Cedynamix for his article Comment jouer à Half-Live 2 sur Ubuntu Gutsy Gibbon.
- Thanks to Vasistha and Viking667 on #bash for their help.
- Thanks to Haarp for this article Supreme Commander (Wine Application DB).
- Thanks to Vincent Povirk for this reply to Need manual install for Gecko.
Best wine howto...
guest test title
<a href=" http://temresults2018.com/ ">bbcode</a>
<a href="http://temresults2018.com/">html</a>
http://temresults2018.com/ simple
Thanks!
A lot of this should be rolled into winetricks, I'll see about that.
OK... try winetricks now
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
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
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
humf
http://appdb.winehq.org/
for more informations.
New to ubuntu
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
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
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.
fub
Thanks - got Empire At War working
:)
amazing!!!
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!
Cheers
thx
OMFG
Dude u own!
GW Worked great and it also helps a lot running damn windows apps on linux
great job u got +1000000000 points
thankyou very muchacho
I am playing with Trackmania Forever (nonsteam) just about to test in 32 bit with latest nvid drivers. wine + 64 is a little ikky
Amazing
Kudos to you and the Ubuntu community.
DirectX Installation Error
/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
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
Thanks for takeing the time to publish this.
great tutorial
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!
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
Thanks!!
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
Guild Wars Settings
armahillo@gmail.com
Thank you so much for putting this up.
VIDEO RAM SIZE
I just have one doubt. The video size in
[HKEY_CURRENT_USER\Software\Wine\Direct3D] 1209735725
"VideoMemorySize"="VIDEO_RAM"
is to be set as 512, 512MB, 524288 or 524288kb ??
ClientRegistry.blob BUG
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
#!/bin/sh
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
Awsome
Half-Life Blackout
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
#!/bin/sh
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?
thanks
Thanks again and good day.
Great website and scripts
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
~S