Skip to content

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

License

Notifications You must be signed in to change notification settings

Eric-168/cnc-ddraw

 
 

Repository files navigation

cnc-ddraw

cnc-ddraw can fix compatibility issues in older 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) 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) only: override ddraw in winecfg

 

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: FunkyFr3sh#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

  • Command & Conquer Gold
  • Command & Conquer: Red Alert
  • Command & Conquer: Tiberian Sun
  • Command & Conquer: Red Alert 2
  • Captain Claw
  • Carmageddon
  • Carmageddon 2
  • Warcraft 2
  • StarCraft
  • Diablo
  • Diablo 2
  • Age of Empires
  • Age of Empires II
  • Theme Hospital
  • Populous: The Beginning
  • Outlaws
  • Dungeon Keeper
  • Dark Reign: The Future of War
  • Star Wars: Galactic Battlegrounds
  • Atomic Bomberman
  • Dune 2000
  • Oddworld: Abe's Oddysee
  • Commandos
  • Red Baron 3D
  • F-16 Multirole Fighter
  • F-22 Raptor
  • Nox
  • ...

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 instructions above.

About

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

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C 66.2%
  • C++ 25.1%
  • Pascal 8.6%
  • Other 0.1%