programs: add rudimentary dxdiag

Louis. Lenders xerox_xerox2000 at yahoo.co.uk
Thu Jun 26 02:20:04 CDT 2008


Hi, some apps like Gameshadow (http://www.gameshadow.com/) check for dxdiag.exe, and give an error if it's not found, so wine needs its own.
 Instead of simple stub, this patch also adds the (simplified)  d3d test like seen in native dxdiag, so users can test  if their d3d  is setup correctly. Screenshot can be seen here: http://bugs.winehq.org/attachment.cgi?id=14342

A few remarks:

-patch contains binary code for a bitmap, so to apply again i had to do
git apply dx.patch
git add programs/dxdiag/
tools/make_makefiles
autoconf
 
maybe there's a simpler way, but i dunno

- code for  spinning cube  was  partially based on  spinning cube code scattered all over the internet
-rest was ripped of winecfg
- There' s a problem while minizing the d3d-window, but running it in wine-0.9.22 it all goes fine, so this must be a regression somewhere, and not a bug in the attached code. I'll go after that later.
- Hopefully you're not to picky on this patch, it 's quite some line's of code,and i'm sure things need to be improved, but this does not affect wine's core code but os rather an enhancement, and it 's not really possible to send it in in small chuncks.


      __________________________________________________________
Not happy with your email address?.
Get the one you really want - millions of new email addresses available now at Yahoo! http://uk.docs.yahoo.com/ymail/new.html
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.winehq.org/pipermail/wine-patches/attachments/20080626/b4a3d834/attachment-0001.htm 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: dx.patch
Type: text/x-patch
Size: 26335 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-patches/attachments/20080626/b4a3d834/attachment-0001.bin 


More information about the wine-patches mailing list