Git Product home page Git Product logo

funkyfr3sh / cnc-ddraw Goto Github PK

View Code? Open in Web Editor NEW

This project forked from mvdhout1992/cnc-ddraw

2.1K 35.0 143.0 3.05 MB

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

Home Page: https://discord.gg/afWXJNDDF5

License: MIT License

Makefile 0.02% Batchfile 0.01% C 67.52% C++ 24.21% Pascal 8.24%
borderless ddraw directdraw upscaling windowed integer-scaling compatiblity directx wrapper d3d9 opengl

cnc-ddraw's Introduction

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.

 

Need help and don't have a github account? Ask your questions on Discord (No registration required)

 

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)
  • American Girls Dress Designer
  • Amerzone
  • Anno 1602: Creation of a New World
  • Anstoss 3
  • Arcanum: Of Steamworks and Magick Obscura
  • Arthur's Pet Chase
  • Arthur's Sand Castle Contest
  • Arthur's Wilderness Rescue
  • Atlantis 2: Beyond Atlantis
  • Atlantis 3: The New World
  • Atlantis: The Lost Tales
  • Atomic Bomberman
  • Atrox
  • Baldr Force EXE
  • Baldur's Gate
  • Baldur's Gate 2
  • Barbie(tm) Beach Vacation(tm)
  • Barbie(R) Photo Designer
  • Batman: Justice Unbalanced
  • Batman: Toxic Chill
  • Blade & Sword
  • Blood II - The Chosen
  • Blue's 123 Time Activities
  • Blue's Treasure Hunt
  • 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
  • ClueFinders 3rd Grade Adventures
  • ClueFinders 4th Grade Adventures
  • ClueFinders 5th Grade Adventures
  • ClueFinders 6th Grade Adventures
  • ClueFinders Math Adventures 1.0
  • ClueFinders Math Adventures 2.0
  • ClueFinders Mystery Mansion
  • ClueFinders Search and Solve Adventures
  • ClueFinders The Incredible Toy Store Adventure
  • ClueFinders(R) Reading Adventures Ages 9-12
  • 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
  • Cyberchase Carnival Chaos
  • Cyberchase Castleblanca Quest
  • 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
  • Freddi Fish
  • Freddi Fish 4
  • Freddi Fish's One-Stop Fun Shop
  • Freddi Fish: Maze Madness
  • Freddi Fish: The Case of the Creature of Coral Cove
  • Freddi Fish: The Case of the Haunted Schoolhouse
  • Freddi Fish: The Case of the Hogfish Rustlers of Briny Gulch
  • Freddi Water Worries
  • Future Cop L.A.P.D
  • G-Police
  • Grand Theft Auto
  • Grand Theft Auto: London 1961
  • Grand Theft Auto: London 1969
  • Gruntz
  • Gorasul: The Legacy of the Dragon
  • Hamtaro: Wake Up Snoozer!
  • 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: The Peasants Rebellion
  • Knights and Merchants: The Shattered Kingdom
  • Kohan: Immortal Sovereigns
  • Konung
  • Konung 2
  • Lionheart - Legacy of the Crusader
  • Little Bear Kindergarten Thinking Adventures
  • Little Bear Preschool Thinking Adventures
  • Little Bear Rainy Day Activities
  • Little Bear Toddler Discovery Adventures
  • Locomotion
  • Lode Runner 2
  • Madeline 1st Grade Math
  • Madeline 2nd Grade Math
  • Majesty Gold
  • Majesty Gold HD
  • ​M.A.X. 2 Mechanized Assault & Exploration
  • Mech Warrior 3
  • Megaman X4
  • Metal Gear Solid
  • Moorhuhn
  • Moorhuhn 2
  • Moorhuhn Winter Editon
  • Moto Racer
  • Moto Racer 2
  • Nancy Drew: Danger on Deception Island
  • Nancy Drew: Last Train to Blue Moon Canyon
  • Nancy Drew: Message in a Haunted Mansion
  • Nancy Drew: Secrets Can Kill
  • Nancy Drew: Stay Tuned For Danger
  • Nancy Drew: The Secret of Shadow Ranch
  • Nancy Drew: Treasure in the Royal Tower
  • 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
  • Pajama Sam
  • Pajama Sam 3
  • Pajama Sam's Games to Play on Any Day
  • Pajama Sam's One-Stop Fun Shop
  • Pajama Sam(r): Life is Rough When You Lose Your Stuff(tm)
  • Pajama Sam: No Need to Hide When It's Dark Outside
  • Pajama Sam 3: You Are What You Eat From Your Head To Your Feet
  • 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
  • Putt-Putt and Pep's Balloon-o-Rama
  • Putt-Putt and Pep's Dog On A Stick
  • Putt-Putt Joins the Circus
  • Putt-Putt Saves The Zoo
  • Putt-Putt's One-Stop Fun Shop
  • Putt-Putt: Pep's Birthday Surprise
  • Putt-Putt: Travels Through Time
  • Quest for Glory 5
  • Rage of Mages 2
  • Railroad Tycoon II
  • Reader Rabbit 1st Grade
  • Reader Rabbit 2nd Grade
  • Reader Rabbit Dreamship Tales
  • Reader Rabbit Kindergarten
  • Reader Rabbit Learn To Read With Phonics
  • Reader Rabbit Learning Creations
  • Reader Rabbit Math Ages 4-6
  • Reader Rabbit Preschool 2002
  • Reader Rabbit Reading Ages 4-6
  • Reader Rabbit Reading Ages 6-9
  • Reader Rabbit Thinking Ages 4-6 (US)
  • Reader Rabbit Toddler
  • Reader Rabbit's(R) Math Ages 6 - 9 (2002)
  • Red Baron 3D
  • Reksio and the Pirate Treasure (Reksio i Skarb Piratów)
  • Reksio and the UFO (Reksio i Ufo)
  • Reksio and the Wizards (Reksio i Czarodzieje)
  • Reksio and the Time Machine (Reksio i Wehikuł Czasu)
  • Reksio and Captain Nemo (Reksio i Kapitan Nemo)
  • Reksio and Kretes in Action (Reksio i Kretes w Akcji!)
  • Road Rash
  • Robin Hood - The Legend of Sherwood
  • RollerCoaster Tycoon
  • Sanitarium
  • Scooby-Doo(TM), Case File #2 The Scary Stone Dragon
  • Scooby-Doo(TM), Phantom of the Knight(TM)
  • Scooby-Doo(TM), Showdown in Ghost Town(TM)
  • 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
  • SpongeBob SquarePants: Typing
  • SPY Fox : Some Assembly Required
  • SPY Fox in Dry Cereal
  • SPY Fox: Hold the Mustard
  • SPY Fox: Operation Ozone
  • Star Wars Jedi Knight: Dark Forces II
  • Star Wars: Galactic Battlegrounds
  • Star Wars: Galactic Battlegrounds: Clone Campaigns
  • StarCraft
  • StarCraft: Broodwars
  • StarFlyers Alien Space Chase
  • StarFlyers Royal Jewel Rescue
  • Starship Titanic
  • Start Trek Armada
  • Steel Panthers: World At War
  • Strawberry Shortcake: Amazing Cookie Party
  • Stronghold Crusader Extreme HD
  • Stronghold Crusader HD
  • Stronghold HD
  • Sudden Strike 2
  • The Missing on Lost Island
  • The Powerpuff Girls - Princess Snorebucks
  • The Powerpuff Girls(TM) Mojo Jojo's Clone Zone
  • The X-Files DVD
  • Theme Hospital
  • Three Kingdoms: Fate of the Dragon
  • Throne of Darkness
  • 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 2: Lead and Destroy
  • Uprising: Join or Die
  • 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
  • Zoombinis Island Odyssey
  • Zoombinis Logical Journey
  • Zoombinis Mountain Rescue
  • 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.

cnc-ddraw's People

Contributors

andrews05 avatar egornovivan avatar funkyfr3sh avatar hifi avatar kambala-decapitator avatar kappa971 avatar mvdhout1992 avatar shizcalev avatar universal963 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

cnc-ddraw's Issues

D3D9 hook support?

Hey, this isn't really an issue, it's just a question:

I really the way xbrz-freescale upscales pixel graphics and I'd like to be able to use it on games that rely on d3d9/d3dx9. Reshade has nothing that really compares.

Is there any way your work could be repurposed to allow .glsl shader support for d3d9 games? Thanks in advance, and sorry for polluting your issues tab with a request.

Issues with Origin version of Red Alert 2/YR

Unfortunately this doesn't seem to work with my copy of RA2/YR. I've unset the compatibility options on every executable in the game directory as instructed but the game crashes at launch no matter what. This is on a fresh RA2 install and I've also tried repairing through Origin and using the previous version of cnc-ddraw from 2018 with no luck.

In the most recent version it just crashes and tells me to disable the compatibility options which I've done, I've checked through multiple times now and they're all still disabled. I also tried setting all of them to Windows 8 just to test and that didn't help either. I've tried launching the game with administrator permissions and without. No difference. I've tried launching straight from the game executables instead of the Origin launcher in case that's messing with stuff but that doesn't seem to work even without the patch (It either does nothing or starts the launcher).

