Player 2 controls still not working #13

Open
termenvox opened this Issue Jan 26, 2015 · 15 comments

Projects

None yet

8 participants

@termenvox

I see the commit from 2013 that supposedly fixed the player 2 controller not working, but it's still not working for me. Both controllers work with every other emulator core I've tried, i.e. picodrive, nes, turbografx16, but not with stella-libretro. It appears from the log output and the onscreen display that the second controller is being recognized, but the controller does nothing. I've also tried configuring keyboard inputs for player 2 with the same result. Verbose log output follows:

Press 'x' or 'm' to configure video output options for stellalibretro
Powering on HDMI with explicit settings (CEA mode 1)
rarch_main_init: === Build =======================================
Compiler: GCC (4.7.2) 32-bit
Built: Jan 11 2015
rarch_main_init: Version: 1.0.0.3
rarch_main_init: Git: 457ad74
rarch_main_init: =================================================
RetroArch: rarch_get_cpu_features: [CPUID]: Features:
RetroArch: parse_config_file: Loading config from: /opt/retropie/configs/all/retroarch.cfg.
RetroArch: config_load_file: Appending config "/opt/retropie/configs/atari2600/retroarch.cfg"
RetroArch: config_load_file: Appending config "/tmp/retroarch-rate.cfg"
config_load_file: === Config ===
RetroArch: config_file_dump_all: video_refresh_rate = "60" 
RetroArch: config_file_dump_all: video_shader = "/opt/retropie/emulators/retroarch/shader/phosphor.glslp" 
RetroArch: config_file_dump_all: video_shader_enable = "true" 
RetroArch: config_file_dump_all: video_smooth = "false" 
RetroArch: config_file_dump_all: video_aspect_ratio = "1.00" 
RetroArch: config_file_dump_all: core_options_path = "/opt/retropie/configs/all/retroarch-core-options.cfg" 
RetroArch: config_file_dump_all: system_directory = "/home/pi/RetroPie/roms/../BIOS" 
RetroArch: config_file_dump_all: config_save_on_exit = "false" 
RetroArch: config_file_dump_all: video_threaded = "true" 
RetroArch: config_file_dump_all: video_smooth = "false" 
RetroArch: config_file_dump_all: video_aspect_ratio_auto = "true" 
RetroArch: config_file_dump_all: video_shader_dir = "/opt/retropie/emulators/retroarch/shader/" 
RetroArch: config_file_dump_all: input_autodetect_enable = "true" 
RetroArch: config_file_dump_all: joypad_autoconfig_dir = "/opt/retropie/emulators/retroarch/configs/" 
RetroArch: config_file_dump_all: input_player1_a = "x" 
RetroArch: config_file_dump_all: input_player1_b = "z" 
RetroArch: config_file_dump_all: input_player1_y = "a" 
RetroArch: config_file_dump_all: input_player1_x = "s" 
RetroArch: config_file_dump_all: input_player1_start = "enter" 
RetroArch: config_file_dump_all: input_player1_select = "rshift" 
RetroArch: config_file_dump_all: input_player1_l = "q" 
RetroArch: config_file_dump_all: input_player1_r = "w" 
RetroArch: config_file_dump_all: input_player1_left = "left" 
RetroArch: config_file_dump_all: input_player1_right = "right" 
RetroArch: config_file_dump_all: input_player1_up = "up" 
RetroArch: config_file_dump_all: input_player1_down = "down" 
RetroArch: config_file_dump_all: input_exit_emulator = "escape" 
RetroArch: config_file_dump_all: input_shader_next = "m" 
RetroArch: config_file_dump_all: input_shader_prev = "n" 
RetroArch: config_file_dump_all: input_rewind = "r" 
RetroArch: config_file_dump_all: rewind_enable = "true" 
RetroArch: config_file_dump_all: rewind_buffer_size = "10" 
RetroArch: config_file_dump_all: rewind_granularity = "2" 
RetroArch: config_file_dump_all: video_gpu_screenshot = "true" 
RetroArch: config_file_dump_all: input_enable_hotkey = "ctrl" 
RetroArch: config_file_dump_all: input_player1_joypad_index = "0" 
RetroArch: config_file_dump_all: input_player1_b_btn = "1" 
RetroArch: config_file_dump_all: input_player1_y_btn = "3" 
RetroArch: config_file_dump_all: input_player1_select_btn = "6" 
RetroArch: config_file_dump_all: input_player1_start_btn = "7" 
RetroArch: config_file_dump_all: input_player1_up_axis = "-1" 
RetroArch: config_file_dump_all: input_player1_down_axis = "+1" 
RetroArch: config_file_dump_all: input_player1_left_axis = "-0" 
RetroArch: config_file_dump_all: input_player1_right_axis = "+0" 
RetroArch: config_file_dump_all: input_player1_a_btn = "0" 
RetroArch: config_file_dump_all: input_player1_x_btn = "2" 
RetroArch: config_file_dump_all: input_player1_l_btn = "4" 
RetroArch: config_file_dump_all: input_player1_r_btn = "5" 
RetroArch: config_file_dump_all: input_player2_joypad_index = "1" 
RetroArch: config_file_dump_all: input_player2_b_btn = "1" 
RetroArch: config_file_dump_all: input_player2_y_btn = "3" 
RetroArch: config_file_dump_all: input_player2_select_btn = "6" 
RetroArch: config_file_dump_all: input_player2_start_btn = "7" 
RetroArch: config_file_dump_all: input_player2_up_axis = "-1" 
RetroArch: config_file_dump_all: input_player2_down_axis = "+1" 
RetroArch: config_file_dump_all: input_player2_left_axis = "-0" 
RetroArch: config_file_dump_all: input_player2_right_axis = "+0" 
RetroArch: config_file_dump_all: input_player2_a_btn = "0" 
RetroArch: config_file_dump_all: input_player2_x_btn = "2" 
RetroArch: config_file_dump_all: input_player2_l_btn = "4" 
RetroArch: config_file_dump_all: input_player2_r_btn = "5" 
RetroArch: config_file_dump_all: input_player3_joypad_index = "2" 
RetroArch: config_file_dump_all: input_player3_b_btn = "1" 
RetroArch: config_file_dump_all: input_player3_y_btn = "3" 
RetroArch: config_file_dump_all: input_player3_select_btn = "6" 
RetroArch: config_file_dump_all: input_player3_start_btn = "7" 
RetroArch: config_file_dump_all: input_player3_up_axis = "-1" 
RetroArch: config_file_dump_all: input_player3_down_axis = "+1" 
RetroArch: config_file_dump_all: input_player3_left_axis = "-0" 
RetroArch: config_file_dump_all: input_player3_right_axis = "+0" 
RetroArch: config_file_dump_all: input_player3_a_btn = "0" 
RetroArch: config_file_dump_all: input_player3_x_btn = "2" 
RetroArch: config_file_dump_all: input_player3_l_btn = "4" 
RetroArch: config_file_dump_all: input_player3_r_btn = "5" 
RetroArch: config_file_dump_all: input_player4_joypad_index = "3" 
RetroArch: config_file_dump_all: input_player4_b_btn = "1" 
RetroArch: config_file_dump_all: input_player4_y_btn = "3" 
RetroArch: config_file_dump_all: input_player4_select_btn = "6" 
RetroArch: config_file_dump_all: input_player4_start_btn = "7" 
RetroArch: config_file_dump_all: input_player4_up_axis = "-1" 
RetroArch: config_file_dump_all: input_player4_down_axis = "+1" 
RetroArch: config_file_dump_all: input_player4_left_axis = "-0" 
RetroArch: config_file_dump_all: input_player4_right_axis = "+0" 
RetroArch: config_file_dump_all: input_player4_a_btn = "0" 
RetroArch: config_file_dump_all: input_player4_x_btn = "2" 
RetroArch: config_file_dump_all: input_player4_l_btn = "4" 
RetroArch: config_file_dump_all: input_player4_r_btn = "5" 
config_load_file: === Config end ===
RetroArch: load_symbols: Loading dynamic libretro from: "/opt/retropie/libretrocores/stellalibretro/stella_libretro.so"
RetroArch: verify_api_version: Version of libretro API: 1
RetroArch: verify_api_version: Compiled against API: 1
RetroArch: rarch_environment_cb: Environ GET_LOG_INTERFACE.
RetroArch: rarch_environment_cb: Environ PERFORMANCE_LEVEL: 4.
RetroArch: read_content_file: Loading content file: /home/pi/RetroPie/roms/atari2600/NTSCVideo/C/Combat (1977) (Atari) [!].bin.
RetroArch: patch_content: Did not find a valid content patch.
RetroArch: read_content_file: CRC32: 0x9c326a97 .
RetroArch: rarch_environment_cb: Environ SET_PIXEL_FORMAT: XRGB8888.
RetroArch: rarch_environment_cb: Environ SET_INPUT_DESCRIPTORS:
RetroArch: rarch_environment_cb:    RetroPad, User 1, Button "B (bottom)" => "Fire"
RetroArch: rarch_environment_cb:    RetroPad, User 1, Button "Select" => "Select"
RetroArch: rarch_environment_cb:    RetroPad, User 1, Button "Start" => "Reset"
RetroArch: rarch_environment_cb:    RetroPad, User 1, Button "D-Pad Up" => "Up"
RetroArch: rarch_environment_cb:    RetroPad, User 1, Button "D-Pad Down" => "Down"
RetroArch: rarch_environment_cb:    RetroPad, User 1, Button "D-Pad Left" => "Left"
RetroArch: rarch_environment_cb:    RetroPad, User 1, Button "D-Pad Right" => "Right"
RetroArch: rarch_environment_cb:    RetroPad, User 1, Button "L" => "Left Difficulty A"
RetroArch: rarch_environment_cb:    RetroPad, User 1, Button "R" => "Right Difficulty A"
RetroArch: rarch_environment_cb:    RetroPad, User 1, Button "L2" => "Left Difficulty B"
RetroArch: rarch_environment_cb:    RetroPad, User 1, Button "R2" => "Right Difficulty B"
RetroArch: rarch_environment_cb:    RetroPad, User 1, Button "L3" => "Color"
RetroArch: rarch_environment_cb:    RetroPad, User 1, Button "R3" => "Black/White"
RetroArch: rarch_environment_cb:    RetroPad, User 2, Button "B (bottom)" => "Fire"
RetroArch: rarch_environment_cb:    RetroPad, User 2, Button "D-Pad Up" => "Up"
RetroArch: rarch_environment_cb:    RetroPad, User 2, Button "D-Pad Down" => "Down"
RetroArch: rarch_environment_cb:    RetroPad, User 2, Button "D-Pad Left" => "Left"
RetroArch: rarch_environment_cb:    RetroPad, User 2, Button "D-Pad Right" => "Right"
RetroArch: init_core: Skipping SRAM load.
RetroArch: adjust_system_rates: Set audio input rate to: 31441.92 Hz.
RetroArch: rarch_main_command: Found shader "/opt/retropie/emulators/retroarch/shader/2xBR.glsl"
RetroArch: rarch_main_command: Found shader "/opt/retropie/emulators/retroarch/shader/5xbr-retro.glsl"
RetroArch: rarch_main_command: Found shader "/opt/retropie/emulators/retroarch/shader/5xbr-retro.glslp"
RetroArch: rarch_main_command: Found shader "/opt/retropie/emulators/retroarch/shader/5xbr-retro_phosphor.glslp"
RetroArch: rarch_main_command: Found shader "/opt/retropie/emulators/retroarch/shader/5xBR-v3.5.glsl"
RetroArch: rarch_main_command: Found shader "/opt/retropie/emulators/retroarch/shader/bead.glsl"
RetroArch: rarch_main_command: Found shader "/opt/retropie/emulators/retroarch/shader/blinky.glsl"
RetroArch: rarch_main_command: Found shader "/opt/retropie/emulators/retroarch/shader/box-1x.glsl"
RetroArch: rarch_main_command: Found shader "/opt/retropie/emulators/retroarch/shader/box-2x.glsl"
RetroArch: rarch_main_command: Found shader "/opt/retropie/emulators/retroarch/shader/box-3x.glsl"
RetroArch: rarch_main_command: Found shader "/opt/retropie/emulators/retroarch/shader/box-4x.glsl"
RetroArch: rarch_main_command: Found shader "/opt/retropie/emulators/retroarch/shader/box-max.glsl"
RetroArch: rarch_main_command: Found shader "/opt/retropie/emulators/retroarch/shader/bsnes_gamma_ramp.glsl"
RetroArch: rarch_main_command: Found shader "/opt/retropie/emulators/retroarch/shader/bsnes_gamma_ramp.glslp"
RetroArch: rarch_main_command: Found shader "/opt/retropie/emulators/retroarch/shader/cgwg-CRT-flat.glsl"
RetroArch: rarch_main_command: Found shader "/opt/retropie/emulators/retroarch/shader/cgwg-CRT-flat.glslp"
RetroArch: rarch_main_command: Found shader "/opt/retropie/emulators/retroarch/shader/CRT_cgwg.glsl"
RetroArch: rarch_main_command: Found shader "/opt/retropie/emulators/retroarch/shader/CRT_cgwg.glslp"
RetroArch: rarch_main_command: Found shader "/opt/retropie/emulators/retroarch/shader/dot.glsl"
RetroArch: rarch_main_command: Found shader "/opt/retropie/emulators/retroarch/shader/Edge.glsl"
RetroArch: rarch_main_command: Found shader "/opt/retropie/emulators/retroarch/shader/gamma.glsl"
RetroArch: rarch_main_command: Found shader "/opt/retropie/emulators/retroarch/shader/gamma2.glsl"
RetroArch: rarch_main_command: Found shader "/opt/retropie/emulators/retroarch/shader/hq2x&lcd3x.glslp"
RetroArch: rarch_main_command: Found shader "/opt/retropie/emulators/retroarch/shader/hq2x.glsl"
RetroArch: rarch_main_command: Found shader "/opt/retropie/emulators/retroarch/shader/hq2x.glslp"
RetroArch: rarch_main_command: Found shader "/opt/retropie/emulators/retroarch/shader/hq2x2.glsl"
RetroArch: rarch_main_command: Found shader "/opt/retropie/emulators/retroarch/shader/hq2x2.glslp"
RetroArch: rarch_main_command: Found shader "/opt/retropie/emulators/retroarch/shader/hq2x_lcd3x.glslp"
RetroArch: rarch_main_command: Found shader "/opt/retropie/emulators/retroarch/shader/hq2x_phosphor.glslp"
RetroArch: rarch_main_command: Found shader "/opt/retropie/emulators/retroarch/shader/hq2xwaterpaint.glslp"
RetroArch: rarch_main_command: Found shader "/opt/retropie/emulators/retroarch/shader/hq2xwaterpaintscanline.glslp"
RetroArch: rarch_main_command: Found shader "/opt/retropie/emulators/retroarch/shader/hq4x.glsl"
RetroArch: rarch_main_command: Found shader "/opt/retropie/emulators/retroarch/shader/hq4x.glslp"
RetroArch: rarch_main_command: Found shader "/opt/retropie/emulators/retroarch/shader/hq4x_lcd3x.glslp"
RetroArch: rarch_main_command: Found shader "/opt/retropie/emulators/retroarch/shader/lcd3x.glsl"
RetroArch: rarch_main_command: Found shader "/opt/retropie/emulators/retroarch/shader/ntsc-pass1.glsl"
RetroArch: rarch_main_command: Found shader "/opt/retropie/emulators/retroarch/shader/ntsc-pass2.glsl"
RetroArch: rarch_main_command: Found shader "/opt/retropie/emulators/retroarch/shader/ntsc-pass3.glsl"
RetroArch: rarch_main_command: Found shader "/opt/retropie/emulators/retroarch/shader/ntsc-pass4.glsl"
RetroArch: rarch_main_command: Found shader "/opt/retropie/emulators/retroarch/shader/ntsc-pass5.glsl"
RetroArch: rarch_main_command: Found shader "/opt/retropie/emulators/retroarch/shader/ntsc.glslp"
RetroArch: rarch_main_command: Found shader "/opt/retropie/emulators/retroarch/shader/phosphor-normalgamma.glsl"
RetroArch: rarch_main_command: Found shader "/opt/retropie/emulators/retroarch/shader/phosphor.glsl"
RetroArch: rarch_main_command: Found shader "/opt/retropie/emulators/retroarch/shader/phosphor.glslp"
RetroArch: rarch_main_command: Found shader "/opt/retropie/emulators/retroarch/shader/pixellate.glsl"
RetroArch: rarch_main_command: Found shader "/opt/retropie/emulators/retroarch/shader/quilez.glsl"
RetroArch: rarch_main_command: Found shader "/opt/retropie/emulators/retroarch/shader/retroarch.glslp"
RetroArch: rarch_main_command: Found shader "/opt/retropie/emulators/retroarch/shader/SABR-v1.0.glsl"
RetroArch: rarch_main_command: Found shader "/opt/retropie/emulators/retroarch/shader/scanline.glsl"
RetroArch: rarch_main_command: Found shader "/opt/retropie/emulators/retroarch/shader/snes-hires-blend.glsl"
RetroArch: rarch_main_command: Found shader "/opt/retropie/emulators/retroarch/shader/snes.glslp"
RetroArch: rarch_main_command: Found shader "/opt/retropie/emulators/retroarch/shader/snes2.glslp"
RetroArch: rarch_main_command: Found shader "/opt/retropie/emulators/retroarch/shader/snes3.glslp"
RetroArch: rarch_main_command: Found shader "/opt/retropie/emulators/retroarch/shader/snes_hq2x.glslp"
RetroArch: rarch_main_command: Found shader "/opt/retropie/emulators/retroarch/shader/snes_hq2xwaterpaint.glslp"
RetroArch: rarch_main_command: Found shader "/opt/retropie/emulators/retroarch/shader/snes_hq2xwaterpainthicontrast.glslp"
RetroArch: rarch_main_command: Found shader "/opt/retropie/emulators/retroarch/shader/snes_hq2xwaterpaintscanline.glslp"
RetroArch: rarch_main_command: Found shader "/opt/retropie/emulators/retroarch/shader/snes_lcd3x.glslp"
RetroArch: rarch_main_command: Found shader "/opt/retropie/emulators/retroarch/shader/snes_phosphor.glslp"
RetroArch: rarch_main_command: Found shader "/opt/retropie/emulators/retroarch/shader/snes_scanline.glslp"
RetroArch: rarch_main_command: Found shader "/opt/retropie/emulators/retroarch/shader/snes_waterpaint.glslp"
RetroArch: rarch_main_command: Found shader "/opt/retropie/emulators/retroarch/shader/stock.glsl"
RetroArch: rarch_main_command: Found shader "/opt/retropie/emulators/retroarch/shader/super2xSal.glsl"
RetroArch: rarch_main_command: Found shader "/opt/retropie/emulators/retroarch/shader/water.glsl"
RetroArch: rarch_main_command: Found shader "/opt/retropie/emulators/retroarch/shader/waterpaint-hicontrast.glsl"
RetroArch: rarch_main_command: Found shader "/opt/retropie/emulators/retroarch/shader/waterpaint-scanline.glsl"
RetroArch: rarch_main_command: Found shader "/opt/retropie/emulators/retroarch/shader/waterpaint.glsl"
RetroArch: init_video_input: Video @ 630x630
RetroArch: init_video_input: Starting threaded video driver ...
RetroArch: gfx_ctx_vc_init: [VC/EGL]: Initializing...
RetroArch: gl_init: Found GL context: videocore
RetroArch: gl_init: Detecting screen resolution 640x480.
RetroArch: gl_init: [GL]: Vendor: Broadcom, Renderer: VideoCore IV HW.
RetroArch: gl_init: [GL]: Version: OpenGL ES 2.0.
RetroArch: gl_query_extension: Querying GL extension: BGRA8888 => exists
RetroArch: resolve_extensions: [GL]: BGRA8888 extension found for GLES.
RetroArch: gl_query_extension: Querying GL extension: GL_EXT_unpack_subimage => doesn't exist
RetroArch: gl_query_extension: Querying GL extension: EXT_sRGB => doesn't exist
RetroArch: gl_init: GL: Using resolution 640x480
RetroArch: gl_init: [GL]: Default shader backend found: glsl.
RetroArch: gl_shader_init: [GL]: Using GLSL shader backend.
RetroArch: compile_program: Found GLSL vertex shader.
RetroArch: print_shader_log: Shader log: Compiled
RetroArch: compile_program: Found GLSL fragment shader.
RetroArch: print_shader_log: Shader log: Compiled
RetroArch: compile_program: Linking GLSL program.
RetroArch: compile_program: Found GLSL vertex shader.
RetroArch: print_shader_log: Shader log: Compiled
RetroArch: compile_program: Found GLSL fragment shader.
RetroArch: print_shader_log: Shader log: Compiled
RetroArch: compile_program: Linking GLSL program.
RetroArch: compile_program: Found GLSL vertex shader.
RetroArch: print_shader_log: Shader log: Compiled
RetroArch: compile_program: Found GLSL fragment shader.
RetroArch: print_shader_log: Shader log: Compiled
RetroArch: compile_program: Linking GLSL program.
RetroArch: gl_init: [GL]: Using 4 textures.
RetroArch: gl_init: [GL]: Loaded 1 program(s).
RetroArch: gfx_ctx_vc_egl_query_extension: Querying EGL extension: KHR_image => exists
RetroArch: font_renderer_create_default: Using font rendering backend: freetype.
RetroArch: init_video_input: Graphics driver did not initialize an input driver. Attempting to pick a suitable driver.
RetroArch: open_devices: [udev] Adding device /dev/input/event0 as type ID_INPUT_KEYBOARD.
RetroArch: open_devices: [udev] Adding device /dev/input/event1 as type ID_INPUT_MOUSE.
RetroArch: open_devices: [udev] Adding device /dev/input/mouse0 as type ID_INPUT_MOUSE.
RetroArch: add_pad: [udev]: Plugged pad: USB,2-axis 8-button gamepad   (0583:2060) on port #0.
RetroArch: input_try_autoconfigure_joypad_from_conf: Joypad port #0 (USB,2-axis 8-button gamepad  ) configured.
RetroArch: add_pad: [udev]: Pad #0 (/dev/input/event2) supports 0 force feedback effects.
RetroArch: add_pad: [udev]: Plugged pad: USB,2-axis 8-button gamepad   (0583:2060) on port #1.
RetroArch: input_try_autoconfigure_joypad_from_conf: Joypad port #1 (USB,2-axis 8-button gamepad  ) configured.
RetroArch: add_pad: [udev]: Pad #1 (/dev/input/event3) supports 0 force feedback effects.
RetroArch: input_joypad_init_driver: Found joypad driver: "udev".
RetroArch: alsathread_find_float_format: ALSA: Using signed 16-bit format.
RetroArch: alsa_thread_init: ALSA: Period size: 384 frames
RetroArch: alsa_thread_init: ALSA: Buffer size: 1536 frames
RetroArch: rarch_get_cpu_features: [CPUID]: Features:
RetroArch: resampler_sinc_new: Sinc resampler [C]
RetroArch: resampler_sinc_new: SINC params (8 phase bits, 16 taps).
RetroArch [ERROR] :: init_rewind :: Implementation does not support save states. Cannot use rewind.
RetroArch: rarch_main_command: Loading history file: [/opt/retropie/configs/all/retroarch-content-history.txt].
RetroArch: save_files: Saving RAM type #0 to "/home/pi/RetroPie/roms/atari2600/NTSCVideo/C/Combat (1977) (Atari) [!].srm".
RetroArch: save_files: Saving RAM type #1 to "/home/pi/RetroPie/roms/atari2600/NTSCVideo/C/Combat (1977) (Atari) [!].rtc".
RetroArch: compute_audio_buffer_statistics: Average audio buffer saturation: 56.79 %, standard deviation (percentage points): 13.80 %.
RetroArch: compute_audio_buffer_statistics: Amount of time spent close to underrun: 0.25 %. Close to blocking: 8.83 %.
RetroArch: thread_free: Threaded video stats: Frames pushed: 793, Frames dropped: 1.
RetroArch: compute_monitor_fps_statistics: Monitor FPS estimation is disabled for threaded video.
RetroArch: free_temporary_content: Removing temporary content file: /home/pi/RetroPie/roms/atari2600/NTSCVideo/C/Combat (1977) (Atari) [!].bin.
Powering on HDMI with preferred settings
@xazatothx

I have the same issue. Sure could do with some help on this one. Is it a bug or config issue?

@termenvox

Don't see how it could be a config problem. I'm using the exact same config file for other libretro cores, and the rest work fine. I've also tried getting rid of controller configs entirely and letting it autodetect, but the results are the same. Retroarch sees both controllers (OSD lists both when I start a game), but only player 1 works.

Should have mentioned this before, but I'm using this on a Raspberry Pi running Raspbian Wheezy. I installed retroarch and a few libretro cores using the RetroPie script, selecting build from source.

@neurorulez

Yes, same isue here. Player 2 controls dont work. I remaped the keyboardo for both players and only player 1 works.

@philipp4-13
Contributor

Player 2 controls should finally be fixed since my pull request has been merged, so this issue can be closed.

@odkmo
odkmo commented Aug 19, 2015

I also am having a problem with Player 2 controller not being recognized. I am using a Raspberry Pi 2 with RetroPie version 3.0 installed. I was wondering if there is a way to force Stella to recognize a second controller by altering the retroarch.cfg file specific to Stella?

@neurorulez

Update the core from the source in the retropie-setup.
I updated the it and now the player 2 works fine.
Retropie 3.0 sd image is not updaged.

@philipp4-13
Contributor

It's a problem in the code, not the config, but it's been fixed in the repository. You can fix it by quitting emulationstation from your pi, and then typing the following commands:

