Bay 12 Games Forum

Please login or register.

Login with username, password and session length
Advanced search  

Author Topic: Technical-ish problem  (Read 549 times)

Gobmech

  • Escaped Lunatic
    • View Profile
Technical-ish problem
« on: May 16, 2008, 04:24:00 pm »

A few minutes ago, while trying to remap the "Leave Screen" key to something for comfortable, I accidently put it as "k", which is also the key for remapping keys! This is a serious problem, as I can no longer remap keys, and in every menu in the game itself which has "k" as a command, it's impossible to leave that screen, because it prioritizes the command.

Does any know if/how I should edit one of the files with the game?

Logged

Surma

  • Bay Watcher
    • View Profile
Re: Technical-ish problem
« Reply #1 on: May 16, 2008, 04:35:00 pm »

Here is what you do, open up the DwarfFortress
code:
\data\init\interface.txt

file which governs all of the hotkeys in the game.
Search for
code:
[LEAVESCREEN:

and replace it with which ever of the following you need.

code:
[LEAVESCREEN:SPACE]
[LEAVESCREEN_TEXT:F9]
[LEAVESCREEN_ALL:SHIFT+SPACE]

edit: and make sure you shutdown the game first! :P

[ May 16, 2008: Message edited by: Surma ]

Logged

Gobmech

  • Escaped Lunatic
    • View Profile
Re: Technical-ish problem
« Reply #2 on: May 16, 2008, 04:47:00 pm »

Thanks a lot, Surma!
Logged