Donkey Kong Classic on NES not working with Xbox controller
-
I managed to get Pi 3 B running NES emulator with couple classic games,
Donkey Kong Classics (USA, EUROPE)
Pac-Man (USA) (NAMCO)I can use the keyboard to play, but I can't seem to get it working with an Xbox controller. I know the Xbox controller is working cause I can use it to navigate on the main menu. I could even use it to play "Galaga (NAMECO REV. B)" on Advmame 0.94 emulator. But, for the life of me I can't figure out why the controller is not working in the NES system.
Once I get in the NES system I could even use the Xbox controller to move up and down to select the games. But, once it's in the game, the controller seem to stop working. What am I doing wrong?
And please don't help by telling me to read the wiki...cause I already tried to read it there and could not figure it out.
-
@pieinthesky said in Donkey Kong Classic on NES not working with Xbox controller:
And please don't help by telling me to read the wiki...cause I already tried to read it there and could not figure it out.
What about this? https://retropie.org.uk/forum/topic/3/read-this-first
Pi Model or other hardware: (B, B+, 2 B, 3, X86 PC etc..)
Power Supply used: (If using a Pi)
RetroPie Version Used (3.6, 3.8.1, 4.01 etc.. - do not write latest):
Built From: (Pre made SD Image on RetroPie website, Berryboot, or on top of existing OS etc..)
USB Devices connected:
Controller used:
Error messages received:
Log found in /dev/shm/runcommand.log (if relevant):
Guide used: (Mention if you followed a guide)
File: (File with issue - with FULL path)
Emulator: (Name of emulator - if applicable)
Attachment of config files: (PLEASE USE PASTEBIN.COM FOR LARGE LOGS)
How to replicate the problem: -
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. -
@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
-
@pieinthesky Sorry, I meant NES emulator should be lr-fceumm
-
@pieinthesky ok, and your autoconfig from
/opt/retropie/configs/all/retroarch-joypads
? -
@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? -
@rbaker Thanks. It's 2.5 amp. Power is definitely not the problem.
-
@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"
-
@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"
-
@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.cfg
or 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 likeinput_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.
-
@pieinthesky Just a thought...what happens if you unplug your keyboard?
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.