softgpu icon indicating copy to clipboard operation
softgpu copied to clipboard

[Carmageddon TDR 2000] - Direct3D mode fails to start

Open LoStraniero91 opened this issue 1 year ago • 6 comments

VMware Workstation 17 Pro (17.6.1 build-24319023) SoftGPU v0.6.2024.40-alpha3

Carmageddon TDR 2000 fails to run in Direct3D mode. When you first boot the game, it will perform a graphic/audio card check. After several flickering black screens, the test will be over without telling if it passed or failed. Attempting to run the game, it will crash with this error: image

By going into settings and then Display, you will see that you can choose the API, but no video cards are detected: image By comparison, here's how it should look like: https://www.pcgamingwiki.com/wiki/Carmageddon_TDR_2000#/media/File:Carmageddon_TDR_2000_-_Display.png

Trying to start the game will bring up this error: image

The game can be still played in Software, but the quality is abysmal: image

LoStraniero91 avatar Dec 09 '24 17:12 LoStraniero91

Which ddraw mode are you using?

AITUS95 avatar Dec 15 '24 08:12 AITUS95

I'm not sure. How do I check this? From Windows or from the game? Because the game does not let me set anything up when selecting Direct3D Renderer.

Edit: if you mean Software renderer, it's DirectDraw HAL Mode

LoStraniero91 avatar Dec 15 '24 09:12 LoStraniero91

So, I don't have a PC to check, you should navigate to 'regedit' and find a key related to ddraw and change from 'system' to 'wine' or vice versa

AITUS95 avatar Dec 15 '24 10:12 AITUS95

Okay, I got my head around and changed modes both on global and by manually adding a string with the exe. Unfortunately, no dice: if I set global to "system", I cannot use any HW renderer and the setup only let me choose SW. If global is on "wine", it doesn't matter if I set TDR2000.exe either "system" or "wine", I still get that issue.

LoStraniero91 avatar Dec 15 '24 10:12 LoStraniero91

Could you try sofgpu v0.4.2023.19?

AITUS95 avatar Dec 15 '24 10:12 AITUS95

I've found the solution here: https://bugs.winehq.org/show_bug.cgi?id=6946

Basically, I just edited TDR2000.gfx and changed the 4th line to "0". This fixed the issue:

image

And the game now works properly in D3D mode. I don't know if this tweak can be manually added in SoftGPU for the next update:

image

LoStraniero91 avatar Dec 15 '24 11:12 LoStraniero91