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

Road Rash (1996 PC Game) crashes after a while being in the menus #197

Closed
De-M-oN opened this issue Feb 2, 2023 · 8 comments
Closed

Road Rash (1996 PC Game) crashes after a while being in the menus #197

De-M-oN opened this issue Feb 2, 2023 · 8 comments

Comments

@De-M-oN
Copy link

De-M-oN commented Feb 2, 2023

I first said that Road Rash runs flawless, but I was wrong because I wasnt long in the menus and directly started the race.
It crashes after a while navigating through the menus, It can be after 10 seconds, sometimes about 30 seconds.
I tried single core. I tried 60fps Limit. I tried borderless, I tried software device at "app".
in-race it works stable. Its just the menus being high danger.

The game works 100% stable if you run it native without your wrapper, but it would be better if it would work either with your program or with dgvoodoo2 to avoid that low resolution. But both have issues with the menus :-(

Also OBS cant capture the game with game capture. With Monitor capture it works, but its a bit slow at transitions (menu to videoclip, videoclip to in-race and so on) so that I would prefer game capture. Not sure if you can do sth about this.

@narzoul
Copy link
Owner

narzoul commented Feb 2, 2023

Does it crash or does it freeze? I can only repro the freeze. It's a GDI deadlock caused by display scaling I think. I already fixed it in my dev version. I think you can work around it in the meantime by using DisplayResolution=app.

OBS likely only works in Display Capture mode. Game capture probably uses DX hooks which could be incompatible with DDrawCompat's hooks. Such cases are not supported, as per the readme.

@De-M-oN
Copy link
Author

De-M-oN commented Feb 2, 2023

It freezes, yeah. Music keeps playing, but mouse is frozen and task manager says its not responding and I have to kill the task (by navigating to the taskmanager via the alt+tab thumbs, then use arrow keys and check again in alt+tab thumbs if I highlighted roadrash, and then I can kill it with ALT+E :D

Well on DisplayResolution app I'm on 640x480 again. But 8x MSAA seems still applied though at least if I didnt observe wrong.

Game Capture of course tries to hook into the game renderer. Display capture would be ok if it wouldnt be so slow on the said transitions. Maybe I can improve that with borderless idk.

@De-M-oN
Copy link
Author

De-M-oN commented Feb 3, 2023

I tried now DisplayResolution App a bit more, and it freezes the very same. The only difference is that the mouse still can be moved (but menu doesnt react to mouse movements or anything)

@narzoul
Copy link
Owner

narzoul commented Feb 3, 2023

Strange, maybe you're also using ResolutionScale? Anyway, this temporary fix should work with both display and resolution scaling: ddraw.zip (diff.txt compared to v0.4.0)

@De-M-oN
Copy link
Author

De-M-oN commented Feb 3, 2023

That one works 👍
When will the next version round about being released? or completely unknown for now?
Because I really would like to have the stretching to fullscreen.
Then I could continue my "lets play" to the game.

@narzoul
Copy link
Owner

narzoul commented Feb 3, 2023

I don't know yet. Too many issues, too little time.

But if that's all you need, it can be hardcoded very easily.
Here you go: ddraw.zip (diff.txt compared to v0.4.0)

@De-M-oN
Copy link
Author

De-M-oN commented Feb 3, 2023

you're a life saver, thank you so much 😍

@narzoul
Copy link
Owner

narzoul commented Nov 13, 2023

The deadlock is fixed in v0.5.0. Also you can use the DisplayAspectRatio setting to stretch to full screen.

@narzoul narzoul closed this as completed Nov 13, 2023
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