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

    Help editing n64 InputAutoCfg file for GPIO

    Scheduled Pinned Locked Moved Help and Support
    cpioarcade
    19 Posts 2 Posters 3.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.
    • K
      kiphouse
      last edited by

      You are a lifesaver. One more thing, my controls all work with the various emulators, but my n64 is giving me trouble for days and i cant figure it out. it seems when i input the dpad controls and go into the game its using the analog which is no good to the games i have. when i input the joystick in the analog controls it just goes all wonky. the actual buttons seem to work okay but not the joystick. sometimes depending on what i input, one or two directions might work, but thats it. any ideas?

      1 Reply Last reply Reply Quote 0
      • K
        kiphouse @simonster
        last edited by kiphouse

        @simonster said in Any way to access the rest of a 32gb sd card when I flash a 16gb image?:

        @kiphouse

        The should either have been an empty file or just the one line in it. I'm hoping that the stuff at the bottom are the shortcut keys, they aren't in the file, they are like a help screen. If there was nothing in the file, then just type in:

        options mk_arcade_joystick_rpi map=1,2

        press CTRL+X, Y, Enter to save the file and exit the nano editor.

        Then sudo reboot to force your Pi to restart, this should then load the config.

        You need to configure both inputs in Emulation Station, as they are listed as separate devices (GPIOController1 and GPIOController2) and the config doesn't automatically switch from player 1 to player 2 (this is different to a USB gamepad, where if you have 2 identical ones, the config automatically is used on both). Press Start on the first controller and Configure Input, then press a button on controller 2 to set it up.

        Hey. Do u know how I can get the dpad working for my cpio joystick. When I map the joystick it acts as the analog stick in the emu. When I map it as the analog it becomes all wonky.

        1 Reply Last reply Reply Quote 0
        • K
          kiphouse
          last edited by

          bump

          1 Reply Last reply Reply Quote 0
          • simonsterS
            simonster
            last edited by

            The default N64 emulator is not a LibRetro emulator (which differs from most of the emulators in RetroPie), its controls are setup using an entirely different method. You will have to take a look at the documentation: https://retropie.org.uk/docs/Nintendo-64/

            K 2 Replies Last reply Reply Quote 0
            • K
              kiphouse @simonster
              last edited by

              @simonster said in How can I get n64 dpad working with cpio joystick?:

              The default N64 emulator is not a LibRetro emulator (which differs from most of the emulators in RetroPie), its controls are setup using an entirely different method. You will have to take a look at the documentation: https://retropie.org.uk/docs/Nintendo-64/

              i just ran jstest to see what exactly comes up when i try and use my joystick. up is -32767
              down is 32767 left is -32767 and right is 32767
              when i find my controller in sudo nano /opt/retropie/configs.n64/InputAutoCfg.ini i see this (nothing for dpad, which is all im looking for)

              GPIO Controller 1_START
              [GPIO Controller 1]
              plugged = True
              plugin = 2
              mouse = false
              AnalogDeadzone = 4096,4096
              AnalogPeak = 32768, 32768
              Mempak switch =
              Rumblepak switch =
              Start = button(11)
              C Button D = button(3)
              A Button = button(0)
              R Trig = button(7)
              C Button U = button(3)
              B Button = button(1)
              X Axis = axis(0-, 0+)
              Y Axis = axis(1-, 1+)
              Z Trig = button(6)
              ; GPIO Controller 1_END

              1 Reply Last reply Reply Quote 0
              • K
                kiphouse
                last edited by

                bump

                1 Reply Last reply Reply Quote 0
                • K
                  kiphouse @simonster
                  last edited by

                  @simonster said in Help editing n64 InputAutoCfg file for CPIO:

                  The default N64 emulator is not a LibRetro emulator (which differs from most of the emulators in RetroPie), its controls are setup using an entirely different method. You will have to take a look at the documentation: https://retropie.org.uk/docs/Nintendo-64/

                  i installed that parallel emu and my joystick works fine on it, but of course it runs way too slow. help?

                  1 Reply Last reply Reply Quote 0
                  • K
                    kiphouse
                    last edited by

                    bump

                    simonsterS 1 Reply Last reply Reply Quote 0
                    • simonsterS
                      simonster @kiphouse
                      last edited by

                      @kiphouse

                      I am in the middle of moving house, so haven't got my cab available to test but the fields you need are

                      Dpad D= axis(0+)
                      Dpad U= axis(0-)
                      Dpad R= axis(1+)
                      Dpad L= axis (1-)

                      Or maybe 0/1 should be swapped.

                      K 1 Reply Last reply Reply Quote 0
                      • K
                        kiphouse @simonster
                        last edited by

                        @simonster i want to tell you how much i appreciate you helping me. After more twelve hour days than id like to admit trying to get it to work i finally did it!! I followed what u last told me to do and put in "0" instead of "2" to make it manual. The last little piece im wondering about is can i map one button as either direction of the analog stick? Im doing this for the wrestling games that all require a tap of the analog to perform your finishing move.

                        simonsterS 1 Reply Last reply Reply Quote 0
                        • simonsterS
                          simonster @kiphouse
                          last edited by simonster

                          @kiphouse checking the Mupen64 documentation: http://mupen64plus.org/wiki/index.php?title=Mupen64Plus_Plugin_Parameters I think you should be able to do this, try:

                          X Axis= button(0,1)
                          Y Axis= button(2,3)

                          You will need to get your button numbers. In the settings above, button 0 is left, 1 right, 2 up and 3 down.

                          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.