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.15k stars 82 forks source link

Vampyre DLLs #239

Open Klemci opened 7 months ago

Klemci commented 7 months ago

Hello,

should i update the "A Vampyre Story"'s DLLs from previous 1.0.6542.21 (size grown as i see) ?

It's 2023's Steam's version that introduced it : https://steamdb.info/patchnotes/11145614/

The settings used (set to 1 by dev) are :

EnableD3d9Wrapper FullscreenWindowMode FullScreen ForceWindowResize

Klemci commented 7 months ago

Also, i used Stub.ini to set D3D9.dll for dgVoodoo to load (like before Steam's dxwrapper update), but can't get 4:3 with it anymore (dxwrapper alone renders 4:3), it's important since the game has this white glitch line/border (left and top only).

elishacloud commented 7 months ago

Can you explain the issue a bit more? What do you mean by "can't get 4:3 with it anymore"? Did this used to work with the older version?

(dxwrapper alone renders 4:3)

You mean without dgVoodoo2 and only dxwrapper then it works fine in 4:3?

Klemci commented 7 months ago

Yes, the two, if not used together render correctly in 4:3.

But, since dxwrapper Steam's 2023 update, the game is tied to it, it can't be removed.

dgVoodoo worked on older builds, now if i apply it (stub.ini...) since dxwrapper is here it stretches to fullscreen instead keeping correct A:R.

Previous and new dxwrapper dlls tested, the stub dll devs applied is ddraw.

elishacloud commented 6 months ago

I don't have the game and cannot reproduce the issue, so I am hoping you can help me do some testing here.

First, can you check and see if all of the options you mentioned above are needed to make the game work correctly in 4:3 with the old build that worked.

Try disabling these one-by-one to see which one is needed. Try with just EnableD3d9Wrapper and FullscreenWindowMode to see if that works. Also, try with just FullScreen and ForceWindowResize to see if that works.

Klemci commented 6 months ago

I had done that, and even the line stubonly in stub.ini, i think it's because the game code changed to work along dxwrapper, so it doesn't reacts well anymore with dgVoodoo...

... it's good, render is good, just this white lines at top and left, like it happens often with verry old games on newer hardwrare.

I think the line EnableD3d9Wrapper if 0 even triggers an error in popup with game code (dll) description, so it's really meant not to be deactivated !

elishacloud commented 6 months ago

I don't think you answered my question. Does the old version of dxwrapper still work correctly (no white line)? If so does the old version require all of these settings to work? What happens if you disable FullScreen and ForceWindowResize with the old version of dxwrapper?

Klemci commented 6 months ago

Yes, there was white lines too, i will retry with the older one now !

EDIT2: oh and if AA ingame is enabled dgVoodoo can't even start the game (have to disable it prior or in ini .bin file).

EDIT: confirmed white lines, then the two lines like with newer version change nothing (devs could have enabled it bc of different existing setup !?).

Binaries of the game here : Bins.zip

elishacloud commented 6 months ago

Binaries of the game here :

Thanks. Let me take a look at it when I get a chance. Probably early next week.