Difference between revisions of "User:Eddman"
Line 33: | Line 33: | ||
You'd see a long list of interfaces sorted by time. Determine the Direct3D or DirectDraw version using the following table: | You'd see a long list of interfaces sorted by time. Determine the Direct3D or DirectDraw version using the following table: | ||
{{ii}}There is no Direct3D 4 or DirectDraw 4, since DirectX 4 was canceled and never released. | {{ii}}There is no Direct3D 4 or DirectDraw 4, since DirectX 4 was canceled and never released. | ||
+ | |||
+ | {| class="wikitable" | ||
+ | |+ Caption text | ||
+ | |- | ||
+ | ! Header text !! Header text | ||
+ | |- | ||
+ | | Example || Example | ||
+ | |- | ||
+ | | Example || Example | ||
+ | |- | ||
+ | | Example || Example | ||
+ | |- | ||
+ | | Example || Example | ||
+ | |} | ||
<pre> | <pre> | ||
Line 55: | Line 69: | ||
{{ii}}DirectDraw 2/3 and 5 use the identically named <code>DirectDraw2</code> interface. To distinguish between the two check the name of the <code>DirectDrawSurface</code> interface. | {{ii}}DirectDraw 2/3 and 5 use the identically named <code>DirectDraw2</code> interface. To distinguish between the two check the name of the <code>DirectDrawSurface</code> interface. | ||
+ | |||
+ | {| class="wikitable" | ||
+ | |+ | ||
+ | |- | ||
+ | ! Direct3D version !! Interfaces | ||
+ | |- | ||
+ | | 2/3|| Direct3D, Direct3DDevice | ||
+ | |- | ||
+ | | 5|| Direct3D2, Direct3DDevice2 | ||
+ | |- | ||
+ | | 6|| Direct3D3, Direct3DDevice3 | ||
+ | |- | ||
+ | | 7|| Direct3D7, Direct3DDevice7 | ||
+ | |} | ||
+ | |||
+ | {| class="wikitable" | ||
+ | |+ | ||
+ | |- | ||
+ | ! DirectDraw version !! Interfaces | ||
+ | |- | ||
+ | | 1 || DirectDraw, DirectDrawSurface | ||
+ | |- | ||
+ | | 2/3 || DirectDraw2, DirectDrawSurface2 | ||
+ | |- | ||
+ | | 5 || DirectDraw2, DirectDrawSurface3 | ||
+ | |- | ||
+ | | 6 || DirectDraw4, DirectDrawSurface4 | ||
+ | |- | ||
+ | | 7 || DirectDraw7, DirectDrawSurface7 | ||
+ | |} |
Revision as of 19:42, 5 April 2024
Direct3D versions
DirectDraw is an obsolete 2D rendering API from Microsoft that was used by game developers mainly before the release of Direct3D 8.
Determine the Direct3D/DirectDraw version for older games
This section is only applicable for DirectDraw and Direct3D 7 or older. For newer render APIs, use a tool such as MSI Afterburner or Special K.
Identify the render API being used: |
---|
If dgVoodoo needs to be used, do the following procedure to trace the calls:
You'd see a long list of interfaces sorted by time. Determine the Direct3D or DirectDraw version using the following table:
{ |
- Direct3D 2 and 3, and DirectDraw 2 and 3, use the exact same interfaces. As a result they cannot be distinguished by interfaces. For these cases use the DirectX version listed in requirements or readme, or the version of the DirectX installer shipped with the original release of the game.
- DirectDraw 2/3 and 5 use the identically named
DirectDraw2
interface. To distinguish between the two check the name of theDirectDrawSurface
interface.
Direct3D version | Interfaces |
---|---|
2/3 | Direct3D, Direct3DDevice |
5 | Direct3D2, Direct3DDevice2 |
6 | Direct3D3, Direct3DDevice3 |
7 | Direct3D7, Direct3DDevice7 |
DirectDraw version | Interfaces |
---|---|
1 | DirectDraw, DirectDrawSurface |
2/3 | DirectDraw2, DirectDrawSurface2 |
5 | DirectDraw2, DirectDrawSurface3 |
6 | DirectDraw4, DirectDrawSurface4 |
7 | DirectDraw7, DirectDrawSurface7 |