git clone https://github.com/libretro/stella-libretro.git
cd stella-libretro
make
cd /opt/retropie/libretrocores/lr-stella
sudo cp stella_libretro.so stella_libretro.so.bak
sudo rm stella_libretro.so
sudo cp /home/pi/stella-libretro/stella_libretro.so stella_libretro.so

@odkmo
odkmo commented Aug 20, 2015

Thank you so much for your response. Your solution worked and now I can play "Freeway" with my daughter. This has been driving me nuts for a couple of months.Thanks and have a great day!Kris

---------- Original Message ----------
From: neurorulez notifications@github.com
To: libretro/stella-libretro stella-libretro@noreply.github.com
Cc: odkmo odkmo@juno.com
Subject: Re: [stella-libretro] Player 2 controls still not working (#13)
Date: Wed, 19 Aug 2015 14:47:42 -0700

Update the core from the source in the retropie-setup.
I updated the it and now the player 2 works fine.
Retropie 3.0 sd image is not updaged.

Reply to this email directly or view it on GitHub.

@odkmo
odkmo commented Aug 20, 2015

Thank you so much for your response. Before you, someone else recommended updating the core from the source code in Retropie-Setup. I assume that is the "lazy man's" way of doing what you suggested. All is well now and player 2 works fine.Thanks and have a great day!Kris

---------- Original Message ----------
From: philipp4-13 notifications@github.com
To: libretro/stella-libretro stella-libretro@noreply.github.com
Cc: odkmo odkmo@juno.com
Subject: Re: [stella-libretro] Player 2 controls still not working (#13)
Date: Wed, 19 Aug 2015 15:58:13 -0700

It's a problem in the code, not the config, but it's been fixed in the repository. You can fix it by quitting emulationstation from your pi, and then typing the following commands:
git clone https://github.com/libretro/stella-libretro.git
cd stella-libretro
make
cd /opt/retropie/libretrocores/lr-stella
sudo cp stella_libretro.so stella_libretro.so.bak
sudo rm stella_libretro.so
sudo cp /home/pi/stella-libretro/stella_libretro.so stella_libretro.so

Reply to this email directly or view it on GitHub.

@philipp4-13
Contributor

Awesome, glad to help!

@jonastadeu

Hello. I'm using the retrosmc (Retroarch + OSMC). All works fine, beside the Player 2 control problem.
I did follow the steps above (make a new .so and substitute the original file by the new one), but something went wrong. The games just wont open anymore.
It works again (whit Player 2 control problem) if I replace the new .so by the old one.

Can someone help?

Tanks.
PS.: sorry about my English.

@thaiscafreso

Hi!
Can anyone help me? I didn´t understand how can I do with those commands. Should I download something and update?

@hizzlekizzle
Member

You have to download the source code from the repo, which has had the fix for a long time, compile it and then replace the old, broken core library with the one you just compiled. (that's what those commands do)

Other than that, you could ask the Retropie people for help. I'm surprised they're still using such an old version. They really should update.

@thaiscafreso

Sorri about the noob questionar, but, where I can download the source code? It's the stella source code?

@hizzlekizzle
Member

No problem. Yes, the stella-libretro source code. These are the steps to download and compile it (adapted from philipp4-13's post above; omit the parts in parentheses, which I've added for context):

git clone https://github.com/libretro/stella-libretro.git
(this downloads the code to your pi; do it in your home directory)
cd stella-libretro
(this navigates into the source code you just downloaded)
make
(this compiles the code)
cd /opt/retropie/libretrocores/lr-stella
(this navigates to the directory on your pi that houses the stella emulation library)
sudo cp stella_libretro.so stella_libretro.so.bak
(this makes a backup of your old stella library just in case)
sudo rm stella_libretro.so
(this deletes your old stella library to make room for the new one; the backup is still there)
sudo cp /home/pi/stella-libretro/stella_libretro.so stella_libretro.so
(this copies your newly-built stella library from the source code directory to the directory where your stella emulation library lives)

If something goes wrong, you can revert to your old stella library backup by doing:
cd /opt/retropie/libretrocores/lr-stella
(navigates you to the directory where your stella emulation library lives)
sudo rm stella_libretro.so
(this deletes your newly-built stella library to make room for your old backup to be restored)
sudo mv stella_libretro.so.bak stella_libretro.so
(this renames your backup to make it work with RetroArch again)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment