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

    • peter_spy

      Perhaps an unpopular opinion: TDM team might benefit from someone with actual QA experience; someone with naturally and professionally developed curiosity, who is interested in how and why things work, how they break At least to me it's kind of mind-boggling how untested some rather important features are (first the absence alert feature for items, now the rope +body carry behavior).
      · 4 replies
    • nbohr1more

      The Dark Mod is hosting an Ask Me Anything thread on the PC Gaming reddit forum:  https://www.reddit.com/r/pcgaming/comments/10nfcwj/hello_we_are_the_international_development_team/
      Feel free to join the discussion there
      · 2 replies
    • stgatilov

      Bumped into an interesting piece of wisdom called Hyrum's Law:
      With a sufficient number of users of an API, it does not matter what you promise in the contract: all observable behaviors of your system will be depended on by somebody.
      · 5 replies
    • The Black Arrow

      I love playing The Dark Mod when it's cold in my place. Bonus points when it's a bit (or even very) dark and it's raining, too.
      · 2 replies
    • The Black Arrow

      I've been having stutters in Vulkan, apparently it's Nvidia Drivers' fault, so I reverted to 512 according to this: https://www.nvidia.com/en-us/geforce/forums/geforce-graphics-cards/5/505679/regular-microstutter-in-vulkan-applications-after-/?topicPage=40

      And no, that did NOT fix it. What's going on? My GPU is an RTX 2070, by the way.
      · 4 replies
×
×
  • Create New...