Open wolfestridershooter opened 1 month ago
Thanks for the logs. This game is using Direct3D v2. So far all v2 games have this issue with dxwrapper. I think it is a texturing issue. Currently Dd7to9
works best with DirectDraw v1 to 7 games and with Direct3D v5, 6, and 7 games. I plan to fix the v2 games soon.
Thanks for the lightning fast response, I will be patiently waiting for v2 support c:
On the Compatible Games page it says Freespace 2 is compatible although it just shows a black screen after the intro cutscene plays.
I don't remember which setting I used in dxwrapper in the past to get this working before. I don't have it setup now so I cannot check. But it wasn't dd7to9
. If you are just trying to get the game working and you are not worried about converting it to Direct3D9 then you could try enabling DDrawCompat
. That may get the game working.
I could have sworn I tried it with DDrawCompat
before or maybe I also had Dd7to9
set accidentally. Either way I did get it to work using DDrawCompat
and DDrawCompatDisableGDIHook
although the intro cutscene will not play and kicks me straight to the title screen. The rest of the game and 3D views seem to work fine except any cutscene will just get skipped with this error being displayed in the log: ERROR: Failed to create the compat primary surface: 0x88760091
Here's the full log:
32840 22:25:02.279 Starting DxWrapper v1.2.7200.25
32840 22:25:02.279 Running from: C:\Program Files (x86)\Steam\steamapps\common\Freespace 2\dxwrapper.dll
32840 22:25:02.279 Reading config file: C:\Program Files (x86)\Steam\steamapps\common\Freespace 2\dxwrapper.ini
32840 22:25:02.279 LENOVO 82WQ Legion Pro 7 16IRX8H (Notebook)
32840 22:25:02.279 LENOVO LNVNB161216 SDK0T76461 WIN (Notebook)
32840 22:25:02.279 Intel(R) UHD Graphics
32840 22:25:02.279 Windows 10 Home 64-bit (10.0.22621)
32840 22:25:02.279 fs2.exe (PID:13932)
32840 22:25:02.285 Steam game detected!
32840 22:25:02.285 Environment variable __COMPAT_LAYER = "DWM8And16BitMitigation"
32840 22:25:02.285 Windows is newer than, Windows Vista: 1 Windows 7: 1 Windows 8: 1
32840 22:25:02.285 Disabling High DPI Scaling...
32840 22:25:02.285 Loaded library: user32.dll
32840 22:25:02.285 Loaded library: shcore.dll
32840 22:25:02.285 Loading 'ddraw.dll'...
32840 22:25:02.285 Hooking ddraw.dll APIs...
32840 22:25:02.285 Enabling DDrawCompat
32840 22:25:02.285 Process path: C:\Program Files (x86)\Steam\steamapps\common\Freespace 2\fs2.exe
32840 22:25:02.285 Loading DDrawCompat dynamically from C:\Program Files (x86)\Steam\steamapps\common\Freespace 2\dxwrapper.dll
32840 22:25:02.285 Loaded library: winmm.dll
32840 22:25:02.285 Loaded library: uxtheme.dll
32840 22:25:02.285 DDrawCompat v0.3.1 version loaded successfully
32840 22:25:02.285 DxWrapper loaded!
32840 22:25:02.402 Installing display mode hooks
32840 22:25:02.405 Installing registry hooks
32840 22:25:02.405 Installing Direct3D driver hooks
32840 22:25:02.405 Installing Win32 hooks
32840 22:25:02.414 Hooking user mode display driver: C:\Windows\System32\DriverStore\FileRepository\nvlti.inf_amd64_d4bea506394bce7a\nvldumd.dll+0x259d0
32840 22:25:02.529 Dynamic vertex buffers are available
32840 22:25:02.529 Dynamic index buffers are available
32840 22:25:02.530 Checking source color key support: passed
32840 22:25:02.532 Installing DirectDraw hooks
32840 22:25:02.532 Installing Direct3D hooks
32840 22:25:02.535 Finished installing hooks
32840 22:25:03.536 ERROR: Failed to create the compat primary surface: 0x88760091
32840 22:25:06.398 Quiting DxWrapper
32840 22:25:06.398 DDrawCompat detached successfully
32840 22:25:06.398 Unloading libraries...
32840 22:25:06.398 DxWrapper terminated!
Without DDrawCompatDisableGDIHook
enabled the cutscene will play but the screen will always be black even after the cutscene finishes.
Here's the log without DDrawCompatDisableGDIHook
enabled
31656 22:20:45.309 Starting DxWrapper v1.2.7200.25
31656 22:20:45.309 Running from: C:\Program Files (x86)\Steam\steamapps\common\Freespace 2\dxwrapper.dll
31656 22:20:45.309 Reading config file: C:\Program Files (x86)\Steam\steamapps\common\Freespace 2\dxwrapper.ini
31656 22:20:45.309 LENOVO 82WQ Legion Pro 7 16IRX8H (Notebook)
31656 22:20:45.309 LENOVO LNVNB161216 SDK0T76461 WIN (Notebook)
31656 22:20:45.309 Intel(R) UHD Graphics
31656 22:20:45.314 Windows 10 Home 64-bit (10.0.22621)
31656 22:20:45.314 fs2.exe (PID:14640)
31656 22:20:45.319 Steam game detected!
31656 22:20:45.319 Environment variable __COMPAT_LAYER = "DWM8And16BitMitigation"
31656 22:20:45.319 Windows is newer than, Windows Vista: 1 Windows 7: 1 Windows 8: 1
31656 22:20:45.319 Disabling High DPI Scaling...
31656 22:20:45.319 Loaded library: user32.dll
31656 22:20:45.319 Loaded library: shcore.dll
31656 22:20:45.319 Loading 'ddraw.dll'...
31656 22:20:45.319 Hooking ddraw.dll APIs...
31656 22:20:45.319 Enabling DDrawCompat
31656 22:20:45.319 Process path: C:\Program Files (x86)\Steam\steamapps\common\Freespace 2\fs2.exe
31656 22:20:45.319 Loading DDrawCompat dynamically from C:\Program Files (x86)\Steam\steamapps\common\Freespace 2\dxwrapper.dll
31656 22:20:45.319 Loaded library: winmm.dll
31656 22:20:45.320 Loaded library: uxtheme.dll
31656 22:20:45.320 DDrawCompat v0.3.1 version loaded successfully
31656 22:20:45.320 DxWrapper loaded!
31656 22:20:45.436 Installing display mode hooks
31656 22:20:45.439 Installing registry hooks
31656 22:20:45.439 Installing Direct3D driver hooks
31656 22:20:45.439 Installing Win32 hooks
31656 22:20:45.447 Hooking user mode display driver: C:\Windows\System32\DriverStore\FileRepository\nvlti.inf_amd64_d4bea506394bce7a\nvldumd.dll+0x259d0
31656 22:20:45.579 Dynamic vertex buffers are available
31656 22:20:45.579 Dynamic index buffers are available
31656 22:20:45.581 Checking source color key support: passed
31656 22:20:45.583 Installing DirectDraw hooks
31656 22:20:45.583 Installing Direct3D hooks
31656 22:20:45.586 Installing GDI hooks
35676 22:20:45.620 Loaded library: dwmapi.dll
31656 22:20:45.621 Finished installing hooks
31656 22:21:02.936 Quiting DxWrapper
31656 22:21:02.936 DDrawCompat detached successfully
31656 22:21:02.936 Unloading libraries...
31656 22:21:02.936 DxWrapper terminated!
Although even if these issues were to be fixed with DDrawCompat
I'm personally going to wait until Dd7to9
works since I'm trying to run a process that can only hook into DX9. Also it doesn't seem like DxWrapper is properly detecting which Windows version it's running on because I'm running on Windows 11 Home not Windows 10 Home like it says in the logs.
Freespace 2 shows a black screen after the intro cutscene plays when
Dd7to9
is enabled. Both the Steam version and GOG version have the same outcome. I am using the Steam version in the log below.I am using DxWrapper v1.2.7200.25 INI Configuration:
Log file: