Problems with keyboard controls in Metro 2033 menus

Questions about Wine on Linux
Locked
SolarAnthem
Level 1
Level 1
Posts: 7
Joined: Sat May 31, 2014 8:32 am

Problems with keyboard controls in Metro 2033 menus

Post by SolarAnthem »

I am having trouble with keyboard input in Metro 2033. Moving, environment interaction and combat all work fine but in menus the game doesn't do anything when the keyboard is used. This makes it impossible to change the controls and buy necessary equipment and ammunition at metro stations. I have tried setting dinput8 to native in winecfg but that breaks mouse input and doesn't solve the keyboard problem. One suggestion on Metro 2033's AppDB page (for Gentoo) was to disable d3d11 with winecfg but I didn't notice any changes from doing that. Terminal output:

Code: Select all

fixme:msvcrt:type_info_name_internal_method type_info_node parameter ignored
fixme:msvcp:_Locinfo__Locinfo_ctor_cat_cstr (0x32fbc4 63 English) semi-stub
fixme:msvcp:locale__Locimp__Makexloc (0x32fbc4 63 0x1101b10 (nil)) semi-stub
fixme:msvcp:locale__Locimp__Makewloc (0x32fbc4 63 0x1101b10 (nil)) semi-stub
fixme:msvcp:locale__Locimp__Makeushloc (0x32fbc4 63 0x1101b10 (nil)) semi-stub
fixme:msvcp:_Locinfo__Locinfo_ctor_cat_cstr (0x174e8f4 63 English) semi-stub
fixme:msvcp:locale__Locimp__Makexloc (0x174e8f4 63 0x11034e0 (nil)) semi-stub
fixme:msvcp:locale__Locimp__Makewloc (0x174e8f4 63 0x11034e0 (nil)) semi-stub
fixme:msvcp:locale__Locimp__Makeushloc (0x174e8f4 63 0x11034e0 (nil)) semi-stub
fixme:msvcp:_Locinfo__Locinfo_ctor_cat_cstr (0x184e8f4 63 English) semi-stub
fixme:msvcp:locale__Locimp__Makexloc (0x184e8f4 63 0x1102520 (nil)) semi-stub
fixme:msvcp:locale__Locimp__Makewloc (0x184e8f4 63 0x1102520 (nil)) semi-stub
fixme:msvcp:locale__Locimp__Makeushloc (0x184e8f4 63 0x1102520 (nil)) semi-stub
fixme:keyboard:X11DRV_LoadKeyboardLayout L"00000409", 0000: stub!
err:ole:CoInitializeEx Attempt to change threading model of this apartment from multi-threaded to apartment threaded
fixme:xinput:XInputGetState (0 0x32fd58)
fixme:msvcp:_Locinfo__Locinfo_ctor_cat_cstr (0x1b4e8f4 63 English) semi-stub
fixme:msvcp:locale__Locimp__Makexloc (0x1a4e8f4 63 0x1102920 (nil)) semi-stub
fixme:msvcp:locale__Locimp__Makewloc (0x1a4e8f4 63 0x1102920 (nil)) semi-stub
fixme:msvcp:locale__Locimp__Makeushloc (0x1a4e8f4 63 0x1102920 (nil)) semi-stub
err:ole:CoInitializeEx Attempt to change threading model of this apartment from multi-threaded to apartment threaded
fixme:msvcp:_Locinfo__Locinfo_ctor_cat_cstr (0x1d4e8f4 63 English) semi-stub
fixme:msvcp:locale__Locimp__Makexloc (0x1e4e8f4 63 0x1102208 (nil)) semi-stub
fixme:msvcp:locale__Locimp__Makewloc (0x1e4e8f4 63 0x1102208 (nil)) semi-stub
fixme:msvcp:locale__Locimp__Makeushloc (0x1e4e8f4 63 0x1102208 (nil)) semi-stub
fixme:msvcp:_Locinfo__Locinfo_ctor_cat_cstr (0x214e8f4 63 English) semi-stub
fixme:msvcp:locale__Locimp__Makexloc (0x1d4e8f4 63 0x11021c8 (nil)) semi-stub
fixme:msvcp:locale__Locimp__Makewloc (0x1d4e8f4 63 0x11021c8 (nil)) semi-stub
fixme:msvcp:locale__Locimp__Makeushloc (0x1d4e8f4 63 0x11021c8 (nil)) semi-stub
fixme:msvcp:_Locinfo__Locinfo_ctor_cat_cstr (0x204e8f4 63 English) semi-stub
fixme:msvcp:_Locinfo__Locinfo_ctor_cat_cstr (0x1c4e8f4 63 English) semi-stub
fixme:msvcp:locale__Locimp__Makexloc (0x204e8f4 63 0x11022a0 (nil)) semi-stub
fixme:msvcp:locale__Locimp__Makewloc (0x204e8f4 63 0x11022a0 (nil)) semi-stub
fixme:msvcp:locale__Locimp__Makeushloc (0x204e8f4 63 0x11022a0 (nil)) semi-stub
err:pulse:pulse_contextcallback Context failed: Connection refused
fixme:msvcp:locale__Locimp__Makexloc (0x1b4e8f4 63 0x1102170 (nil)) semi-stub
fixme:msvcp:locale__Locimp__Makewloc (0x1b4e8f4 63 0x1102170 (nil)) semi-stub
fixme:msvcp:locale__Locimp__Makeushloc (0x1b4e8f4 63 0x1102170 (nil)) semi-stub
fixme:msvcp:locale__Locimp__Makexloc (0x1c4e8f4 63 0x11028d8 (nil)) semi-stub
fixme:msvcp:locale__Locimp__Makewloc (0x1c4e8f4 63 0x11028d8 (nil)) semi-stub
fixme:msvcp:locale__Locimp__Makeushloc (0x1c4e8f4 63 0x11028d8 (nil)) semi-stub
fixme:msvcp:locale__Locimp__Makexloc (0x214e8f4 63 0x11022e0 (nil)) semi-stub
fixme:msvcp:locale__Locimp__Makewloc (0x214e8f4 63 0x11022e0 (nil)) semi-stub
fixme:msvcp:locale__Locimp__Makeushloc (0x214e8f4 63 0x11022e0 (nil)) semi-stub
fixme:msvcp:_Locinfo__Locinfo_ctor_cat_cstr (0x1f4e8f4 63 English) semi-stub
fixme:msvcp:locale__Locimp__Makexloc (0x224e8f4 63 0x1102350 (nil)) semi-stub
fixme:msvcp:locale__Locimp__Makewloc (0x224e8f4 63 0x1102350 (nil)) semi-stub
fixme:msvcp:locale__Locimp__Makeushloc (0x224e8f4 63 0x1102350 (nil)) semi-stub
fixme:msvcp:locale__Locimp__Makexloc (0x1f4e8f4 63 0x1102260 (nil)) semi-stub
fixme:msvcp:locale__Locimp__Makewloc (0x1f4e8f4 63 0x1102260 (nil)) semi-stub
fixme:msvcp:locale__Locimp__Makeushloc (0x1f4e8f4 63 0x1102260 (nil)) semi-stub
err:ole:CoInitializeEx Attempt to change threading model of this apartment from multi-threaded to apartment threaded
err:ole:CoInitializeEx Attempt to change threading model of this apartment from multi-threaded to apartment threaded
err:ole:CoInitializeEx Attempt to change threading model of this apartment from multi-threaded to apartment threaded
err:ole:CoInitializeEx Attempt to change threading model of this apartment from multi-threaded to apartment threaded
err:ole:CoInitializeEx Attempt to change threading model of this apartment from multi-threaded to apartment threaded
err:ole:CoInitializeEx Attempt to change threading model of this apartment from multi-threaded to apartment threaded
err:ole:CoInitializeEx Attempt to change threading model of this apartment from multi-threaded to apartment threaded
err:ole:CoInitializeEx Attempt to change threading model of this apartment from multi-threaded to apartment threaded
err:ole:CoInitializeEx Attempt to change threading model of this apartment from multi-threaded to apartment threaded
err:ole:CoInitializeEx Attempt to change threading model of this apartment from multi-threaded to apartment threaded
err:ole:CoInitializeEx Attempt to change threading model of this apartment from multi-threaded to apartment threaded
err:ole:CoInitializeEx Attempt to change threading model of this apartment from multi-threaded to apartment threaded
err:ole:CoInitializeEx Attempt to change threading model of this apartment from multi-threaded to apartment threaded
err:ole:CoInitializeEx Attempt to change threading model of this apartment from multi-threaded to apartment threaded
err:ole:CoInitializeEx Attempt to change threading model of this apartment from multi-threaded to apartment threaded
err:ole:CoInitializeEx Attempt to change threading model of this apartment from multi-threaded to apartment threaded
fixme:win:EnumDisplayDevicesW ((null),0,0x32f038,0x00000000), stub!
fixme:d3d:debug_d3dformat Unrecognized 0x36314644 (as fourcc: DF16) WINED3DFORMAT!
fixme:d3d:wined3d_get_format Can't find format unrecognized (0x36314644) in the format lookup table
fixme:d3d:debug_d3dformat Unrecognized 0x34324644 (as fourcc: DF24) WINED3DFORMAT!
fixme:d3d:wined3d_get_format Can't find format unrecognized (0x34324644) in the format lookup table
fixme:msvcp:_Locinfo__Locinfo_ctor_cat_cstr (0x2d9e8f4 63 English) semi-stub
fixme:msvcp:locale__Locimp__Makexloc (0x2d9e8f4 63 0x1100768 (nil)) semi-stub
fixme:msvcp:locale__Locimp__Makewloc (0x2d9e8f4 63 0x1100768 (nil)) semi-stub
fixme:msvcp:locale__Locimp__Makeushloc (0x2d9e8f4 63 0x1100768 (nil)) semi-stub
fixme:msvcp:_Locinfo__Locinfo_ctor_cat_cstr (0x632e8f4 63 English) semi-stub
fixme:msvcp:locale__Locimp__Makexloc (0x632e8f4 63 0x11adfb8 (nil)) semi-stub
fixme:msvcp:locale__Locimp__Makewloc (0x632e8f4 63 0x11adfb8 (nil)) semi-stub
fixme:msvcp:locale__Locimp__Makeushloc (0x632e8f4 63 0x11adfb8 (nil)) semi-stub
fixme:d3d:resource_check_usage Unhandled usage flags 0x8.
fixme:d3d:resource_check_usage Unhandled usage flags 0x8.
fixme:d3d:resource_check_usage Unhandled usage flags 0x8.
fixme:d3d:resource_check_usage Unhandled usage flags 0x8.
fixme:d3d:resource_check_usage Unhandled usage flags 0x8.
fixme:msvcp:_Locinfo__Locinfo_ctor_cat_cstr (0xe46e8f4 63 English) semi-stub
fixme:msvcp:locale__Locimp__Makexloc (0xe46e8f4 63 0x1105628 (nil)) semi-stub
fixme:msvcp:locale__Locimp__Makewloc (0xe46e8f4 63 0x1105628 (nil)) semi-stub
fixme:msvcp:locale__Locimp__Makeushloc (0xe46e8f4 63 0x1105628 (nil)) semi-stub
fixme:d3d:resource_check_usage Unhandled usage flags 0x8.
fixme:d3d:resource_check_usage Unhandled usage flags 0x8.
err:d3d:resource_unload Resource 0x1b8da0 is being unloaded while mapped.
fixme:d3d:resource_check_usage Unhandled usage flags 0x8.
fixme:d3d:resource_check_usage Unhandled usage flags 0x8.
fixme:d3d:resource_check_usage Unhandled usage flags 0x8.
fixme:d3d:resource_check_usage Unhandled usage flags 0x8.
err:d3d:resource_unload Resource 0x1b8da0 is being unloaded while mapped.
fixme:d3d:resource_check_usage Unhandled usage flags 0x8.
fixme:d3d:resource_check_usage Unhandled usage flags 0x8.
fixme:d3d:resource_check_usage Unhandled usage flags 0x8.
fixme:d3d:resource_check_usage Unhandled usage flags 0x8.
fixme:d3d:resource_check_usage Unhandled usage flags 0x8.
fixme:d3d:resource_check_usage Unhandled usage flags 0x8.
fixme:d3d:resource_check_usage Unhandled usage flags 0x8.
fixme:d3d:resource_check_usage Unhandled usage flags 0x8.
fixme:msvcp:_Locinfo__Locinfo_ctor_cat_cstr (0xfece8f4 63 English) semi-stub
fixme:msvcp:locale__Locimp__Makexloc (0xfece8f4 63 0x11d6b38 (nil)) semi-stub
fixme:msvcp:locale__Locimp__Makewloc (0xfece8f4 63 0x11d6b38 (nil)) semi-stub
fixme:msvcp:locale__Locimp__Makeushloc (0xfece8f4 63 0x11d6b38 (nil)) semi-stub
fixme:msvcp:_Locinfo__Locinfo_ctor_cat_cstr (0xeebe8f4 63 English) semi-stub
fixme:msvcp:locale__Locimp__Makexloc (0xeebe8f4 63 0x11d5f00 (nil)) semi-stub
fixme:msvcp:locale__Locimp__Makewloc (0xeebe8f4 63 0x11d5f00 (nil)) semi-stub
fixme:msvcp:locale__Locimp__Makeushloc (0xeebe8f4 63 0x11d5f00 (nil)) semi-stub
fixme:heap:RtlCompactHeap (0x1100000, 0x0) stub
fixme:msvcp:_Locinfo__Locinfo_ctor_cat_cstr (0xffce8f4 63 English) semi-stub
fixme:msvcp:locale__Locimp__Makexloc (0xffce8f4 63 0x11f1fd0 (nil)) semi-stub
fixme:msvcp:locale__Locimp__Makewloc (0xffce8f4 63 0x11f1fd0 (nil)) semi-stub
fixme:msvcp:locale__Locimp__Makeushloc (0xffce8f4 63 0x11f1fd0 (nil)) semi-stub
fixme:msvcp:_Locinfo__Locinfo_ctor_cat_cstr (0x307e8f4 63 English) semi-stub
fixme:msvcp:locale__Locimp__Makexloc (0x307e8f4 63 0x1103148 (nil)) semi-stub
fixme:msvcp:locale__Locimp__Makewloc (0x307e8f4 63 0x1103148 (nil)) semi-stub
fixme:msvcp:locale__Locimp__Makeushloc (0x307e8f4 63 0x1103148 (nil)) semi-stub
fixme:msvcp:_Locinfo__Locinfo_ctor_cat_cstr (0xffce8f4 63 English) semi-stub
fixme:msvcp:locale__Locimp__Makexloc (0xffce8f4 63 0x11dcd18 (nil)) semi-stub
fixme:msvcp:locale__Locimp__Makewloc (0xffce8f4 63 0x11dcd18 (nil)) semi-stub
fixme:msvcp:locale__Locimp__Makeushloc (0xffce8f4 63 0x11dcd18 (nil)) semi-stub
fixme:d3d:wined3d_occlusion_query_ops_get_data 0x13f50330 Wrong thread, returning 1.
fixme:msvcp:_Locinfo__Locinfo_ctor_cat_cstr (0x2d9e8f4 63 English) semi-stub
fixme:msvcp:locale__Locimp__Makexloc (0x24ee8f4 63 0x11f0880 (nil)) semi-stub
fixme:msvcp:locale__Locimp__Makewloc (0x24ee8f4 63 0x11f0880 (nil)) semi-stub
fixme:msvcp:locale__Locimp__Makeushloc (0x24ee8f4 63 0x11f0880 (nil)) semi-stub
fixme:msvcp:locale__Locimp__Makexloc (0x2d9e8f4 63 0x11d6b38 (nil)) semi-stub
fixme:msvcp:locale__Locimp__Makewloc (0x2d9e8f4 63 0x11d6b38 (nil)) semi-stub
fixme:msvcp:locale__Locimp__Makeushloc (0x2d9e8f4 63 0x11d6b38 (nil)) semi-stub
I removed all but one of the "fixme:d3d:wined3d_occlusion_query_ops_get_data *x******** Wrong thread, returning 1." errors for readability because there were over 150,000 of them. My PC specs:

Intel i3 2100
4GB RAM
EVGA GT630 2GB - driver version 331.67
Xubuntu 14.04 LTS
Wine 1.7.19 (also tested on 1.6.2)

Does anyone know how to fix this?
SolarAnthem
Level 1
Level 1
Posts: 7
Joined: Sat May 31, 2014 8:32 am

Re: Problems with keyboard controls in Metro 2033 menus

Post by SolarAnthem »

I have now tried with dinput set to native but that makes the game crash on startup. Running without a virtual desktop doesn't appear to make any difference. Compiling wine 1.5.4 (a comment on the AppDB page says this problem didn't occur then) is proving difficult. Are any .deb packages available for that version of wine?
User avatar
dimesio
Moderator
Moderator
Posts: 13208
Joined: Tue Mar 25, 2008 10:30 pm

Re: Problems with keyboard controls in Metro 2033 menus

Post by dimesio »

SolarAnthem wrote:Compiling wine 1.5.4 (a comment on the AppDB page says this problem didn't occur then) is proving difficult. Are any .deb packages available for that version of wine?
http://wine.budgetdedicated.com/archive/binary/
SolarAnthem
Level 1
Level 1
Posts: 7
Joined: Sat May 31, 2014 8:32 am

Re: Problems with keyboard controls in Metro 2033 menus

Post by SolarAnthem »

I got wine 1.5.4 working but the game is crashing on startup with that version. I am not sure what else could be wrong. Has anyone got Metro's menu controls working before?
SolarAnthem
Level 1
Level 1
Posts: 7
Joined: Sat May 31, 2014 8:32 am

Re: Problems with keyboard controls in Metro 2033 menus

Post by SolarAnthem »

This problem persists in 1.7.20. I will test on 1.7.21 when that version makes it to the wine PPA.
SolarAnthem
Level 1
Level 1
Posts: 7
Joined: Sat May 31, 2014 8:32 am

Re: Problems with keyboard controls in Metro 2033 menus

Post by SolarAnthem »

No joy with 1.7.21. Can anyone help with this?
User avatar
dimesio
Moderator
Moderator
Posts: 13208
Joined: Tue Mar 25, 2008 10:30 pm

Re: Problems with keyboard controls in Metro 2033 menus

Post by dimesio »

The AppDB entry for Metro 2033 has a test for 1.7.21 that rates it silver and doesn't mention the problem you describe. It does mention some tweaks that you may not have tried yet. http://appdb.winehq.org/objectManager.p ... ngId=85108

The only other thing I can think of is: are you using any keyboard switching program (e.g., SCIM, IBus, Xneur)? Those are known to conflict with keyboard input in Wine.
SolarAnthem
Level 1
Level 1
Posts: 7
Joined: Sat May 31, 2014 8:32 am

Re: Problems with keyboard controls in Metro 2033 menus

Post by SolarAnthem »

I have tried all the relevant tweaks and setting on the AppDB page without success and don't use and programs like IBus. There are no AppDB entries for debian based distros so I will try the game in a VM running Arch to see if my OS could be causing problems.
Locked