The game works pretty much fine without, but I'd much rather get this working and have windowed mode, alt-tab, etc. if possible.

Is there any way to submit a log file or something?

Is it possible to have ddraw function on any applications/games?

As current Wine versions have ddraw issues this has been very useful however if the executable is not listed within ddraw.ini then it won't be applied. So things like XWIS multiplayer clients as they don't use the expected exactable names. Same for the Tiberian Sun Demo it did not function when tested for the winetricks verb I asked for.

Would it be possible to have some function so it would always be working with handlemouse=false set so other games could possible take advantage of cnc-ddraw?

need to add ra2md to the compatibility .ini list

if applied RA2/YR Launcher Remover (ModExe)
then the names of the executable files will most likely be renamed from
GAME.EXE/gamemd.exe in ra2.exe/ra2md.exe

already in the list the profile for ra2 (.exe) :
; Command & Conquer: Red Alert 2 - XWIS
[ra2]
noactivateapp=true
handlemouse=false
maxfps=60

but not for YR:
; Command & Conquer: Red Alert 2: Yuri's Revenge
[ra2md]
noactivateapp=true
handlemouse=false
maxfps=60

p.s.

and so it is clear that the game has only 4 files GAME.EXE/gamemd.exe and ra2.exe/ra2md.exe
and two of them are gaming ones.

therefore the separate into xwis, ccnet, the original, is not true.
These are the same original executable files of the game, differing only in small hacks, and renamed in different ways.
therefore, this list does not need to be increased so just one

;
Command & Conquer: Red Alert 2 / Yuri's Revenge
[ra2md];[ra2];[gamemd];[GAME];[another names for xwis ccnet etc]
noactivateapp=true
handlemouse=false
maxfps=60

Random garbage being displayed in black bars (Maintain aspect ratio/Integer Scaling)

Issue
Random garbage being displayed in the resulting black bars (Maintain aspect ratio/Integer Scaling)

The garbage being displayed in the black bars seems to be graphics driver related as it doesn't occur on my system with Nvidia graphics (the specs of my main system are: Ryzen 7 1700, 16GB RAM, RX480 8GB with open drivers/Mesa 18.2.4 from Padoka stable PPA, Linux Mint 19)

Reported by u/adamhm_ on reddit.

Possible solution
use glClear in every frame in case Maintain aspect ratio/Integer Scaling are enabled.

Yuri's revenge resolution issue

Hello, thank you for your job. It's very great, that you are making this.

I know that you have menu resolution bug, but i found something interesting info, which can help you to fix it.
First of all i tried to play with ddraw settings to make the best resolution for my display (1920x1080)
When i use handlemouse=true i have menu scaling , but i can't control game
gamemd 2019-09-07 16-29-34-715
When it's disabled i have this:
gamemd 2019-09-07 16-30-29-358
My config file for ddraw
ddraw.zip

Also i found some parameters in gamend.exe which can be used in ra2md.ini
image
image

When i set AllowModeToggle=yes, i get this
gamemd 2019-09-07 16-42-55-215
gamemd 2019-09-07 16-43-20-553
gamemd 2019-09-07 16-43-25-017
I tried to set Resolution =1920 1080, but i haven't see any changes

I hope, my information can help you to solve menu problem

Robin Hood Legend of Sherwood support?

Hello, I'm not quite sure if it is even compatible, but is it possible to make the wrapper work with the old Robin Hood game?
When I try to put the wrapper in game folder, the game is crashing with DirectDrawEnumerateExA error.
Screenshot (62)
I'm mainly interested in xbrz shaders for the game. One of the earlier performance fixes for the game included use of aqrit's ddwrapper

No Window refresh

Hi,

First of all, thank you for the patch, it at least helps me get into the game.

I put the game in windowed mode, and try to change the resolution but it does not seem good.

And after the game created, it loads out the 'starting point' on the game window but nothing else. The whole window stays still without any change. I try to move the mouse and select unit, and based on the voice I can hear, it's working since the unit is responding. But the window always stays without any change unless i'm defeated.
Untitled

I'm not sure if i'm the only one facing the issue. But would you please take a look and let me know how to solve this?

Thank you and best,

Twisted Metal 2

Hello, first thank you very much for your effort and work.
I tried to use "cnc-ddraw" on Twisted Metal 2, but the following error occurs when starting the game:
"DirectDraw Error
A DirectDraw object could not be created (code: 1).
You may need to restart your computer and/or reinstall DirectX."
cnc-ddraw.log

Camera panning speed in Tiberian Sun is too fast

  1. Overall panning speed is too fast, even on the slowest setting.
  2. Speed varies between vertical and horizontal camera panning over explored space. Much faster when panning vertically compared to horizontally.
  3. Panning speed is hyper fast when panning over the Shroud in any direction (unexplored space).
  4. problem doesn't exist when using DGVoodoo wrapper, but that wrapper has other issues that this wrapper seemingly resolves (menus not rendering being a notable issue when using DGVoodoo).

Ryzen 3700X
Geforce 1070Ti (441.87 standard driver)
Windows 10 v1909 x64
Downloaded from EA Origin.
1920x1080 native monitor resolution
CnC DDraw configuration file has not been modified

Mouse messages in Dark Reign when window is out of focus in Windows 10

In Dark Reign on Windows 10 without enabling a compatibility mode, the game window still receives mouse messages even when it is out of focus. This causes clicks on other windows to propagate to the game as well, resulting in unintended actions in-game. I figure this is part of how Windows 10 supports scroll messages for out-of-focus windows when the cursor is over them.

Is there a workaround to this or is this behavior common across all games using cnc-ddraw on Windows 10? Could cnc-ddraw hook the window class's WndProc to check if the window is in focus?

cnc-draw and Diablo GOG edition on Linux/Wine

Hello,
Diablo GOG edition does not work with cnc-draw on Linux/Wine?
I can only see logo video, then a black window and the game exited.
I overrided ddraw dll, tried "opengl" or "directx9"...what info do you need for debug?

Diablo 2 1.14d

Been trying to figure out how to get this working for diablo 2 - lod patch 1.14d.

Have tried a number of different settings, shaders, and compatibility settings but nothing seems to work.

Game won't even load unless I add a -w. I remove it when I try to get the shader to work.

Would appreciate any kind of help to get this working.

[NFS High Stakes] Crash on startup

Game crashes immediately on the start, as well as NFS III Hot Pursuit.
Game render: Software (works without ddraw library)
Platform where the log is taken is Exagear Windows Emulator for Android (the same issue is on PC)

cnc-ddraw.log

