Hi,
The past few weeks I have been experimenting a bit with Wine's d3d9. After new updates appeared in cvs I tried games like halife2. Yesterday I tried (a cracked) halflife2 and cstrike:source again using Oliver's latest d3d9 patch and it now shows stuff! For shots check http://roderick.student.utwente.nl/hl2.png and http://roderick.student.utwente.nl/cstrike.png.
Both games come to the menu screens I think (not sure what it all has to look like) but from then on not much happens. In case of halfife2 I see some birds flying on the background so the game isn't stuck. I think the menus aren't drawn and I guess that might be related to the fixme "d3d:IWineD3DDeviceImpl_SetSamplerState out of range sampler 0" which I'm seeing hundreds of times. Below is a small log of this:
trace:d3d:IWineD3DDeviceImpl_SetSamplerState (0x403e08b0) Sampler(0), Type(7) Value(0) fixme:d3d:IWineD3DDeviceImpl_SetSamplerState out of range sampler 0 trace:d3d:IWineD3DDeviceImpl_SetSamplerState (0x403e08b0) Sampler(0), Type(8) Value(0) fixme:d3d:IWineD3DDeviceImpl_SetSamplerState out of range sampler 0 trace:d3d:IWineD3DDeviceImpl_SetSamplerState (0x403e08b0) Sampler(0), Type(9) Value(0) fixme:d3d:IWineD3DDeviceImpl_SetSamplerState out of range sampler 0 trace:d3d:IWineD3DDeviceImpl_SetSamplerState (0x403e08b0) Sampler(0), Type(10) Value(1) fixme:d3d:IWineD3DDeviceImpl_SetSamplerState out of range sampler 0 trace:d3d:IWineD3DDeviceImpl_SetSamplerState (0x403e08b0) Sampler(0), Type(11) Value(0) fixme:d3d:IWineD3DDeviceImpl_SetSamplerState out of range sampler 0 trace:d3d:IWineD3DDeviceImpl_SetSamplerState (0x403e08b0) Sampler(0), Type(12) Value(0) fixme:d3d:IWineD3DDeviceImpl_SetSamplerState out of range sampler 0 trace:d3d:IWineD3DDeviceImpl_SetSamplerState (0x403e08b0) Sampler(0), Type(13) Value(0) fixme:d3d:IWineD3DDeviceImpl_SetSamplerState out of range sampler 0 trace:d3d:IWineD3DDeviceImpl_SetSamplerState (0x403e08b0) Sampler(0), Type(14) Value(0) fixme:d3d:IWineD3DDeviceImpl_SetSamplerState out of range sampler 0 trace:d3d:IWineD3DDeviceImpl_SetSamplerState (0x403e08b0) Sampler(0), Type(15) Value(1) fixme:d3d:IWineD3DDeviceImpl_SetSamplerState out of range sampler 0
I'm amazed with the progress made on the d3d9 front. During the weekend I will try to get halflife2 working on windows to see what it has to look like and I might also have time to fix this problem if it is trivial. Just wanted to let you know that some major d3d9 game is now starting to work.
Regards,
Roderick