Crash to cmd line when starting an emulator with USB controller plugged in
  • Hello, I am running PiMame 0.8.0 beta 1 and I have a retrolink NES controller replica connected to my RPi via USB

    The gamepad works fine in the main menu and everything seems ok when testing with JSTEST but when I try to launch the NES, SNES or Genesis emulator it doesnt bring up the rom selection screen, it simply exits to the terminal with some error messages that I don't know how to fix, tried googling it and failed miserably.

    Here is a picture of what is happening:

    https://dl.dropboxusercontent.com/u/69468886/2014-03-12 15.18.41.jpg

    Of course if I try the same thing with only a keyboard plugged in, I get the rom selection screen and I am able to start the emulators properly.

    This problem is repeatable, I have tried re imaging the sd card and everytime the controller is plugged in it doesnt work, everytime I disconnect the gamepad, everything works again.


    Any ideas?

  • Pretty please?
  • I dont have the USB NES Controller but I do have the USB SNES controller. I will try it out with that tonight.
  • I thought this issue might coincide with my issue as well for emulators crashing to command line, as i also had a ibuffalo SNES USB controller plugged in, but alas it seems they are not related. Even unplugged they crash.
  • I also have access to a snes controller from retrolink, I will try it when I get a chance.
  • I finally got around to testing with my Retrolink SNES controller, same problem.

    The minute I unplug it and use the keyboard instead, everything works.

    did you have time to try your's SSilver2K2 ?
  • I ran some more tests and figured out a few things.

    I dont think the problems are with the controller / compatibility


    This is what I tested with the NES emulator:


    On the snes controller:

    The D pad and the A and X buttons are the only buttons that do something.

    D pad works fine

    Pressing A quits to terminal

    Pressing X actually starts the rom selection screen

    Trying to start a rom with either button crashes to terminal



    On the nes controller:

    The D pad and the A buttons are the only buttons that do something.

    D pad works fine

    Pressing A quits to terminal

    I am able to go into the rom selection screen by using the keyboard

    Trying to start a rom by pressing enter crashes to terminal (tried this on snes controller, same thing happens)



    BUT then I remembered reading about some issues witht he NES emulator and I had never seen pimame be able to launch a single nes game for me since the begining. SO i decided to try the SNES emulator.

    When I do that, the emulation does start properly if I use the X button on the snes controller or the ENTER key on the keyboard.

    Problem is we NEED an X button on the controller or it doesnt work.

    Whatever happens, pressing A allways quit to terminal.

    So it seems there are two issues at work here:

    1- I need to fix my nes emulator wich doesnt work at all

    2- The pimame menu needs to handle the different buttons better, going to terminal is not something that we should be able to trigger from a controller or even by pressing escape for that matter. This option should be more hidden or at least out of accidental reach. Maybe in a configuration submenu?

    So yea... thats it.


    Oh and I got another suggestion for the Pimame author, I suggest adding the "unclutter" package to your image. It hides the mouse cursor when its not being moved which makes things pretty.
  • same problem here :-(

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!