Jump to content
The Dark Mod Forums

"ESCAPE" key not working with 2.08 [partially SOLVED with a Workaround]


Ladro
 Share

Recommended Posts

With the newer  (and updated) version of TDM (2.07) the esc key, it's not working anymore. It seems that the key it's not recognized.

I already tried on renaming my Darkmod.cfg, but the newer *.cfg created on start has the same problem.

The first  lines are:

unbindall
bind "0x00" "_impulse48"
bind "ESCAPE" "togglemenu"
bind "SPACE" "_moveup"

...

 

Any idea/suggestion/faq to solve this?

[I'm with Linux, Kubuntu 18.04, TDM has always worked lovely on Linux for me]

 

[UPDATE]

Maybe it's this bug on bugtracker?

https://bugs.thedarkmod.com/view.php?id=4963

But I have problems only with the ESCAPE key.

Any suggestion will be appreciated ?

Edited by Ladro
Found a possible bug on Bugtracker already present
Link to comment
Share on other sites

a small work around is to remap the key in TDM.
Change the keybind-value for "togglemenu" to another key, at a config-line in the darkmod.cfg :
bind "ESCAPE" "togglemenu"

for example:
bind "t" "togglemenu"
(the "t"-key because that isnt used in the config)

Edited by freyk

Info: My portfolio and darkmod graphical installer
Amnesty for Bikerdude!

Link to comment
Share on other sites

1 hour ago, freyk said:

a small work around is to remap the key in TDM.
Change the keybind-value for "togglemenu" to another key, at a config-line in the darkmod.cfg :
bind "ESCAPE" "togglemenu"

for example:
bind "t" "togglemenu"
(the "t"-key because that isnt used in the config)

Thanks, for your suggestion ?

2 hours ago, chakkman said:

Well... this seems to be a Linux related issue, right? Bit misleading topic title.

Maybe, I don't use Windows, I don't know.

(anyway I changed a little bit the topic)

5 hours ago, freyk said:

and through the bugtracker post, you will find a link to another forumtopic. (but that is for the arrow keys) 

 

 

Ok, maybe it's a problem with Linux.

Edited by Ladro
Link to comment
Share on other sites

  • 9 months later...

Old topic, but same issue (after updating @2.08).

I tried inserting:

bind "ESCAPE" "togglemenu"

in the darkmod.cfg but nothing. Tried too on the console of the game when playing, also with other keys rather then "escape", but it's a fail. I cannot resume the "main menu" when I'm in the game, I can exit only via console but typing "exit". The first main menu appears normally, it's the bind with the escape key that it's broken.

Any suggestion to make working this bind for togglemenu in the game?

Thanks a lot in advance 🙂

Link to comment
Share on other sites

17 hours ago, stgatilov said:

Inviting @cabalistic, he changed key mapping on Linux for 2.08 😀

Well, more like "applied a band-aid". ESCAPE key works for me, and unfortunately I don't have any immediate idea to offer if it doesn't for you. You could try to change your keyboard layout to an English variety, if it isn't, maybe that helps?

The whole input handling on Linux needs a major rewrite. It is completely outdated and doesn't work well on modern X systems, I'm afraid. I don't know if and when I'll have time to do that, as it's not a minor task, so if anyone wants to tackle this, please do. Might even be worth considering using something like GLFW or SDL to do window management / input handling to free us from having to deal with X and Wayland on our own...

  • Like 1
Link to comment
Share on other sites

13 hours ago, cabalistic said:

Well, more like "applied a band-aid". ESCAPE key works for me, and unfortunately I don't have any immediate idea to offer if it doesn't for you. You could try to change your keyboard layout to an English variety, if it isn't, maybe that helps?

The whole input handling on Linux needs a major rewrite. It is completely outdated and doesn't work well on modern X systems, I'm afraid. I don't know if and when I'll have time to do that, as it's not a minor task, so if anyone wants to tackle this, please do. Might even be worth considering using something like GLFW or SDL to do window management / input handling to free us from having to deal with X and Wayland on our own...

Ok, thanks, I understand.

Just for now to play: it's possibile to recall the menu from some command by \ console  in game?

It's there a command, or I have to bind some key as mandatory to launch the main menu in the game?

Thank you in advance!

 

Edited by Ladro
Link to comment
Share on other sites

1 hour ago, Ladro said:

Just for now to play: it's possibile to recall the menu from some command by \ console  in game?
It's there a command, or I have to bind some key as mandatory to launch the main menu in the game?

I searched over the code, and it seems that loading nonexistent save opens the menu without dropping current game.
So you can e.g. execute loadGame nothing to get to menu. Of course, you can bind it to a key.
The minor nuisance is that you will have to click "ok" every time you do so.

  • Like 1
Link to comment
Share on other sites

7 hours ago, stgatilov said:

I searched over the code, and it seems that loading nonexistent save opens the menu without dropping current game.
So you can e.g. execute loadGame nothing to get to menu. Of course, you can bind it to a key.
The minor nuisance is that you will have to click "ok" every time you do so.

It works perfectly! 🙂

Really thank you, you saved my day: it's a perfect workaround to have the main menu in game!

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

  • Recent Status Updates

    • irg

      Watching warmly for The Black Parade, The Broken Goddess and Blood Death Wish Ep.4. Sometimes the best things in life actually are free.
      · 0 replies
    • STiFU

      We are taking our son on his very first holiday trip to see the sea for the first time. 🙂 Will be back in a week.
      · 2 replies
    • Gilkar

      When I was a young man my father was so ignorant I could hardly stand to have him around. As I grew older I was amazed at how much the old man had learned in such a short time.
      · 2 replies
    • jaxa

      RTX 3090 Super, RTX 3070 Ti 16 GB, RTX 2060 12 GB
      https://wccftech.com/nvidia-launching-rtx-3090-super-rtx-3070-ti-16gb-and-rtx-2060-12gb-by-january-2022/
      · 0 replies
    • duzenko

      CPU benchmark time - compiling DarkRadiant (2nd run)
      i5 8600K 6C/6T@4.4GHz DDR4 2x2133MHz 9MB cache
      Parallel builds: 1. 3:57 Parallel builds: 6 (default). 2:28 r5 1600AF 6C/12T@3.3GHz DDR4 1x2666MHz 16 MB cache, temp folder on HDD
      Parallel builds: 1. 5:05 Parallel builds: 4. 2:47 Parallel builds: 6. 2:55 Parallel builds: 12 (default). 2:57
      · 6 replies
×
×
  • Create New...