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

    Wrong button on Amiga emulator

    Scheduled Pinned Locked Moved Help and Support
    amiberry
    24 Posts 3 Posters 2.8k 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.
    • C
      Chris3535 @Amiganoobie
      last edited by

      @amiganoobie you can save the settings by going into configuratrion in the amiberry menu and click on default settings then save.

      This seems to work but it puts a file called default in the games list when you start retropie.

      However @sirhenrythe5th seems to have a much better way bit im a bit lost on how to do the first 2 parts at the moment but you might be able to figure it out?

      C 1 Reply Last reply Reply Quote 0
      • C
        Chris3535 @Chris3535
        last edited by

        @sirhenrythe5th actually i am probably over thinking this, can i do this on a pc? i am thinking you need to do this through the pi, but if i take the SD card out and put it in pc could i not copy and alter the file in question on there? that i can do lol

        If so, how would i know when in file what to change and what to change it to?

        C 1 Reply Last reply Reply Quote 0
        • C
          Chris3535 @Chris3535
          last edited by

          @sirhenrythe5th also looking at this webpage

          https://github.com/midwan/amiberry/wiki/Using-Amiberry-WHDBooter-with-RetroPie-(Step-2)

          are you on about where it says controller files, is that the one you navigate to the new copy?

          sirhenrythe5thS 1 Reply Last reply Reply Quote 0
          • sirhenrythe5thS
            sirhenrythe5th @Chris3535
            last edited by sirhenrythe5th

            @chris3535 you are on the right path! :) Have a closer look here: https://github.com/midwan/amiberry/wiki/Setting-up-Input-Controllers

            -- 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]

            C 1 Reply Last reply Reply Quote 0
            • C
              Chris3535 @sirhenrythe5th
              last edited by

              @sirhenrythe5th Thanks mate i have read that but still a bit confused ! :-(

              So if i put SD card in pc and navigate to /opt/retropie/configs/all/retroarch/autoconfig

              What will i see there that i need to make a copy off (sorry i am at work at moment otherwise id have checked first)

              When i find the right file i make a copy then store it somewhere else (probably where you suggested atually)

              Then i can open up this copy with a text editor and change the relevant setting so the left button works on joystick and not right one)

              Then save the file.

              Then open amiberry and go to paths and then direct it to the copy file i have just amended?

              Does all this sound correct so far?

              If so...when i open up the copy cfg file, what do i need to edit to make the left button work and not the right one?

              Thank you for helping us with this by the way :-)

              sirhenrythe5thS 1 Reply Last reply Reply Quote 0
              • sirhenrythe5thS
                sirhenrythe5th @Chris3535
                last edited by sirhenrythe5th

                @chris3535 way too complicated ;)
                I dont have a PC at all since 2007, so i only use the pi itself or my smartphone via local network.

                What i used for the amiberry input-mapping was only the Pi itself - in fact i used the "Midnight Commander" (just go to the terminal by pressing "F4" in ES and type "mc")
                It is a great tool similar to the good old "Norton Commander" (MS-DOS) with the ability to sort and modify files directly with the Pi.

                After opening the MC i created a new folder "AMIBERRY Inputs" in "/home/pi/" and copied the original configuration-file in there.
                After that i used the "sudo nano"-command and remapped the buttons within this configuration. (i.e. "Button 0=B", "Button 1=A". btw: the orginal Amigas had only support for one button; the second is a feature by AMIBERRY).
                Just saved that new config by pressing "CMD" + "X" and confirmed overwriting of the file with "Y".

                Last step was to open the Amiberry GUI and rescan the paths as described above.

                Worked like a charm and still does :)

                -- 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]

                C 1 Reply Last reply Reply Quote 0
                • C
                  Chris3535 @sirhenrythe5th
                  last edited by

                  @sirhenrythe5th ok..lol think i am getting there..just one little thing that confuses me.

                  When you say you used the "sudo nano" command what do you mean?

                  C sirhenrythe5thS 2 Replies Last reply Reply Quote 0
                  • C
                    Chris3535 @Chris3535
                    last edited by

                    @sirhenrythe5th ahh do you mean open terminal and type in sudo nano followed by the path where the file is?

                    So in your example you typed:

                    sudo nano /home/pi/amiberry inputs/

                    is this correct?

                    1 Reply Last reply Reply Quote 0
                    • sirhenrythe5thS
                      sirhenrythe5th @Chris3535
                      last edited by

                      @chris3535 this is the command used to open and modify a file within Raspbian/Linux.

                      What you can do to make it a bit easier:
                      open MC -> navigate to the file you want to modify -> press "F2" to open the on screen menu -> navigate to "do something with the file" -> and type "sudo nano" ;)

                      -- 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]

                      C 1 Reply Last reply Reply Quote 0
                      • C
                        Chris3535 @sirhenrythe5th
                        last edited by

                        @sirhenrythe5th Brilliant, thank you so much for your help and patience !

                        I will do this tonight but i have my head round it now thanks to your instructions !!

                        sirhenrythe5thS 1 Reply Last reply Reply Quote 0
                        • sirhenrythe5thS
                          sirhenrythe5th @Chris3535
                          last edited by sirhenrythe5th

                          @chris3535 you are welcome Chris!
                          I was also very annoyed by the default button mapping and was glad to find this way to get it sorted.
                          Feel free to ask again if you get stuck ;)

                          -- 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]

                          C 1 Reply Last reply Reply Quote 0
                          • C
                            Chris3535 @sirhenrythe5th
                            last edited by

                            @sirhenrythe5th Thank you i will!

                            i have another kinda issue but ill open a new thread for that later if i cant sort it.

                            Basically some games (wings for example) seems to map itself to the mouse (i have a pi400) and i have not been able to make it work with the joystick yet. I had a quick play with the settings last night and i assume its something to do with the controls section in amiberry but couldn't get it to work, however i didn't spend that much time and will mess about tonight before bothering anyone on here .

                            Thanks again !!

                            1 Reply Last reply Reply Quote 0
                            • C
                              Chris3535
                              last edited by Chris3535

                              @sirhenrythe5th Sorry to bother you again, so I have made a amiberry folder and copied the config file over into it.

                              I am in the config file now and I see the following

                              Input_start_btn = "1"
                              Input_exit_emulator_btn = "1"
                              input_b_btn = "0"
                              input_reset_btn = "0"
                              input_a_btn = "3"

                              which one do I change? and to what?

                              sirhenrythe5thS 1 Reply Last reply Reply Quote 0
                              • sirhenrythe5thS
                                sirhenrythe5th @Chris3535
                                last edited by

                                @chris3535
                                The Fire-Buttons are "input_b_btn="0"" & "input_a_btn="3"".
                                These two have to be changed to fit with your button layout (i use 8BitDOs, so my layout wont help you).
                                Try & Error will help too :), just try the button numbers until it is as you like.

                                -- 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]

                                C 1 Reply Last reply Reply Quote 0
                                • C
                                  Chris3535 @sirhenrythe5th
                                  last edited by

                                  @sirhenrythe5th ahh my apologies mate I thought you had same joystick as me.. I'll have a fiddle with it tonight

                                  C 1 Reply Last reply Reply Quote 0
                                  • C
                                    Chris3535 @Chris3535
                                    last edited by

                                    @sirhenrythe5th worked like a charm thank you :-)

                                    sirhenrythe5thS 1 Reply Last reply Reply Quote 0
                                    • sirhenrythe5thS
                                      sirhenrythe5th @Chris3535
                                      last edited by

                                      @chris3535 Great!, thanks for feedback :)

                                      -- 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]

                                      1 Reply Last reply Reply Quote 1
                                      • 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.