protonscr

[d3d9] Scrapland Remastered - black screen on main menu

dxvkclosed d3d9
doitsujin/dxvk#2398 · opened 2021-12-13 by WinterSnowfall · updated 2022-05-31 · 4 comments · github
WWinterSnowfall 2021-12-13 github

Intro video plays both with WineD3D and DXVK, but with DXVK the main menu screen remains black and nothing is rendered (menu music can be heard in the background), while with WineD3D everything works just fine. I've used d3d8to9 as proxy in both cases, since this is essentially a "remastered" D3D8 game.

I've captured a trace (d3d8to9 + WineD3D), but it seems to play back just fine with DXVK (no black screen problem)... I hope you can figure out what's the issue here.

Software information

Scrapland Remastered

System information

  • GPU: GTX 1080
  • Driver: 495.44
  • Wine version: 6.23 Staging
  • DXVK version: dxvk-master-c13395d

Apitrace file(s)

Scrap.trace.tar.xz

Log files

KK0bin maintainer 2022-01-10 github

I've used d3d8to9 as proxy in both cases, since this is essentially a "remastered" D3D8 game.

Did you also install D3DX9 using Winetricks? D3D8To9 relies on D3DXDisassembleShader which isn't implemented in Wine.

WWinterSnowfall 2022-01-10 github

Did you also install D3DX9 using Winetricks? D3D8To9 relies on D3DXDisassembleShader which isn't implemented in Wine.

No, I don't think so. But then again if that were the problem, why do things work in D3D9 mode with WineD3D?

I'll try it in a new prefix, though I don't think it will help much.

WWinterSnowfall 2022-01-15 github

@K0bin Finally got around to testing this in a fresh prefix with d3dx9 + d3dcompiler_* + d3d8to9 + dxvk. As I suspected it did not help much... still getting the 'ol black screen with dxvk, while stuff works fine with WineD3D (same setup, uninstalling dxvk does the trick).

WWinterSnowfall 2022-03-16 github

Turns out the game simply needs d3d9.deferSurfaceCreation = True to work properly... totally forgot it was a thing. Can someone please add a workaround for us d3d8to9 mad lads? Game's executable is named Scrap.exe. That's crap with an S, for d3d8 engine "remaSters".

Nothing extracted yet.