Homepage Forums RetroPie Project Everything else related to the RetroPie Project how to get controller working for crispy-doom

Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #92602
    ridu83
    Participant

    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

    #92663
    forgeflow
    Participant

    Alright, 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. :)

    #92770
    forgeflow
    Participant

    Guh, 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.

    #92792
    ridu83
    Participant

    Thank you so much!
    I almost got insane about it :D

    #92793
    ridu83
    Participant

    Done. 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

    #92918
    thex
    Participant

    Nice find! this should be the default in RetroPie! I have been looking for better graphics.
    Thanks so much for the write up!

    #92919
    forgeflow
    Participant

    It’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.

Viewing 7 posts - 1 through 7 (of 7 total)
  • The forum ‘Everything else related to the RetroPie Project’ is closed to new topics and replies.