protonscr

GoldSrc Developer Console non-functional with US international keymapping

steamclosed reviewedMOVED: Half-Life 1MOVED: Counter‐Strike
ValveSoftware/steam-for-linux#935 · opened 2013-01-26 by swordfischer · updated 2013-01-29 · 5 comments · github
Sswordfischer 2013-01-26 github

Hi.

Description
While launching a GoldSrc game, with an US international keymap (en.US-intl) I am unable to use the console (with -console in launch parameters). If I use en.US (no -intl) keymap before launch, I can successfully open and close the developer console as intended.

I tried this with Serious Sam 3 (also uses SDL) and it forces en.US (no -intl), so I don't have to change the keymap before launch. While this is not ideal, I do not have to restart the game because I forget to change the keymap before launching.

Steps to reproduce

  • setxkbmap us -variant intl
  • Launch a GoldSrc game (Counter-Strike, Half-Life)
  • Press `
  • Nothing happens
  • Close GoldSrc game (Counter-Strike, Half-Life)
  • setxkbmap us
  • Launch a GoldSrc game (Counter-Strike, Half-Life)
  • Press `
  • Developer Console closes
  • Press `
  • Developer Console opens

Debug

The key you just pressed is not recognized by SDL. To help get this fixed, please report this to the SDL mailing list <[email protected]> X11 KeyCode 0 (-8), X11 KeySym 0x0 ((null)).

System Information

Processor Information:
    Vendor:  GenuineIntel
    Speed: 2336 Mhz
    4 logical processors
    4 physical processors
    HyperThreading:  Unsupported
    FCMOV:  Supported
    SSE2:  Supported
    SSE3:  Supported
    SSSE3:  Supported
    SSE4a:  Unsupported
    SSE41:  Supported
    SSE42:  Unsupported

Network Information:
    Network Speed:  

Operating System Version:
    "Gentoo Base System release 2.1" (64 bit)
    Kernel Name:  Linux
    Kernel Version:  3.6.11-gentoo
    X Server vendor:  The X.Org Foundation
    X Server release:  11301000

Video Card:
    Driver:  NVIDIA Corporation GeForce GTX 285/PCIe/SSE2

    Driver Version:  3.3.0 NVIDIA 313.18
    Desktop Color Depth: 24 bits per pixel
    Monitor Refresh Rate: 60 Hz
    VendorID:  0x10de
    DeviceID:  0x5e3
    Number of Monitors:  2
    Number of Logical Video Cards:  1
    Primary Display Resolution:  1920 x 1080
    Desktop Resolution: 3840 x 1080
    Primary Display Size: 23.62" x 13.39"  (27.13" diag)
                                            60.0cm x 34.0cm  (68.9cm diag)
    Primary Bus: PCI Express 16x
    Primary VRAM: 1024 MB
    Supported MSAA Modes:  2x 4x 8x 16x 

Sound card:
    Audio device: VIA VT1708S

Memory:
    RAM:  7988 Mb

Miscellaneous:
    UI Language:  English
    LANG:  en_US.UTF-8
    Microphone:  Not set
    Total Hard Disk Space Available:  174626 Mb
    Largest Free Hard Disk Block:  75527 Mb

Installed software:

Recent Failure Reports:
    Sat Jan 26 08:54:42 2013 GMT: file ''/tmp/dumps/assert_20130126095438_1.dmp'', upload yes: ''CrashID=bp-f4d0f42a-39d0-4b96-9817-2c4d52130126''
    Sat Jan 26 14:35:35 2013 GMT: file ''/tmp/dumps/assert_20130126153531_2.dmp'', upload yes: ''CrashID=bp-2c2d81dc-ecdb-4cd3-ad33-3b99a2130126'' 
?ghost 2013-01-28 github

It's not functional with Finnish keyboard layout, either. I worked around this by binding "toggleconsole" to another key.

Sswordfischer 2013-01-28 github

@alfred-valve: Thank you very much.
Though, international layout still won't work - but I can at least change the layout in-game. Is this as good as it gets?
Just wondering if it is intentional.
Keep up the good work :+1:

Aalfred-valve maintainer 2013-01-28 github

I don't have plans to allow rebinding of the console toggle key right now, but you never know :)

Sswordfischer 2013-01-28 github

OK, nice to know - one can only hope.
You can have this:
ss_2013-01-29_00-43-09-94

YYulike 2013-01-29 github

@swordfischer I have all of those running on Linux except Blue Shift (Missing dll, Linux doesn't us dlls) and Ricochet (Just loads Half-Life with Ricochet music.

Here's a screenshot of Day of Defeat;
http://imgur.com/a/prf8c

Nothing extracted yet.