Kron4ek / Conty

Easy to use unprivileged Linux container packed into a single portable executable
MIT License
755 stars 43 forks source link

Kings Bounty The Legend Demo: works on system wine but not through Conty (not able to start) #114

Closed vitaly-zdanevich closed 7 months ago

vitaly-zdanevich commented 7 months ago

System Wine:

$ wine kb.exe 
002c:err:winediag:getaddrinfo Failed to resolve your host name IP
006c:err:wineusb:DriverEntry Failed to initialize Unix library, status 0xc0000135.
006c:err:ntoskrnl:ZwLoadDriver failed to create driver L"\\Registry\\Machine\\System\\CurrentControlSet\\Services\\wineusb": c0000135
0034:fixme:service:scmdatabase_autostart_services Auto-start service L"wineusb" failed to start: 126
0094:fixme:hid:handle_IRP_MN_QUERY_ID Unhandled type 00000005
0094:fixme:hid:handle_IRP_MN_QUERY_ID Unhandled type 00000005
0094:fixme:hid:handle_IRP_MN_QUERY_ID Unhandled type 00000005
0094:fixme:hid:handle_IRP_MN_QUERY_ID Unhandled type 00000005
0094:fixme:hid:handle_IRP_MN_QUERY_ID Unhandled type 00000005
0094:fixme:hid:handle_IRP_MN_QUERY_ID Unhandled type 00000005
0138:fixme:file:NtLockFile I/O completion on lock not implemented yet
0138:fixme:ntdll:NtQuerySystemInformation info_class SYSTEM_PERFORMANCE_INFORMATION
0140:err:environ:init_peb starting L"Z:\\usr\\share\\wine\\mono\\wine-mono-8.1.0\\support\\removeuserinstalls-x86.exe" in experimental wow64 mode
0148:err:environ:init_peb starting L"Z:\\usr\\share\\wine\\mono\\wine-mono-8.1.0\\support\\installinf-x86.exe" in experimental wow64 mode
0138:fixme:msi:internal_ui_handler internal UI not implemented for message 0x0b000000 (UI level = 1)
0138:fixme:msi:internal_ui_handler internal UI not implemented for message 0x0b000000 (UI level = 1)
0164:err:environ:init_peb starting L"C:\\windows\\syswow64\\rundll32.exe" in experimental wow64 mode
016c:err:environ:init_peb starting L"C:\\windows\\syswow64\\iexplore.exe" in experimental wow64 mode
wine: configuration in L"/home/vitaly/.wine" has been updated.
0024:err:environ:init_peb starting L"Z:\\mnt\\home\\vitaly\\.wine\\drive_c\\kings-bounty-the-legend-demo\\kb.exe" in experimental wow64 mode
0024:fixme:ntdll:NtQuerySystemInformation info_class SYSTEM_PERFORMANCE_INFORMATION
0024:fixme:d3d:wined3d_swapchain_init The application requested more than one back buffer, this is not properly supported.
Please configure the application to use double buffering (1 back buffer) if possible.
0024:fixme:d3dx:D3DXLoadSurfaceFromMemory Unhandled filter 0x3.
0024:fixme:d3dx:D3DXLoadSurfaceFromMemory Unhandled filter 0x3.
0024:fixme:d3dx:D3DXLoadSurfaceFromMemory Unhandled filter 0x3.
0024:fixme:d3dx:D3DXLoadSurfaceFromMemory Unhandled filter 0x3.
0024:fixme:d3dx:D3DXLoadSurfaceFromMemory Unhandled filter 0x3.
0024:fixme:d3dx:D3DXLoadSurfaceFromMemory Unhandled filter 0x3.
0024:fixme:d3dx:D3DXLoadSurfaceFromMemory Unhandled filter 0x3.
0024:fixme:d3dx:D3DXLoadSurfaceFromMemory Unhandled filter 0x3.
0024:fixme:d3dx:D3DXLoadSurfaceFromMemory Unhandled filter 0x3.
0024:fixme:d3dx:D3DXLoadSurfaceFromMemory Unhandled filter 0x3.
0024:fixme:d3dx:D3DXLoadSurfaceFromMemory Unhandled filter 0x3.
0024:fixme:d3dx:D3DXLoadSurfaceFromMemory Unhandled filter 0x3.
0024:fixme:d3dx:D3DXLoadSurfaceFromMemory Unhandled filter 0x3.
0024:fixme:d3dx:D3DXLoadSurfaceFromMemory Unhandled filter 0x3.
0024:fixme:d3dx:D3DXLoadSurfaceFromMemory Unhandled filter 0x3.
0024:fixme:d3dx:D3DXLoadSurfaceFromMemory Unhandled filter 0x3.
0024:fixme:d3dx:D3DXLoadSurfaceFromMemory Unhandled filter 0x3.
0024:fixme:d3dx:D3DXLoadSurfaceFromMemory Unhandled filter 0x3.
0024:fixme:d3dx:D3DXLoadSurfaceFromMemory Unhandled filter 0x3.
0024:fixme:d3dx:D3DXLoadSurfaceFromMemory Unhandled filter 0x3.
0024:fixme:d3dx:D3DXLoadSurfaceFromMemory Unhandled filter 0x3.
0024:fixme:d3dx:D3DXLoadSurfaceFromMemory Unhandled filter 0x3.
0024:fixme:d3dx:D3DXLoadSurfaceFromMemory Unhandled filter 0x3.
0024:fixme:d3dx:D3DXLoadSurfaceFromMemory Unhandled filter 0x3.
0024:fixme:d3dx:D3DXLoadSurfaceFromMemory Unhandled filter 0x3.
0024:fixme:d3dx:D3DXLoadSurfaceFromMemory Unhandled filter 0x3.
0024:fixme:d3dx:D3DXLoadSurfaceFromMemory Unhandled filter 0x3.
0024:fixme:d3dx:D3DXLoadSurfaceFromMemory Unhandled filter 0x3.
0024:fixme:d3dx:D3DXLoadSurfaceFromMemory Unhandled filter 0x3.
0024:fixme:d3dx:D3DXLoadSurfaceFromMemory Unhandled filter 0x3.
0024:fixme:d3dx:D3DXLoadSurfaceFromMemory Unhandled filter 0x3.
0024:fixme:d3dx:D3DXLoadSurfaceFromMemory Unhandled filter 0x3.
0024:fixme:d3dx:D3DXLoadSurfaceFromMemory Unhandled filter 0x3.
0024:fixme:d3dx:D3DXLoadSurfaceFromMemory Unhandled filter 0x3.
0024:fixme:d3dx:D3DXLoadSurfaceFromMemory Unhandled filter 0x3.
0024:fixme:d3dx:D3DXLoadSurfaceFromMemory Unhandled filter 0x3.
0024:fixme:d3d:resource_check_usage Unhandled usage flags 0x40.
0024:fixme:d3d:resource_check_usage Unhandled usage flags 0x40.
0024:fixme:d3d:resource_check_usage Unhandled usage flags 0x40.
0024:fixme:d3d:resource_check_usage Unhandled usage flags 0x40.
0024:fixme:d3d:resource_check_usage Unhandled usage flags 0x40.
0024:fixme:d3d:resource_check_usage Unhandled usage flags 0x40.
0024:fixme:d3d:resource_check_usage Unhandled usage flags 0x40.
0024:fixme:d3d:resource_check_usage Unhandled usage flags 0x40.
0024:fixme:d3d:resource_check_usage Unhandled usage flags 0x40.
0024:fixme:d3d:resource_check_usage Unhandled usage flags 0x40.
0024:fixme:d3d:resource_check_usage Unhandled usage flags 0x40.
0024:fixme:d3d:resource_check_usage Unhandled usage flags 0x40.
0024:fixme:d3d:resource_check_usage Unhandled usage flags 0x40.
0024:fixme:d3d:resource_check_usage Unhandled usage flags 0x40.
0024:fixme:d3d:resource_check_usage Unhandled usage flags 0x40.
0024:fixme:d3d:resource_check_usage Unhandled usage flags 0x40.
0024:fixme:d3dx:D3DXLoadSurfaceFromMemory Unhandled filter 0x5.
0024:fixme:d3dx:D3DXLoadSurfaceFromMemory Unhandled filter 0x5.
0024:fixme:d3dx:D3DXLoadSurfaceFromMemory Unhandled filter 0x5.
0024:fixme:d3dx:D3DXLoadSurfaceFromMemory Unhandled filter 0x5.
0024:fixme:d3dx:D3DXLoadSurfaceFromMemory Unhandled filter 0x5.
0024:fixme:d3dx:D3DXLoadSurfaceFromMemory Unhandled filter 0x5.
0024:fixme:d3dx:D3DXLoadSurfaceFromMemory Unhandled filter 0x5.
0024:fixme:d3dx:D3DXLoadSurfaceFromMemory Unhandled filter 0x5.
0024:err:ole:com_get_class_object class {ca503b60-b176-11d4-a094-d0c0bf3a560c} not registered
0024:err:ole:com_get_class_object no class object {ca503b60-b176-11d4-a094-d0c0bf3a560c} could be created for context 0x1
0178:fixme:d3d:state_linepattern_w Setting line patterns is not supported in OpenGL core contexts.
0024:fixme:d3d:resource_check_usage Unhandled usage flags 0x40.
0024:fixme:d3d:resource_check_usage Unhandled usage flags 0x40.
0024:fixme:d3d:resource_check_usage Unhandled usage flags 0x40.
0024:fixme:d3d:resource_check_usage Unhandled usage flags 0x40.
0024:fixme:d3d:resource_check_usage Unhandled usage flags 0x40.
0024:fixme:d3d:resource_check_usage Unhandled usage flags 0x40.
0024:fixme:d3d:resource_check_usage Unhandled usage flags 0x40.
0024:fixme:d3d:resource_check_usage Unhandled usage flags 0x40.
0024:fixme:d3d:resource_check_usage Unhandled usage flags 0x40.
0024:fixme:d3d:resource_check_usage Unhandled usage flags 0x40.
0024:fixme:d3d:resource_check_usage Unhandled usage flags 0x40.
0024:fixme:d3d:resource_check_usage Unhandled usage flags 0x40.
0024:fixme:d3d:resource_check_usage Unhandled usage flags 0x40.
0024:fixme:d3d:resource_check_usage Unhandled usage flags 0x40.
0024:fixme:d3d:resource_check_usage Unhandled usage flags 0x40.
$ conty-1.25.2 wine kb.exe 
Running Conty

