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

[Carmageddon TDR 2000] - Direct3D mode fails to start #116

Open
LoStraniero91 opened this issue Dec 9, 2024 · 6 comments
Open

[Carmageddon TDR 2000] - Direct3D mode fails to start #116

LoStraniero91 opened this issue Dec 9, 2024 · 6 comments

Comments

@LoStraniero91
Copy link

LoStraniero91 commented Dec 9, 2024

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

@AITUS95
Copy link

AITUS95 commented Dec 15, 2024

Which ddraw mode are you using?

@LoStraniero91
Copy link
Author

LoStraniero91 commented Dec 15, 2024

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

@AITUS95
Copy link

AITUS95 commented Dec 15, 2024

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

@LoStraniero91
Copy link
Author

LoStraniero91 commented Dec 15, 2024

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.

@AITUS95
Copy link

AITUS95 commented Dec 15, 2024

Could you try sofgpu v0.4.2023.19?

@LoStraniero91
Copy link
Author

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

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

No branches or pull requests

2 participants