Amiberry 5.1 controller mapping problem (since upgrading from 3.x)
-
I tested with the AmigaTestKit and I don't get the Amiberry GUI opening up.
But I think there's a bit of confusion here - I don't have the Pro version of the SN30, your picture shows the previous version of the controller (with the analog joysticks, which is not the Pro version) which I do have (with the SNES US colors). -
@sirhenrythe5th have you tried to use the Amiberry menu and update the gamescontrollerdb ?
-
@mitu said in Amiberry 5.1 controller mapping problem (since upgading from 3.x):
But I think there's a bit of confusion here - I don't have the Pro version of the SN30, your picture shows the previous version of the controller (with the analog joysticks, which is not the Pro version) which I do have (with the SNES US colors).
Gosh, you are right! SORRY!
This is the model i meant and use:It is the SF30Pro!!!
I own 4 of them.I updated the controllerdatabase when i had the issues for the first time (update to 5.1), but did not try again since then.
I will give it a shot!, thx -
@mitu
Hi Mitu, I have the same problem with my TeensyLc in my handheld system. It worked fine with 3.1 but doesn't work with 5.3. Strangely, my gamepad and touchscreen work fine in the UI.I uninstalled everything (including the configurations in the opt folder) and re-intalled and it's still the same. I can see two TeensyLc controllers instead of one in the UI like the guy in the other thread with his snes controller!
Do you have an idea of what to do? I'm continuing to dig for a solution.
-
@DTEAM How is the TeensyLC controller configured - does it connect via USB or GPIO to the Pi ? I assume it appears as a controller to the (host) Linux system and no drivers are needed to make it work.
-
@mitu said in Amiberry 5.1 controller mapping problem (since upgading from 3.x):
@DTEAM How is the TeensyLC controller configured - does it connect via USB or GPIO to the Pi ? I assume it appears as a controller to the (host) Linux system and no drivers are needed to make it work.
Connected via USB port like a standard wired gamepad.
-
Can you get a log file from Amiberry (choose a log file path in the Paths section) and post it on pastebin.com ?
-
Are you talking about /dev/shm/runcommand.log ?
if yesParameters: Executing: /opt/retropie/emulators/amiberry/amiberry.sh "/home/pi/RetroPie/roms/amigacd32/alfred chicken (1993)(mindscape)[!][cdd2971].cue" --model CD32 Launching ... ./amiberry --autoload /home/pi/RetroPie/roms/amigacd32/alfred chicken (1993)(mindscape)[!][cdd2971].cue --model CD32 -G
-
@DTEAM said in Amiberry 5.1 controller mapping problem (since upgading from 3.x):
Are you talking about /dev/shm/runcommand.log ?
No, Amiberry doesn't log there.
In the Paths section of the configuration interface, there's a checkbox with Enable Logging that you can toggle to get more logging info:
-
@mitu
When I connect another controller (basic snes USB controller) it shows in port 0 and I can only use hotkeys, but in port 1 it's Tensyduino and now I can play the game with Teensyduino, but hotkeys only work with SNES controller. This seems to be a port problem.I have to do it via /opt/retropie/configs.hdmi/amiga/amiberry/conf/amiberry.conf because it doesn't save
New edit:
even if the checkbox is selected, it doesn't generate the .log file.I changed the .log file directory location for /opt/retropie/configs/amiga and now it works.Here's my log file: https://pastebin.com/4Xv5u9cX
-
@mitu
Hi Mitu
I don't have this file on my PI. Could it be the problem? See my log on pastebin.comtarget_cfgfile_load(): load file /opt/retropie/emulators/amiberry/conf/default.uae load config '/opt/retropie/emulators/amiberry/conf/default.uae':3 cfgfile_load_2 failed
new edit : I added my controller in the /opt/retropie/configs.hdmi/amiga/amiberry/conf/gamecontrollerdb.txt with the ppsspp method and nothing has changed.
03000000c01600008204000011010000,Teensyduino Keyboard/Mouse/Joystick,platform:Linux,a:b4,b:b3,x:b1,y:b2,back:b0,start:b9,leftstick:b14,rightstick:b15,leftshoulder:b10,rightshoulder:b12,dpup:b5,dpdown:b6,dpleft:b7,dpright:b8,leftx:a2~,lefty:a3~,rightx:a0~,righty:a1~,lefttrigger:b11,righttrigger:b13,
-
Could someone please share /opt/retropie/emulators/amiberry/conf/default.uae in pastebin.com
-
@DTEAM said in Amiberry 5.1 controller mapping problem (since upgrading from 3.x):
I don't have this file on my PI. Could it be the problem? See my log on pastebin.com
No, I don't think that's the problem - by default there's no
default.uae
shipped with Amiberry/RetroPie.I don't see any issues in the log, the controller is detected - though Amiberry may be confused by the axis used as buttons. But if you updated the
gamecontrollerdb.txt
with your mapping (and the log shows the loaded mapping) then this shouldn't be a problem.
You can try removing the mouse entry and see if only with the joystick set the input is accepted and works.EDIT: can you post the RetroArch
.cfg
profile for your gamepad ? -
@mitu said in Amiberry 5.1 controller mapping problem (since upgrading from 3.x):
EDIT: can you post the RetroArch .cfg profile for your gamepad ?
/opt/retropie/configs.hdmi/amiga/amiberry/conf/retroarch.cfg
-
@DTEAM said in Amiberry 5.1 controller mapping problem (since upgrading from 3.x):
new edit : I added my controller in the /opt/retropie/configs.hdmi/amiga/amiberry/conf/gamecontrollerdb.txt with the ppsspp method and nothing has changed.
I did the same thing for /opt/retropie/configs.hdmi/all/retroarch/autoconfig/gamecontrollerdb_user.txt
The mapping was incomplete and wrong.Can it be interference between retroarch.cfg and gamecontrollerdb_user.txt
-
@DTEAM said in Amiberry 5.1 controller mapping problem (since upgrading from 3.x):
I did the same thing for /opt/retropie/configs.hdmi/all/retroarch/autoconfig/gamecontrollerdb_user.txt
I don't think Amiberry looks there - it ships a
gamecontrollerdb.txt
in/opt/retropie/configs/amiga/amiberry/conf
and it looks also forgamecontrollerdb_user.txt
in the same location, so you might want to use the latter file to add your gamepad mapping./opt/retropie/configs.hdmi/amiga/amiberry/conf/retroarch.cfg
That's not the file I was asking - the controller's
.cfg
file should be in/opt/retropie/configs/all/retroarch-joypads
. -
@mitu said in Amiberry 5.1 controller mapping problem (since upgrading from 3.x):
That's not the file I was asking - the controller's .cfg file should be in /opt/retropie/configs/all/retroarch-joypads.
Hi, here it is.
/opt/retropie/configs/all/retroarch/retroarch-joypads/Teensyduino KeyboardMouseJoystick.cfgNew edit: I tried many things, but nothing works. I'm out of ideas. Do you know where is the file where we can select the gamepad. I would like to change CD32 pad to default, but it never saves my selection. it doesn't seem to be in amiberry.conf
-
Solved!! In /opt/retropie/configs.hdmi/amiga/amiberry/conf/amiberry.conf , I modified:
default_controller1=joy1 default_controller2=joy2
for
default_controller1=joy0 default_controller2=joy1
For some reason, with Amiberry 5.X, it was joy 1 and joy 2 instead of joy0 and joy1.
I'm doing test for the mousedefault_mouse2=joy0 or joy1
NEW EDIT: I think It's an error in the original .conf file, maybe it should be fixed. Another thing, my analog joystick is in reverse mode for left and right and also up and down. Is there an option to fix that?
In order to have sound, I had to put default_soundcard=1 in /opt/retropie/configs.hdmi/amiga/amiberry/conf/amiberry.conf
-
On Amiberry, it looks like I don't have access to all the buttons on my gamepad for CD32.
Can someone do a test with Chambers Of Shaolin and tell me if he is able to punch and kick?
Contributions to the project are always appreciated, so if you would like to support us with a donation you can do so here.
Hosting provided by Mythic-Beasts. See the Hosting Information page for more information.