Pifba configuration on SuperAIO

Post Reply
ltpitt
Posts: 22
Joined: Tue Oct 10, 2017 5:20 pm
Has thanked: 1 time
Been thanked: 1 time

Pifba configuration on SuperAIO

Post by ltpitt » Wed Apr 04, 2018 3:41 pm

If any good soul out there has a working configuration for pifba please share it.

I've been fiddling quite a bit editing:
sudo nano /opt/retropie/configs/fba/fba2x.cfg

With output from:
sudo jstest /dev/input/js0

But nothing seems to change when I edit the file.

I'd need to set pifba because the other emulator performance on Raspberry Zero is very poor.

Thanks for your time!

ltpitt
Posts: 22
Joined: Tue Oct 10, 2017 5:20 pm
Has thanked: 1 time
Been thanked: 1 time

Re: Pifba configuration on SuperAIO

Post by ltpitt » Fri Apr 06, 2018 4:49 pm

After a fair amount of pain I was able to configure it in the same way of the NEO GEO CD gamepad.

I've also updated Kite's Wiki:
https://github.com/kiteretro/Circuit-Sw ... -for-PiFBA

Here's the relevant section of the config file:

Code: Select all

[Joystick]
# Get codes from "jstest /dev/input/js0"
# from package "joystick"
# Defaults to XBOX 360 Controller
A_1=1
B_1=2
X_1=0
Y_1=3
L_1=6
R_1=8
START_1=4
SELECT_1=5

9volt
Posts: 22
Joined: Wed Apr 12, 2017 5:48 pm
Been thanked: 1 time

Re: Pifba configuration on SuperAIO

Post by 9volt » Thu Nov 01, 2018 9:26 pm

I've got CS Lite. PiFBA is the only way I can get NeoGeo games to run. They sound and look great. I've edited \\retropie\configs\fba\fba2x.cfg with the following:

[Joystick]
# Get codes from "jstest /dev/input/js0"
# from package "joystick"
# Neo Geo CD layout for Kite's Circuit Sword Lite
A_1=1
B_1=2
X_1=0
Y_1=3
L_1=6
R_1=8
START_1=4
SELECT_1=5


However, as soon as I hit SELECT, it exits back to EmulationStation. I don't know if it's crashing or if the SELECT input is mapped to an exit hotkey or whatever. I tried playing around with the numbers above and I haven't been able to make any progress. Any suggestions? Thanks in advance.

9volt
Posts: 22
Joined: Wed Apr 12, 2017 5:48 pm
Been thanked: 1 time

Re: Pifba configuration on SuperAIO

Post by 9volt » Thu Nov 08, 2018 6:55 pm

Thanks for the suggestion. Unfortunately, I did just as you said during my "configure gamepad" input. I skipped the last "hotkey" button.

I noticed that on the "SELECT" button setting, after hitting my physical SELECT button, it shows "ESCAPE." This means that piFBA is exiting when it receives an ESCAPE key push from the "keyboard." Which makes some sense.

Then the questions becomes, how do I map a button to the coin-insert function?

9volt
Posts: 22
Joined: Wed Apr 12, 2017 5:48 pm
Been thanked: 1 time

Re: Pifba configuration on SuperAIO [FIXED]

Post by 9volt » Thu Nov 08, 2018 7:19 pm

I figured it out. Below are details on everything I edited.

In the first section of "/opt/retropie/emulators/pifba/fba2x.cfg" --which many people told me not to edit, I changed my [Keyboard] SELECT_1 value match the value of L_1. In my case, I changed SELECT_1 value to 49. This made my physical rear L-button act as the coin insert. Also, I should note, I updated my [Joystick] section to match the instructions from Kite's Super AIO wiki.


[Keyboard]
# Get codes from /usr/include/SDL/SDL_keysym.h
A_1=122
B_1=120
X_1=97
Y_1=115
L_1=49
R_1=51
START_1=13
SELECT_1=49
LEFT_1=276
RIGHT_1=275
UP_1=273
DOWN_1=274
QUIT=27
#player 2 keyboard controls, disabled by default
A_2=999
B_2=999
X_2=999
Y_2=999
L_2=999
R_2=999
START_2=999
SELECT_2=999
LEFT_2=999
RIGHT_2=999
UP_2=999
DOWN_2=999

[Joystick]
# Get codes from "jstest /dev/input/js0"
# from package "joystick"
# Neo Geo CD layout for Kite's Circuit Sword Lite
A_1=1
B_1=2
X_1=0
Y_1=3
L_1=5
R_1=8
START_1=4
SELECT_1=6
#Joystick axis
JA_LR=0
JA_UD=1

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest