• Recent
  • Tags
  • Popular
  • Home
  • Docs
  • Register
  • Login
RetroPie forum home
  • Recent
  • Tags
  • Popular
  • Home
  • Docs
  • Register
  • Login
Please do not post a support request without first reading and following the advice in https://retropie.org.uk/forum/topic/3/read-this-first

Amiberry 5.1 controller mapping problem (since upgrading from 3.x)

Scheduled Pinned Locked Moved Help and Support
amiberry 5.0controller
45 Posts 7 Posters 5.9k Views
Loading More Posts
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • M
    mitu Global Moderator
    last edited by 6 Jul 2022, 18:34

    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).

    S 1 Reply Last reply 7 Jul 2022, 05:33 Reply Quote 0
    • M
      mitu Global Moderator
      last edited by 7 Jul 2022, 04:14

      @sirhenrythe5th have you tried to use the Amiberry menu and update the gamescontrollerdb ?

      1 Reply Last reply Reply Quote 0
      • S
        sirhenrythe5th @mitu
        last edited by 7 Jul 2022, 05:33

        @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:

        fdsfs.JPG

        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

        -- Retro-Achievements Username: SirALX --
        RetroRatio: 1.88
        Started Games beaten: 2,47%
        Site Rank: 4382/93743 ranked users (TOP 4.76%)
        Last seen in [The Legend of Zelda: Lost in Time (HACK) [N64], exploring Hyrule at Night]

        D 1 Reply Last reply 14 Jul 2022, 21:15 Reply Quote 0
        • D
          DTEAM @sirhenrythe5th
          last edited by DTEAM 14 Jul 2022, 21:15

          @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.

          M 1 Reply Last reply 15 Jul 2022, 02:44 Reply Quote 0
          • M
            mitu Global Moderator @DTEAM
            last edited by 15 Jul 2022, 02:44

            @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.

            D 1 Reply Last reply 15 Jul 2022, 12:13 Reply Quote 0
            • D
              DTEAM @mitu
              last edited by 15 Jul 2022, 12:13

              @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.

              1 Reply Last reply Reply Quote 0
              • M
                mitu Global Moderator
                last edited by 17 Jul 2022, 07:07

                Can you get a log file from Amiberry (choose a log file path in the Paths section) and post it on pastebin.com ?

                D 1 Reply Last reply 19 Jul 2022, 14:04 Reply Quote 0
                • D
                  DTEAM @mitu
                  last edited by DTEAM 19 Jul 2022, 14:04

                  @mitu

                  Are you talking about /dev/shm/runcommand.log ?
                  if yes

                  Parameters: 
                  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
                  

                  01.jpg
                  02.jpg

                  1 Reply Last reply Reply Quote 0
                  • M
                    mitu Global Moderator
                    last edited by 19 Jul 2022, 15:09

                    @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:

                    92212dee-73cc-49b3-a53d-ee0dee0f03ce-image.png

                    D 1 Reply Last reply 19 Jul 2022, 15:49 Reply Quote 0
                    • D
                      DTEAM @mitu
                      last edited by DTEAM 19 Jul 2022, 15:49

                      @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

                      D 1 Reply Last reply 20 Jul 2022, 15:56 Reply Quote 0
                      • D
                        DTEAM @DTEAM
                        last edited by DTEAM 20 Jul 2022, 15:56

                        @mitu
                        Hi Mitu
                        I don't have this file on my PI. Could it be the problem? See my log on pastebin.com

                        target_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,
                        
                        D 2 Replies Last reply 20 Jul 2022, 17:35 Reply Quote 0
                        • D
                          DTEAM @DTEAM
                          last edited by 20 Jul 2022, 17:35

                          Could someone please share /opt/retropie/emulators/amiberry/conf/default.uae in pastebin.com

                          1 Reply Last reply Reply Quote 0
                          • M
                            mitu Global Moderator
                            last edited by mitu 20 Jul 2022, 18:19

                            @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 ?

                            D 1 Reply Last reply 20 Jul 2022, 20:42 Reply Quote 1
                            • D
                              DTEAM @mitu
                              last edited by DTEAM 20 Jul 2022, 20:42

                              @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

                              https://pastebin.com/a5AaD3mN

                              1 Reply Last reply Reply Quote 0
                              • D
                                DTEAM @DTEAM
                                last edited by DTEAM 20 Jul 2022, 20:56

                                @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

                                1 Reply Last reply Reply Quote 0
                                • M
                                  mitu Global Moderator
                                  last edited by 21 Jul 2022, 03:45

                                  @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.txtin /opt/retropie/configs/amiga/amiberry/conf and it looks also for gamecontrollerdb_user.txtin 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.

                                  D 1 Reply Last reply 22 Jul 2022, 13:11 Reply Quote 0
                                  • D
                                    DTEAM @mitu
                                    last edited by DTEAM 22 Jul 2022, 13:11

                                    @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.cfg

                                    https://pastebin.com/jk7DGSEG

                                    New 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
                                    Capture.PNG

                                    D 1 Reply Last reply 26 Jul 2022, 20:14 Reply Quote 0
                                    • D
                                      DTEAM @DTEAM
                                      last edited by DTEAM 26 Jul 2022, 20:14

                                      @mitu

                                      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 mouse

                                      default_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

                                      D 1 Reply Last reply 2 Aug 2022, 16:47 Reply Quote 1
                                      • D
                                        DTEAM @DTEAM
                                        last edited by 2 Aug 2022, 16:47

                                        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?

                                        1 Reply Last reply Reply Quote 0
                                        • First post
                                          Last post

                                        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.

                                          This community forum collects and processes your personal information.
                                          consent.not_received