dxvk icon indicating copy to clipboard operation
dxvk copied to clipboard

[d3d8] Trainz v1.3/UTC crashes

Open HunterCZ122 opened this issue 7 months ago • 0 comments

Partially transferred from https://github.com/AlpyneDreams/d8vk/issues/173

Software information

Trainz v1.3/UTC Demo is obtainable here, but keep in mind that I use Czech retail Level 115 CD-ROM version, which hopefully shouldn't be that different.

Launcher requires winetricks mfc42, not necessary if you run the game directly from launcher's directory: wine bin/trainz.exe -800 -ColorBits=32 -GlobalTextureResolution=0 -Render=RenderDirectX -DisableStencil -username= -password=

System information

  • GPUs: AMD Radeon RX 7800 XT (RADV NAVI32), NVIDIA GeForce GTX 1660 Ti (NVK TU116), Intel UHD Graphics 630, Lavapipe
  • Driver: 24.1.3, 24.2.0 git on Nvidia laptop
  • Wine version: 9.12
  • DXVK version: https://github.com/doitsujin/dxvk/actions/runs/9827293065

Apitrace file(s)

Game will refuse to launch with apitrace no matter what method is used. Running apitrace manually also doesn't work: C:/garbage/apitrace/bin/apitrace.exe trace -a d3d8 bin/trainz.exe -800 -ColorBits=32 -GlobalTextureResolution=0 -Render=RenderDirectX -DisableStencil -username= -password= Arguments are passed fine otherwise the game will report interface error when renderer is not specified.

Log files

trainz_d3d8.log

This fatal error dialog appears: Screenshot_20230704_225216 It works fine with WineD3D.

Both adding d3d8.dll next to game's executable or SysWOW64 directory (as it should be) in Wine prefix doesn't work.

The game also has OpenGL renderer, which works fine.

HunterCZ122 avatar Jul 07 '24 19:07 HunterCZ122