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 & Ipac

    Scheduled Pinned Locked Moved Help and Support
    amiberryipac 2controlsipac
    49 Posts 6 Posters 11.0k 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.
    • T
      tuki_cat
      last edited by

      Hi,

      Great - if I can help with anything else just let me know.

      @herb_fargus I have deleted the long post, in future I'll use Pastebin

      HoraceAndSpiderH 1 Reply Last reply Reply Quote 0
      • HoraceAndSpiderH
        HoraceAndSpider @tuki_cat
        last edited by

        @tuki_cat said in Amiberry & Ipac:

        Hi,

        Great - if I can help with anything else just let me know.

        @herb_fargus I have deleted the long post, in future I'll use Pastebin

        You couldn't post it up on pastebin now could you, so that I can refer back to it when programming a solution please?

        1 Reply Last reply Reply Quote 0
        • T
          tuki_cat
          last edited by

          Sure, here is the link

          https://pastebin.com/ZNDwuz05

          1 Reply Last reply Reply Quote 2
          • HoraceAndSpiderH
            HoraceAndSpider
            last edited by

            OK, i've made a commit to the controller branch that uses the ipac layout you gave me. Would appreciate if you could test it.

            Two things here: firstly, this isnt permanent, and i will need to add a layer to read the keys in from the retroarch config.

            Secondly, there is a bug atm with selecting a the correct input device on the dropdown... just persist with different combinations and eventually it should allow you to set port 1 as 'Kd Arrows as Joystick' (it actually does more than just arrows and should allow you the full range of CD32 buttons if you use the right joystick mode.

            1 Reply Last reply Reply Quote 0
            • T
              tuki_cat
              last edited by

              Hi,

              I can test it tomorrow for you.

              How do I go about doing this this? Do I need to update Amiberry in Retropie and then test, or do I need to install another way?

              HoraceAndSpiderH 2 Replies Last reply Reply Quote 0
              • HoraceAndSpiderH
                HoraceAndSpider @tuki_cat
                last edited by

                @tuki_cat you'd need to download from GitHub and compile but I will upload a binary and how-to for you tomorrow !

                1 Reply Last reply Reply Quote 0
                • HoraceAndSpiderH
                  HoraceAndSpider @tuki_cat
                  last edited by HoraceAndSpider

                  @tuki_cat
                  from the command line run the following:

                  [old link removed]

                  1 Reply Last reply Reply Quote 0
                  • T
                    tuki_cat
                    last edited by

                    Thanks, I'll test tonight

                    1 Reply Last reply Reply Quote 0
                    • T
                      tuki_cat
                      last edited by tuki_cat

                      Hi,

                      I have tried the above but can only get so far.

                      After I do the above I can run amiberry but only if I run it from a disk image, I can't run it from the +start amiberry prompt. If i run it from the prompt it attempts to start bu then drops back the retropie Amiga game selection screen.

                      If I run it from a disk image it runs fine, but I have tried the joystick but nothing works. When I press F12 to enter the GUI it then exits back to the retropie Amiga game selection screen. It appears something is preventing the emulator from entering the GUI.

                      I then removed amiberry from my pi and made sure all the configs for amiberry were deleted. I then did a fresh clean install of amiberry and then I run your commands above, this was to make sure there were no issues resulting from where I had been messing around with amiberry in the past - but the results were the same as above.

                      Any ideas?i

                      1 Reply Last reply Reply Quote 0
                      • HoraceAndSpiderH
                        HoraceAndSpider
                        last edited by HoraceAndSpider

                        oh, you are missing a file that is required, becuase you have not installed from source ... you need the 'data/quickstart.ico' and 'controller.png' otherwise it won't run.

                        cd /opt/retropie/emulators/amiberry/data
                        wget https://raw.githubusercontent.com/HoraceAndTheSpider/amiberry/controller/data/quickstart.ico
                        wget https://raw.githubusercontent.com/HoraceAndTheSpider/amiberry/controller/data/controller.png
                        sudo chown -hR pi:pi /opt/retropie/emulators/amiberry/

                        should sort this

                        1 Reply Last reply Reply Quote 0
                        • T
                          tuki_cat
                          last edited by

                          It's working now. I'll do some tests and let you know how I get on

                          HoraceAndSpiderH 1 Reply Last reply Reply Quote 0
                          • HoraceAndSpiderH
                            HoraceAndSpider @tuki_cat
                            last edited by

                            @tuki_cat said in Amiberry & Ipac:

                            It's working now. I'll do some tests and let you know how I get on

                            great! at the moment, i just need to know if that layout method would work before i start integrating it with the retroarch cfg file

                            1 Reply Last reply Reply Quote 0
                            • T
                              tuki_cat
                              last edited by

                              Hi,

                              Sorry no luck with the controls. I have manage to set Joystick Port 1 to "kb arrows as joystick", this gets the joystick working but none of the fire buttons are functioning. I have tried setting the type to "default", "joystick" and "CD32".

                              However some key presses must be registered because.................

                              I am testing on Turrican II and the "ctrl" key on my IPAC (this would be "input_player1_a" in retroarch, and is usually the first fire button in most emulators) starts the game, but it is not registering as a fire button. The "space" key on my IPAC (this would be "input_player1_x" in retroarch) is registering as the space key in game.

                              I have done a fair about of messing about with control config, including trying the custom config keys setup, but this doesn't help. I am happy to do some more testing but at the moment I am a bit stuck and don't know what other settings I can try to get the fire buttons working.

                              HoraceAndSpiderH 1 Reply Last reply Reply Quote 0
                              • HoraceAndSpiderH
                                HoraceAndSpider @tuki_cat
                                last edited by HoraceAndSpider

                                @tuki_cat this could be as simple as a mix up with the sdl keycodes for left/right control etc , so I might and provide you another binary tomorrow :)

                                At the moment what I have tried to do is hard-code your ipac keys as the emulator defaults for the keyboard mapping mode

                                1 Reply Last reply Reply Quote 0
                                • T
                                  tuki_cat
                                  last edited by

                                  @HoraceAndSpider - just let me know when the new binary is ready and i'll happily test it.

                                  1 Reply Last reply Reply Quote 0
                                  • T
                                    tuki_cat
                                    last edited by

                                    @HoraceAndSpider - I have been doing some setup on my IPAC and realised that I had not setup the controls for player 2 in my retroarch.cfg

                                    I have done this now, so I have provided a copy in case it is helpful to you with Amiberry and the setup of controls for the IPAC.

                                    https://pastebin.com/qJm1c7Ar

                                    1 Reply Last reply Reply Quote 1
                                    • HoraceAndSpiderH
                                      HoraceAndSpider
                                      last edited by HoraceAndSpider

                                      @tuki_cat @AndersHP

                                      You can update Amiberry to a version which will allow you to test Ipac controls by doing the following:

                                      cd /opt/retropie/emulators/amiberry/
                                      sudo rm amiberry
                                      sudo wget http://www.djcresswell.com/amigaonline/amiberry
                                      sudo chown -hR pi:pi /opt/retropie/emulators/amiberry/
                                      sudo chmod 777 amiberry
                                      

                                      This is hardcoded for what i think should be default ipac controls, if you use the Kb Arrows as Joystick option in the Input Panel.

                                      Hope it works for you!

                                      T 1 Reply Last reply Reply Quote 0
                                      • AndersHPA
                                        AndersHP
                                        last edited by

                                        So, basically install amiberry from RetroPie's GUI and then do this command from terminal afterwards?

                                        How to remap then? My iPac is not running the standard keys, as I have changed a bit here and there, mainly to get Pegasus Frontend to work (remapped my primary keys to Return and Esc)

                                        My "Bubble Bobble" Themed Bartop Arcade
                                        My Gameboy

                                        1 Reply Last reply Reply Quote 0
                                        • HoraceAndSpiderH
                                          HoraceAndSpider
                                          last edited by

                                          Oh, if you are not installed yet then there is another step you will need for some missing icon files , sorry ,but basically you are correct , yes.

                                          I am afraid I have only used ipac a standard keys for now as a test - making these remap according to retroarch setting is my next task , following the closure of a big bug today :)

                                          1 Reply Last reply Reply Quote 0
                                          • T
                                            tuki_cat @HoraceAndSpider
                                            last edited by

                                            @horaceandspider

                                            Thanks I have just tested on Turrican 2 and it works great. I did have a little trouble getting the "whip " fire working as you need to hold down the fire button. It appears that it was set to medium autofire, as soon as switched it off all worked well. I haven't had a chance to test a two player game yet.

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