wineserver: using server-side synchronization.
wine: Using setpriority to control niceness in the [-19,19] range
002c:fixme:winediag:LdrInitializeThunk wine-staging 8.0 is a testing version containing experimental patches.
002c:fixme:winediag:LdrInitializeThunk Please mention your exact version when filing bug reports on winehq.org.
002c:err:winediag:getaddrinfo Failed to resolve your host name IP
0074:fixme:hid:handle_IRP_MN_QUERY_ID Unhandled type 00000005
0074:fixme:hid:handle_IRP_MN_QUERY_ID Unhandled type 00000005
0074:fixme:hid:handle_IRP_MN_QUERY_ID Unhandled type 00000005
0074:fixme:hid:handle_IRP_MN_QUERY_ID Unhandled type 00000005
0088:err:hid:udev_bus_init UDEV monitor creation failed
0090:fixme:hid:handle_IRP_MN_QUERY_ID Unhandled type 00000005
0090:fixme:hid:handle_IRP_MN_QUERY_ID Unhandled type 00000005
0120:fixme:oleacc:find_class_data unhandled window class: L"#32769"
0120:fixme:uiautomation:uia_get_providers_for_hwnd Override provider callback currently unimplemented.
0120:fixme:uiautomation:msaa_provider_GetPropertyValue Unimplemented propertyId 30024
0120:fixme:uiautomation:msaa_fragment_get_FragmentRoot 00000000008E0A38, 000000000021FAC0: stub!
0098:fixme:imm:ImeSetActiveContext himc 0000000000010026, flag 0 stub!
002c:fixme:imm:ImeSetActiveContext himc 0000000000020056, flag 0x1 stub!
012c:fixme:oleacc:find_class_data unhandled window class: L"#32770"
012c:fixme:uiautomation:uia_get_providers_for_hwnd Override provider callback currently unimplemented.
012c:fixme:uiautomation:msaa_provider_GetPropertyValue Unimplemented propertyId 30024
012c:fixme:uiautomation:msaa_fragment_get_FragmentRoot 0000000000924A18, 0000000001B2FAA0: stub!
012c:fixme:oleacc:find_class_data unhandled window class: L"Static"
012c:fixme:uiautomation:uia_get_providers_for_hwnd Override provider callback currently unimplemented.
012c:fixme:uiautomation:msaa_provider_GetPropertyValue Unimplemented propertyId 30024
012c:fixme:uiautomation:msaa_fragment_get_FragmentRoot 000000000091D938, 0000000001B2F940: stub!
012c:fixme:oleacc:find_class_data unhandled window class: L"Static"
012c:fixme:uiautomation:uia_get_providers_for_hwnd Override provider callback currently unimplemented.
012c:fixme:uiautomation:msaa_provider_GetPropertyValue Unimplemented propertyId 30024
012c:fixme:uiautomation:msaa_fragment_get_FragmentRoot 000000000091D9B8, 0000000001B2F940: stub!
012c:fixme:oleacc:find_class_data unhandled window class: L"Static"
012c:fixme:uiautomation:uia_get_providers_for_hwnd Override provider callback currently unimplemented.
012c:fixme:uiautomation:msaa_provider_GetPropertyValue Unimplemented propertyId 30024
012c:fixme:uiautomation:msaa_fragment_get_FragmentRoot 000000000091DA38, 0000000001B2FAA0: stub!
012c:fixme:oleacc:find_class_data unhandled window class: L"Static"
012c:fixme:uiautomation:uia_get_providers_for_hwnd Override provider callback currently unimplemented.
012c:fixme:uiautomation:msaa_provider_GetPropertyValue Unimplemented propertyId 30024
012c:fixme:uiautomation:msaa_fragment_get_FragmentRoot 00000000009169A8, 0000000001B2FAA0: stub!
012c:fixme:uiautomation:uia_get_providers_for_hwnd Override provider callback currently unimplemented.
012c:fixme:uiautomation:msaa_provider_GetPropertyValue Unimplemented propertyId 30024
012c:fixme:uiautomation:msaa_fragment_get_FragmentRoot 0000000000924A98, 0000000001B2FAA0: stub!
012c:fixme:uiautomation:uia_get_providers_for_hwnd Override provider callback currently unimplemented.
012c:fixme:uiautomation:msaa_provider_GetPropertyValue Unimplemented propertyId 30024
012c:fixme:uiautomation:msaa_fragment_get_FragmentRoot 0000000000921098, 0000000001B2FAA0: stub!
012c:fixme:uiautomation:uia_get_providers_for_hwnd Override provider callback currently unimplemented.
012c:fixme:uiautomation:msaa_provider_GetPropertyValue Unimplemented propertyId 30024
012c:fixme:uiautomation:msaa_fragment_get_FragmentRoot 0000000000921118, 0000000001B2FAA0: stub!
0168:fixme:imm:ImeSetActiveContext himc 00000000000100AA, flag 0x1 stub!
012c:fixme:oleacc:find_class_data unhandled window class: L"#32770"
012c:fixme:uiautomation:uia_get_providers_for_hwnd Override provider callback currently unimplemented.
012c:fixme:uiautomation:msaa_provider_GetPropertyValue Unimplemented propertyId 30024
012c:fixme:uiautomation:msaa_fragment_get_FragmentRoot 0000000000921198, 0000000001B2FAA0: stub!
012c:fixme:uiautomation:uia_get_providers_for_hwnd Override provider callback currently unimplemented.
012c:fixme:uiautomation:msaa_provider_GetPropertyValue Unimplemented propertyId 30024
012c:fixme:uiautomation:msaa_fragment_get_FragmentRoot 0000000000921218, 0000000001B2F940: stub!
012c:fixme:oleacc:find_class_data unhandled window class: L"Button"
012c:fixme:uiautomation:uia_get_providers_for_hwnd Override provider callback currently unimplemented.
012c:fixme:uiautomation:msaa_provider_GetPropertyValue Unimplemented propertyId 30024
012c:fixme:uiautomation:msaa_fragment_get_FragmentRoot 0000000000915678, 0000000001B2F940: stub!
012c:fixme:oleacc:find_class_data unhandled window class: L"Button"
012c:fixme:uiautomation:uia_get_providers_for_hwnd Override provider callback currently unimplemented.
012c:fixme:uiautomation:msaa_provider_GetPropertyValue Unimplemented propertyId 30024
012c:fixme:uiautomation:msaa_fragment_get_FragmentRoot 00000000009156F8, 0000000001B2F940: stub!
012c:fixme:uiautomation:uia_get_providers_for_hwnd Override provider callback currently unimplemented.
012c:fixme:uiautomation:msaa_provider_GetPropertyValue Unimplemented propertyId 30024
012c:fixme:uiautomation:msaa_fragment_get_FragmentRoot 0000000000915778, 0000000001B2FAA0: stub!
012c:fixme:oleacc:find_class_data unhandled window class: L"msctls_progress32"
012c:fixme:uiautomation:uia_get_providers_for_hwnd Override provider callback currently unimplemented.
012c:fixme:uiautomation:msaa_provider_GetPropertyValue Unimplemented propertyId 30024
012c:fixme:uiautomation:msaa_fragment_get_FragmentRoot 0000000000939BF8, 0000000001B2FAA0: stub!
012c:fixme:oleacc:find_class_data unhandled window class: L"Button"
012c:fixme:uiautomation:uia_get_providers_for_hwnd Override provider callback currently unimplemented.
012c:fixme:uiautomation:msaa_provider_GetPropertyValue Unimplemented propertyId 30024
012c:fixme:uiautomation:msaa_fragment_get_FragmentRoot 0000000000939C78, 0000000001B2FAA0: stub!
012c:fixme:oleacc:find_class_data unhandled window class: L"Button"
012c:fixme:uiautomation:uia_get_providers_for_hwnd Override provider callback currently unimplemented.
012c:fixme:uiautomation:msaa_provider_GetPropertyValue Unimplemented propertyId 30024
012c:fixme:uiautomation:msaa_fragment_get_FragmentRoot 0000000000939CF8, 0000000001B2FAA0: stub!
012c:fixme:oleacc:find_class_data unhandled window class: L"Button"
012c:fixme:uiautomation:uia_get_providers_for_hwnd Override provider callback currently unimplemented.
012c:fixme:uiautomation:msaa_provider_GetPropertyValue Unimplemented propertyId 30024
012c:fixme:uiautomation:uia_element_GetCurrentPropertyValueEx Default property values currently unimplemented
012c:fixme:uiautomation:uia_element_GetCurrentPropertyValueEx Default property values currently unimplemented
012c:fixme:uiautomation:msaa_provider_GetPatternProvider Unimplemented patternId 10002
012c:fixme:uiautomation:nc_provider_GetPatternProvider 000000000092FD40, 10002, 0000000001B2ECA0: stub
012c:fixme:uiautomation:base_hwnd_provider_GetPatternProvider 000000000092FCB0, 10002, 0000000001B2ECA0: stub
012c:fixme:uiautomation:uia_get_providers_for_hwnd Override provider callback currently unimplemented.
012c:fixme:uiautomation:msaa_provider_GetPropertyValue Unimplemented propertyId 30024
012c:fixme:uiautomation:msaa_fragment_get_FragmentRoot 0000000000939D78, 0000000001B2FAA0: stub!
012c:fixme:oleacc:find_class_data unhandled window class: L"Button"
012c:fixme:uiautomation:uia_get_providers_for_hwnd Override provider callback currently unimplemented.
012c:fixme:uiautomation:msaa_provider_GetPropertyValue Unimplemented propertyId 30024
012c:fixme:uiautomation:uia_element_GetCurrentPropertyValueEx Default property values currently unimplemented
012c:fixme:uiautomation:uia_element_GetCurrentPropertyValueEx Default property values currently unimplemented
012c:fixme:uiautomation:msaa_provider_GetPatternProvider Unimplemented patternId 10002
012c:fixme:uiautomation:nc_provider_GetPatternProvider 000000000091FF90, 10002, 0000000001B2ECA0: stub
012c:fixme:uiautomation:base_hwnd_provider_GetPatternProvider 000000000091FF00, 10002, 0000000001B2ECA0: stub
012c:fixme:uiautomation:uia_element_GetCurrentPropertyValueEx Default property values currently unimplemented
012c:fixme:uiautomation:uia_element_GetCurrentPropertyValueEx Default property values currently unimplemented
012c:fixme:uiautomation:base_hwnd_provider_GetPatternProvider 000000000092FCB0, 10002, 0000000001B2ECA0: stub
wine: configuration in L"/home/vitaly/.wine" has been updated.
01dc:fixme:oleacc:find_class_data unhandled window class: L"#32769"
01dc:fixme:uiautomation:uia_get_providers_for_hwnd Override provider callback currently unimplemented.
01dc:fixme:uiautomation:msaa_provider_GetPropertyValue Unimplemented propertyId 30024
01dc:fixme:uiautomation:msaa_fragment_get_FragmentRoot 00000000008E0A38, 000000000021FAC0: stub!
01e8:fixme:uiautomation:uia_get_providers_for_hwnd Override provider callback currently unimplemented.
01e8:fixme:uiautomation:msaa_provider_GetPropertyValue Unimplemented propertyId 30024
01e8:fixme:uiautomation:msaa_fragment_get_FragmentRoot 00000000009203C8, 0000000001B1FAA0: stub!
0024:fixme:ntdll:NtQuerySystemInformation info_class SYSTEM_PERFORMANCE_INFORMATION
01c8:fixme:imm:ImeSetActiveContext himc 0000000000020032, flag 0 stub!
0024:fixme:imm:ImeSetActiveContext himc 0002007C, flag 0x1 stub!
0024:fixme:d3d:wined3d_swapchain_init The application requested more than one back buffer, this is not properly supported.
Please configure the application to use double buffering (1 back buffer) if possible.
0024:err:system:NtUserChangeDisplaySettings Changing L"\\\\.\\DISPLAY1" display settings returned -2.
0024:fixme:d3d:wined3d_swapchain_init The application requested more than one back buffer, this is not properly supported.
Please configure the application to use double buffering (1 back buffer) if possible.
0024:err:system:NtUserChangeDisplaySettings Changing L"\\\\.\\DISPLAY1" display settings returned -2.
01e8:fixme:uiautomation:uia_get_providers_for_hwnd Override provider callback currently unimplemented.

Maybe something with

0024:err:system:NtUserChangeDisplaySettings Changing L"\\.\DISPLAY1" display settings returned -2.

I have multiple displays, no compositor.

You can download the demo here https://www.moddb.com/games/kings-bounty-the-legend/downloads/king-s-bounty-the-legend-updated-demo

Kron4ek commented 7 months ago

Like Armies of Exigo, this game works on my system too out of the box.

I have multiple displays, no compositor.

Try to leave only one display enabled and see if the game works.

vitaly-zdanevich commented 7 months ago

On Gentoo also in logs I see:

0024:err:module:import_dll Library d3d9.dll (which is needed by L"Z:\opt\kings-bounty-the-legend-demo\kb.exe") not found

What do you think?

Kron4ek commented 7 months ago

I think there is something wrong with the wineprefix, better to create a new prefix and reinstall the game.

vitaly-zdanevich commented 7 months ago

a new prefix

By rm -rf ~/.wine?

Kron4ek commented 7 months ago

By rm -rf ~/.wine?

Yes.