Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Baldur's Gate 2 - ddraw.dll not being used #180

Closed
fearedbliss opened this issue Oct 15, 2022 · 5 comments
Closed

Baldur's Gate 2 - ddraw.dll not being used #180

fearedbliss opened this issue Oct 15, 2022 · 5 comments

Comments

@fearedbliss
Copy link

fearedbliss commented Oct 15, 2022

It seems that for Baldur's Gate 2 (2.0.22956, original discs, not GoG), it ignores the ddraw.dll completely (usual installation of placing the ddraw.dll and ddraw.ini (and shaders) in the BG2 root directory). Testing was done with 4.7.0.0. Playing around with the settings didn't really do much. I almost thought that changing the 3D Acceleration setting from 1 to 0 in baldur.ini might have made it switch from Direct3D to DirectDraw but nothing fundamentally happened other than the intro cinematic no longer worked and the screen stayed black and froze, but it didn't seem like a ddraw.dll type of freeze.

I would think that BG2 is old enough that it still used DirectDraw / Direct 3D and wasn't a fundamental switch in core technology.

@fearedbliss
Copy link
Author

fearedbliss commented Oct 15, 2022

I haven't tried this but people also say this works and it also uses ddraw.dll technique so cnc-ddraw should be getting picked up:

http://bitpatch.com/ie_ddrawfix.html

EDIT: It seems BG2 uses opengl:

https://www.reddit.com/r/baldursgate/comments/tiweqe/comment/i1gohwc/

@FunkyFr3sh
Copy link
Owner

FunkyFr3sh commented Oct 15, 2022

I've tested the demo version of it some time ago, it was working fine. Kinda weird that the release version would be using a different renderer. I'll try the release version and check what's going on with it!

BTW, you can generate debug logs with this: #44
Might be useful to post a log when you create a issue or maybe you can even debug it on your own by checking the logs

@fearedbliss
Copy link
Author

@FunkyFr3sh Thanks for that :). I tried to debug but given that the ddraw.dll didn't hook at all, no logs were generated. I'll try it again later today and report back ;).

@FunkyFr3sh
Copy link
Owner

FunkyFr3sh commented Oct 15, 2022

Works fine for me!

image

"Window Mode" must be set to "Full Screen" (You can enable windowed mode via cnc-ddraw config.exe instead)
"Use 3D Acceleration" must be disabled

image

Name: baldur.exe
Size: 3256832 Bytes (3180 KiB)
SHA1: f0cb4bc181ea0a6187b7df4a57c596c3509cee92

Version 1.3.0.1

Name: BGMain.exe
Size: 7385134 Bytes (7212 KiB)
SHA1: 58607d802bbc611e889db2a29b7454a5128c53ee

Version 2.0.0.1

Added a preset to make sure all the higher resolutions are working as well, download:
cnc-ddraw.zip

@fearedbliss
Copy link
Author

fearedbliss commented Oct 15, 2022

@FunkyFr3sh Just tested 4.7.0.0 using "full screen" mode and it starts up. Window mode works fine through cnc-ddraw like you mentioned :). I see you've been having fun testing this without me lol. Thanks :).

Game Version: 2.0.22956

baldur.exe - File Version: 1.3.0.1, Product Version: 1.3.0.0 - 22291bd90033a9029e1eeabdf8dab90bf7d175b2
BGMain.exe - File Version: 2.0.0.1, Product Version: 2.0.0.1 - 58607d802bbc611e889db2a29b7454a5128c53ee

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants