Skip to content

GDI, OpenGL and Direct3D 9 re-implementation of the DirectDraw API for classic 2D games for better compatibility with Windows 2000, XP, Vista, 7, 8, 10, 11, Wine (Linux/macOS/Android) and Virtual Machines

License

FunkyFr3sh/cnc-ddraw

 
 

Repository files navigation

cnc-ddraw

cnc-ddraw can fix compatibility issues in older 2D games, such as black screen, bad performance, crashes or defective Alt+Tab.

 

Features

  • Supports Windows 2000, XP, Vista, 7, 8, 10, 11, Wine (Linux/macOS/Android) and Virtual Machines
  • GDI / OpenGL / Direct3D 9 renderer (With automatic renderer selection)
  • Upscaling via glsl shaders - https://imgur.com/a/kxsM1oY | https://imgur.com/a/wjrhpFV
  • Windowed Mode / Fullscreen Exclusive Mode / Borderless Mode
  • Alt+Enter support to switch quickly between Fullscreen and Windowed mode
  • Automatically saves and restores window position/size/state
  • FPS Limiter
  • VSync
  • Optional mouse sensitivity scaling
  • Preliminary libretro shader support - https://github.com/libretro/glsl-shaders
  • ...

 

Instructions

  1. Download cnc-ddraw.zip and extract it into your game folder
  2. Start the game

Wine (Linux/macOS/Android) only: override ddraw in winecfg manually or run cnc-ddraw config.exe once.

 

If you use cnc-ddraw with a game that got its own windowed mode built in then make sure you disable the games own windowed mode first. You can enable windowed mode via cnc-ddraw config.exe instead.

 

If the game starts but it doesn't work perfectly then open the config program and check the Compatibility settings.

 

cnc-ddraw does not support Direct3D/Glide, it will only work with games that use a DirectDraw (Software) renderer. Usually you can tell by the look of the game if it's a 3D game or not, but you can also let cnc-ddraw generate a debug log and search for "IDirect3D" - Link: #44

 

Some games may require additional steps before they can be used with cnc-ddraw, please check the wiki for more details.

 

If the game doesn't start at all or it's crashing, then please generate a debug log file and upload it.

 

Hotkeys

  • [Alt] + [Enter] = Switch between windowed and fullscreen mode
  • [Ctrl] + [Tab] = Unlock cursor
  • [Right Alt] + [Right Ctrl] = Unlock cursor
  • [Alt] + [Page Down] = Maximize window

 

