narzoul / DDrawCompat

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

Jane's IAF non-responsive when starting missions - WIndows 11 #244

Open SalazarDavid116 opened 9 months ago

SalazarDavid116 commented 9 months ago

Hello,

I am experiencing none-responsive when trying to start missino or scramble (quick mission) in Jane's IAF. This is what happened: I click on "SCRAMBLE" or "FLY button in mission", as the loading bar reaches end (100 percent), the screen frozen, it does not bring me into flight.

I am running Windows 11 with D3Drm.dll and ddraw.dll. Here is log:

21:13:05.869 Process path: S:\Simulations\Janes IAF\IAF\IAFJETS.EXE 21:13:05.869 Loading DDrawCompat statically from S:\Simulations\Janes IAF\IAF\DDRAW.dll 21:13:05.869 Environment variable __COMPAT_LAYER = "DWM8And16BitMitigation WinXPSp3 Installer" 21:13:05.869 Loading global config file: C:\ProgramData\DDrawCompat\DDrawCompat.ini 21:13:05.869 File not found, skipping 21:13:05.869 Loading user config file: C:\Users\Salaz\AppData\Local\DDrawCompat\DDrawCompat.ini 21:13:05.869 File not found, skipping 21:13:05.869 Loading directory config file: S:\Simulations\Janes IAF\IAF\DDrawCompat.ini 21:13:05.869 File not found, skipping 21:13:05.869 Loading process config file: S:\Simulations\Janes IAF\IAF\DDrawCompat-IAFJETS.ini 21:13:05.869 File not found, skipping 21:13:05.870 Loading overlay config file: S:\Simulations\Janes IAF\IAF\DDrawCompatOverlay-IAFJETS.ini 21:13:05.870 File not found, skipping 21:13:05.870 Final configuration: 21:13:05.870 [default] AlignSysMemSurfaces = on 21:13:05.870 [default] AltTabFix = off 21:13:05.870 [default] AlternatePixelCenter = off 21:13:05.870 [default] Antialiasing = off 21:13:05.870 [default] BltFilter = point 21:13:05.870 [default] ConfigHotKey = shift+f11 21:13:05.870 [default] CpuAffinity = 1 21:13:05.870 [default] DesktopColorDepth = initial 21:13:05.870 [default] DisplayFilter = bilinear(0) 21:13:05.870 [default] DisplayRefreshRate = app 21:13:05.870 [default] DisplayResolution = desktop 21:13:05.870 [default] DpiAwareness = permonitor 21:13:05.870 [default] FontAntialiasing = app 21:13:05.870 [default] ForceD3D9On12 = off 21:13:05.870 [default] FpsLimiter = off 21:13:05.870 [default] FullscreenMode = borderless 21:13:05.870 [default] LogLevel = info 21:13:05.870 [default] PalettizedTextures = on 21:13:05.870 [default] RemoveBorders = off 21:13:05.870 [default] RenderColorDepth = app 21:13:05.870 [default] ResolutionScale = app(1) 21:13:05.870 [default] ResolutionScaleFilter = point 21:13:05.870 [default] SoftwareDevice = rgb 21:13:05.870 [default] SpriteDetection = off 21:13:05.870 [default] SpriteFilter = app 21:13:05.870 [default] SpriteTexCoord = app 21:13:05.870 [default] SupportedResolutions = native, 640x480, 800x600, 1024x768 21:13:05.870 [default] TextureFilter = app 21:13:05.870 [default] ThreadPriorityBoost = off 21:13:05.870 [default] VSync = app 21:13:05.870 [default] WinVersionLie = off 21:13:05.881 DPI awareness was successfully changed to "permonitor" via SetProcessDpiAwarenessContext 21:13:05.882 DDrawCompat loaded successfully 21:13:05.953 Installing display mode hooks 21:13:05.957 Installing registry hooks 21:13:05.957 Installing Direct3D driver hooks 21:13:05.960 Hooking user mode display driver: C:\WINDOWS\System32\DriverStore\FileRepository\nvmii.inf_amd64_78515247753844c2\nvldumd.dll+0x22bd0 21:13:06.050 Dynamic vertex buffers are available 21:13:06.050 Dynamic index buffers are available 21:13:06.051 Supported z-buffer bit depths: 16, 24 21:13:06.051 Supported MSAA modes: msaa(3), msaa2x(0), msaa4x(0), msaa8x(0) 21:13:06.051 Supported resource formats: 21:13:06.051 {D3DDDIFMT_A8R8G8B8,0x4d8e10f,0x8b,0x8b,0} 21:13:06.051 {D3DDDIFMT_X8R8G8B8,0x458ed0f,0x8b,0x8b,0} 21:13:06.051 {D3DDDIFMT_R5G6B5,0x48ed0f,0x8b,0x8b,0} 21:13:06.051 {D3DDDIFMT_X1R5G5B5,0x48e10f,0x0,0x0,0} 21:13:06.051 {D3DDDIFMT_A1R5G5B5,0xe007,0x0,0x0,0} 21:13:06.051 {D3DDDIFMT_A4R4G4B4,0xe007,0x0,0x0,0} 21:13:06.051 {D3DDDIFMT_A8,0xf,0x0,0x0,0} 21:13:06.051 {D3DDDIFMT_A2B10G10R10,0x48610f,0x8b,0x8b,0} 21:13:06.051 {D3DDDIFMT_G16R16,0x40400f,0x8b,0x8b,0} 21:13:06.051 {D3DDDIFMT_A2R10G10B10,0x486d0f,0x8b,0x8b,0} 21:13:06.051 {D3DDDIFMT_A16B16G16R16,0x40600f,0x8b,0x8b,0} 21:13:06.051 {D3DDDIFMT_A8P8,0x5000,0x0,0x0,16} 21:13:06.051 {D3DDDIFMT_P8,0x4400,0x0,0x0,0} 21:13:06.051 {D3DDDIFMT_L8,0x40800f,0x8b,0x8b,0} 21:13:06.051 {D3DDDIFMT_A8L8,0x8007,0x0,0x0,0} 21:13:06.051 {D3DDDIFMT_V8U8,0x10001,0x0,0x0,0} 21:13:06.051 {D3DDDIFMT_X8L8V8U8,0x10001,0x0,0x0,0} 21:13:06.051 {D3DDDIFMT_Q8W8V8U8,0x5,0x0,0x0,0} 21:13:06.051 {D3DDDIFMT_V16U16,0x7,0x0,0x0,0} 21:13:06.051 {D3DDDIFMT_S8D24,0xc1,0x8b,0x8b,0} 21:13:06.051 {D3DDDIFMT_D24S8,0xc1,0x8b,0x8b,0} 21:13:06.051 {D3DDDIFMT_X8D24,0xc1,0x8b,0x8b,0} 21:13:06.051 {D3DDDIFMT_D24X8,0xc1,0x8b,0x8b,0} 21:13:06.051 {D3DDDIFMT_D16,0xc1,0x8b,0x8b,0} 21:13:06.051 {D3DDDIFMT_L16,0x40000f,0x8b,0x8b,0} 21:13:06.051 {D3DDDIFMT_D32F_LOCKABLE,0xc1,0x0,0x0,0} 21:13:06.051 {D3DDDIFMT_G8R8,0xd,0x0,0x0,0} 21:13:06.051 {D3DDDIFMT_R8,0x40400f,0x0,0x0,0} 21:13:06.051 {D3DDDIFMT_R16F,0xc0400f,0x8b,0x8b,0} 21:13:06.051 {D3DDDIFMT_G16R16F,0xc0400f,0x8b,0x8b,0} 21:13:06.051 {D3DDDIFMT_A16B16G16R16F,0xc8610f,0x8b,0x8b,0} 21:13:06.051 {D3DDDIFMT_R32F,0xc0400f,0x8b,0x8b,0} 21:13:06.051 {D3DDDIFMT_G32R32F,0xc0400f,0x8b,0x8b,0} 21:13:06.051 {D3DDDIFMT_A32B32G32R32F,0xc8600f,0x8b,0x8b,0} 21:13:06.051 {D3DDDIFMT_BINARYBUFFER,0x4000,0x0,0x0,0} 21:13:06.051 {FOURCC(P010),0x4007000,0x0,0x0,16} 21:13:06.051 {FOURCC(3x11),0x40700f,0x8b,0x8b,32} 21:13:06.051 {FOURCC(ATI1),0x1005,0x0,0x0,8} 21:13:06.051 {FOURCC(DXT1),0x8007,0x0,0x0,0} 21:13:06.051 {FOURCC(AV12),0x5000,0x0,0x0,12} 21:13:06.051 {FOURCC(NV12),0x4007000,0x0,0x0,12} 21:13:06.051 {FOURCC(YV12),0x4007000,0x0,0x0,12} 21:13:06.051 {FOURCC(ATI2),0x1005,0x0,0x0,8} 21:13:06.051 {FOURCC(DXT2),0x8007,0x0,0x0,0} 21:13:06.051 {FOURCC(YUY2),0x4007000,0x0,0x0,16} 21:13:06.051 {FOURCC(DXT3),0x8007,0x0,0x0,0} 21:13:06.051 {FOURCC(NV24),0x4007000,0x0,0x0,12} 21:13:06.051 {FOURCC(AI44),0x5000,0x0,0x0,8} 21:13:06.051 {FOURCC(DXT4),0x8007,0x0,0x0,0} 21:13:06.051 {FOURCC(DXT5),0x8007,0x0,0x0,0} 21:13:06.051 {FOURCC(3x16),0x407d0f,0x8b,0x8b,64} 21:13:06.051 {FOURCC(AIP8),0x5000,0x0,0x0,8} 21:13:06.051 {FOURCC(SSAA),0x4000,0x0,0x0,0} 21:13:06.051 {FOURCC(NVDB),0x4000,0x0,0x0,0} 21:13:06.051 {FOURCC(ATOC),0x4000,0x0,0x0,0} 21:13:06.051 {FOURCC(NVMD),0x4000,0x0,0x0,0} 21:13:06.051 {FOURCC(PLFF),0x4000,0x0,0x0,0} 21:13:06.051 {FOURCC(NULL),0x100009,0x8b,0x8b,0} 21:13:06.051 {FOURCC(NVDP),0x4000,0x0,0x0,0} 21:13:06.051 {FOURCC(NVCS),0xd,0x0,0x0,0} 21:13:06.051 {FOURCC(NVHS),0x5,0x0,0x0,0} 21:13:06.051 {FOURCC(NVHU),0x5,0x0,0x0,0} 21:13:06.051 {FOURCC(AYUV),0x5000,0x0,0x0,32} 21:13:06.051 {FOURCC(UYVY),0x4007000,0x0,0x0,16} 21:13:06.051 {FOURCC(INTZ),0x10c1,0x0,0x0,32} 21:13:06.052 Installing DirectDraw hooks 21:13:06.053 Installing Direct3D hooks 21:13:06.055 Installing GDI hooks 21:13:06.062 Finished installing hooks 21:13:06.291 Using Direct3D device type: IID_IDirect3DHALDevice 21:13:24.085 DDrawCompat detached successfully

