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

    Donkey Kong Classic on NES not working with Xbox controller

    Scheduled Pinned Locked Moved Help and Support
    nes classic
    12 Posts 3 Posters 3.1k 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.
    • P
      pieinthesky
      last edited by Floob

      Pi Model or other hardware: Pi 3 B
      Power Supply used: Pi power adapter with 2 amp, runs fine
      RetroPie Version Used (3.6, 3.8.1, 4.01 etc.. - do not write latest): 4.1
      Built From: Pre made SD Image on RetroPie website
      USB Devices connected: wireless mouse, keyboard, usb drive (transfer roms)
      Controller used: Xbox
      Error messages received: none
      Log found in /dev/shm/runcommand.log (if relevant): n/a
      Guide used: (Mention if you followed a guide)
      File: [Do NOT link to roms - read the forum rules]
      Emulator: advmame 0.94
      Attachment of config files: n/a
      How to replicate the problem: Play the game and the controller does not work, keyboard works.

      rbakerR P 2 Replies Last reply Reply Quote 0
      • rbakerR
        rbaker @pieinthesky
        last edited by

        @pieinthesky said in Donkey Kong Classic on NES not working with Xbox controller:

        Emulator: advmame 0.94

        Is for mame roms! not NES. I'm guessing that you didn't mean to write that? There are 3 NES emulators, which one?

        Pi power adapter with 2 amp

        You need 2.5A to reliably run a Pi3 with controllers and peripherals .

        File: You are in breach of the forum rules

        Attachment of config files: n/a

        Why? people need to see your configs to spot mistakes

        P 1 Reply Last reply Reply Quote 0
        • P
          pieinthesky @pieinthesky
          last edited by

          @pieinthesky Sorry, I meant NES emulator should be lr-fceumm

          rbakerR 2 Replies Last reply Reply Quote 0
          • rbakerR
            rbaker @pieinthesky
            last edited by

            @pieinthesky ok, and your autoconfig from /opt/retropie/configs/all/retroarch-joypads?

            P 1 Reply Last reply Reply Quote 0
            • rbakerR
              rbaker @pieinthesky
              last edited by

              @pieinthesky and it would be helpful to see /opt/retropie/configs/nes/retroarch.cfg. I am assuming that you followed this guide first with your controller plugged in?

              P 1 Reply Last reply Reply Quote 0
              • P
                pieinthesky @rbaker
                last edited by

                @rbaker Thanks. It's 2.5 amp. Power is definitely not the problem.

                1 Reply Last reply Reply Quote 0
                • P
                  pieinthesky @rbaker
                  last edited by Floob

                  @rbaker Sorry, I'm not very good with Linux commands. Can't quite figure out how to download a file from putty. But, I managed to CAT it. I found Xbox360WirelessReceiver(XBOX).cfg' in the retroarch-joypads directory

                  input_device = "Xbox 360 Wireless Receiver (XBOX)"
                  input_driver = "udev"
                  input_r_y_plus_axis = "+3"
                  input_l3_btn = "11"
                  input_r_x_minus_axis = "-2"
                  input_l_btn = "4"
                  input_load_state_btn = "4"
                  input_start_btn = "9"
                  input_exit_emulator_btn = "9"
                  input_l_y_minus_axis = "-1"
                  input_up_btn = "15"
                  input_r_y_minus_axis = "-3"
                  input_a_btn = "0"
                  input_b_btn = "1"
                  input_reset_btn = "1"
                  input_down_btn = "16"
                  input_l_x_plus_axis = "+0"
                  input_l_y_plus_axis = "+1"
                  input_r_btn = "5"
                  input_save_state_btn = "5"
                  input_r2_btn = "7"
                  input_r3_btn = "12"
                  input_right_btn = "14"
                  input_state_slot_increase_btn = "14"
                  input_x_btn = "2"
                  input_menu_toggle_btn = "2"
                  input_select_btn = "8"
                  input_enable_hotkey_btn = "8"
                  input_l_x_minus_axis = "-0"
                  input_y_btn = "3"
                  input_left_btn = "13"
                  input_state_slot_decrease_btn = "13"
                  input_r_x_plus_axis = "+2"
                  input_l2_btn = "6"
                  
                  1 Reply Last reply Reply Quote 0
                  • P
                    pieinthesky @rbaker
                    last edited by Floob

                    @rbaker This what is in retroarch.cfg

                    # Settings made here will only override settings in the global retroarch.cfg if placed above the #include line
                    
                    input_remapping_directory = "/opt/retropie/configs/nes/"
                    
                    #include "/opt/retropie/configs/all/retroarch.cfg"
                    
                    rbakerR 1 Reply Last reply Reply Quote 0
                    • rbakerR
                      rbaker @pieinthesky
                      last edited by rbaker

                      @pieinthesky put small logs in code blocks - see http://commonmark.org/help/ - and put large logs on a pastebin type site like http://paste.ubuntu.com/ http://pastebin.com/ or similar as advised in https://retropie.org.uk/forum/topic/3/read-this-first. Now can you post fully the contents of /opt/retropie/configs/all/retroarch.cfgor just the control section of it. This file will control retroarch based emulations preceding with the lr prefix. Take a look at the typical default config. You should be seeing lines like

                      input_player1_joypad_index = 0
                      input_player1_b_btn = 2
                      input_player1_a_btn = 1
                      input_player1_y_btn = 3
                      input_player1_x_btn = 0
                      input_player1_l_btn = 4
                      input_player1_r_btn = 5
                      input_player1_start_btn = 9
                      input_player1_select_btn = 8
                      input_player2_joypad_index = 1
                      input_player2_b_btn = 2
                      input_player2_a_btn = 1
                      input_player2_y_btn = 3
                      input_player2_x_btn = 0
                      input_player2_l_btn = 4
                      input_player2_r_btn = 5
                      input_player2_start_btn = 9
                      input_player2_select_btn = 8
                      

                      But the values will be determined by what your controller gives.

                      1 Reply Last reply Reply Quote 0
                      • D
                        dudleydes
                        last edited by

                        @pieinthesky Just a thought...what happens if you unplug your keyboard?

                        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.