Hi all
Newly registered here
Ive built myself a bartop arcade and not needed much help, until now!
Has anyone got any experience with setting up retropie (particularly retroarch) on the Pi?
Let me be a bit more specific - its going to be a long post... sorry in advance!
Ive started from scratch and got all the stuff fitted into the cab etc etc. build is basically done and im onto software config
Ive Installed Adafruit to map my joystick + 9 buttons to keypresses
Got the emulators = roms to work, no issues
Installed retropie
The emulationstation works fine, I was able to configure successfully the joystick and buttons first time
mame4all is working fine, all buttons mapped too
but neither of these use retroarch
now when I try and use snes or megadrive roms, they cant be controlled, or can, but some buttons are mapped, and some are not, and with the wrong function
So this is my joystick to keyboard mapping with Adafruit and directly connecting the buttons+stick to the GPIO pins
Joystick, up, left, right, down = always fine!
I have 6 buttons, which Im labelling A,B,C, X,Y,Z
and then 3 more buttons for start, select, and exit emulator
The keyboard map equivalent (tested with Adafruit and successful)
A= Enter
B= B
C= C
X= X
Y= Y
Z= Z
start button= 1
select button= 2
exit= 3
So, if I press the B button on the arcade, the screen will type a letter b out to the screen (they all work perfectly using the software and a text editor)
https://github.com/petrockblog/RetroPie-Setup/wiki/RetroArch-ConfigurationTries to help, but as below, the methods are not working properly in reality
My retroarch config file looks like this:
input_player1_joypad_index = 3
(I think this forces keyboard, but other values dont seem to work anyway)
input_player1_b = b
input_player1_a = enter
input_player1_y = y
input_player1_x = x
input_player1_l = c
input_player1_r = z
input_player1_start = 1
input_player1_select = 2
input_exit_button= 3
The above doesnt work whether I define it in the /opt/retropie/configs/all, or the /opt/retropie/configs/snes or megadrive directories
In fact, If I put it in the ‘all’ directory, everythings stops working altogether and I cant even use a keyboard to escape
Ive also tried hitting F1 in game and getting a menu where I can configure controls. but when I try that, it just waits for a keypress from somewhere forever (until I hit Enter to skip)
The problem seems to be with retroarch, but I cant quite figure it out?
Again, apologies for the long post, but im losing the will to live with this configuration as ive spent hours trying to figure it out.
Thanks in advance