DirectX 7 Games and Wine

December 30th, 2000 by Crusader

Gavriel Statewrote in to the Wineproject mailing listto announce what his company, TransGaming Technologies, plans for Wine:

Our goal is nothing less than 100% compatibility for running Windows games onLinux through Wine.

To this end, Gavriel states they have worked to improve DirectX 7 support in the Wine code base:

So – we’ve been working hard on revamping the DirectX code within Wine to fullysupport the Direct3D 7 APIs, as well as substantially restructuring theDirectDraw code. So far, we’ve been able to get most of the core Direct3D7 sample apps up and running, as well as some major game titles (Sacrifice),and the 3DMark2000 benchmark. We’ve implemented most of the code D3D features,including multitexturing, stencil buffers, alpha blending, fog, etc. We’restill working on optimizations such as holding D3D Vertex Buffers in videomemory for quick access to hardware T&L.

On the DirectDraw side, we’ve unified the code in the the x11 and DGA driversinto a new more OO design, separating direct use of xlib from the core code.We’ve added an ‘update thread’ which should make non-DGA use almost as goodas DGA, especially when combined with some of contextual smarts in the GDIx11 driver Ove submitted a few weeks ago to speed up DIBsections. We still havesome work to do on this front, since DGA support hasn’t yet been integratedinto our new design.

Initially, the Direct3D code will be released with limited redistributionrights under the Aladdin Free Public License – it will not be availableunder the Wine license. The DirectDraw code will be made available underthe Wine license, and we should be submitting a patch with that codewithin a couple of days.

In 2001, we will be setting up a subscription service that allows users to voteon the games they would most like to see working. Users who pay will beallowed to vote on what we work on next – essentially a variant of the StreetPerformer Protocol ( a set number of users have subscribed to the service we will releasethe code under the Wine license. After the initial code is released underthe Wine license, so will all subsequent patches, assuming we retain a setminimum number of subscriptions.

You can get the AFPLed code from our web site ( Once we have some feedback on the 2D side of things, we’ll send apatch to wine-patches for release under the Wine license.

Their site has screenshots of Sacrifice running under Linux (whichwas only released this past month); the code in question can be downloaded from here.

2 Responses to “DirectX 7 Games and Wine”

  1. bakiller Says:

    Has anyone tried this out?? What games can it run now and how good does it work?? This sounds pretty cool!

  2. Anonymous Says:

    All credit to them for starting this off, and I hope they make a success of it, but they’re hoping for a lot to get 20,000 subscribers at $60 a year before relicensing the code.

    Still, more people working on the code is definitely a good thing. Good luck boys!

Leave a Reply

You must be logged in to post a comment.