recalbox / pifba

GNU General Public License v2.0
2 stars 7 forks source link

Bug in 4 players, 4th player's joy not found #1

Open CelsoCaldeira opened 9 years ago

CelsoCaldeira commented 9 years ago

1st I get the binary v. 0.3 and set up(in RetroPie) accordingly using sdlid so I could get all the joys in the order I wanted, this setup worked only once, and I really don't know how or why. Now the game only recognizes 3 players, even I changing the joy's position, my setup is 1 keyboard(I only play on keyboard) on p1 and 3 joys on other players, no matter what I do the emu finds only 3 players, my keyboard and p2 and 3. If I mess with sdlid i get keyboard and 1 joy controlling p1 at same time and others on p2 and 3 like it should be. I thought is was some issue with retropie, so I tried the recalbox as it's 4-players oriented, I believe (which is great!) to my surprise, the issue is the same. The 4 players works on mame tested on tmnt2 and all fine, be in recalbox or retropie they both work. I checked all the files on /recalbox/config/fba/ and they are all just like new, no config written on them.

# cat fba2x.cfg
[Graphics]
DisplaySmoothStretch=1
# Display Effect: 0 none, 1 scanlines
DisplayEffect=0
DisplayBorder=0
MaintainAspectRatio=1
RotateScreen=0

[Sound]

[Joystick]
# 

and the fba2x6btn.cfg it's the same output.

digitalLumberjack commented 9 years ago

Can you try to launch a fba game on recalbox and check the fba2x.cfg again please. SDL ID and other should appear.

CelsoCaldeira commented 9 years ago

Now it wrote a config file, as follows:

cd /recalbox/configs/fba/

cat fba2x.cfg

[Graphics] DisplaySmoothStretch=1

Display Effect: 0 none, 1 scanlines

DisplayEffect=0 DisplayBorder=0 MaintainAspectRatio=1 RotateScreen=0

[Sound]

[Joystick] Y_2=0 X_2=1 R_2=5 L_2=2 SELECT_2=7 START_2=6 B_2=3 A_2=4 Y_3=0 X_3=3 R_3=6 L_3=4 SELECT_3=9 START_3=8 B_3=1 A_3=2 Y_4=1 X_4=2 JA_UD_4=1 JA_LR_4=0 R_4=4 L_4=5 JA_LR_4=0 SELECT_4=8 START_4=9 JA_UD_4=1 B_4=0 A_4=3 SDLID_2=0 SDLID_3=1 SDLID_4=2

The file fba2x6tbn has the same lines, therefore i will not post it here.

CelsoCaldeira commented 9 years ago

@HerbFargus I don't know yet, the binary version available in github is the same, and I am not getting to compile the commited sources, I sent a msg on irc to @digitalLumberjack, asking him to put an updated binary version, but if you have this new binary, or if you are compiling, could you put it online somewhere I can download it? Thanks!