narzoul commented 9 months ago

Have you tried the last patch in this related issue already? https://github.com/narzoul/DDrawCompat/issues/148

SalazarDavid116 commented 9 months ago

Hello Narzoul,

Thank you for the quick reply. Yes I tried it and still expereinced non-responsive "LOADING MISSION'. I can move the mouse, but the screen does not bring me to the flight. I tested it with the patch from this link:

https://github.com/narzoul/DDrawCompat/issues/148#issuecomment-1362194385

here is latest log:

22:08:35.341 Process path: S:\Simulations\Janes IAF\IAF\IAFJETS.EXE 22:08:35.341 Loading DDrawCompat statically from S:\Simulations\Janes IAF\IAF\DDRAW.dll 22:08:35.341 Environment variable __COMPAT_LAYER = "DWM8And16BitMitigation WinXPSp3 Installer" 22:08:35.341 Loading global config file: C:\ProgramData\DDrawCompat\DDrawCompat.ini 22:08:35.341 File not found, skipping 22:08:35.341 Loading user config file: C:\Users\Salaz\AppData\Local\DDrawCompat\DDrawCompat.ini 22:08:35.341 File not found, skipping 22:08:35.341 Loading directory config file: S:\Simulations\Janes IAF\IAF\DDrawCompat.ini 22:08:35.341 File not found, skipping 22:08:35.341 Loading process config file: S:\Simulations\Janes IAF\IAF\DDrawCompat-IAFJETS.ini 22:08:35.341 File not found, skipping 22:08:35.341 Loading overlay config file: S:\Simulations\Janes IAF\IAF\DDrawCompatOverlay-IAFJETS.ini 22:08:35.341 File not found, skipping 22:08:35.341 Final configuration: 22:08:35.341 [default] AlignSysMemSurfaces = on 22:08:35.341 [default] AltTabFix = off 22:08:35.341 [default] AlternatePixelCenter = off 22:08:35.341 [default] Antialiasing = off 22:08:35.341 [default] BltFilter = point 22:08:35.341 [default] ConfigHotKey = shift+f11 22:08:35.341 [default] CpuAffinity = 1 22:08:35.341 [default] DesktopColorDepth = initial 22:08:35.341 [default] DisplayFilter = bilinear(0) 22:08:35.341 [default] DisplayRefreshRate = app 22:08:35.341 [default] DisplayResolution = desktop 22:08:35.341 [default] DpiAwareness = permonitor 22:08:35.341 [default] FontAntialiasing = app 22:08:35.341 [default] ForceD3D9On12 = off 22:08:35.341 [default] FpsLimiter = off 22:08:35.341 [default] FullscreenMode = borderless 22:08:35.341 [default] LogLevel = info 22:08:35.341 [default] PalettizedTextures = on 22:08:35.341 [default] RemoveBorders = off 22:08:35.341 [default] RenderColorDepth = app 22:08:35.341 [default] ResolutionScale = app(1) 22:08:35.341 [default] ResolutionScaleFilter = point 22:08:35.341 [default] SoftwareDevice = rgb 22:08:35.341 [default] SpriteDetection = off 22:08:35.341 [default] SpriteFilter = app 22:08:35.341 [default] SpriteTexCoord = app 22:08:35.341 [default] SupportedResolutions = native, 640x480, 800x600, 1024x768 22:08:35.341 [default] TextureFilter = app 22:08:35.341 [default] ThreadPriorityBoost = off 22:08:35.341 [default] VSync = app 22:08:35.341 [default] WinVersionLie = off 22:08:35.354 DPI awareness was successfully changed to "permonitor" via SetProcessDpiAwarenessContext 22:08:35.354 DDrawCompat loaded successfully 22:08:35.464 Installing display mode hooks 22:08:35.469 Installing registry hooks 22:08:35.469 Installing Direct3D driver hooks 22:08:35.473 Hooking user mode display driver: C:\WINDOWS\System32\DriverStore\FileRepository\nvmii.inf_amd64_78515247753844c2\nvldumd.dll+0x22bd0 22:08:35.572 Dynamic vertex buffers are available 22:08:35.572 Dynamic index buffers are available 22:08:35.573 Supported z-buffer bit depths: 16, 24 22:08:35.573 Supported MSAA modes: msaa(3), msaa2x(0), msaa4x(0), msaa8x(0) 22:08:35.573 Supported resource formats: 22:08:35.573 {D3DDDIFMT_A8R8G8B8,0x4d8e10f,0x8b,0x8b,0} 22:08:35.573 {D3DDDIFMT_X8R8G8B8,0x458ed0f,0x8b,0x8b,0} 22:08:35.573 {D3DDDIFMT_R5G6B5,0x48ed0f,0x8b,0x8b,0} 22:08:35.573 {D3DDDIFMT_X1R5G5B5,0x48e10f,0x0,0x0,0} 22:08:35.573 {D3DDDIFMT_A1R5G5B5,0xe007,0x0,0x0,0} 22:08:35.573 {D3DDDIFMT_A4R4G4B4,0xe007,0x0,0x0,0} 22:08:35.573 {D3DDDIFMT_A8,0xf,0x0,0x0,0} 22:08:35.573 {D3DDDIFMT_A2B10G10R10,0x48610f,0x8b,0x8b,0} 22:08:35.573 {D3DDDIFMT_G16R16,0x40400f,0x8b,0x8b,0} 22:08:35.573 {D3DDDIFMT_A2R10G10B10,0x486d0f,0x8b,0x8b,0} 22:08:35.573 {D3DDDIFMT_A16B16G16R16,0x40600f,0x8b,0x8b,0} 22:08:35.573 {D3DDDIFMT_A8P8,0x5000,0x0,0x0,16} 22:08:35.573 {D3DDDIFMT_P8,0x4400,0x0,0x0,0} 22:08:35.573 {D3DDDIFMT_L8,0x40800f,0x8b,0x8b,0} 22:08:35.573 {D3DDDIFMT_A8L8,0x8007,0x0,0x0,0} 22:08:35.573 {D3DDDIFMT_V8U8,0x10001,0x0,0x0,0} 22:08:35.573 {D3DDDIFMT_X8L8V8U8,0x10001,0x0,0x0,0} 22:08:35.573 {D3DDDIFMT_Q8W8V8U8,0x5,0x0,0x0,0} 22:08:35.573 {D3DDDIFMT_V16U16,0x7,0x0,0x0,0} 22:08:35.573 {D3DDDIFMT_S8D24,0xc1,0x8b,0x8b,0} 22:08:35.573 {D3DDDIFMT_D24S8,0xc1,0x8b,0x8b,0} 22:08:35.573 {D3DDDIFMT_X8D24,0xc1,0x8b,0x8b,0} 22:08:35.573 {D3DDDIFMT_D24X8,0xc1,0x8b,0x8b,0} 22:08:35.573 {D3DDDIFMT_D16,0xc1,0x8b,0x8b,0} 22:08:35.573 {D3DDDIFMT_L16,0x40000f,0x8b,0x8b,0} 22:08:35.573 {D3DDDIFMT_D32F_LOCKABLE,0xc1,0x0,0x0,0} 22:08:35.573 {D3DDDIFMT_G8R8,0xd,0x0,0x0,0} 22:08:35.573 {D3DDDIFMT_R8,0x40400f,0x0,0x0,0} 22:08:35.573 {D3DDDIFMT_R16F,0xc0400f,0x8b,0x8b,0} 22:08:35.573 {D3DDDIFMT_G16R16F,0xc0400f,0x8b,0x8b,0} 22:08:35.573 {D3DDDIFMT_A16B16G16R16F,0xc8610f,0x8b,0x8b,0} 22:08:35.573 {D3DDDIFMT_R32F,0xc0400f,0x8b,0x8b,0} 22:08:35.573 {D3DDDIFMT_G32R32F,0xc0400f,0x8b,0x8b,0} 22:08:35.573 {D3DDDIFMT_A32B32G32R32F,0xc8600f,0x8b,0x8b,0} 22:08:35.573 {D3DDDIFMT_BINARYBUFFER,0x4000,0x0,0x0,0} 22:08:35.573 {FOURCC(P010),0x4007000,0x0,0x0,16} 22:08:35.573 {FOURCC(3x11),0x40700f,0x8b,0x8b,32} 22:08:35.573 {FOURCC(ATI1),0x1005,0x0,0x0,8} 22:08:35.573 {FOURCC(DXT1),0x8007,0x0,0x0,0} 22:08:35.573 {FOURCC(AV12),0x5000,0x0,0x0,12} 22:08:35.573 {FOURCC(NV12),0x4007000,0x0,0x0,12} 22:08:35.573 {FOURCC(YV12),0x4007000,0x0,0x0,12} 22:08:35.573 {FOURCC(ATI2),0x1005,0x0,0x0,8} 22:08:35.573 {FOURCC(DXT2),0x8007,0x0,0x0,0} 22:08:35.573 {FOURCC(YUY2),0x4007000,0x0,0x0,16} 22:08:35.573 {FOURCC(DXT3),0x8007,0x0,0x0,0} 22:08:35.573 {FOURCC(NV24),0x4007000,0x0,0x0,12} 22:08:35.573 {FOURCC(AI44),0x5000,0x0,0x0,8} 22:08:35.573 {FOURCC(DXT4),0x8007,0x0,0x0,0} 22:08:35.573 {FOURCC(DXT5),0x8007,0x0,0x0,0} 22:08:35.573 {FOURCC(3x16),0x407d0f,0x8b,0x8b,64} 22:08:35.573 {FOURCC(AIP8),0x5000,0x0,0x0,8} 22:08:35.573 {FOURCC(SSAA),0x4000,0x0,0x0,0} 22:08:35.573 {FOURCC(NVDB),0x4000,0x0,0x0,0} 22:08:35.573 {FOURCC(ATOC),0x4000,0x0,0x0,0} 22:08:35.573 {FOURCC(NVMD),0x4000,0x0,0x0,0} 22:08:35.573 {FOURCC(PLFF),0x4000,0x0,0x0,0} 22:08:35.573 {FOURCC(NULL),0x100009,0x8b,0x8b,0} 22:08:35.573 {FOURCC(NVDP),0x4000,0x0,0x0,0} 22:08:35.573 {FOURCC(NVCS),0xd,0x0,0x0,0} 22:08:35.573 {FOURCC(NVHS),0x5,0x0,0x0,0} 22:08:35.573 {FOURCC(NVHU),0x5,0x0,0x0,0} 22:08:35.573 {FOURCC(AYUV),0x5000,0x0,0x0,32} 22:08:35.573 {FOURCC(UYVY),0x4007000,0x0,0x0,16} 22:08:35.573 {FOURCC(INTZ),0x10c1,0x0,0x0,32} 22:08:35.575 Installing DirectDraw hooks 22:08:35.576 Installing Direct3D hooks 22:08:35.578 Installing GDI hooks 22:08:35.584 Finished installing hooks 22:08:35.800 Using Direct3D device type: IID_IDirect3DHALDevice 22:09:10.342 DDrawCompat detached successfully

