Open termenvox opened 9 years ago
I have the same issue. Sure could do with some help on this one. Is it a bug or config issue?
Don't see how it could be a config problem. I'm using the exact same config file for other libretro cores, and the rest work fine. I've also tried getting rid of controller configs entirely and letting it autodetect, but the results are the same. Retroarch sees both controllers (OSD lists both when I start a game), but only player 1 works.
Should have mentioned this before, but I'm using this on a Raspberry Pi running Raspbian Wheezy. I installed retroarch and a few libretro cores using the RetroPie script, selecting build from source.
Yes, same isue here. Player 2 controls dont work. I remaped the keyboardo for both players and only player 1 works.
Player 2 controls should finally be fixed since my pull request has been merged, so this issue can be closed.
I also am having a problem with Player 2 controller not being recognized. I am using a Raspberry Pi 2 with RetroPie version 3.0 installed. I was wondering if there is a way to force Stella to recognize a second controller by altering the retroarch.cfg file specific to Stella?
Update the core from the source in the retropie-setup. I updated the it and now the player 2 works fine. Retropie 3.0 sd image is not updaged.
It's a problem in the code, not the config, but it's been fixed in the repository. You can fix it by quitting emulationstation from your pi, and then typing the following commands:
git clone https://github.com/libretro/stella-libretro.git cd stella-libretro make cd /opt/retropie/libretrocores/lr-stella sudo cp stella_libretro.so stella_libretro.so.bak sudo rm stella_libretro.so sudo cp /home/pi/stella-libretro/stella_libretro.so stella_libretro.so
Thank you so much for your response. Your solution worked and now I can play "Freeway" with my daughter. This has been driving me nuts for a couple of months.Thanks and have a great day!Kris
---------- Original Message ---------- From: neurorulez notifications@github.com To: libretro/stella-libretro stella-libretro@noreply.github.com Cc: odkmo odkmo@juno.com Subject: Re: [stella-libretro] Player 2 controls still not working (#13) Date: Wed, 19 Aug 2015 14:47:42 -0700
Update the core from the source in the retropie-setup. I updated the it and now the player 2 works fine. Retropie 3.0 sd image is not updaged. — Reply to this email directly or view it on GitHub.
Thank you so much for your response. Before you, someone else recommended updating the core from the source code in Retropie-Setup. I assume that is the "lazy man's" way of doing what you suggested. All is well now and player 2 works fine.Thanks and have a great day!Kris
---------- Original Message ---------- From: philipp4-13 notifications@github.com To: libretro/stella-libretro stella-libretro@noreply.github.com Cc: odkmo odkmo@juno.com Subject: Re: [stella-libretro] Player 2 controls still not working (#13) Date: Wed, 19 Aug 2015 15:58:13 -0700
It's a problem in the code, not the config, but it's been fixed in the repository. You can fix it by quitting emulationstation from your pi, and then typing the following commands: git clone https://github.com/libretro/stella-libretro.git cd stella-libretro make cd /opt/retropie/libretrocores/lr-stella sudo cp stella_libretro.so stella_libretro.so.bak sudo rm stella_libretro.so sudo cp /home/pi/stella-libretro/stella_libretro.so stella_libretro.so — Reply to this email directly or view it on GitHub.
Awesome, glad to help!
Hello. I'm using the retrosmc (Retroarch + OSMC). All works fine, beside the Player 2 control problem. I did follow the steps above (make a new .so and substitute the original file by the new one), but something went wrong. The games just wont open anymore. It works again (whit Player 2 control problem) if I replace the new .so by the old one.
Can someone help?
Tanks. PS.: sorry about my English.
Hi! Can anyone help me? I didn´t understand how can I do with those commands. Should I download something and update?
You have to download the source code from the repo, which has had the fix for a long time, compile it and then replace the old, broken core library with the one you just compiled. (that's what those commands do)
Other than that, you could ask the Retropie people for help. I'm surprised they're still using such an old version. They really should update.
Sorri about the noob questionar, but, where I can download the source code? It's the stella source code?
No problem. Yes, the stella-libretro source code. These are the steps to download and compile it (adapted from philipp4-13's post above; omit the parts in parentheses, which I've added for context):
git clone https://github.com/libretro/stella-libretro.git (this downloads the code to your pi; do it in your home directory) cd stella-libretro (this navigates into the source code you just downloaded) make (this compiles the code) cd /opt/retropie/libretrocores/lr-stella (this navigates to the directory on your pi that houses the stella emulation library) sudo cp stella_libretro.so stella_libretro.so.bak (this makes a backup of your old stella library just in case) sudo rm stella_libretro.so (this deletes your old stella library to make room for the new one; the backup is still there) sudo cp /home/pi/stella-libretro/stella_libretro.so stella_libretro.so (this copies your newly-built stella library from the source code directory to the directory where your stella emulation library lives)
If something goes wrong, you can revert to your old stella library backup by doing: cd /opt/retropie/libretrocores/lr-stella (navigates you to the directory where your stella emulation library lives) sudo rm stella_libretro.so (this deletes your newly-built stella library to make room for your old backup to be restored) sudo mv stella_libretro.so.bak stella_libretro.so (this renames your backup to make it work with RetroArch again)
Couple of years late to the party, but actually having the same issue and just came across this thread. I tried to follow the steps outlined above, yet I'm still having the issue of the second controller not working, but only games in the arcade folder. SNES, NES, etc. - no problem. I followed steps above, tried editing config files - nothing seems to work. I've noticed in the past week the gray hair on my head has almost doubled. Any help for those still following?
@HankScorp What emulator are you using for arcade stuff? If it's a libretro core, try opening an issue at the core's repo. If it's not a libretro core, you'll probably have better luck at the retropie forums.
I see the commit from 2013 that supposedly fixed the player 2 controller not working, but it's still not working for me. Both controllers work with every other emulator core I've tried, i.e. picodrive, nes, turbografx16, but not with stella-libretro. It appears from the log output and the onscreen display that the second controller is being recognized, but the controller does nothing. I've also tried configuring keyboard inputs for player 2 with the same result. Verbose log output follows: