Installing XP compatibility solved this problem.)))
And I also installed additional DLL files from the dxwrapper program.
https://github.com/elishacloud/dxwrapper/releases
Installed them using JSGME. Created a small DXW mod and placed the dxwrapper
files in the MODS/DXW/Shell folder.
Then, using the method of scientific poke, adjusted the settings of the dxwrapper.ini file
The following picture turned out:
[General]
RealDllPath = AUTO
WrapperMode = AUTO
LoadCustomDllPath =
ExcludeProcess =
IncludeProcess =
RunProcess =
WaitForProcess = 0
DisableLogging = 0
[Plugins]
LoadPlugins = 1
LoadFromScriptsOnly = 1
[Compatibility]
Dd7to9 = 0
D3d8to9 = 1
DDrawCompat = 0
Dinputto8 = 1
DisableGameUX = 1
DxWnd = 0
EnableDdrawWrapper = 0
EnableD3d9Wrapper = 1
EnableDinput8Wrapper = 0
EnableDsoundWrapper = 1
HandleExceptions = 1
SingleProcAffinity = 0
[DDrawCompat]
DDrawCompat20 = 0
DDrawCompat21 = 0
DDrawCompat31 = 0
DDrawCompatDisableGDIHook = 0
DDrawCompatNoProcAffinity = 0
[ddraw]
ConvertToDirectDraw7 = 0
ConvertToDirect3D7 = 0
DdrawFixByteAlignment = 0
DdrawOverrideBitMode = 0
[Dd7to9]
AutoFrameSkip = 0
DdrawEmulateSurface = 0
DdrawRemoveScanlines = 0
DdrawReadFromGDI = 0
DdrawWriteToGDI = 0
DdrawLimitDisplayModeCount = 0
DdrawUseNativeResolution = 0
DdrawClippedWidth = 0
DdrawClippedHeight = 0
DdrawOverrideWidth = 0
DdrawOverrideHeight = 0
DdrawOverrideRefreshRate = 0
DdrawIntegerScalingClamp = 0
DdrawMaintainAspectRatio = 0
[d3d9]
AnisotropicFiltering = 1
AntiAliasing = 1
EnableVSync = 1
EnableWindowMode = 0
ForceMixedVertexProcessing = 1
ForceSystemMemVertexCache = 1
ForceVsyncMode = 1
FullscreenWindowMode = 0
WindowModeBorder = 0
[FullScreen]
FullScreen = 1
ForceWindowResize = 1
WaitForWindowChanges = 0
[dinput8]
FilterNonActiveInput = 1
[dsound]
Num2DBuffers = 1
Num3DBuffers = 0
ForceCertification = 0
ForceExclusiveMode = 1
ForceSoftwareMixing = 1
ForceHardwareMixing = 0
ForceHQ3DSoftMixing = 0
ForceNonStaticBuffers = 0
ForceVoiceManagement = 0
ForcePrimaryBufferFormat = 1
PrimaryBufferBits = 32
PrimaryBufferSamples = 44100
PrimaryBufferChannels = 2
AudioClipDetection = 1
P.S. Now, I think I'll go to bed)))