Page 1 of 1

Please help me with config keys

Posted: Tue Aug 31, 2010 11:27 pm
by ChioARC
Hello.
I read another post here about how to change keys in config.txt but after a lots of trys i cant manage to change keys.
Anyone can help me please?
I want to map direction keys to
W - forward
S - back
A- turn left
D- turn right
Q- move left
E- move right

Thanx a lot in advance!!!

Re: Please help me with config keys

Posted: Wed Sep 01, 2010 12:19 am
by Gambit37
RTC or CSBWin?

Re: Please help me with config keys

Posted: Wed Sep 01, 2010 4:28 am
by ChioARC
CSBWin :)

Re: Please help me with config keys

Posted: Thu Sep 02, 2010 1:42 pm
by beowuuf
If you minimise the size of the screen (one of the menu options on CSBwin lets you run at x 1 size) you should see the readout behind of each of the actions. Press the keys you want, and you should get the scancode of each key coming up in the background. Use these scancodes in the keys section to redo the keys to how you want.

Can't look at it just now (at work) will try to check it out later

Re: Please help me with config keys

Posted: Tue Sep 07, 2010 10:19 pm
by ChioARC
i do that but i cant understand what to copy
by example when i press 'w' for my forward movement i got
0077 key -> Ignored
00000057 mscan -> Translated to 0104005c L
00000011 scan -> Ignored

in config i have
key 1 00006b 480000 ; 'k' = move forward
key 1 00004b 480000 ; 'K' = move forward
scan 1 000048 480000 ; Keypad '8' = move forward
key 1 000108 480000 ; SDL Keypad '8' = move forward

also i have
mscan 1 0057 104 5c L ; 'W' = character 2 weapon / first attack

i dont know what value i need to change to my w key works. I suppose to change
key 1 00006b 480000 ; 'k' = move forward with some value to change k for w, so i need to change 1 00006b 480000 for 0104005c L? or 1 000001 01005c L or what?
i see that after code movements keys there is a value to use W key for character 2 weapon / first attack
but the code is mscan 1 0057 104 5c L ; in movement keys there are not a mscan, just a scan, that is the reason to post here, cause i cant understand what and how to change,
and try to fix my keys to play, i play in a notebook so cursor or pad keys are hard to use.
I try to play with RTC dungeon master, but i lost a lot of stuff from my inventory when i reload a game, so im trying CSB

Thanx a lot in advance

Re: Please help me with config keys

Posted: Tue Sep 07, 2010 11:33 pm
by Gambit37
Sorry, I can't help with this as I don't use CSBWin these days and your descriptions of the config file sounds terribly complicated. Only a programmer could have come up with that ;-)

Re: Please help me with config keys

Posted: Wed Sep 08, 2010 1:58 am
by Adamo
hey ChioARC!
Check out these threads:
http://www.dungeon-master.com/forum/vie ... 46&t=23961
http://www.dungeon-master.com/forum/vie ... 46&t=26270
Notebook.. well.. I use a num-keyboard via USB port, it doesn`t cost much, and is perfect for playing most games.

Re: Please help me with config keys

Posted: Wed Sep 08, 2010 5:49 pm
by Paul Stevens
Soory I have neglected you.
I will post a complete config.txt for
you later today. I will even test it
before posting......no extra charge.

Re: Please help me with config keys

Posted: Thu Jan 06, 2011 7:17 am
by bctb107
The file config.txt is the main configuration file. It is where you configure most of Kore's behavior.

Entries in this file follows two distict formats, the key-value and the block format. The key-value format is outright simple. Each line contains a configuration key as the first word, followed by the value:

Code: Select all



    Syntax:

        <config key> <value>


The block format, on the other hand, follows the similar concept, but additional attributes enclosed in curly brackets "{ }" extend the block config option's meaning:

Code: Select all



    Syntax:

        <config key> <value> {
        	<attribute1> <value1>
        	<attribute2> <value2>
        }