Homepage › Forums › RetroPie Project › Everything else related to the RetroPie Project › how to get controller working for crispy-doom
- This topic has 6 replies, 3 voices, and was last updated 9 years, 8 months ago by forgeflow.
-
AuthorPosts
-
03/25/2015 at 22:32 #92602ridu83Participant
hello, just set up my pi with retropie and everything is working so far.
just got problems with doom, heretic etc.
i managed to get these games working via ports and my old original CD dos versions of these games.Retropie comes with a shareware of doom wich is playable with controller while the crispy-doom is not. How can I setup the controller so that I can map the keys?
Sorry for my bad English, I’m from Germany.Thank you guys
03/26/2015 at 06:12 #92663forgeflowParticipantAlright, I’m just figuring this out myself. First, make sure you’re running cripsy doom 2.3 Cripsy-Doom_2.3. Install like so:
sudo apt-get install -y libsdl1.2debian libsdl-image1.2 libsdl-mixer1.2 libsdl-net1.2 timidity wget -P /tmp/ http://misapuntesde.com/res/crispy-doom_2.3_armhf.deb sudo dpkg -i /tmp/crispy-doom_2.3_armhf.deb
Then copy your wad files somewhere handy. I make a directory called ‘wads’ in /home/pi/ and put the wads in there. Then run cripsy like so:
crispy-doom -iwad ~/wads/doom.wad
Let it load up – it’ll create the config files we need to change. Then exit the game. Next, you’ll need to turn on joystick support:
nano ~/.crispy-doom/default.cfg
Look for a line that reads “use_joystick 0” and change the 0 to 1. Save
Next, you’ll need to tell crispy-doom about your joystick:
nano ~/.crispy-doom/crispy-doom.cfg
Look for a line that says ‘joystick-index -1’. In my case, my xbox 360 controller is joystick 0, so I changed the -1 to a 0. Then look at the lines below. For my controller, I wanted forward-back and strafe on the left joystick, and turn left/right on the right joystick, so I set the following values:joystick_index 0 joystick_x_axis 2 joystick_x_invert 0 joystick_y_axis 1 joystick_y_invert 0 joystick_strafe_axis 0 joystick_strafe_invert 0
I’m still fussing around with the buttons – the default seems to be to have the bottom (A) fire, and the top (Y) button open the doors. Still working on the details there, but I hope this is enough to get you started.
EDIT: I got the buttons the way I wanted them but now I’m looking for a way to quit out of the game with the joystick. I can hit the menu button, select quit from the menu, but the game comes up and wants me to type Y to exit… too bad there’s no Y key on the joystick. Hoping someone has a bright idea. :)
03/27/2015 at 02:11 #92770forgeflowParticipantGuh, I’m a dunce.
OK, scratch everything I put up there.. Here’s the real instructions. Execute:
crispy-doom-setup
You’ll get a nice little DOS looking menu where you can activate joystick controls, select which axis is used for what, what buttons you want to use for what actions. If you want to be able to quit the game with the joystick, go to configure Keyboard / Other Keys… and under ‘Confirm Action’ change it from the default of ‘Y’ to ‘ENTER’. Then you’ll be able to quit the game at the prompt by using whichever button you’ve set as your fire button.03/27/2015 at 11:08 #92792ridu83ParticipantThank you so much!
I almost got insane about it :D03/27/2015 at 11:29 #92793ridu83ParticipantDone. it seems that Folders with a . infront wasnt able to be browsen when you type dir
Now it is working perfectly. thank you again.Thanks
03/28/2015 at 03:53 #92918thexParticipantNice find! this should be the default in RetroPie! I have been looking for better graphics.
Thanks so much for the write up!03/28/2015 at 04:00 #92919forgeflowParticipantIt’ll also play Heretic quite nicely, but the joystick control won’t work on the game’s menu – you’ll need a keyboard for that. I tried Hexen on it, but unless you bang through the menu really fast and accept all the defaults (warrior, medium difficulty, etc) the thing will crash out with some kind of error to do with network games. But still, that’s 4 doom games (doom, doom II, plutonia and evilution) and heretic from this one install. Pretty nice. I have mine running at 1280 x 800 really well. I think it will also play Strife but that game is so dire I didn’t even try it out.
-
AuthorPosts
- The forum ‘Everything else related to the RetroPie Project’ is closed to new topics and replies.