narzoul / DDrawCompat

DirectDraw and Direct3D 1-7 compatibility, performance and visual enhancements for Windows Vista, 7, 8, 10 and 11
BSD Zero Clause License
907 stars 69 forks source link

DDrawCompact messed up Mental Omega's game's UI on Windows10 1809 LTSC #112

Closed 100288840 closed 2 years ago

100288840 commented 2 years ago

As I said in the title, when I entered the game(Mental Omega 3.3.5), the right build menu bar disappeared completely. When I press ESC, the menu is displayed, but no buttons are displayed, nor can I press any buttons in their original positions.

The following is the content in ddraw.txt

5112 17:34:40.186 Process path: D:\Games\Mental Omega\gamemd.exe
5112 17:34:40.186 Environment variable __COMPAT_LAYER = "RunAsAdmin Installer WinXPSp3 DWM8And16BitMitigation"
5112 17:34:40.186 Loading DDrawCompat from D:\Games\Mental Omega\DDRAW.dll
5112 17:34:40.189 Disabling external hook to DirectDrawCreate in apphelp.dll
5112 17:34:40.189 DDrawCompat loaded successfully
5112 17:34:40.534 Installing registry hooks
5112 17:34:40.534 Installing Direct3D driver hooks
5112 17:34:40.535 Installing DirectDraw hooks
5112 17:34:40.550 Hooking user mode display driver: "igdumdim32.dll"
5112 17:34:40.561 Installing Direct3D hooks
5112 17:34:40.566 Installing GDI hooks
5112 17:34:40.587 Installing display mode hooks
5112 17:34:40.587 Finished installing hooks
5112 17:34:40.710 GDI used DC cache size: 1
100288840 commented 2 years ago

Ok I have solved the problem. Mental Omega's client uses the old version of DDrawCompact, and it is automatically overwritten when the game is started. This problem can be solved by replacing ddrawcompat.dll in the /Resources folder of the client. Sorry again!