github WinterSnowfall/d7vk v2.5
Version 2.5

54 minutes ago

This release focuses on removing some of the lingering dependencies which still tethered D7VK to proxying several surface-related D3D calls onto DDraw.

The affected parts have been reworked in such a way that proxied D3D interfaces/devices are no longer neccessary, reducing D7VK's dependency on the underlying DDraw implementation, and potentially increasing compatibility on (modern) Windows, where the native DDraw implementation isn't in a particularly great shape. Note that Windows is still considered an officially unsupported OS, with no testing being done on it whatsoever.

Display mode reporting/enumeration has also been rewritten to use the DXVK backend rather than proxying to DDraw, with several quality of life options becoming possible, such as filtering all display modes with refresh rates below 60 Hz (now enabled by default), and employing various mode-related workarounds for a few more stubborn early D3D games.

Also, in order to facilitate interoperability with Glide games that initially use DDraw to query for device/adapter details, we've now introduced the ddraw.glideCompatibilityMode option. If enabled, D7VK will report the presence of a 3dfx Voodoo 4 4500 card in order to let applications know Glide capabilities are available. This opens up the selection of Glide as a rendering API in Grand Theft Auto 2, without having to resort to any binary/registry hacks.

GTA2 Manager (Glide compatibility mode) GTA2 (using Glide on GXVK)
GTA2M GTA2

Note that using the option may cause games to apply 3dfx specific workarounds in D3D mode, so it is best avoided unless you plan to actually use the Glide API in said games.

Fixes/additions:

  • Rebased on top of the v3.2 DXVK release + subsequent fixes.
  • Added a Glide compatibility mode, in which we fake report a 3dfx Voodoo 4 4500 card and the rest of the expected 3dfx D3D driver details (vendor id, driver dll etc.)
  • Implemented D3D7 device-level texture loading by proxying to DDraw BltFast calls, rather than directly proxying to the corresponding DDraw method. This will help with compatibility on Windows, and may expand the number of working games on the OS. It also means we are now leveraging the underlying DDraw implementation only for surface objects and other surface related functionality, such as blits and display mode switching.
  • Dropped the maximum DDraw surface dimension restrictions and default disabled higher mode size filtering, to allow for easy use in Wayland at resolutions above 1080p . The mode dimension restriction is still enforced on a few select titles which are known to require it, such as Conquest: Frontier Wars and Severance: Blade of Darkness.
  • Worked around an upstream WSI issue which was causing incorrect back buffer resizing in Breath Of Fire IV during resolution changes.
  • Implemented display mode reporting and filtering through DXVK's adapter enumeration logic, rather than DDraw's. This might help with various compatibility issues on Windows.
  • Introduced a refresh rate mode filter, removing modes/resolutions with refresh rates below 60 Hz, which is useful when using D7VK on TVs or more flexible displays. The filter is lenient, allowing fractional modes close to 60 Hz, such as 59.94 Hz.
  • Fixed an oversight in DDraw proxied object lifecycle handling during callbacks, which might have caused memory leaks and other object lifecycle related issues when D7VK was used with the native Windows DDraw implementation.
  • Fixed a potential oversight in API level determination in situations where games could query for higher interface levels but end up rendering using earlier version devices.
  • Fixed a memory leak during ProcessVertices calls. Thanks to @elishacloud for spotting it and reporting it.
  • Reworked the handling and warnings issued for P8 surface use, only explicitly blocking P8 textures and render targets.
  • Worked around an issue in Star Trek: Starfleet Academy where the game would start to aggressively evict textures from VRAM if too much free video memory was reported. Since DXVK doesn't implement system memory textures, that previously caused all textures to go missing at some point during gameplay.
  • Fixed a lifecycle edge case with GUIDs/descs during device enumeration, which caused Evel Knievel Interactive Stunt Game to attempt creating a device with an invalid GUID (a case of use after free that happens to work on native Windows...), thus fail on startup. Thanks to @BrandowLucas for reporting the issue, as well as for the ongoing crusade of getting the game in working order on Wine/Linux.
  • Worked around a startup warning stating that switching to 256 colors is recommended, seen in Take No Prisoners.

The 11th of December, only a few days away, marks D7VK's one year anniversary, namely its v1.0 release, with the project overall being only a year and two months away from its very inception/early prototype. Its original, humble objective: tacking support for D3D7 onto the DXVK codebase.

We've come a long way in a relatively short time, and I'd like to take this opportunity to thank you all for your contributions. Even if you've simply used D7VK and enjoyed some of the older D3D games it supports, sharing your experience with others, or if you've made time to report an issue on our tracker, or maybe if you got locked up with me in a DDraw dungeon of horrors, like @CkNoSFeRaTU, it was all quite the journey.

Take care, enjoy the snow (if you're getting any) and stay tuned for the next release, sometime next year.

Don't miss a new d7vk release

NewReleases is sending notifications on new releases.