Sayfa: [1]   Aşağı git
  Yazdır  
Gönderen Konu: Wine'e DirectX 9.0c yükleme (ingilizce)  (Okunma Sayısı 552 defa)
ÜYE BILGILERI RAmses
Penguen
*

CINSIYET Cinsiyet: Bay
NERDEN Nerden: iSTANBUL
KAYIT TARIHI Kayit tarihi 11 Kasım 2007, 00:48:54
MESAJ SAYISI Mesaj Sayısı: 21
ILETISIM
WWW Offline Offline
« : 23 Kasım 2007, 21:00:22 »

 DirectX 9.0c on Linux with Wine

About DirectX

Microsoft DirectX is a collection of application programming interfaces for handling tasks related to multimedia, especially game programming and video, on Microsoft platforms. Originally, the names of these APIs all began with Direct, such as Direct3D, DirectDraw, DirectMusic, DirectPlay, DirectSound, and so forth. DirectX, then, was the generic term for all of these Direct-something APIs, and that term became the name of the collection. Over the intervening years, some of these APIs have been deprecated and replaced, so that this naming convention is no longer absolute. In fact, the X has caught on to the point that it has replaced Direct as the common part in the names of new DirectX technologies, including XAct, XInput, and so forth.

Direct3D (the 3D graphics API within DirectX) is widely used in the development of computer games for Microsoft Windows, Microsoft Xbox, and Microsoft Xbox 360. Direct3D is also used by other software applications for visualization and graphics tasks, most notably among the engineering sector for CAD/CAM, because of its ability to quickly render high-quality 3D graphics using DirectX-compatible graphics hardware. As Direct3D is the most widely recognized API in DirectX, it is not uncommon to see the name DirectX used in place of Direct3D.


Wine configuration

This is with a clean configuration directory and running in a 1024x768 virtual desktop.

$ winecfg

Once the .wine directory is built the configuration tool will start and you can set a virtual desktop in the graphics tab if you wish. This is a good time to also set your Audio driver in the Audio tab.

next up is to install a native mscoree.dll and streamci.dll into /system32 from a windows install and set then to native Windows.

Go to ~/.wine/drive_c/windows/system32 and rename d3d8, d3d9, ddraw, dsound, dsound.vxd, quartz dlls to *.bak

You will need to set a large number of dlls to native for the install to work properly. Here is the full list of dlls that need to be set.

"d3d8"="native"
"d3d9"="native"
"d3dim"="native"
"d3drm"="native"
"d3dx8"="native"
"d3dxof"="native"
"dciman32"="native"
"ddrawex"="native"
"devenum"="native"
"dinput"="native"
"dinput8"="native"
"dmband"="native"
"dmcompos"="native"
"dmime"="native"
"dmloader"="native"
"dmscript"="native"
"dmstyle"="native"
"dmsynth"="native"
"dmusic"="native"
"dplay"="native"
"dplayx"="native"
"dpnaddr"="native"
"dpnet"="native"
"dpnhpast"="native"
"dswave"="native"
"dxdiagn"="native"
"mscoree"="native"
"quartz"="native"
"streamci"="native"


Installing Directx

Download DirectX 9.0c November release from here.

The directx_nov2007_redist.exe executable will extract the installer files to a directory of your choice.

tom@tuxonfire ~ $ wine directx_nov2007_redist.exe
fixme:advapi:DecryptFileA "z:\\home\\tom\\directx-9\\" 00000000
fixme:midi:OSS_MidiInit Synthesizer supports MIDI in. Not yet supported.
tom@tuxonfire ~ $





Now cd to the directory where you choose to extract the DirectX installer and run DXSETUP.EXE.

tom@tuxonfire ~ $ cd /home/tom/directx-9
tom@tuxonfire ~/directx-9 $ wine DXSETUP.EXE
fixme:midi:OSS_MidiInit Synthesizer supports MIDI in. Not yet supported.







Run winecfg again and set d3d8, d3d9, ddrawex, dinut, dinput8 to builtin wine.

Now lets run dxdiag.exe

tom@tuxonfire ~/directx-9 $ cd /home/tom/.wine/drive_c/windows/system32
tom@tuxonfire ~/.wine/drive_c/windows/system32 $ wine dxdiag.exe
fixme:ole:CoInitializeSecurity ((nil),-1,(nil),(nil),1,3,(nil),0,(nil)) - stub!








We can now test ddraw, ddraw 3D, D3D8, and D3D9



Direct Sound test:



Now we need to install gm.dls to test Direct Music, this driver file goes into ~/.wine/drive_c/windows/system32/drivers



Direct Play test:



You will notice in system32 d3dx9_24.dll up to d3dx9_36.dll is now installed, this really helps when you run into a game that needs these additional DirectX dlls.

Now you have the option to run most DirectX dlls in native or builtin mode, for example if you have a game that's crashing on the builtin Wine quartz.dll you can test the game with the native Windows dll to see if this will improve the situation.

Keep in mind d3d8, d3d9, ddraw will only work as builtin, and in most cases you should try to use builtin dsound and dinput. I have had limited success with (dsound and dinput) in native Windows mode btw... The reason why these dlls have to be used in builtin mode is there need for direct access to your hardware. direct music and direct play can be used in native windows mode in most circumstances.

Feel free to comment about this post at the wine-forum.

http://www.wine-forum.org/showthread.php?p=150#post150

DİRECTX 9.0C İNDİRMEK İÇİN

http://filehippo.com/download/7f5143f4035241979ecb1cac62c55f9f/download/

ALINTIDIR
http://wine-review.blogspot.com/2007/11/directx-90c-on-linux-with-wine.html

Türkçesini kısa zamanda ingilzce bilen bir arkdaş yazar.






« Son Düzenleme: 23 Kasım 2007, 21:04:03 Gönderen: RAmses » Logged
ÜYE BILGILERI MuCiT
Penguen
*
CINSIYET Cinsiyet: Bay
NERDEN Nerden: istanbul
KAYIT TARIHI Kayit tarihi 15 Kasım 2007, 08:11:38
MESAJ SAYISI Mesaj Sayısı: 39
ILETISIM
Offline Offline
« Yanıtla #1 : 13 Aralık 2007, 21:45:54 »

directx yüzünden microsoft ürünlerinin linuxta çalışmadığını duymuştum. acaba bunla beraber bu sorun kalkıyormu?
« Son Düzenleme: 13 Aralık 2007, 21:47:26 Gönderen: MuCiT » Logged
ÜYE BILGILERI emir
Debian
Administrator
*

CINSIYET Cinsiyet: Bay
NERDEN Nerden: Erzurum
KAYIT TARIHI Kayit tarihi 10 Kasım 2007, 22:18:47
MESAJ SAYISI Mesaj Sayısı: 215
ILETISIM
Offline Offline
« Yanıtla #2 : 13 Aralık 2007, 22:16:43 »

O sorunların kalkması için oyun firmalarının Linux e destek vermesi lazım, zaten oyun firmaları destek verse id softvare gibi quake doom oyunları zaten sorunsuzca Linux te oynanıyor Dx e gerek kalmaz.

Dx oyhunlarını oynamak içinse yine Wine ihtiyaç var Gülümseme
Logged




İnsanların en hayırlısı, insanlara faydalı olandır
ÜYE BILGILERI MuCiT
Penguen
*
CINSIYET Cinsiyet: Bay
NERDEN Nerden: istanbul
KAYIT TARIHI Kayit tarihi 15 Kasım 2007, 08:11:38
MESAJ SAYISI Mesaj Sayısı: 39
ILETISIM
Offline Offline
« Yanıtla #3 : 13 Aralık 2007, 22:21:53 »

benim merakım oyundan değil oyunda oynadığım söylenemez. geçenlerde yahoo mesenger kurmayı denedim çalışacakmı diye wine 'le directx istedi kuramadın . merak ettiğim bu eğer bununla directx kuruluyorsa proeblemlerde kalkması lazım gibi
Logged
ÜYE BILGILERI emir
Debian
Administrator
*

CINSIYET Cinsiyet: Bay
NERDEN Nerden: Erzurum
KAYIT TARIHI Kayit tarihi 10 Kasım 2007, 22:18:47
MESAJ SAYISI Mesaj Sayısı: 215
ILETISIM
Offline Offline
« Yanıtla #4 : 13 Aralık 2007, 22:24:38 »

Bu anlamda dediğiniz doğru bağımlılık isteyen prg. lerde sorun kalkıyor.

kolay gelsin Gülümseme

Logged




İnsanların en hayırlısı, insanlara faydalı olandır
ÜYE BILGILERI pavaisna
Penguen
*

CINSIYET Cinsiyet: Bay
NERDEN Nerden:
KAYIT TARIHI Kayit tarihi 11 Ocak 2008, 16:22:27
MESAJ SAYISI Mesaj Sayısı: 17
ILETISIM
Offline Offline
« Yanıtla #5 : 02 Mart 2008, 12:08:21 »

yapılacaklar hakkında kısa türkçe bir açıklama yapabilecek biri var mı?
Logged
Sayfa: [1]   Yukarı git
  Yazdır  
 
Gitmek istediğiniz yer:  

Debian Linux, Ubuntu Linux, Kubuntu Linux, Mint Linux, Mepis Linux Yardım, Destek ve Dostluk Forumları.