Supported Games

  • Age of Empires
  • Age of Empires II
  • Age of Empires II: The Conquerors
  • Age of Empires: The Rise of Rome
  • Age of Wonders
  • Age of Wonders 2
  • Age of Wonders: Shadow Magic
  • Airline Tycoon Deluxe
  • Alien Nations
  • American Conquest (Steam+GOG)
  • Amerzone
  • Anno 1602: Creation of a New World
  • Anstoss 3
  • Arcanum: Of Steamworks and Magick Obscura
  • Atlantis: The Lost Tales
  • Atlantis 2: Beyond Atlantis
  • Atlantis 3: The New World
  • Atomic Bomberman
  • Atrox
  • Baldr Force EXE
  • Baldur's Gate
  • Baldur's Gate 2
  • Balls Of Steel
  • Blade & Sword
  • Blood II - The Chosen
  • Caesar III (Sierra - 1998)
  • Call To Power 2
  • Capitalism II
  • Capitalism Lab
  • Captain Claw
  • Carmageddon
  • Carmageddon 2
  • Casino Empire (AKA Hoyle Casino)
  • Chaos Gate
  • Close Combat 2: A Bridge Too Far
  • Close Combat 3: The Russian Front
  • Close Combat 4: The Battle of the Bulge
  • Close Combat 5: Invasion: Normandy
  • Command & Conquer Gold
  • Command & Conquer: Red Alert
  • Command & Conquer: Red Alert 2
  • Command & Conquer: Red Alert 2: Yuri's Revenge
  • Command & Conquer: Sole Survivor
  • Command & Conquer: Tiberian Sun
  • Commandos
  • Commandos - Beyond The Call Of Duty
  • Commandos 2
  • Corsairs Gold
  • Cossacks (Steam+GOG)
  • Cultures - The Discovery of Vinland
  • Cultures 2
  • Dark Reign: The Future of War
  • Daytona USA (Sega - 1996)
  • Deadlock 2
  • Desperados: Wanted Dead or Alive
  • Diablo
  • Diablo 2
  • Diablo 2: Lord of Destruction
  • Diablo: Hellfire
  • Disciples
  • Disciples 2 - Rise of the Elves
  • Divine Divinity
  • Dragon Throne: Battle of Red Cliffs
  • DuelSavior
  • DuelSavior: Justice
  • Dune 2000
  • Dungeon Keeper
  • Dungeon Keeper 2
  • Economic War
  • Eggsucker
  • Enemy Infestation
  • Escape Velocity Nova
  • F-16 Multirole Fighter
  • F-22 Raptor
  • Fairy Tale About Father Frost, Ivan and Nastya
  • Fallout
  • Fallout 2
  • Final fantasy VII
  • Final fantasy VIII
  • Future Cop L.A.P.D
  • G-Police
  • Grand Theft Auto
  • Grand Theft Auto: London 1961
  • Grand Theft Auto: London 1969
  • Gruntz
  • Hard Truck: Road to Victory
  • Hearts of Iron 2
  • Heroes of Might and Magic II
  • Heroes of Might and Magic III
  • Heroes of Might and Magic IV
  • Hooligans: Storm over Europe
  • Hugo Gold
  • Hugo Wild River
  • Icewind Dale
  • Icewind Dale 2
  • Infantry Online
  • Interstate 76
  • Invictus: In the Shadow of Olympus
  • Jagged Alliance 2
  • Jagged Alliance 2: Unfinished Business
  • Jagged Alliance 2: Wildfire
  • Jazz Jackrabbit 2
  • Killing Time
  • Kings Quest 8: Mask of Eternity
  • KKND Xtreme
  • KKND2: Krossfire
  • Knights and Merchants
  • Kohan: Immortal Sovereigns
  • Konung
  • Konung 2
  • Lionheart - Legacy of the Crusader
  • Locomotion
  • Lode Runner 2
  • Majesty Gold
  • Majesty Gold HD
  • Mech Warrior 3
  • Metal Gear Solid
  • Megaman X4
  • Moorhuhn
  • Moorhuhn 2
  • Moorhuhn Winter Editon
  • Moto Racer
  • Moto Racer 2
  • Nancy Drew: Last Train to Blue Moon Canyon
  • Nancy Drew: Secrets Can Kill
  • Nancy Drew: Stay Tuned For Danger
  • Need For Speed III: Hot Pursuit
  • Need For Speed: High Stakes
  • New Robinson
  • NexusTk
  • Nox (Westwood - 2000)
  • Oddworld: Abe's Exoddus
  • Oddworld: Abe's Oddysee
  • Outlaws
  • Outlive
  • Pacific General
  • Patrician 3
  • Pax Imperia
  • Pharaoh (Sierra - 1999)
  • Pizza Syndicate (AKA Fast Food Tycoon)
  • Populous: The Beginning
  • Poseidon: Master of Atlantis
  • Pro Pinball - Big Race USA
  • Pro Pinball - Fantastic Journey
  • Quest for Glory 5
  • Rage of Mages 2
  • Railroad Tycoon II
  • Red Baron 3D
  • Reksio and Captain Nemo (AKA Reksio si Capitanul Nemo)
  • Reksio and Kretes in Action (AKA Reksio si Kretes in Actiune)
  • Reksio and the Pirate Treasure (AKA Reksio si Comoara Piratilor)
  • Reksio and the Time Machine (AKA Reksio si Masina Timpului)
  • Reksio and the UFO (AKA Reksio si OZN-ul)
  • Reksio and the Wizards (AKA Reksio si Magicienii)
  • Road Rash
  • RollerCoaster Tycoon
  • Sanitarium
  • Sega Rally
  • Sega Touring Car
  • Septerra Core
  • Settlers 3
  • Shadow Flare
  • Shadow Watch
  • Shogo - Mobile Armor Division
  • Sim City 3000
  • Sim Copter
  • Sim Theme Park (aka Theme Park World)
  • SimCoaster / Theme Park Inc
  • Sonic 3D Blast
  • Space Rangers
  • Star Wars Jedi Knight: Dark Forces II
  • Star Wars: Galactic Battlegrounds
  • Star Wars: Galactic Battlegrounds: Clone Campaigns
  • StarCraft
  • StarCraft: Broodwars
  • Starship Titanic
  • Start Trek Armada
  • Steel Panthers: World At War
  • Stronghold Crusader Extreme HD
  • Stronghold Crusader HD
  • Stronghold HD
  • Theme Hospital
  • Three Kingdoms: Fate of the Dragon
  • Total Annihilation
  • Total Annihilation (Unofficial Beta Patch v3.9.02)
  • Total Annihilation: Kingdoms
  • Twisted Metal
  • Twisted Metal 2
  • Tzar: The Burden of the Crown
  • Uprising: Join or Die
  • Uprising 2: Lead and Destroy
  • Vermeer
  • Virtua Fighter PC
  • War Wind
  • War Wind II - Human Onslaught
  • Warcraft 2
  • Warlords 3: Darklords Rising
  • Warlords Battlecry
  • Warlords Battlecry 2
  • Warlords Battlecry 3
  • Wizardry 8
  • Wizards and Warriors
  • Worms 2
  • Worms Armageddon
  • Zeus: Master of Olympus
  • Zuma Deluxe
  • ...

There are a lot more games supported but I don't usually update the list, just give it a try and if it doesn't work then check the wiki and the instructions above.

About

GDI, OpenGL and Direct3D 9 re-implementation of the DirectDraw API for classic 2D games for better compatibility with Windows 2000, XP, Vista, 7, 8, 10, 11, Wine (Linux/macOS/Android) and Virtual Machines

Topics

Resources

License

Stars

Watchers

Forks

Languages

  • C 67.1%
  • C++ 24.5%
  • Pascal 8.4%