Recalbox Forum

    • Register
    • Login
    • Search
    • Recent
    • Tags
    • recalbox.com
    • Gitlab repository
    • Documentation
    • Discord

    N64 controller and recalbox.

    GamePad/GPIO/USB encoder
    4.0.0 generic n64 usb controller
    9
    23
    30134
    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.
    • eagleeye1011
      eagleeye1011 @Substring last edited by

      @Substring

      Okay so I just recently installed Recalbox 4.0.1 on my Raspberry Pi 3 and purchased the same controller as @Zelaf. I'm having trouble configuring it to work. I logged into root access, used the js command, which listed the Retorlink controller as something to the effect of, "Joystick (Generic Joystick .....)" I then used the "nano /usr/share/mupen64plus/InputAutoCfg.ini" command to edit the InputAutoCfg.Ini file but noticed my controller name (Joystick (Generic Joystick....) in the list with the exact same button configuration as that in the Github forum. Do I need type a whole new configuration or can I simply edit the configuration that matches my controller to read "Retrolink N64 controller" or something to that effect? Also, how do I add n64.configfile=dummy in recalbox.conf? Thanks for the help. Really excited about playing old N64 games.

      Substring 1 Reply Last reply Reply Quote 0
      • Substring
        Substring @eagleeye1011 last edited by

        @eagleeye1011 If it exists, just edit recalbox.conf to add the specified line. You can use nano ~/recalbox.conf to do so

        Former dev - Please reply with @substring so that i am notified when you answer me
        Ex dev - Merci de me répondre en utilisant @substring pour que je sois notifé

        eagleeye1011 2 Replies Last reply Reply Quote 0
        • eagleeye1011
          eagleeye1011 @Substring last edited by

          @substring Can you explain this further so I understand? Very new to this whole thing.

          Substring 1 Reply Last reply Reply Quote 0
          • Substring
            Substring @eagleeye1011 last edited by

            @eagleeye1011 I guess editing the recalbox.conf must be detailled in the wiki ...

            The easy way if you're running windows : open yout browser to http://recalbox/

            Former dev - Please reply with @substring so that i am notified when you answer me
            Ex dev - Merci de me répondre en utilisant @substring pour que je sois notifé

            1 Reply Last reply Reply Quote 0
            • eagleeye1011
              eagleeye1011 @Substring last edited by eagleeye1011

              @substring I've tried the "nano ~/recalbox.conf" command and it did nothing. I am more than likely very confused. What is the purpose of adding "n64.configfile=dummy" in recalbox.conf and how exactly do I do this step by step.

              Substring 1 Reply Last reply Reply Quote 0
              • Substring
                Substring @eagleeye1011 last edited by Substring

                @eagleeye1011 said in N64 controller and recalbox.:

                I've tried the "nano ~/recalbox.conf" command and it did nothing

                How and where did you try it ? Have you followed https://github.com/recalbox/recalbox-os/wiki/Root-access-on-terminal-(EN) ?

                Have you tried the URL I gave you ?

                The n64.configfile=dummy prevents recalbox from auto-configuring N64 depending on your pad setup. It's mandatory if you want to customize your inputs as they don't follow the main configuration rule.

                Former dev - Please reply with @substring so that i am notified when you answer me
                Ex dev - Merci de me répondre en utilisant @substring pour que je sois notifé

                1 Reply Last reply Reply Quote 0
                • fiveminutebreak
                  fiveminutebreak @Substring last edited by

                  @substring Tried every method to access InputAutoCfg, and cannot find a way to access it with write permission. Every time it opens as read-only. Is there something I'm missing or something that changed?

                  Substring 1 Reply Last reply Reply Quote 0
                  • acris
                    acris last edited by

                    Hello
                    https://github.com/recalbox/recalbox-os/wiki/Make-a-partition-writable-(EN)

                    1 Reply Last reply Reply Quote 1
                    • Substring
                      Substring @fiveminutebreak last edited by

                      @fiveminutebreak That file is in /recalbox/share/system/configs/mupen64 which is writeable

                      Former dev - Please reply with @substring so that i am notified when you answer me
                      Ex dev - Merci de me répondre en utilisant @substring pour que je sois notifé

                      1 Reply Last reply Reply Quote 0
                      • dh04000
                        dh04000 last edited by

                        @Substring

                        Hey, I recently purchased one of these controllers myself, and I can't seem to get it to work. I followed the (https://github.com/recalbox/recalbox-os/wiki/Configure-N64-controllers-(EN)) but jstest won't work. I added this (n64.configfile=dummy) to the end of my recalbox.conf file. I tried to manually edit the InputAutoCfg.ini file (nano /recalbox/share/system/configs/mupen64/InputAutoCfg.ini) and added the following to the end of the file:

                        [Generic USB Joystick]
                        plugged = True
                        plugin = 2
                        mouse = False
                        AnalogDeadzone = 4096,4096
                        AnalogPeak = 32768,32768
                        DPad R = hat(0 Right)
                        DPad L = hat(0 Left)
                        DPad D = hat(0 Down)
                        DPad U = hat(0 Up)
                        Start = button(9)
                        Z Trig = button(7)
                        B Button = button(8)
                        A Button = button(6)
                        C Button R = button(1)
                        C Button L = button(3)
                        C Button D = button(2)
                        C Button U = button(0)
                        R Trig = button(5)
                        L Trig = button(4)
                        Mempak switch =
                        Rumblepak switch =
                        X Axis = axis(0-,0+)
                        Y Axis = axis(3-,3+)

                        But, I don't think it sees the changes I made when I start up the emulator. Just what changes I made in the controller config GUI in the controller menu.

                        1 Reply Last reply Reply Quote 0
                        • dh04000
                          dh04000 last edited by

                          @Substring

                          Never mind. I found the problem, I had an extra bracket far right to the controller name.

                          To help other's with this controller. here's my controller config:

                          [Generic USB Joystick]
                          plugged = True
                          plugin = 2
                          mouse = False
                          AnalogDeadzone = 4096,4096
                          AnalogPeak = 32768,32768
                          DPad R = hat(0 Right)
                          DPad L = hat(0 Left)
                          DPad D = hat(0 Down)
                          DPad U = hat(0 Up)
                          Start = button(9)
                          Z Trig = button(7)
                          B Button = button(8)
                          A Button = button(6)
                          C Button R = button(1)
                          C Button L = button(3)
                          C Button D = button(2)
                          C Button U = button(0)
                          R Trig = button(5)
                          L Trig =
                          Mempak switch =
                          Rumblepak switch =
                          X Axis = axis(0-,0+)
                          Y Axis = axis(3-,3+)

                          I unmapped the left trigger to use for the mupen64plus.cfg, where I mapped J0B4/B9 as exit emulation, J0B4/B6 as save state, and J0B4/B8 as Load state. These options are changed in the [Core Options].

                          What is the command for Hat0 left or right though..... do you know Substring?

                          Substring Chris Matthes 2 Replies Last reply Reply Quote 1
                          • Substring
                            Substring @dh04000 last edited by

                            @dh04000 said in N64 controller and recalbox.:

                            What is the command for Hat0 left or right though

                            i don't understand

                            Former dev - Please reply with @substring so that i am notified when you answer me
                            Ex dev - Merci de me répondre en utilisant @substring pour que je sois notifé

                            dh04000 1 Reply Last reply Reply Quote 0
                            • dh04000
                              dh04000 @Substring last edited by

                              @substring said in N64 controller and recalbox.:

                              @dh04000 said in N64 controller and recalbox.:

                              What is the command for Hat0 left or right though

                              i don't understand

                              I should have written more clearly. What I was asking is what the symbol for directon pads looks like in the mupen64plus.cfg file. Player 1 Button 9 is J0B9. What is Player 1 direction pad right? J0(something)?

                              Substring 1 Reply Last reply Reply Quote 0
                              • Substring
                                Substring @dh04000 last edited by

                                @dh04000 should check in the mupen doc, but i think they can't be mapped

                                Former dev - Please reply with @substring so that i am notified when you answer me
                                Ex dev - Merci de me répondre en utilisant @substring pour que je sois notifé

                                1 Reply Last reply Reply Quote 0
                                • Chris Matthes
                                  Chris Matthes @dh04000 last edited by Chris Matthes

                                  @dh04000 said in N64 controller and recalbox.:

                                  @Substring

                                  Never mind. I found the problem, I had an extra bracket far right to the controller name.

                                  To help other's with this controller. here's my controller config:

                                  [Generic USB Joystick]
                                  plugged = True
                                  plugin = 2
                                  mouse = False
                                  AnalogDeadzone = 4096,4096
                                  AnalogPeak = 32768,32768
                                  DPad R = hat(0 Right)
                                  DPad L = hat(0 Left)
                                  DPad D = hat(0 Down)
                                  DPad U = hat(0 Up)
                                  Start = button(9)
                                  Z Trig = button(7)
                                  B Button = button(8)
                                  A Button = button(6)
                                  C Button R = button(1)
                                  C Button L = button(3)
                                  C Button D = button(2)
                                  C Button U = button(0)
                                  R Trig = button(5)
                                  L Trig =
                                  Mempak switch =
                                  Rumblepak switch =
                                  X Axis = axis(0-,0+)
                                  Y Axis = axis(3-,3+)

                                  I unmapped the left trigger to use for the mupen64plus.cfg, where I mapped J0B4/B9 as exit emulation, J0B4/B6 as save state, and J0B4/B8 as Load state. These options are changed in the [Core Options].

                                  What is the command for Hat0 left or right though..... do you know Substring?

                                  thank u so much! works with my 1€ N64 USB Controller on ebay 😄

                                  dh04000 1 Reply Last reply Reply Quote 0
                                  • dh04000
                                    dh04000 @Chris Matthes last edited by

                                    @chris-matthes said in N64 controller and recalbox.:

                                    @dh04000 said in N64 controller and recalbox.:

                                    @Substring

                                    Never mind. I found the problem, I had an extra bracket far right to the controller name.

                                    To help other's with this controller. here's my controller config:

                                    [Generic USB Joystick]
                                    plugged = True
                                    plugin = 2
                                    mouse = False
                                    AnalogDeadzone = 4096,4096
                                    AnalogPeak = 32768,32768
                                    DPad R = hat(0 Right)
                                    DPad L = hat(0 Left)
                                    DPad D = hat(0 Down)
                                    DPad U = hat(0 Up)
                                    Start = button(9)
                                    Z Trig = button(7)
                                    B Button = button(8)
                                    A Button = button(6)
                                    C Button R = button(1)
                                    C Button L = button(3)
                                    C Button D = button(2)
                                    C Button U = button(0)
                                    R Trig = button(5)
                                    L Trig =
                                    Mempak switch =
                                    Rumblepak switch =
                                    X Axis = axis(0-,0+)
                                    Y Axis = axis(3-,3+)

                                    I unmapped the left trigger to use for the mupen64plus.cfg, where I mapped J0B4/B9 as exit emulation, J0B4/B6 as save state, and J0B4/B8 as Load state. These options are changed in the [Core Options].

                                    What is the command for Hat0 left or right though..... do you know Substring?

                                    thank u so much! works with my 1€ N64 USB Controller on ebay 😄

                                    I'm glad that I was able to help you with my documentation. 🙂

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

                                    Want to support us ?

                                    78
                                    Online

                                    99.6k
                                    Users

                                    28.1k
                                    Topics

                                    187.1k
                                    Posts

                                    Copyright © 2021 recalbox.com