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

The video cannot be played using the OPENGL renderer for duel savior #275

Closed Kanadeforever closed 6 months ago

Kanadeforever commented 6 months ago

This game uses the same engine as BALDR FORCE EXE ( https://github.com/FunkyFr3sh/cnc-ddraw/issues/212 ), and can run normally after being compatible with BFE. However, the video cannot be played when using OPENGL. DX9 and GDI can play, but only the upper left corner is displayed.

Thanks.

cnc-ddraw-1.log

Kanadeforever commented 6 months ago

Supplement: The video does not display the picture, but the sound plays normally.

FunkyFr3sh commented 6 months ago

I didn't find DuelSavior, but I got DuelSavior: Justice now. This game only got 1 video (a intro named "opening.mpg").

It does work fine for me with every renderer and it does also upscale to fullscreen too.

I think the problem is that you're using a NVIDIA card, I had the same problem with someone else on a different game, NVIDIA cards don't play .mpg videos properly. I don't have a solution for it yet since I can't reproduce it.

This setting might make it working with opengl (it will not fix upscaling though, just black screen):

image

If there are still issues then you might need to play around with "fixchilds=" in ddraw.ini

Kanadeforever commented 6 months ago

OK, thanks. :)

FunkyFr3sh commented 1 month ago

@Kanadeforever Do you still have this game installed? I'm trying to fix these .mpg playback issues right now, would be nice if you could check if the videos are properly upscaled now:

DebugLog.zip

Kanadeforever commented 1 month ago

I don't know if this helps, I generated the log for d3d, opengl and gdi modes all together, the video is zoomed in correctly:)

cnc-ddraw-log.zip

FunkyFr3sh commented 1 month ago

nice 👍 thanks for testing

release build (just in case you need it): cnc-ddraw.zip

Kanadeforever commented 1 month ago

OK,thanks!