#1 2020-08-19 13:42:20

Notapix
Player
France
Reputation: +17
Registered: 2017-09-13
Posts: 27
Linux Firefox 77.0

[solved] Accessing console

Hello everyone,

I can’t manage to access console. It’s probably due to my configuration: I’m running BF42 on Linux using Wine, plus I’m using a French AZERTY keyboard.
I understand that in theory, the key to access console is " ` ", under the "Esc" key. On an AZERTY it’s " ² ", but it doesn’t work. " ` " is AltGr+7, which doesn’t work either.

I tried to edit Mods/Bf1942/Settings/Profiles/Notapix/Controls/Common.con where there is a "c_GIToggleConsole" line with value "IDKey_Grave", but every time I start the game, that settings defaults back to "IDKey_Grave".

Any idea on how to fix that?

Last edited by Notapix (2020-08-19 14:24:20)

Offline

    Positive reputation 0   Negative reputation 0

#2 2020-08-19 14:03:11

nämeless
Semi-corrupt admin
Russia
Reputation: +2598
Location: Nizhny Novgorod, Russia
Registered: 2012-09-30
Posts: 9,767
Windows 8 Firefox 79.0

Re: [solved] Accessing console

Hello. I don't know much about AZERTY layout.

This is what I have in my config:

ControlMap.addKeyToTriggerMapping c_GIToggleConsole IDFKeyboard IDKey_Grave c_CMNonRepetive

If it doesn't work, you can try to bind another key to open the game console. For example, you don't need the Delete key in game, so you can try:

ControlMap.addKeyToTriggerMapping c_GIToggleConsole IDFKeyboard IDKey_Delete c_CMNonRepetive

If you always have your config overwritten, try to create the same folder hierarchy in the %userprofile%\documents.

In Windows, there should be something like:

%userprofile%\Documents\Battlefield 1942\Mods\Bf1942\Settings\Profiles\Custom\Controls\Common.con

Offline

    Positive reputation 0   Negative reputation 0

#3 2020-08-19 14:18:16

Notapix
Player
France
Reputation: +17
Registered: 2017-09-13
Posts: 27
Linux Firefox 77.0

Re: [solved] Accessing console

Hi nämeless, and thanks.

I tried that, but it doesn’t work, as soon as I started the game the line defaulted back to

ControlMap.addKeyToTriggerMapping c_GIToggleConsole IDFKeyboard IDKey_Grave c_CMNonRepetive

Like if the game edited the common.con file to make sure the console key was IDKey_Grave and not any other key sad

I’ll have a look at the userprofile folder.

Last edited by Notapix (2020-08-19 14:19:05)

Offline

    Positive reputation 0   Negative reputation 0

#4 2020-08-19 14:24:05

Notapix
Player
France
Reputation: +17
Registered: 2017-09-13
Posts: 27
Linux Firefox 77.0

Re: [solved] Accessing console

Ah great, with the userprofile file it works!

Thanks a lot smile

Last edited by Notapix (2020-08-19 14:24:46)

Offline

    Positive reputation 0   Negative reputation 0

#5 2020-08-19 14:27:48

nämeless
Semi-corrupt admin
Russia
Reputation: +2598
Location: Nizhny Novgorod, Russia
Registered: 2012-09-30
Posts: 9,767
Windows 8 Firefox 79.0

Re: [solved] Accessing console

Il n'y a pas de quoi. smile

Offline

    Positive reputation 1   Negative reputation 0

Board footer