[SOLVED] Running Battlefield 1942 in Linux works just fine, except...

For info on the site, community and 'battlefieldy' things

Running Battlefield 1942 in Linux works just fine, except...

Postby Skull Kid » Tue May 29, 2018 5:43 pm

... for when I press the tilde key. The console won't show up. I don't know what could be wrong, as in Windows it worked just fine. In Linux (Ubuntu to be more exact) I am running Battlefield 1942 under Wine. Everything works flawlessly, except for the console.

Any ideas of what could be wrong here?

EDIT: Also, I forgot to mention, the K and L keys doesn't do anything either. Meaning the chat function is dead also.
Last edited by Skull Kid on Thu May 31, 2018 2:48 am, edited 1 time in total.
Regards,

Skull Kid
User avatar
Skull Kid
 
Posts: 111
Joined: Fri Aug 03, 2012 8:44 pm
Location: Sweden

Re: Running Battlefield 1942 in Linux works just fine, excep

Postby russ » Wed May 30, 2018 7:33 am

Works fine under wine 3.0 here. Are you running under wayland or something? Sounds like your keymap might be messed up. You might also want to check how you have these assigned:

ControlMap.addKeyToTriggerMapping c_GIToggleConsole IDFKeyboard IDKey_Grave c_CMNonRepetive
ControlMap.addKeyToTriggerMapping c_GIToggleConsole IDFKeyboard IDKey_Capital c_CMNonRepetive
russ
 
Posts: 42
Joined: Sun Oct 29, 2017 8:12 am

Re: Running Battlefield 1942 in Linux works just fine, excep

Postby Skull Kid » Wed May 30, 2018 5:58 pm

russ wrote:Works fine under wine 3.0 here. Are you running under wayland or something? Sounds like your keymap might be messed up. You might also want to check how you have these assigned:

ControlMap.addKeyToTriggerMapping c_GIToggleConsole IDFKeyboard IDKey_Grave c_CMNonRepetive
ControlMap.addKeyToTriggerMapping c_GIToggleConsole IDFKeyboard IDKey_Capital c_CMNonRepetive


Umm, I'll check that, and report back...

EDIT: Actually, I only got one console entry in my common.con file... and that is Grave. Not Capital.

EDIT2: Also, I'm using a Swedish keyboard, and of course by that, a Swedish keyboard layout. Running Ubuntu 18.04 LTS.
Regards,

Skull Kid
User avatar
Skull Kid
 
Posts: 111
Joined: Fri Aug 03, 2012 8:44 pm
Location: Sweden

Re: Running Battlefield 1942 in Linux works just fine, excep

Postby Skull Kid » Thu May 31, 2018 1:07 am

I actually checked again... and yes, I do have both Captial and Grave in the default common.con file inside of the Default folder. Still, to no avail. The console won't show up at all.
Regards,

Skull Kid
User avatar
Skull Kid
 
Posts: 111
Joined: Fri Aug 03, 2012 8:44 pm
Location: Sweden

SOLVED!!!

Postby Skull Kid » Thu May 31, 2018 2:23 am

Hooray! All I had to do was to add the English (USA) keyboard layout, and voila! It works beautifully now! :D

EDIT: To anyone from another country than the United States, you will need to have the United States keyboard layout on top, followed by your own keyboard layout below it, like so:
Image
Regards,

Skull Kid
User avatar
Skull Kid
 
Posts: 111
Joined: Fri Aug 03, 2012 8:44 pm
Location: Sweden


Return to General discussion & notices

Who is online

Users browsing this forum: No registered users and 8 guests

cron