The log from regular Win 10 PC:
cnc-ddraw.log

ClipCursor failure fix?

So I downloaded the latest release, and was having issues where, with a 16:10 aspect ratio, the right black bar didn't cut off properly. Finding the latest commits, I assumed that the post-release commits ad07b46 and 1d83797 would fix this, so I downloaded the source and compiled myself, however I am still having this issue. It should be noted that for both games, there are different fixes I found for this issue. For TD, setting the renderer to GDI fixed it, and for RA, setting the resolution to 600x400 fixed it. However, for some reason, neither of these fixes are working anymore, and I can't figure out why.

TibSun handlemouse issue

handlemouse.zip
Handlemouse = true is necessary for maintaing aspect ratio when using fullscreen stretch.

Which causes the cursor to become invisible in menus. It's there if you click randomly, you will click on a menu item sooner or later, it's just invisible. Also, framerate falls to around 5 FPS if it matters.

Also, handlemouse=false + Scroll Coasting=OFF means that cursor will jump into a corner of the screen and stay there stuck until right mouse button is released.

PS: Scroll Coasting OFF in any case is jumpy/choppy/jittery - holding right click makes the screen jump some pixels and then it pans in a jittery manner.

Tried multiple clients, even vanilla, on Win7x64, same issues with handlemouse and coasting.

Carmageddon issue

the carmageddon section of the ini is incorrect, it has carma95 but every version i can find (95rpp and gog) has the carmageddon 95 file as carm95
and the maxgameticks is set to 30 despite the game working with 60 (and the menus are capped at 48 by stainless)

Diablo2 Mouse Jump BUG

1、Press keyboard “C” in the game, the mouse will jump to the upper left corner;

2、Press keyboard “L” in the game, the mouse will jump to the upper left corner;

Jagged Alliance 2 Version 2.13 crashes on launch.

Used version:
Release 1.3.5.0
Tested 2.13 builds: 7609 and 8796

It says something about:
"Process-entrypoint DirectDrawCreateClipper was not found in the DLL "F:\Games\GOG.com\Ja2\ja2.exe"
My windows is in german so i did translate it to the best of my knowledge.

Also did try the debug version from 5/2/2009 you linked in another post, it didn't write a log, probably crashes before that.

populous 3 not work

populous 3 not work with cnc-ddraw

3d acceleration disappears
Аннотация 2020-04-06 134304

the game writes, the required 3d accelerator was not found
Аннотация 2020-04-06 134329

the game works with dgVoodoo, but with artifacts, I would like to use cnc-ddraw.
It is indicated that the game is supported, I want it to be so.

Starship Titanic

Hello,
do you know that your wrapper works very well with Starship Titanic (original french cd version version 1.5)? I didn't see that game in your compatibility list. And it's a good thing because on Linux with Wine it is the wrapper that obtain the better results with this game.
Only one issue I saw: at the game beginning, when you have to insert the cd in the cd-rom computer drive, we could see violet color that should normally be transparent:

Capture d’écran de 2019-05-02 18-22-21

Do you think you could correct this issue?

How to solve high DPI error?

I set my laptop's DPI level to 200% so that I could see the items and captions. But in game program, whether in option page or in network page, the items are so small that I can't even click on it.

Thank you from the Worlds.com community

For a very long time WorldsPlayer would not work on newer Windows on computers running on AMD systems. I recently got my hands on an AMD system and discovered that ddraw.dll replacements, specifically this one, seem to resolve that issue, and means people who want to try it on AMD don't need to use a VM anymore.

I wonder why this ddraw.dll replacement works better than the others I tried. DDraw_Compat was the only other one where it worked (and I tried WineD3D for Windows and a few others), but that had weird GUI problems (the GUI uses obsolete Java AWT stuff).

D3D dose not work on Nvidia 20 series

I try this on different desktop with rtx2050, rtx2060, and rtx2070 graphic card. When I set renderer=auto or renderer=direct3d9, the game leaved no response after loading the game. Opengl and gdi works fine.

