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

Forsaken (1998) crashes with errors when Dd7to9, ConvertToDirectDraw7, or ConvertToDirect3D7 are enabled #335

Open
sr1gh opened this issue Jan 20, 2025 · 8 comments

Comments

@sr1gh
Copy link

sr1gh commented Jan 20, 2025

The game Forsaken released in 1998 works on Windows XP and older. It works on windows 7 and newer with nVidia graphics cards only, the game crashes with an error with AMD and Intel cards. On Windows 10, the game does not display in fullscreen correctly, but can be fixed using dxwrapper by setting "Fullscreen = 1" or using DDrawCompat=1 and DDrawCompat32=1. On nVidia cards, some textures have small sections which are transparent but should not be, and the edges of some projectile and HUD textures are missing when bilinear filtering is enabled. The game seems to work on AMD cards with DDrawCompat=1 and DDrawCompat32=1, but some transparent textures are black. However the game does not work on when Dd7to9, ConvertToDirectDraw7, or ConvertToDirect3D7 are enabled. The game has the following errors:

nVidia/AMD Graphics
ConvertToDirectDraw7 = 1
Error:
Create D3D device failed.
One or more of the parameters passed to the function are incorrect.

nVidia/AMD Graphics
ConvertToDirect3D7 = 1
Error:
Creation of IDirect3D failed.
Unrecognized error value.

nVidia/AMD Graphics
EnableDdrawWrapper = 1
Error:
Creation of IDirect3D failed.
Unrecognized error value.

nVidia/AMD Graphics
Dd7to9 = 1
Error:
SetMatrixViewPort() Failed
InitView failed.

AMD Graphics
No DDrawCompat
Error:
CreateSurface for Z-buffer failed.
Action not supported.

@elishacloud
Copy link
Owner

Can you upload the log file with Dd7to9 enabled?

Here is the latest build: dxwrapper.zip

@sr1gh
Copy link
Author

sr1gh commented Jan 20, 2025

Here is the log with Dd7to9 enabled.

dxwrapper-forsakenhw.log

@elishacloud
Copy link
Owner

Please try with the latest build I posted above.

@sr1gh
Copy link
Author

sr1gh commented Jan 20, 2025

Sorry, here is the log with the build posted above.

dxwrapper-forsakenhw.log

@elishacloud
Copy link
Owner

I don't see any issues in the log file with this latest build. What issue are you seeing in this latest build?

@sr1gh
Copy link
Author

sr1gh commented Jan 20, 2025

I get a small message window with the following error:
SetMatrixViewPort() Failed

When I press OK, I get another error:
InitView failed.

Then when I press OK, the game closes.

@elishacloud
Copy link
Owner

Ok, can you give me the log from this debug build? It may help me to see what is happening. Here is the build: dxwrapper.zip

@sr1gh
Copy link
Author

sr1gh commented Jan 21, 2025

Here is the log from the debug build.

dxwrapper-forsakenhw.log

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