narzoul commented 9 months ago

Ah, I can reproduce the issue with the default configuration. I forgot that I had to modify it a bit to work around such issues.

Put this in DDrawCompat.ini: ThreadPriorityBoost=on

SalazarDavid116 commented 9 months ago

Thank you, it almost solved the issues. There is still a few more issue:

1) When I was in-flight, half of cockpit show strange texture (Alpha) issues. It show 'bright blue background'' half lower of screen, in front of cockpit. It mean the Alpha wasn't applied on half bottom of screen.

2) If you switch different sub model with air to ground radar, it show bright blue background as well.

However, looks like we are closer to solution!

What I did is create the new file:

DDrawCompat.ini

Then added the code as instructed:

ThreadPriorityBoost=on

Please let me know what to do next.

Here is log:

07:26:50.894 Process path: S:\Simulations\Janes IAF\IAF\IAFJETS.EXE 07:26:50.894 Loading DDrawCompat statically from S:\Simulations\Janes IAF\IAF\DDRAW.dll 07:26:50.894 Environment variable __COMPAT_LAYER = "DWM8And16BitMitigation WinXPSp3 Installer" 07:26:50.894 Loading global config file: C:\ProgramData\DDrawCompat\DDrawCompat.ini 07:26:50.894 File not found, skipping 07:26:50.894 Loading user config file: C:\Users\Salaz\AppData\Local\DDrawCompat\DDrawCompat.ini 07:26:50.894 File not found, skipping 07:26:50.894 Loading directory config file: S:\Simulations\Janes IAF\IAF\DDrawCompat.ini 07:26:50.894 Loading process config file: S:\Simulations\Janes IAF\IAF\DDrawCompat-IAFJETS.ini 07:26:50.894 File not found, skipping 07:26:50.894 Loading overlay config file: S:\Simulations\Janes IAF\IAF\DDrawCompatOverlay-IAFJETS.ini 07:26:50.894 File not found, skipping 07:26:50.894 Final configuration: 07:26:50.894 [default ] AlignSysMemSurfaces = on 07:26:50.894 [default ] AltTabFix = off 07:26:50.894 [default ] AlternatePixelCenter = off 07:26:50.894 [default ] Antialiasing = off 07:26:50.894 [default ] BltFilter = point 07:26:50.894 [default ] ConfigHotKey = shift+f11 07:26:50.894 [default ] CpuAffinity = 1 07:26:50.894 [default ] DesktopColorDepth = initial 07:26:50.894 [default ] DisplayFilter = bilinear(0) 07:26:50.894 [default ] DisplayRefreshRate = app 07:26:50.894 [default ] DisplayResolution = desktop 07:26:50.894 [default ] DpiAwareness = permonitor 07:26:50.894 [default ] FontAntialiasing = app 07:26:50.894 [default ] ForceD3D9On12 = off 07:26:50.894 [default ] FpsLimiter = off 07:26:50.894 [default ] FullscreenMode = borderless 07:26:50.894 [default ] LogLevel = info 07:26:50.894 [default ] PalettizedTextures = on 07:26:50.894 [default ] RemoveBorders = off 07:26:50.894 [default ] RenderColorDepth = app 07:26:50.894 [default ] ResolutionScale = app(1) 07:26:50.894 [default ] ResolutionScaleFilter = point 07:26:50.894 [default ] SoftwareDevice = rgb 07:26:50.894 [default ] SpriteDetection = off 07:26:50.894 [default ] SpriteFilter = app 07:26:50.894 [default ] SpriteTexCoord = app 07:26:50.894 [default ] SupportedResolutions = native, 640x480, 800x600, 1024x768 07:26:50.894 [default ] TextureFilter = app 07:26:50.894 [directory] ThreadPriorityBoost = on 07:26:50.894 [default ] VSync = app 07:26:50.894 [default ] WinVersionLie = off 07:26:50.930 DPI awareness was successfully changed to "permonitor" via SetProcessDpiAwarenessContext 07:26:50.930 DDrawCompat loaded successfully 07:26:51.026 Installing display mode hooks 07:26:51.030 Installing registry hooks 07:26:51.030 Installing Direct3D driver hooks 07:26:51.033 Hooking user mode display driver: C:\WINDOWS\System32\DriverStore\FileRepository\nvmii.inf_amd64_78515247753844c2\nvldumd.dll+0x22bd0 07:26:51.127 Dynamic vertex buffers are available 07:26:51.127 Dynamic index buffers are available 07:26:51.129 Supported z-buffer bit depths: 16, 24 07:26:51.129 Supported MSAA modes: msaa(3), msaa2x(0), msaa4x(0), msaa8x(0) 07:26:51.129 Supported resource formats: 07:26:51.129 {D3DDDIFMT_A8R8G8B8,0x4d8e10f,0x8b,0x8b,0} 07:26:51.129 {D3DDDIFMT_X8R8G8B8,0x458ed0f,0x8b,0x8b,0} 07:26:51.129 {D3DDDIFMT_R5G6B5,0x48ed0f,0x8b,0x8b,0} 07:26:51.129 {D3DDDIFMT_X1R5G5B5,0x48e10f,0x0,0x0,0} 07:26:51.129 {D3DDDIFMT_A1R5G5B5,0xe007,0x0,0x0,0} 07:26:51.129 {D3DDDIFMT_A4R4G4B4,0xe007,0x0,0x0,0} 07:26:51.129 {D3DDDIFMT_A8,0xf,0x0,0x0,0} 07:26:51.129 {D3DDDIFMT_A2B10G10R10,0x48610f,0x8b,0x8b,0} 07:26:51.129 {D3DDDIFMT_G16R16,0x40400f,0x8b,0x8b,0} 07:26:51.129 {D3DDDIFMT_A2R10G10B10,0x486d0f,0x8b,0x8b,0} 07:26:51.129 {D3DDDIFMT_A16B16G16R16,0x40600f,0x8b,0x8b,0} 07:26:51.129 {D3DDDIFMT_A8P8,0x5000,0x0,0x0,16} 07:26:51.129 {D3DDDIFMT_P8,0x4400,0x0,0x0,0} 07:26:51.129 {D3DDDIFMT_L8,0x40800f,0x8b,0x8b,0} 07:26:51.129 {D3DDDIFMT_A8L8,0x8007,0x0,0x0,0} 07:26:51.129 {D3DDDIFMT_V8U8,0x10001,0x0,0x0,0} 07:26:51.129 {D3DDDIFMT_X8L8V8U8,0x10001,0x0,0x0,0} 07:26:51.129 {D3DDDIFMT_Q8W8V8U8,0x5,0x0,0x0,0} 07:26:51.129 {D3DDDIFMT_V16U16,0x7,0x0,0x0,0} 07:26:51.129 {D3DDDIFMT_S8D24,0xc1,0x8b,0x8b,0} 07:26:51.129 {D3DDDIFMT_D24S8,0xc1,0x8b,0x8b,0} 07:26:51.129 {D3DDDIFMT_X8D24,0xc1,0x8b,0x8b,0} 07:26:51.129 {D3DDDIFMT_D24X8,0xc1,0x8b,0x8b,0} 07:26:51.129 {D3DDDIFMT_D16,0xc1,0x8b,0x8b,0} 07:26:51.129 {D3DDDIFMT_L16,0x40000f,0x8b,0x8b,0} 07:26:51.129 {D3DDDIFMT_D32F_LOCKABLE,0xc1,0x0,0x0,0} 07:26:51.129 {D3DDDIFMT_G8R8,0xd,0x0,0x0,0} 07:26:51.129 {D3DDDIFMT_R8,0x40400f,0x0,0x0,0} 07:26:51.129 {D3DDDIFMT_R16F,0xc0400f,0x8b,0x8b,0} 07:26:51.129 {D3DDDIFMT_G16R16F,0xc0400f,0x8b,0x8b,0} 07:26:51.129 {D3DDDIFMT_A16B16G16R16F,0xc8610f,0x8b,0x8b,0} 07:26:51.129 {D3DDDIFMT_R32F,0xc0400f,0x8b,0x8b,0} 07:26:51.129 {D3DDDIFMT_G32R32F,0xc0400f,0x8b,0x8b,0} 07:26:51.129 {D3DDDIFMT_A32B32G32R32F,0xc8600f,0x8b,0x8b,0} 07:26:51.129 {D3DDDIFMT_BINARYBUFFER,0x4000,0x0,0x0,0} 07:26:51.129 {FOURCC(P010),0x4007000,0x0,0x0,16} 07:26:51.129 {FOURCC(3x11),0x40700f,0x8b,0x8b,32} 07:26:51.129 {FOURCC(ATI1),0x1005,0x0,0x0,8} 07:26:51.129 {FOURCC(DXT1),0x8007,0x0,0x0,0} 07:26:51.129 {FOURCC(AV12),0x5000,0x0,0x0,12} 07:26:51.129 {FOURCC(NV12),0x4007000,0x0,0x0,12} 07:26:51.129 {FOURCC(YV12),0x4007000,0x0,0x0,12} 07:26:51.129 {FOURCC(ATI2),0x1005,0x0,0x0,8} 07:26:51.129 {FOURCC(DXT2),0x8007,0x0,0x0,0} 07:26:51.129 {FOURCC(YUY2),0x4007000,0x0,0x0,16} 07:26:51.129 {FOURCC(DXT3),0x8007,0x0,0x0,0} 07:26:51.129 {FOURCC(NV24),0x4007000,0x0,0x0,12} 07:26:51.129 {FOURCC(AI44),0x5000,0x0,0x0,8} 07:26:51.129 {FOURCC(DXT4),0x8007,0x0,0x0,0} 07:26:51.129 {FOURCC(DXT5),0x8007,0x0,0x0,0} 07:26:51.129 {FOURCC(3x16),0x407d0f,0x8b,0x8b,64} 07:26:51.129 {FOURCC(AIP8),0x5000,0x0,0x0,8} 07:26:51.129 {FOURCC(SSAA),0x4000,0x0,0x0,0} 07:26:51.129 {FOURCC(NVDB),0x4000,0x0,0x0,0} 07:26:51.129 {FOURCC(ATOC),0x4000,0x0,0x0,0} 07:26:51.129 {FOURCC(NVMD),0x4000,0x0,0x0,0} 07:26:51.129 {FOURCC(PLFF),0x4000,0x0,0x0,0} 07:26:51.129 {FOURCC(NULL),0x100009,0x8b,0x8b,0} 07:26:51.129 {FOURCC(NVDP),0x4000,0x0,0x0,0} 07:26:51.129 {FOURCC(NVCS),0xd,0x0,0x0,0} 07:26:51.129 {FOURCC(NVHS),0x5,0x0,0x0,0} 07:26:51.129 {FOURCC(NVHU),0x5,0x0,0x0,0} 07:26:51.129 {FOURCC(AYUV),0x5000,0x0,0x0,32} 07:26:51.129 {FOURCC(UYVY),0x4007000,0x0,0x0,16} 07:26:51.129 {FOURCC(INTZ),0x10c1,0x0,0x0,32} 07:26:51.130 Installing DirectDraw hooks 07:26:51.132 Installing Direct3D hooks 07:26:51.137 Installing GDI hooks 07:26:51.144 Finished installing hooks 07:26:51.784 Using Direct3D device type: IID_IDirect3DHALDevice

Thank you for helping me with this issues. I look forward being able to finaly fly Jane's IAF fully soon.

Cheers!

narzoul commented 9 months ago

Ok, this solution is not very generic, but should work for this game: ddraw.zip (diff.txt compared to v0.4.0)

I've also included the cursor fixes from the other issue.

SalazarDavid116 commented 9 months ago

Narzoul,

Thank you! It is working very well!!! I am using both updated ddraw.dll and DDrawCompat.ini (ThreadPriorityBoost=on) in IAF folder. Everything works, even air to ground radar!

Soemtime I have very small specific issue: Sometime when I click on ctrol + Q, the text does not apppear. And when I am on main menu, when I click on ALT+F4 to exit game, it bring up green box but the text doesn't show up. And sometime pressing alt+Q crash the game too.

Other than that, everything works!