FunkyFr3sh / cnc-ddraw

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
https://discord.gg/afWXJNDDF5
MIT License
2.13k stars 143 forks source link

Quicktime videos not working in QFG5 #269

Closed emxd closed 7 months ago

emxd commented 7 months ago

Hello,

I tried the wrapper with Quest for Glory 5 and it works great with the exception of Quicktime videos (intro etc.). I'm using gog version, the game runs with Quicktime 3.0 with ddraw acceleration on QT turned on.

With ddraw turned on, the videos start, but there's only audio, no video. If I turn the acceleration off to a pure GDI mode (via Quicktime.cpl control panel that's accompanied with a QT3 install), the videos are shown in windowed/borderless windowed mode, but without scaling.

I suppose ddraw mode would be preferable. Would it be possible to hook the ddraw mode properly with cnc-ddraw? While I'm having this issue in QFG5, this would benefit many other adventure games that use Quicktime.

upload of the gdi quicktime setting -> https://icedrive.net/s/bj96NATGfhhxGGZ5xgQuPhNFuFtT

FunkyFr3sh commented 7 months ago

Not sure yet why it happens, it should actually work fine. I added a workaround for now since I don't think any other game is affected by this bug, so it might be fine:

cnc-ddraw.zip

emxd commented 7 months ago

Thanks, it now works correctly.