Chaosforge Forum
DoomRL => Discussion => Topic started by: Brewtal Legend on March 15, 2010, 00:43
-
I was going to post this in a topic I created a while ago about gamepad support, but it seems to have been locked.
I always thought doomrl would be perfect for playing with a gamepad. I tried joytokey, but was having issues because of the arrow keys and menus for some reason. Anyways, I tried the xpadder program to emulate keyboard commands on a gamepad and it works great.
I can play the game and fully control it with a single logitech precision gamepad. This works better for me since I play on a laptop and lack a 10-key number pad for precise movement. Now I can play with a controller and hook my laptop to my big screen so it's like playing DoomRL on a game console.
Just thought I'd share in case anyone else was interested in playing with a gamepad.
Here's a link to a youtube video that explains how to set up xpadder.
http://www.youtube.com/watch?v=hjHcN4syBoI&feature=related
Here's a link to the free version.
http://thepiratebay.org/torrent/4509104/Xpadder_%28v_5.3%29%5BTYNYFYD%5D
Xpadder 5.3 is the free version.
This is the only copy I could find. xpadder 5.3 is the last free version.
-
The alternative is to remap the movement to the Vi key set up of i,j,k,l,y,u,b,n. Personally I prefer that key set-up over the default one, for the same reason that I don't usually have a numeric keypad on standby for this.
If you want, I can put up my config file some where so you can try it.
-
sure. I'll give it a try. I'll most likely stick with playing with the gamepad though. It works pretty well and makes for slightly faster gameplay.
-
Replace your entire [Keybindings] section with this:
[Keybindings]
Quit = "Q";
WalkWest = "h";
WalkEast = "l";
WalkNorth = "k";
WalkSouth = "j";
WalkNE = "u";
WalkSE = "n";
WalkNW = "y";
WalkSW = "b";
Wait = ".";
Escape = "ESCAPE";
OK = "ENTER";
MoreInfo = "m";
Enter = ">";
Unload = "U";
Pickup = "g";
Drop = "d";
Inventory = "i";
Equipment = "e";
Open = "o";
Close = "c";
Look = "'";
Fire = "f";
Reload = "r";
ReloadSpec= "R";
Use = "a";
Help = "?";
Playerinfo= "@";
Save = "S";
Tactic = "TAB";
RunMode = ",";
SwapWeapon = "z";
Screenshot = "F10";
ScreenshotBB ="F9";
AltFire = "F";
Traits = "T";
// Commands for blind mode:
ExamineNPC = "x";
ExamineItem = "X";
QK_Chainsaw = "0";
QK_Knife = "1";
QK_Pistol = "2";
QK_Shotgun = "3";
QK_AssaultSG = "4";
QK_DoubleSG = "5";
QK_Chaingun = "6";
QK_Rocket = "7";
QK_Plasma = "8";
QK_BFG9000 = "9";
SoundToggle = "(";
MusicToggle = ")";
Messages = "P";
To use is to apply, to look is to give it a single quote ', to pick something up is the get it.
As for the directions, here's the cue sheet:
y k u
h . l
b j n
Hope this helps you in trying the Vi key set up. I've used it for a while now, and have played 200+ DoomRL runs with it feeling happy for myself. (=
-
Thanks. I'll give it a try tomorrow. Already stayed up too late tonight getting whupped at the Hellgate on angel of marksmenship because of running too far.
Btw, I'd love to know if anyone else tries using xpadder to play DoomRL with a gamepad and what they think. I love it. It's working great for me.
-
I play a lot of roguelikes on my laptop and use those keys exclusively. It's very convenient, and now it feels weird if I try to play on my desktop using the keypad. My keys have a few minor differences, though, to match what I'm used to from playing Angband:
Look = "x";
Fire = "t";
Use = "Z";
Playerinfo = "C";
AltFire = "T";
ExamineNPC = "v";
ExamineItem = "V";
-
I keep mine using as much of the default keys as possible, so that I don't get hopelessly lost playing the vanilla DoomRL. (=
-
If anyone wants to try and use xpadder and needs the controller overlays, let me know. I might have them. Just let me know what controller you are using. The link in the first post doesn't include the controller pics. They aren't completely necessary, but they help when mapping the keys to buttons.
-
On a somewhat related note, it'd be an interesting exercise since this can potentially lead to a better choice of key mapping for DoomRL should Kornel decide to port it to a portable gaming console near you some day. ;-)
-
I tried your key configuration thelaptop. It works alright, but a little awkward for me personally. Using a gamepad seems the best bet for me. It works really well and makes playing faster. I don't have to hunt for keys either.
I can control everything from the gamepad. The only time I have to use the keyboard is when I apply a mod and have to press a,w, or other to apply the mod.
Thanks for sharing though.
-
Vi keys take a little while to get used to. Once you do, however, it becomes rather intuitive.
Glad you took it out for a spin. (=
-
Isn't going diagonally really hard/awkward?
-
Isn't going diagonally really hard/awkward?
Au contraire. Look at the standard QWERTY keyboard. You'll find the layout looking something like this:
y u
h j k l
b n
That's how y,u,b,n gets mapped to NW,NE,SW,SE respectively. The trick is to not memorise the keys but to use the keyboard as the mnemonic device to remind you which key corresponds to which diagonal.
-
q, w, a and s are also nice diagonal mappings. They're not used for other commands, and lie fairly nicely amongst the other actions.
-
q, w, a and s are also nice diagonal mappings. They're not used for other commands, and lie fairly nicely amongst the other actions.
Too far for my movement control hand (right hand).
=P
-
Isn't going diagonally really hard/awkward?
ON a gamepad? Not at all.
-
Too far for my movement control hand (right hand).
=P
And you're not coordinated enough to sync up your left hand to use qwas? :P
-
And you're not coordinated enough to sync up your left hand to use qwas? :P
Damn... how'd you guess?
Actually, I'm used to using Vi/Vim for my daily writing (programs or anything), so using the right hand to handle single key movements are very natural. Might also be because I was exposed to the old Rogue a long time ago, which uses a similar key set up if I recall correctly.
-
Anyone else try playing with a gamepad? Or am I the only wierdo who who thinks it's awesome?