-
Notifications
You must be signed in to change notification settings - Fork 109
DirectDraw to Direct3D9 Conversion
Over the past couple of years I have been working on creating a feature to be able to convert ddraw's DirectDraw/Direct3D to Direct3D 9 (d3d9). The goal of this project is to fix compatibility issues with older games that use ddraw, as well allowing these games to use newer tools that require Direct3D 9 or higher.
The feature is built in dxwrapper and is called Dd7to9
. So far most of the DirectDraw APIs have been implemented, while only a handfull of the Direct3D APIs have been implemented.
Note: To view the status of the DirectDraw to Direct3D9 Conversion check out the Status Page.
To use this feature you can do the following:
- Download the latest dxwrapper release.
- Extract
ddraw.dll
,dxwrapper.dll
anddxwrapper.ini
files from the release and copy it to the game folder. - Open the
dxwrapper.ini
file and enable theDd7to9
feature. - Disable all application compatibility setting in the application.
- Start the game and enjoy.
If you run into issues try the following things:
- If the game is running in a window and graphics look messed up, try:
- disable in-game windowed mode and use fullscreen.
Dd7to9
does not fully support in-game windowed mode for many games. - enabling
FullscreenWindowMode
. Some older games may not have a fullscreen option, using this option may override the game and set it to fullscreen.
- disable in-game windowed mode and use fullscreen.
- If the movies/videos are not showing up or just displaying as black, try:
- enabling
FullscreenWindowMode
. Some older games use a mixture of GDI and ddraw. With Direct3D 9 a surface can only be shared with GDI when using windowed mode.
- enabling
- If the game crashes after alt+tab, try:
- enabling the
DdrawEmulateSurface
. This preserves the surface memory to fix bugs in some older games.
- enabling the
- If the game crashes, try:
- enabling the
DdrawEmulateSurface
. This preserves the surface memory to fix bugs in some older games. - enabling the
SingleProcAffinity
. Some games are not properly synchronized to run on multiple CPU cores, or simply don't properly handle powerful CPUs. - setting
DdrawLimitDisplayModeCount
to a value between 32 and 145. Some older games cannot handle a large number of display mode options. - enabling the
HandleExceptions
. This option tries to fix several common exceptions, such as the divide by zero exception in old games that were trying to calculate the CPU speed. - running the game with administrator rights. Some older games require admin rights to function properly.
- making sure you are using the software rendering and not 3D rendering, if the game supports it. Currently this only works with the 2D APIs. Some games only support 3D rendering and won't work with this feature.
- enabling the
Note: To view the status of the DirectDraw to Direct3D9 Conversion check out the Status Page.
Game | Notes | -Support- |
---|---|---|
Abe's Oddysee | Requires DdrawEmulateSurface to allow alt+tab |
|
Age of Wonders: Shadow Magic | Only works if Direct3D is disabled |
|
Age of Wonders 2 | Only works if Direct3D is disabled |
|
Alien Nations | Requires "Hardware Accelerator" option to be disabled |
|
Anno 1602: Creation of a New World |
|
|
American Conquest |
|
|
American Conquest: Fight Back |
|
|
Amerzone |
|
|
Arcanum Of Steamworks and Magick Obscura |
|
|
Atlantis: The Lost Tales (DirectDraw1) | Textures on faces missing |
|
Atlantis 2: Beyond Atlantis |
|
|
Atlantis 3: The New World | May require running with admin rights on some systems |
|
Bad Mojo |
|
|
Caesar 3 | Requires UseNativeResolution
|
|
Call To Power 2 | Intro video just shows black screen |
|
Castle Adventure |
|
|
Chris Sawyer's Locomotion |
|
|
Close Combat 2 |
|
|
Close Combat 3 |
|
|
Close Combat 4 |
|
|
Close Combat 5 |
|
|
Command & Conquer Gold |
|
|
Command & Conquer: Tiberian Sun |
|
|
Command & Conquer: Red Alert |
|
|
Command & Conquer: Red Alert 2 |
|
|
Commandos |
|
|
Commandos 2 |
|
|
Commandos BCD |
|
|
Corsairs Gold |
|
|
Creatures 2: The Albian Years | Requires enabling DdrawWriteToGDI and setting DdrawOverrideBitMode to 16
|
|
Creatures 3: Exodus | Requires enabling DdrawWriteToGDI and setting DdrawOverrideBitMode to 16
|
|
Dark Reign |
|
|
Deadlock II |
|
|
Deathtrap Dungeon |
|
|
Deus |
|
|
DOSBox |
|
|
Diablo | Corrupted images in menu, requires DdrawEmulateSurface to prevent crashing on some systems |
|
Diablo Hellfire | Recommended to enable DdrawEmulateSurface
|
|
Diablo Spawn | Recommended to enable DdrawEmulateSurface
|
|
Digger XP |
|
|
Dracula 2 |
|
|
Dune 2000 | Requires FullscreenWindowMode for mouse cursor to work |
|
Europa 1400: Gold Edition |
|
|
Gangsters: Organized Crime |
|
|
Geneforge Saga 1 |
|
|
Geneforge Saga 2 |
|
|
Geneforge Saga 3 |
|
|
Geneforge Saga 4 |
|
|
God of Nea |
|
|
Heroes of Might & Magic 3 |
|
|
Heroes of Might & Magic 4 | Requires fullscreen mode in game settings |
|
InkBall |
|
|
Interstate 76 |
|
|
Interstate 82 |
|
|
Invictus: In the Shadow of Olympus |
|
|
Jagged Alliance 2 |
|
|
Jagged Alliance 2: Unfinished Business |
|
|
Jagged Alliance 2: Wildfire |
|
|
Jazz Jackrabbit 2 |
|
|
King's Quest 8 | Requires running in DirectDraw (Software) mode, can be configured by modifying Options.cs and setting this line assignGModeName Software
|
|
Konung 1 | Requires FullscreenWindowMode for movies |
|
Konung 2 | Requires FullscreenWindowMode for movies |
|
Lionheart: Legacy of the Crusader |
|
|
Majesty Gold HD | Requires windowed mode to be disabled in the MajXPrefs under %userprofile%\Documents\My Games\MajestyHD\
|
|
Metal Gear Solid |
|
|
Monster Truck Madness 2 | Requires software rendering |
|
Moto Racer | Requires "DirectX 3D" option disabled and EnableVSync enabled to slow down menu animation |
|
Moto Racer 2 |
|
|
Nethergate Resurrection | Part of the background is cut off on some of the menus when starting a new game |
|
NOX |
|
|
Outlaws + A Handful of Missions |
|
|
Pacific General |
|
|
Patrician 3 | Requires running in Windows 7 compatibility mode with admin rights and setting DdrawLimitDisplayModeCount to 145
|
|
Pax Imperia Eminent Domain |
|
|
Pharaoh Gold | Requires UseNativeResolution
|
|
Populous: The Beginning | Requires the non-3D version and DdrawEmulateSurface , videos are not clear |
|
Port Royale |
|
|
Port Royale 2 |
|
|
Pro Pinball Big Race USA |
|
|
Pro Pinball Fantastic Journey |
|
|
Rage of Mages |
|
|
Rage of Mages II |
|
|
Return of TIM |
|
|
Requiem: Avenging Angel |
|
|
Runaway: A Road Adventure |
|
|
Septerra Core | Recommended to enable DdrawEmulateSurface
|
|
SimCity 3000 | Landscape is missing items |
|
SimCopter | Requires FullscreenWindowMode for intro movies |
|
Shadow Watch |
|
|
Shogo | Requires software rendering and DdrawEmulateSurface
|
|
Star Wars: Galactic Battlegrounds |
|
|
Star Wars: Jedi Knight Dark Forces 2 | Requires 3D acceleration disabled and if using GOG version requires launching JK directly and bypassing GOG |
|
Star Wars: Jedi Knight Mysteries of the Sith | Requires 3D acceleration disabled and if using GOG version requires launching JK directly and bypassing GOG |
|
Star Wars: X-Wing vs TIE Fighter | Requires Power VR 3D Card to be disabled |
|
StarCraft |
|
|
StarCraft: Broodwars |
|
|
Stronghold | Note: if display looks messed up in the game try changing the resolution. |
|
Stronghold Crusader | Note: if display looks messed up in the game try changing the resolution. |
|
Stronghold Crusader Extreme HD | Note: if display looks messed up in the game try changing the resolution. |
|
Stronghold HD | Note: if display looks messed up in the game try changing the resolution. |
|
SWAT 2 |
|
|
Throne of Darkness |
|
|
TIM Even More Contraptions |
|
|
Tomb Raider 2 |
|
|
Total Annihilation |
|
|
Twisted Metal 2 |
|
|
Uprising: Join or Die |
|
|
Uprising 2: Lead and Destroy |
|
|
War Wind |
|
|
War Wind II | Minor corruption in the intro video |
|
Warcraft 2 |
|
|
WarGames | Requires "Software Rasterizer" and SingleProcAffinity
|
|
Warhammer 40K: Final Liberation | Requires DdrawEmulateSurface
|
|
Warhammer 40K: Rites of War |
|
|
Warlords Battlecry |
|
|
Warlords Battlecry 2 |
|
|
Warlords Battlecry 3 | Crashes when clicking More Info
|
|
Warlords III: Darklords Rising |
|
|
William’s Pinball Classics |
|
|
Wing Commander IV |
|
|
WinQuake | Does not work with in-game windowed mode |
|
Worms 2 |
|
|
Worms Armageddon |
|
|
Zeus and Poseidon | Requires UseNativeResolution
|
|
Game | Notes | -Support- |
---|---|---|
Age of Wonders |
|
|
Age of Wonders 2 |
|
|
Arx Fatalis |
|
|
Avernum: Escape From The Pit |
|
|
Avernum 2: Crystal Souls |
|
|
B-17 Flying Fortress: The Mighty 8th |
|
|
Battle Realms Complete |
|
|
Battle Isle: The Andosia War |
|
|
Blood 2: The Chosen |
|
|
Codemaster's Colin McRae Rally 1 |
|
|
Codemaster's Colin McRae Rally 2 |
|
|
Codename Outbreak |
|
|
Conquest: Frontier Wars |
|
|
Combat Mission: Beyond Overlord |
|
|
Croc 2 |
|
|
Dark Reign 2 |
|
|
Darkstone |
|
|
Descent 3 |
|
|
Diablo 2 |
|
|
Disciples 2: Gold Elves |
|
|
Divine Divinity |
|
|
Dungeon Keeper 2 |
|
|
Earth 2150 Trilogy: Escape from the Blue Planet |
|
|
Empire Earth Gold |
|
|
Empire Earth: The Art of Conquest |
|
|
Enemy Engaged: Comanche vs Hokum |
|
|
Etherlords |
|
|
Etherlords II |
|
|
Europa 1400: Gold Edition |
|
|
Evolva |
|
|
Evil Islands |
|
|
FA-18E Super Hornet |
|
|
Gorky 17 |
|
|
Gothic |
|
|
Gothic 2 |
|
|
Hitman: Codename 47 |
|
|
Hogs of War |
|
|
King's Quest 8 |
|
|
Knight Rider |
|
|
Knight Rider 2 |
|
|
Legacy of Kain: Soul Reaver |
|
|
MechWarrior 4 |
|
|
Might and Magic VIII: Day of the Destroyer |
|
|
Might and Magic IX |
|
|
Monster Truck Madness 2 |
|
|
Moto Racer |
|
|
Moto Racer 2 |
|
|
Myst III Exile |
|
|
Populous: The Beginning |
|
|
Raymond 2 |
|
|
Redline |
|
|
Return to Krondor |
|
|
Revenant |
|
|
Sacred Gold |
|
|
Shogo |
|
|
Simon the Sorcerer 3D |
|
|
Silent Hunter II |
|
|
Speed Busters |
|
|
Star Trek Armada 1 |
|
|
Star Trek Starfleet Academy |
|
|
Star Trek Starfleet Command |
|
|
Star Wars Rebellion |
|
|
Star Wars Rogue Squadron 3D |
|
|
Star Wars X-Wing Alliance |
|
|
StarTopia |
|
|
SWAT 3: Tactical Game of the Year Edition |
|
|
The Longest Journey |
|
|
The Nations Gold |
|
|
The Settlers IV Gold |
|
|
The Summoner |
|
|
Tom Clancy's Rainbow Six |
|
|
Tomb Raider 3 |
|
|
Tomb Raider 4 |
|
|
Tomb Raider 5 |
|
|
Ultima IX Ascension |
|
|
Unreal Gold |
|
|
Unreal Tournament GOTY |
|
|
Vampire: The Masquerade |
|
|
WarGames |
|
|
Wizardry 8 |
|
|
Wizards and Warriors |
|
|
X-COM Interceptor |
|