Bay 12 Games Forum

Please login or register.

Login with username, password and session length
Advanced search  

Author Topic: interface.txt in v0.21.102.19a  (Read 478 times)

flap

  • Bay Watcher
    • View Profile
interface.txt in v0.21.102.19a
« on: August 25, 2006, 02:28:00 am »

yeah, yeah ! The Crazy keybinder is back with an other bug !

Told in two word : When I press "esc" it switchs from fullscreen to window mode. No way to go the regular "esc" screen , and thus to leave the programm correctly.

Now, I'll explain what I have understood : Well, This might be more considered as missuse from myself than a bug. Just to let you know :
I have installed v0.21.102.19a in a new folder. Except I copied into it the "save" and "init" directory. Then I thought "Oh damned, there are some new options in the init.txt !" I added them to my original backup. Right.

Then I started the game. Cool, everything is good. I go on the "vpz" screen to see the new nickname feature. I am proposed to press "esc" to edit it. Hmm. Right, I press "esc", the window mode goes to fullscreen.Argh. So I told to myself : "Damned, there are new options in the interface.txt file ! I used my old one so I need to leave and get the new." To leave, I press "esc". But of course instead of displaying the option screen, it goes back to the window mode. Argh, I can't escape in a clean way !

Funny thing : If I press the close button at the top right of the window, it swiches to fullscreen.

So. Ok, that was a mistake by me. The real problem in what I describe is that there was a configuration from which you can't escape correctly : the "esc" was assigned to different fonction, and the option did not have the priority. So, this screen should either have the priority, or, a check should be done to make sure this specific key is not used twice...

[ August 25, 2006: Message edited by: flap ]

Logged

Morgan

  • Escaped Lunatic
    • View Profile
Re: interface.txt in v0.21.102.19a
« Reply #1 on: August 26, 2006, 02:12:00 pm »

I just installed the latest patch and the same thing happened to me.  There appears to be no way to fix the problem, since I can't access the key bindings menu.
Logged

Morgan

  • Escaped Lunatic
    • View Profile
Re: interface.txt in v0.21.102.19a
« Reply #2 on: August 26, 2006, 02:20:00 pm »

I just tried loading my old save, changing the bindings there to use F2 instead of Escape for menus, and copying it over to the new release directory.  It didn't work.  The F2 binding was not maintained.

Where are key bindings saved?

Logged

Morgan

  • Escaped Lunatic
    • View Profile
Re: interface.txt in v0.21.102.19a
« Reply #3 on: August 26, 2006, 02:52:00 pm »

Ok, I figured out how to fix it.  Key bindings are not stored in the interface directory, but in the init directory.  In that directory is a file interface.txt.  Open in a text editor.  Look for the line

[OPTIONS:ESCAPE]

I changed that to

[OPTIONS:F1]

Now I can access menus with F1 instead of the escape key and the game is playable.

Logged

Toady One

  • The Great
    • View Profile
    • http://www.bay12games.com
Re: interface.txt in v0.21.102.19a
« Reply #4 on: August 26, 2006, 03:40:00 pm »

In general, it was doing something bizarre with the keys it couldn't find, and linking them to the default options key.  This should be a little better in the next version.
Logged
The Toad, a Natural Resource:  Preserve yours today!

flap

  • Bay Watcher
    • View Profile
Re: interface.txt in v0.21.102.19a
« Reply #5 on: August 26, 2006, 06:21:00 pm »

Well, for me the solution was quite straightforward : Instead of using my old, deprecated initerface.txt, you used the new one, and reassigned the few keys I had changed.

Yep. Thanks Toady.

Logged