Baldur's Gate crashing and broken interface

I know it's not on the list of compatible games, but would you consider supporting it at some point?

Videos/intro etc work just fine but the menu interface is broken and starting a new game crashes the game completely.

2020-10-18 17_01_36-Window

Log file here of me opening the game, clicking new game and then crashing:
cnc-ddraw.log

Sierra's City Building series support

The City Building series includes three ddraw games: Caesar III, Pharaoh, and Zeus. (I’m not sure if the forth game, Emperor: Rise of the Middle Kingdom, uses ddraw or not.) I know the README doesn’t include any of these in the list of supported games, but I’ve tested Zeus with cnc-ddraw v1.3.5.0 to see if I could make it work better under Wine. To my surprise, it’s almost perfect.

First of all, to make graphics and the mouse cursor actually appear, the intro videos need to be renamed (so that they don’t play) and the following adjustments have to be in ddraw.ini:

[ddraw]
renderer=opengl
handlemouse=false
noactivateapp=true

Now, here’s the only thing so far that’s missing: When the in-game resolution is lower than the screen resolution (and stretched), the position of the mouse cursor is incorrect. The further you move the mouse from the upper left corner, the actual position becomes further from where it’s registered by the game. It seems like a mouse sensitivity issue.

On the other hand, if both the in-game and screen resolution are 1920x1080 (by using a widescreen hack), the mouse works fine. Although in this case, the visuals are so small that it’s difficult to make them out.

settings .ini

  1. by default maxfps = 125, I think it would be better to use maxfps = -1 for most, there is no need to load weak video cards
  2. [C&C95] [C&C95] [C&C95] and other profiles use maxfps = 60
    I think it is necessary to remove these lines, which were most likely added automatically, and are simply confused, there is no usefulness for individual applications from this
  3. disable automatic addition of the maxfps = parameter to application profiles, for most it is enough to use the global parameter, the more it depends on hardware rather than individual applications

Serum Support?

Can I get this to work with Serum (VST), which uses DirectDraw as it's rendering backend?

Unit Grouping & Queueing Problems With Latest Release

#1 Ctrl+Grouping in Yuri's Revenge sometimes stops working, like I was able to press P + Ctrl+0 to group, but then when I made 3 Battle Fortresses & tried grouping it to Ctrl+1, it was unresponsive, I also got a tooltip saying "Nothing to copy." I think it interferes with Groza's YR trainer.
#2 After making a NightHawk, the Battle Fortress wouldn't be created & it just got stuck in the training queue -- couldn't do much with vehicles. Again I was using the Instant Build option on Groza's trainer.
I'm having these problems with the newest release i.e. "1.3.6.0" Before it used to work fine.

Bad Mojo Redux

Hello,
do you know this great adventure game?
It's impossible today to play this game in other resolution than 640x480 and actually the game is not cnc-ddraw compatible.
Will you be interested to try to make this game cnc-ddraw compatible?

Low FPS performance with Atomic Bomberman

I have trouble running Atomic Bomberman with cnc-ddraw (v1.2.4.0 and Win7x64). I know it's not mentioned anywhere, but the game has the same type of ddraw issue as C&C, Carmaggeddon and others.

When I apply the cnc-ddraw .dll to the gamefolder and start the game it looks perfect at first. All colors are working as intended again.
But while playing the game i noticed several lags and low framerates. I checked the FPS with bandicam while running it with opengl/d3d renderer and I only got 12-18 FPS while playing. it is a fast paced game and these low-fps are breaking the gameplay. I tried all possible options in the ddraw.ini file but whatever I chose (renderer, maxfps, maxframerate etc.) there is no change in low-fps.

I also have a virtual machine running windows XP with Atomic Bomberman. When I play it there, the game performance is overwhelming good, it runs with something like >200fps (estimated), so the gameplay is lightning fast and smooth.

What causes the issues on AB? is it a general win7-10 problem or a ddraw.dll emulation problem that the perfomance is so low?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.