Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[d3d9] Scrapland Remastered - black screen on main menu #2398

Closed
WinterSnowfall opened this issue Dec 13, 2021 · 4 comments · Fixed by #2574
Closed

[d3d9] Scrapland Remastered - black screen on main menu #2398

WinterSnowfall opened this issue Dec 13, 2021 · 4 comments · Fixed by #2574
Labels

Comments

@WinterSnowfall
Copy link
Contributor

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

@K0bin K0bin added the d3d9 label Dec 13, 2021
@K0bin
Copy link
Collaborator

K0bin commented Jan 10, 2022

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.

@WinterSnowfall
Copy link
Contributor Author

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.

@WinterSnowfall
Copy link
Contributor Author

@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).

@WinterSnowfall
Copy link
Contributor Author

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".

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants