elishacloud / dxwrapper

Fixes compatibility issues with older games running on Windows 10/11 by wrapping DirectX dlls. Also allows loading custom libraries with the file extension .asi into game processes.
zlib License
1.17k stars 83 forks source link

Blood 2 - high resolution fix #15

Closed Keith94 closed 4 years ago

Keith94 commented 6 years ago

In case it is interesting to you, there's a high resolution fix available here - http://dege.freeweb.hu/Patches/Patches.html

This one fixes the crash that occurs when a resolution with more than 1000 lines is tried to be used.

elishacloud commented 6 years ago

Yes, I did see that. There is also a full fix page here to explain how to get the game working on Windows 10 with the high resolution patch.

However that patch requires replacing some of the original Blood 2 files. It also distributes exe files in the patch. Those are two things I try to avoid. With my fixes I want to get the game running without replacing any of the original game files. I personally don't like replacing the original exe file (or any other file in a game) because it is hard to know which exe files on the Internet you can trust. Note: how even my no-CD fixes don't require replacing any files (check out this page here and here).

Also as a side note it seems like the fix requires dgVoodoo2. dgVoodoo2 is a great tool and there are several games I have not yet got working without it. However I prefer not using it when possible since there is no open source version and it seems like the configuration is global as opposed to game-specific.

If you want to use the high resolution fix you can simply disable the resolution limiter in DxWnd in my fix. I might update the wiki with details on this later. I might even create my own high resolution fix that does not require replacing any exe files. :-)

Keith94 commented 6 years ago

Yeah, I figured you didn't want to include that replacement exe for a reason. :) But if you can patch it your own way that would be more interesting. I guess it's a renderer/engine problem?

mirh commented 6 years ago

This one fixes the crash that occurs when a resolution with more than 1000 lines is tried to be used.

Remembers me of how Direct3D 6 maximum supported dimensions size is 2048 afaik (in fact dgVoodoo2 is the recommended fix for such case in Omikron: The Nomad Soul) Not sure about blood (where 1000 may be a limit for additional other reasons instead)

elishacloud commented 5 years ago

Here is an update for dxwrapper that works with Blood 2. This update supports the high resolution fix by Dege so that you can play the game at 4k resolution.

Download the update from here: dxwrapper.zip

Keith94 commented 5 years ago

So, does it make sense to remove the DxWnd Limit Resolution fix?

elishacloud commented 5 years ago

Completely removing the DxWnd files may be the best solution here. I was able to get it to run once on resolution higher than 2048 width. But was not consistent. I also had to either enable DDrawCompat Experimental or set Windows XP SP2 compatibility mode.

Keith94 commented 5 years ago

Thanks. And this wrapper also fixes the performance issues, I assume? Haven't had time to test it yet.

elishacloud commented 5 years ago

Yes, the DDrawCompat option is able to fix the performance issues.

Keith94 commented 4 years ago

I think this is resolved.