1
0
mirror of https://github.com/FunkyFr3sh/cnc-ddraw.git synced 2025-03-15 06:04:49 +01:00
cnc-ddraw/README.md

109 lines
4.0 KiB
Markdown
Raw Normal View History

2019-04-04 03:40:55 +02:00
# cnc-ddraw
cnc-ddraw can fix compatibility issues in older games, such as black screen, bad performance, crashes or defective Alt+Tab.
2021-06-19 05:38:28 +02:00
 
2019-04-04 03:40:55 +02:00
### Features
2021-10-01 17:04:28 +02:00
- Supports Windows XP, Vista, 7, 8, 10, 11 and Wine
2019-04-04 03:40:55 +02:00
- GDI / OpenGL / Direct3D 9 renderer (With automatic renderer selection)
2019-04-04 15:51:01 +02:00
- Upscaling via glsl shaders - https://imgur.com/a/kxsM1oY | https://imgur.com/a/wjrhpFV
2021-06-03 05:39:51 +02:00
- Windowed Mode / Fullscreen Exclusive Mode / Borderless Mode
2019-04-04 03:40:55 +02:00
- Alt+Enter support to switch quickly between Fullscreen and Windowed mode
- Automatically saves and restores window position/size/state
- FPS Limiter
- VSync
2021-06-03 05:39:51 +02:00
- Optional mouse sensitivity scaling
2019-04-04 03:40:55 +02:00
- Preliminary libretro shader support - https://github.com/libretro/glsl-shaders
- ...
2020-10-17 05:40:49 +02:00
2021-06-19 05:38:28 +02:00
 
2020-10-17 05:40:49 +02:00
### Instructions
2022-10-05 15:59:43 +02:00
1. Download [cnc-ddraw.zip](https://github.com/FunkyFr3sh/cnc-ddraw/releases/latest/download/cnc-ddraw.zip) and extract it into your game folder
2022-09-05 06:45:24 +02:00
2. Start the game
2021-06-19 05:34:03 +02:00
2022-09-05 06:45:24 +02:00
Wine (Linux/macOS) only: override `ddraw` in [winecfg](https://wiki.winehq.org/Winecfg#Libraries)
 
2020-10-17 05:40:49 +02:00
2022-09-15 20:31:32 +02:00
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.
2021-06-19 05:40:37 +02:00
2021-07-03 20:25:32 +02:00
If you want to play in windowed mode then start the game once in fullscreen and then press Alt+Enter to enable the cnc-ddraw windowed mode (Or enable windowed mode in the config program without using Alt+Enter).
2020-10-17 05:40:49 +02:00
2021-06-19 05:38:28 +02:00
 
2021-07-03 20:22:53 +02:00
**If the game starts but it doesn't work perfectly** then open the config program and check the **Compatibility settings**. Alternatively you can also open ddraw.ini with notepad and modify the **Compatibility settings** in there.
2020-10-17 05:40:49 +02:00
2021-06-19 05:38:28 +02:00
 
2020-10-17 05:40:49 +02:00
2022-10-05 15:59:43 +02:00
**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: https://github.com/FunkyFr3sh/cnc-ddraw/issues/44
2022-09-15 20:31:32 +02:00
 
2022-10-05 15:59:43 +02:00
Some games may require additional steps before they can be used with cnc-ddraw, please check the [wiki](https://github.com/FunkyFr3sh/cnc-ddraw/wiki) for more details.
2022-09-05 06:45:24 +02:00
 
2021-07-03 20:22:53 +02:00
**Compatibility settings in ddraw.ini**
2021-06-19 05:44:02 +02:00
2021-06-19 07:45:51 +02:00
- If there are **problems on Alt+Tab** then try to set `noactivateapp=true` - If it still doesn't work also try `renderer=opengl` or `renderer=gdi`.
2021-06-19 05:34:03 +02:00
2021-06-19 10:02:59 +02:00
- If the **game is running too fast** then try to set `maxgameticks=60` - If it's still too fast, try a lower value.
2021-06-19 05:34:03 +02:00
2021-06-19 10:02:59 +02:00
- If **windowed mode or upscaling are not working properly** then try to set `hook=2` and `renderer=gdi`.
2021-06-19 05:34:03 +02:00
2021-06-19 07:45:51 +02:00
- If **videos or other UI elements are invisible** then try to set `nonexclusive=true`.
2021-06-19 05:34:03 +02:00
2021-06-19 07:45:51 +02:00
- If the game is **stuttering on a Freesync/G-Sync monitor** then try to set `minfps=-1`.
2021-06-19 07:42:30 +02:00
2021-06-19 05:38:28 +02:00
 
2020-10-17 05:40:49 +02:00
2022-10-05 15:59:43 +02:00
**If the game doesn't start at all or it's crashing**, [then please generate a debug log file and upload it.](https://github.com/FunkyFr3sh/cnc-ddraw/issues/44)
2019-04-04 03:40:55 +02:00
2021-06-19 05:38:28 +02:00
 
2020-10-17 06:04:11 +02:00
### Hotkeys
2020-10-17 05:58:30 +02:00
* [Alt] + [Enter] = Switch between windowed and fullscreen mode
* [Ctrl] + [Tab] = Unlock cursor
* [Right Alt] + [Right Ctrl] = Unlock cursor
2022-09-05 06:45:24 +02:00
* [Alt] + [Page Down] = Maximize window (Window borders must be disabled in config)
2020-10-17 05:58:30 +02:00
2021-06-19 05:38:28 +02:00
 
2019-04-04 03:40:55 +02:00
### Supported Games
- Command & Conquer Gold
- Command & Conquer: Red Alert
- Command & Conquer: Tiberian Sun
- Command & Conquer: Red Alert 2
- Carmageddon
- Carmageddon 2
- Warcraft 2
- StarCraft
2019-08-08 13:17:01 +02:00
- Diablo
2019-04-04 03:40:55 +02:00
- 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
- ...
2020-10-17 05:40:49 +02:00
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.
2022-03-15 02:29:05 +01:00
2022-10-05 15:59:43 +02:00
[![](https://img.shields.io/github/downloads/FunkyFr3sh/cnc-ddraw/total)](https://github.com/FunkyFr3sh/cnc-ddraw/releases)