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