ValveSoftware / Proton

Compatibility tool for Steam Play based on Wine and additional components
Other
24.38k stars 1.07k forks source link

Warlords Battlecry III (433280) #7528

Open ranplayer opened 8 months ago

ranplayer commented 8 months ago

Compatibility Report

System Information

I confirm:

Logs: steam-433280.tar.gz

Error lines

2350.791:0124:0128:warn:seh:dispatch_exception EXCEPTION_ACCESS_VIOLATION exception (code=c0000005) raised

Symptoms

Reproduction

ranplayer commented 8 months ago

I've found out a clue about what makes this game's performance bad with Proton 8.0-5. It seems the game's surface is updated several times per frame. I don't know where I could report this since the game uses Direct3D 7. A possible workaround is to use dxwrapper to redirect calls to DXVK.

Steps:

  1. Download this dxwrapper's release
  2. Extract ddraw.dll, dxwrapper.dll and dxwarpper.ini files to the game's installation folder
  3. Edit dxwarpper.in and set Dd7to9=1 and DdrawAutoFrameSkip=1 (this fix the performance issues. More on that here).
  4. Edit the games Launch Properties to WINEDLLOVERRIDES="ddraw=n" %command%

This workaround currently doesn't work well for the campaign's custscenes (they are not rendered correctly. They work fine with WineD3D)