pifba trick: custom button configs for different games)
caver01 last edited by caver01
@meleu This is clever. I don't think to use this capability as much as I should. I tend to drop per-rom configs into the corresponding ROMs directory (which is fine for lr cores), but when you simply need consistency, this is cleaner, and beats running scripts to to copy files around pre and post launch.
@Polezi could you tell me what game it is? Or any other way to reproduce your issue.
@meleu I'm using joystick, a Dragon Rise USB Controller, I use the same configuration of fba2x.cfg and change the numbers, I make all steps, then I click to lauch the game, black screen, don't load the files like the original way. I try copy the file fba2x.cfg and just change your name, don't work too, same problem.
footnote: You could paste those files in pastebin or something, but I'm behind a restrictive proxy now and it doesn't block codepad.org...
Polezi last edited by Polezi
I think that I found the problem, my folder in retropie/emulators/ is pifba not fba, so I will change this, and now I update the fba in retropie setup but now don't show the option for load the game with pifba-4btns, for update I have to remove and install again? I click in update for the source, I'm so close to make work, now back to zero
@Polezi If you still need my help, please provide the info I asked above.
meleu last edited by meleu
Man, did you get this file from my old blog?! I think it's a bit outdated! I suggest you to use this file:
And for 6 buttons:
This file is lacking these lines (as explained in the first post of this topic):
pifba-4btns = "/opt/retropie/emulators/fba/pifba --config /opt/retropie/configs/fba/pifba-4btns.cfg %ROM%" pifba-6btns = "/opt/retropie/emulators/fba/pifba --config /opt/retropie/configs/fba/pifba-6btns.cfg %ROM%"
This is why the 4btns/6btns options are not being offered in runcommand menu.
EDIT: I noticed that the content of those lines are in only one line. Maybe you're editing the file in Notepad/Windows. If you are editing on a Windows environment, use Wordpad rather than notepad.
@meleu I donT have the folder fba inside emulators, Just pifba, shouldn't I change this LINE in emulators.cfg? And dont have pifba inside the folder pifba, only fba2x
@meleu I donT have the folder fba inside emulators, Just pifba, shouldn't I change this LINE in emulators.cfg?
You're right. The path has changed since I posted this trick. Please, fix it on your end.
@meleu I'm very happy here, the trick works, but I change the line in emulators to pifba-4btns = "/opt/retropie/emulators/pifba/fba2x --config /opt/retropie/configs/fba/pifba-4btns.cfg %ROM%" now let's play KOF
Skinnyboy last edited by
I've tried following the steps as set out by you above, but somehow still cant get my controller to work in a NeoGeo emulator. So far, I only have the one game in that particular emulator and it's because none of the other emulators seem to run it.
It's a pain because I'm in the process of building an arcade machine and I'd really like if my controller (joystick and buttons) could work on all the games.
Is there a possibility you could assist me please and I know nothing of programming?
I'm running a RPI 3 b+ with a Dragon Rise inc. controller board.
Thank you in advance.
@Skinnyboy if you have a pi3b+ there is no reason to run pifba. honestly, your best solution is to obtain the right romset for lr-fbalpha (FBA 0.97.2.43) and then use the game zip from that in lr-fbalpha. it will work and the controls will be all set up by default.
Coin Junkie last edited by
This emulator works perfectly for the PiZero but I couldn't sort out the controller settings until I found this old thread.This worked perfectly after using the update note from Polezi, thank you and huge thank you to Meleu!