Swapping controllers for player one with Controlblock and USB controller
-
@m2306 The controller has to be plugged in before starting the game to become P1, it won't happen at runtime. The joystick selection tool will re-order the gamepad - as configured - before RetroArch starts, but it has no effect during the game. Keyboard is a special case handled by RetroArch.
-
@mitu So, I can’t do it, is that what you are saying? What is the script supposed to do, how can I toggle the controllers?
-
@m2306 No, I'm saying you need to have the controller plugged in before starting the game in order to become P1. If it's not plugged in, then the next one will be P1, but you can't have 2 controllers act as P1 at the same time (when plugged in).
-
@mitu Thank you for bearing with me. I just don’t get it. So here’s what I’ve done: I have a Controlblock with two arcade controllers and two USB iNnext SNES pads. All the controllers are configured via ES menu. The arcade controllers are set as player 1 & 2, the pads as 3 & 4 in meleus script. They all work while in the ES menus but no matter which controller I use in the menu only the arcade controller 1 will work as player 1 once any game starts. If I can’t make the USB pad work like the keyboard, overriding player 1 (which is what I want), what is the easiest way of swapping between arcade controller and pad? Thank you!
-
Well, let's see. Can you attach a RetroArch log from running the game with and without the joystick selection tool configuration ? Enable verbose logging in the Runcommand launch menu and then get the
/dev/shm/runcommand.log
for both runs.
This will show the ordering of the gamepads, with and without any addition configuration. -
@mitu I enabled verbose and opened the log. I just don’t know how to access the log in a way where I could copy and paste it here. I’m on OSX and I access the RPi SD by taking it out and using it in the card reader on my Mac. I can see the contents of the card in the terminal or in the gui but thats as far as I get with my skills. I could do a photo of the log but that’s not how you do things here.. Not that it ends here, I also don’t know how to disable or uninstall the joystick script so I can’t provide the log for the situation without the joystick script. X(
-
@m2306 On macOS, you can simply
scp
the file from RetroPie to your desktop from a terminal session.scp pi@retropie:/dev/shm/runcommand.log Desktop
To remove the joystick selection tool, just use the RetroPie-setup script and remove the
joystick-selection
package from the experimental packages section. -
@mitu Here goes. The log with the joystick script enabled, everything else should be pretty much default settings. I have two ControlBlock arcade controllers and two USB SNES pads connected and all four work in the ES menus. After starting the game I tried pressing start on players 4, 3 and 2 without results until player one started the game, after this I quit with Hotkey+Start.
--- start of joystick-selection log joystick selection by name is ON! joystick indexes for "all" was configured --- end of joystick-selection log Parameters: Executing: /opt/retropie/emulators/retroarch/bin/retroarch -L /opt/retropie/libretrocores/lr-snes9x2010/snes9x2010_libretro.so --config /opt/retropie/configs/snes/retroarch.cfg "/home/pi/RetroPie/roms/snes/Super Mario World (USA).zip" --verbose --appendconfig /dev/shm/retroarch.cfg [INFO] RetroArch 1.7.1 (Git 6fc6bfb) [INFO] Redirecting save file to "/home/pi/RetroPie/roms/snes/Super Mario World (USA).srm". [INFO] Redirecting savestate to "/home/pi/RetroPie/roms/snes/Super Mario World (USA).state". [INFO] === Build ======================================= Capabilities: NEON VFPv3 VFPv4 Built: Mar 19 2018 [INFO] Version: 1.7.1 [INFO] Git: 6fc6bfb [INFO] ================================================= [INFO] [Config]: loading config from: /opt/retropie/configs/snes/retroarch.cfg. [INFO] Config: appending config "/dev/shm/retroarch.cfg" [INFO] Loading dynamic libretro core from: "/opt/retropie/libretrocores/lr-snes9x2010/snes9x2010_libretro.so" [INFO] [overrides] no core-specific overrides found at /home/pi/.config/retroarch/config/Snes9x 2010/Snes9x 2010.cfg. [INFO] [overrides] no game-specific overrides found at /home/pi/.config/retroarch/config/Snes9x 2010/Super Mario World (USA).cfg. [INFO] Shaders: preset directory: /home/pi/.config/retroarch/shaders/presets [INFO] Shaders: no game-specific preset found at /home/pi/.config/retroarch/shaders/presets/Snes9x 2010/Super Mario World (USA).cgp. [INFO] Shaders: no game-specific preset found at /home/pi/.config/retroarch/shaders/presets/Snes9x 2010/Super Mario World (USA).glslp. [INFO] Shaders: no parent-dir-specific preset found at /home/pi/.config/retroarch/shaders/presets/Snes9x 2010/snes.cgp. [INFO] Shaders: no parent-dir-specific preset found at /home/pi/.config/retroarch/shaders/presets/Snes9x 2010/snes.glslp. [INFO] Shaders: no core-specific preset found at /home/pi/.config/retroarch/shaders/presets/Snes9x 2010/Snes9x 2010.cgp. [INFO] Shaders: no core-specific preset found at /home/pi/.config/retroarch/shaders/presets/Snes9x 2010/Snes9x 2010.glslp. [INFO] Environ SET_VARIABLES. [INFO] Environ SET_CONTROLLER_INFO. [INFO] Controller port: 1 [INFO] SNES Joypad (ID: 1) [INFO] SNES Mouse (ID: 2) [INFO] RetroPad (ID: 1) [INFO] Controller port: 2 [INFO] SNES Joypad (ID: 1) [INFO] SNES Mouse (ID: 2) [INFO] Multitap (ID: 257) [INFO] SuperScope (ID: 260) [INFO] Justifier (ID: 516) [INFO] Justifiers (ID: 772) [INFO] RetroPad (ID: 1) [INFO] Remaps: remap directory: /opt/retropie/configs/snes/ [INFO] Remaps: no game-specific remap found at /opt/retropie/configs/snes/Snes9x 2010/Super Mario World (USA).rmp. [INFO] Remaps: no core-specific remap found at /opt/retropie/configs/snes/Snes9x 2010/Snes9x 2010.rmp. [INFO] Redirecting save file to "/home/pi/RetroPie/roms/snes/Super Mario World (USA).srm". [INFO] Redirecting savestate to "/home/pi/RetroPie/roms/snes/Super Mario World (USA).state". [INFO] Environ GET_OVERSCAN: 0 [INFO] Environ GET_LOG_INTERFACE. [INFO] Environ SET_SUPPORT_ACHIEVEMENTS: yes. [INFO] Environ SET_PIXEL_FORMAT: RGB565. [libretro INFO] Frontend supports RGB565 - will use that instead of XRGB1555. [INFO] Environ PERFORMANCE_LEVEL: 7. [INFO] Loading content file: /tmp/retroarch/Super Mario World (USA).sfc. [INFO] Did not find a valid content patch. [INFO] CRC32: 0xb19ed489 . [INFO] Environ SET_INPUT_DESCRIPTORS: [INFO] RetroPad, User 1, Button "B (bottom)" => "B" [INFO] RetroPad, User 1, Button "Y (left)" => "Y" [INFO] RetroPad, User 1, Button "Select" => "Select" [INFO] RetroPad, User 1, Button "Start" => "Start" [INFO] RetroPad, User 1, Button "D-Pad Up" => "D-Pad Up" [INFO] RetroPad, User 1, Button "D-Pad Down" => "D-Pad Down" [INFO] RetroPad, User 1, Button "D-Pad Left" => "D-Pad Left" [INFO] RetroPad, User 1, Button "D-Pad Right" => "D-Pad Right" [INFO] RetroPad, User 1, Button "A (right)" => "A" [INFO] RetroPad, User 1, Button "X (up)" => "X" [INFO] RetroPad, User 1, Button "L" => "L" [INFO] RetroPad, User 1, Button "R" => "R" [INFO] RetroPad, User 2, Button "B (bottom)" => "B" [INFO] RetroPad, User 2, Button "Y (left)" => "Y" [INFO] RetroPad, User 2, Button "Select" => "Select" [INFO] RetroPad, User 2, Button "Start" => "Start" [INFO] RetroPad, User 2, Button "D-Pad Up" => "D-Pad Up" [INFO] RetroPad, User 2, Button "D-Pad Down" => "D-Pad Down" [INFO] RetroPad, User 2, Button "D-Pad Left" => "D-Pad Left" [INFO] RetroPad, User 2, Button "D-Pad Right" => "D-Pad Right" [INFO] RetroPad, User 2, Button "A (right)" => "A" [INFO] RetroPad, User 2, Button "X (up)" => "X" [INFO] RetroPad, User 2, Button "L" => "L" [INFO] RetroPad, User 2, Button "R" => "R" [INFO] RetroPad, User 3, Button "B (bottom)" => "B" [INFO] RetroPad, User 3, Button "Y (left)" => "Y" [INFO] RetroPad, User 3, Button "Select" => "Select" [INFO] RetroPad, User 3, Button "Start" => "Start" [INFO] RetroPad, User 3, Button "D-Pad Up" => "D-Pad Up" [INFO] RetroPad, User 3, Button "D-Pad Down" => "D-Pad Down" [INFO] RetroPad, User 3, Button "D-Pad Left" => "D-Pad Left" [INFO] RetroPad, User 3, Button "D-Pad Right" => "D-Pad Right" [INFO] RetroPad, User 3, Button "A (right)" => "A" [INFO] RetroPad, User 3, Button "X (up)" => "X" [INFO] RetroPad, User 3, Button "L" => "L" [INFO] RetroPad, User 3, Button "R" => "R" [INFO] RetroPad, User 4, Button "B (bottom)" => "B" [INFO] RetroPad, User 4, Button "Y (left)" => "Y" [INFO] RetroPad, User 4, Button "Select" => "Select" [INFO] RetroPad, User 4, Button "Start" => "Start" [INFO] RetroPad, User 4, Button "D-Pad Up" => "D-Pad Up" [INFO] RetroPad, User 4, Button "D-Pad Down" => "D-Pad Down" [INFO] RetroPad, User 4, Button "D-Pad Left" => "D-Pad Left" [INFO] RetroPad, User 4, Button "D-Pad Right" => "D-Pad Right" [INFO] RetroPad, User 4, Button "A (right)" => "A" [INFO] RetroPad, User 4, Button "X (up)" => "X" [INFO] RetroPad, User 4, Button "L" => "L" [INFO] RetroPad, User 4, Button "R" => "R" [INFO] RetroPad, User 5, Button "B (bottom)" => "B" [INFO] RetroPad, User 5, Button "Y (left)" => "Y" [INFO] RetroPad, User 5, Button "Select" => "Select" [INFO] RetroPad, User 5, Button "Start" => "Start" [INFO] RetroPad, User 5, Button "D-Pad Up" => "D-Pad Up" [INFO] RetroPad, User 5, Button "D-Pad Down" => "D-Pad Down" [INFO] RetroPad, User 5, Button "D-Pad Left" => "D-Pad Left" [INFO] RetroPad, User 5, Button "D-Pad Right" => "D-Pad Right" [INFO] RetroPad, User 5, Button "A (right)" => "A" [INFO] RetroPad, User 5, Button "X (up)" => "X" [INFO] RetroPad, User 5, Button "L" => "L" [INFO] RetroPad, User 5, Button "R" => "R" [libretro INFO] No ROM file header found. PPU.RenderSub = 0 PPU.FullClipping = 1 Settings.Transparency = 1 Settings.SpeedhackGameID = 7 PPU.SFXSpeedupHack = 0 coldata_update_screen = 0 [libretro INFO] "SUPER MARIOWORLD" [checksum ok] LoROM, 4Mbits, ROM+RAM+BAT, NTSC, SRAM:16Kbits, ID:____, CRC32:B19ED489 [INFO] Environ GET_VARIABLE snes9x_next_overclock: [INFO] Disabled(10MHz) [INFO] Environ GET_VARIABLE snes9x_next_overclock_cycles: [INFO] disabled [INFO] Environ GET_VARIABLE snes9x_next_reduce_sprite_flicker: [INFO] disabled [INFO] Environ SET_MEMORY_MAPS. [INFO] ndx flags ptr offset start select disconn len addrspace [INFO] Skipping SRAM load.. [INFO] [CHEEVOS]: system RAM: 0x224e550 131072 [INFO] Version of libretro API: 1 [INFO] Compiled against API: 1 [INFO] [CHEEVOS]: save RAM: 0x226e558 2048 [INFO] [CHEEVOS]: video RAM: 0x228e560 65536 [INFO] [CHEEVOS]: RTC: 0x71204ae8 0 [INFO] [Audio]: Set audio input rate to: 31987.82 Hz. [INFO] Found shader "/home/pi/.config/retroarch/shaders/2xsal-level2-crt.glslp" [INFO] Found shader "/home/pi/.config/retroarch/shaders/2xsal.glslp" [INFO] Found shader "/home/pi/.config/retroarch/shaders/2xScaleHQ.glslp" [INFO] Found shader "/home/pi/.config/retroarch/shaders/barrel-distortion.glslp" [INFO] Found shader "/home/pi/.config/retroarch/shaders/barrel-distortion_lanczos4.glslp" [INFO] Found shader "/home/pi/.config/retroarch/shaders/barrel-distortion_phosphor.glslp" [INFO] Found shader "/home/pi/.config/retroarch/shaders/barrel-distortion_snes.glslp" [INFO] Found shader "/home/pi/.config/retroarch/shaders/Brighter-with_Contrast.glslp" [INFO] Found shader "/home/pi/.config/retroarch/shaders/bsnes_gamma_ramp.glslp" [INFO] Found shader "/home/pi/.config/retroarch/shaders/crt-pi-curvature-vertical.glslp" [INFO] Found shader "/home/pi/.config/retroarch/shaders/crt-pi-curvature.glslp" [INFO] Found shader "/home/pi/.config/retroarch/shaders/crt-pi-vertical.glslp" [INFO] Found shader "/home/pi/.config/retroarch/shaders/crt-pi.glslp" [INFO] Found shader "/home/pi/.config/retroarch/shaders/gameboy-screen-grid.glslp" [INFO] Found shader "/home/pi/.config/retroarch/shaders/gameboy.glslp" [INFO] Found shader "/home/pi/.config/retroarch/shaders/gameboy2.glslp" [INFO] Found shader "/home/pi/.config/retroarch/shaders/gba-color.glslp" [INFO] Found shader "/home/pi/.config/retroarch/shaders/hq2x&lcd3x.glslp" [INFO] Found shader "/home/pi/.config/retroarch/shaders/hq2x.glslp" [INFO] Found shader "/home/pi/.config/retroarch/shaders/hq2x2.glslp" [INFO] Found shader "/home/pi/.config/retroarch/shaders/hq2x_lcd3x.glslp" [INFO] Found shader "/home/pi/.config/retroarch/shaders/hq2x_phosphor.glslp" [INFO] Found shader "/home/pi/.config/retroarch/shaders/hq2xwaterpaint.glslp" [INFO] Found shader "/home/pi/.config/retroarch/shaders/hq2xwaterpaintscanline.glslp" [INFO] Found shader "/home/pi/.config/retroarch/shaders/hq4x.glslp" [INFO] Found shader "/home/pi/.config/retroarch/shaders/hq4x_lcd3x.glslp" [INFO] Found shader "/home/pi/.config/retroarch/shaders/nds-color.glslp" [INFO] Found shader "/home/pi/.config/retroarch/shaders/nds.glslp" [INFO] Found shader "/home/pi/.config/retroarch/shaders/nedi.glslp" [INFO] Found shader "/home/pi/.config/retroarch/shaders/palm-color.glslp" [INFO] Found shader "/home/pi/.config/retroarch/shaders/phosphor.glslp" [INFO] Found shader "/home/pi/.config/retroarch/shaders/psp-color.glslp" [INFO] Found shader "/home/pi/.config/retroarch/shaders/sharp-bilinear-2x-prescale.glslp" [INFO] Found shader "/home/pi/.config/retroarch/shaders/sharp-bilinear-scanlines.glslp" [INFO] Found shader "/home/pi/.config/retroarch/shaders/sharp-bilinear-simple.glslp" [INFO] Found shader "/home/pi/.config/retroarch/shaders/snes.glslp" [INFO] Found shader "/home/pi/.config/retroarch/shaders/snes2.glslp" [INFO] Found shader "/home/pi/.config/retroarch/shaders/snes_hq2x.glslp" [INFO] Found shader "/home/pi/.config/retroarch/shaders/snes_hq2xwaterpaint.glslp" [INFO] Found shader "/home/pi/.config/retroarch/shaders/snes_hq2xwaterpainthicontrast.glslp" [INFO] Found shader "/home/pi/.config/retroarch/shaders/snes_hq2xwaterpaintscanline.glslp" [INFO] Found shader "/home/pi/.config/retroarch/shaders/snes_lcd3x.glslp" [INFO] Found shader "/home/pi/.config/retroarch/shaders/snes_phosphor.glslp" [INFO] Found shader "/home/pi/.config/retroarch/shaders/snes_scanline.glslp" [INFO] Found shader "/home/pi/.config/retroarch/shaders/snes_waterpaint.glslp" [INFO] Found shader "/home/pi/.config/retroarch/shaders/stock.glsl" [INFO] Found shader "/home/pi/.config/retroarch/shaders/super-2xsai.glslp" [INFO] Found shader "/home/pi/.config/retroarch/shaders/super-eagle.glslp" [INFO] Found shader "/home/pi/.config/retroarch/shaders/vba-color.glslp" [INFO] Found shader "/home/pi/.config/retroarch/shaders/xbr-lv1-noblend.glslp" [INFO] Found shader "/home/pi/.config/retroarch/shaders/zfast_crt_curve.glslp" [INFO] Found shader "/home/pi/.config/retroarch/shaders/zfast_crt_curve_vertical.glslp" [INFO] Found shader "/home/pi/.config/retroarch/shaders/zfast_crt_standard.glslp" [INFO] Found shader "/home/pi/.config/retroarch/shaders/zfast_crt_standard_vertical.glslp" [INFO] Found shader "/home/pi/.config/retroarch/shaders/zfast_lcd_standard.glslp" [INFO] [Video]: Video @ 897x672 [INFO] [Video]: Starting threaded video driver ... [INFO] [EGL] Falling back to eglGetDisplay [INFO] [EGL]: EGL version: 1.4 [INFO] [EGL]: Current context: 0x1. [INFO] [GL]: Found GL context: videocore [INFO] [GL]: Detecting screen resolution 1680x1050. [INFO] [EGL]: eglSwapInterval(1) [INFO] [GL]: Vendor: Broadcom, Renderer: VideoCore IV HW. [INFO] [GL]: Version: OpenGL ES 2.0. [INFO] Querying EGL extension: KHR_image => exists [WARN] [GL]: GLES implementation does not have BGRA8888 extension. 32-bit path will require conversion. [INFO] [GL]: Using resolution 1680x1050 [INFO] [GL]: Default shader backend found: glsl. [INFO] [Shader driver]: Using GLSL shader backend. [WARN] [GL]: Stock GLSL shaders will be used. [INFO] [GLSL]: Found GLSL vertex shader. [INFO] Shader log: Compiled [INFO] [GLSL]: Found GLSL fragment shader. [INFO] Shader log: Compiled [INFO] [GLSL]: Linking GLSL program. [INFO] [GLSL]: Found GLSL vertex shader. [INFO] Shader log: Compiled [INFO] [GLSL]: Found GLSL fragment shader. [INFO] Shader log: Compiled [INFO] [GLSL]: Linking GLSL program. [INFO] [GLSL]: Found GLSL vertex shader. [INFO] Shader log: Compiled [INFO] [GLSL]: Found GLSL fragment shader. [INFO] Shader log: Compiled [INFO] [GLSL]: Linking GLSL program. [INFO] [GLSL]: Found GLSL vertex shader. [INFO] Shader log: Compiled [INFO] [GLSL]: Found GLSL fragment shader. [INFO] Shader log: Compiled [INFO] [GLSL]: Linking GLSL program. [INFO] [GLSL]: Found GLSL vertex shader. [INFO] Shader log: Compiled [INFO] [GLSL]: Found GLSL fragment shader. [INFO] Shader log: Compiled [INFO] [GLSL]: Linking GLSL program. [INFO] [GLSL]: Found GLSL vertex shader. [INFO] Shader log: Compiled [INFO] [GLSL]: Found GLSL fragment shader. [INFO] Shader log: Compiled [INFO] [GLSL]: Linking GLSL program. [INFO] [GLSL]: Found GLSL vertex shader. [INFO] Shader log: Compiled [INFO] [GLSL]: Found GLSL fragment shader. [INFO] Shader log: Compiled [INFO] [GLSL]: Linking GLSL program. [INFO] [GLSL]: Found GLSL vertex shader. [INFO] Shader log: Compiled [INFO] [GLSL]: Found GLSL fragment shader. [INFO] Shader log: Compiled [INFO] [GLSL]: Linking GLSL program. [INFO] [GLSL]: Found GLSL vertex shader. [INFO] Shader log: Compiled [INFO] [GLSL]: Found GLSL fragment shader. [INFO] Shader log: Compiled [INFO] [GLSL]: Linking GLSL program. [INFO] [GL]: Using 4 textures. [INFO] [GL]: Loaded 1 program(s). [INFO] [Font]: Using font rendering backend: freetype. [INFO] [Video]: Graphics driver did not initialize an input driver. Attempting to pick a suitable driver. [WARN] [udev]: Couldn't open any keyboard, mouse or touchpad. Are permissions set correctly for /dev/input/event*? [INFO] [udev]: Plugged pad: USB Gamepad (121:17) on port #0. [INFO] [udev]: Pad #0 (/dev/input/event0) supports 0 force feedback effects. [INFO] [Autoconf]: 2 profiles found. [INFO] [autoconf]: selected configuration: /home/pi/.config/retroarch/autoconfig/USB Gamepad .cfg [INFO] [udev]: Plugged pad: USB Gamepad (121:17) on port #1. [INFO] [udev]: Pad #1 (/dev/input/event2) supports 0 force feedback effects. [INFO] [Autoconf]: 2 profiles found. [INFO] [udev]: Plugged pad: ControlBlock Arcade Gamepad (0:0) on port #2. [INFO] [udev]: Pad #2 (/dev/input/event3) supports 0 force feedback effects. [INFO] [udev]: Plugged pad: ControlBlock Arcade Gamepad (0:0) on port #3. [INFO] [udev]: Pad #3 (/dev/input/event4) supports 0 force feedback effects. [INFO] [autoconf]: selected configuration: /home/pi/.config/retroarch/autoconfig/USB Gamepad .cfg [INFO] [Autoconf]: 2 profiles found. [INFO] [autoconf]: selected configuration: /home/pi/.config/retroarch/autoconfig/ControlBlock Arcade Gamepad.cfg [INFO] [Autoconf]: 2 profiles found. [INFO] [autoconf]: selected configuration: /home/pi/.config/retroarch/autoconfig/ControlBlock Arcade Gamepad.cfg [INFO] [Joypad]: Found joypad driver: "udev". [WARN] [udev]: Full-screen pointer won't be available. [INFO] [Video]: Found display server: null [INFO] ALSA: Using signed 16-bit format. [INFO] ALSA: Period size: 384 frames [INFO] ALSA: Buffer size: 1536 frames [INFO] [LED]: LED driver = 'null' 0x1e41ac [INFO] Loading history file: [/opt/retropie/configs/snes/content_history.lpl]. [INFO] Loading history file: [/opt/retropie/configs/snes/content_favorites.lpl]. [INFO] Loading history file: [/opt/retropie/configs/snes/content_music_history.lpl]. [INFO] Loading history file: [/opt/retropie/configs/snes/content_video_history.lpl]. [INFO] Loading history file: [/opt/retropie/configs/snes/content_image_history.lpl]. [INFO] Saving RAM type #0 to "/home/pi/RetroPie/roms/snes/Super Mario World (USA).srm". [INFO] Saved successfully to "/home/pi/RetroPie/roms/snes/Super Mario World (USA).srm". [INFO] Saved core options file to "/opt/retropie/configs/all/retroarch-core-options.cfg" [INFO] Threaded video stats: Frames pushed: 2160, Frames dropped: 2. [INFO] Removing temporary content file: /tmp/retroarch/Super Mario World (USA).sfc. [ERROR] Failed to remove temporary file: /tmp/retroarch/Super Mario World (USA).sfc. Sound buffer size: 128000 (32000 samples) Map_LoROMMap
-
@mitu And here is the exact same procedure without the joystick selection tool installed. All four controllers worked in the menus.
bash: /opt/retropie/supplementary/joystick-selection/js-onstart.sh: No such file or directory Parameters: Executing: /opt/retropie/emulators/retroarch/bin/retroarch -L /opt/retropie/libretrocores/lr-snes9x2010/snes9x2010_libretro.so --config /opt/retropie/configs/snes/retroarch.cfg "/home/pi/RetroPie/roms/snes/Super Mario World (USA).zip" --verbose --appendconfig /dev/shm/retroarch.cfg [INFO] RetroArch 1.7.1 (Git 6fc6bfb) [INFO] Redirecting save file to "/home/pi/RetroPie/roms/snes/Super Mario World (USA).srm". [INFO] Redirecting savestate to "/home/pi/RetroPie/roms/snes/Super Mario World (USA).state". [INFO] === Build ======================================= Capabilities: NEON VFPv3 VFPv4 Built: Mar 19 2018 [INFO] Version: 1.7.1 [INFO] Git: 6fc6bfb [INFO] ================================================= [INFO] [Config]: loading config from: /opt/retropie/configs/snes/retroarch.cfg. [INFO] Config: appending config "/dev/shm/retroarch.cfg" [INFO] Loading dynamic libretro core from: "/opt/retropie/libretrocores/lr-snes9x2010/snes9x2010_libretro.so" [INFO] [overrides] no core-specific overrides found at /home/pi/.config/retroarch/config/Snes9x 2010/Snes9x 2010.cfg. [INFO] [overrides] no game-specific overrides found at /home/pi/.config/retroarch/config/Snes9x 2010/Super Mario World (USA).cfg. [INFO] Shaders: preset directory: /home/pi/.config/retroarch/shaders/presets [INFO] Shaders: no game-specific preset found at /home/pi/.config/retroarch/shaders/presets/Snes9x 2010/Super Mario World (USA).cgp. [INFO] Shaders: no game-specific preset found at /home/pi/.config/retroarch/shaders/presets/Snes9x 2010/Super Mario World (USA).glslp. [INFO] Shaders: no parent-dir-specific preset found at /home/pi/.config/retroarch/shaders/presets/Snes9x 2010/snes.cgp. [INFO] Shaders: no parent-dir-specific preset found at /home/pi/.config/retroarch/shaders/presets/Snes9x 2010/snes.glslp. [INFO] Shaders: no core-specific preset found at /home/pi/.config/retroarch/shaders/presets/Snes9x 2010/Snes9x 2010.cgp. [INFO] Shaders: no core-specific preset found at /home/pi/.config/retroarch/shaders/presets/Snes9x 2010/Snes9x 2010.glslp. [INFO] Environ SET_VARIABLES. [INFO] Environ SET_CONTROLLER_INFO. [INFO] Controller port: 1 [INFO] SNES Joypad (ID: 1) [INFO] SNES Mouse (ID: 2) [INFO] RetroPad (ID: 1) [INFO] Controller port: 2 [INFO] SNES Joypad (ID: 1) [INFO] SNES Mouse (ID: 2) [INFO] Multitap (ID: 257) [INFO] SuperScope (ID: 260) [INFO] Justifier (ID: 516) [INFO] Justifiers (ID: 772) [INFO] RetroPad (ID: 1) [INFO] Remaps: remap directory: /opt/retropie/configs/snes/ [INFO] Remaps: no game-specific remap found at /opt/retropie/configs/snes/Snes9x 2010/Super Mario World (USA).rmp. [INFO] Remaps: no core-specific remap found at /opt/retropie/configs/snes/Snes9x 2010/Snes9x 2010.rmp. [INFO] Redirecting save file to "/home/pi/RetroPie/roms/snes/Super Mario World (USA).srm". [INFO] Redirecting savestate to "/home/pi/RetroPie/roms/snes/Super Mario World (USA).state". [INFO] Environ GET_OVERSCAN: 0 [INFO] Environ GET_LOG_INTERFACE. [INFO] Environ SET_SUPPORT_ACHIEVEMENTS: yes. [INFO] Environ SET_PIXEL_FORMAT: RGB565. [libretro INFO] Frontend supports RGB565 - will use that instead of XRGB1555. [INFO] Environ PERFORMANCE_LEVEL: 7. [INFO] Loading content file: /tmp/retroarch/Super Mario World (USA).sfc. [INFO] Did not find a valid content patch. [INFO] CRC32: 0xb19ed489 . [INFO] Environ SET_INPUT_DESCRIPTORS: [INFO] RetroPad, User 1, Button "B (bottom)" => "B" [INFO] RetroPad, User 1, Button "Y (left)" => "Y" [INFO] RetroPad, User 1, Button "Select" => "Select" [INFO] RetroPad, User 1, Button "Start" => "Start" [INFO] RetroPad, User 1, Button "D-Pad Up" => "D-Pad Up" [INFO] RetroPad, User 1, Button "D-Pad Down" => "D-Pad Down" [INFO] RetroPad, User 1, Button "D-Pad Left" => "D-Pad Left" [INFO] RetroPad, User 1, Button "D-Pad Right" => "D-Pad Right" [INFO] RetroPad, User 1, Button "A (right)" => "A" [INFO] RetroPad, User 1, Button "X (up)" => "X" [INFO] RetroPad, User 1, Button "L" => "L" [INFO] RetroPad, User 1, Button "R" => "R" [INFO] RetroPad, User 2, Button "B (bottom)" => "B" [INFO] RetroPad, User 2, Button "Y (left)" => "Y" [INFO] RetroPad, User 2, Button "Select" => "Select" [INFO] RetroPad, User 2, Button "Start" => "Start" [INFO] RetroPad, User 2, Button "D-Pad Up" => "D-Pad Up" [INFO] RetroPad, User 2, Button "D-Pad Down" => "D-Pad Down" [INFO] RetroPad, User 2, Button "D-Pad Left" => "D-Pad Left" [INFO] RetroPad, User 2, Button "D-Pad Right" => "D-Pad Right" [INFO] RetroPad, User 2, Button "A (right)" => "A" [INFO] RetroPad, User 2, Button "X (up)" => "X" [INFO] RetroPad, User 2, Button "L" => "L" [INFO] RetroPad, User 2, Button "R" => "R" [INFO] RetroPad, User 3, Button "B (bottom)" => "B" [INFO] RetroPad, User 3, Button "Y (left)" => "Y" [INFO] RetroPad, User 3, Button "Select" => "Select" [INFO] RetroPad, User 3, Button "Start" => "Start" [INFO] RetroPad, User 3, Button "D-Pad Up" => "D-Pad Up" [INFO] RetroPad, User 3, Button "D-Pad Down" => "D-Pad Down" [INFO] RetroPad, User 3, Button "D-Pad Left" => "D-Pad Left" [INFO] RetroPad, User 3, Button "D-Pad Right" => "D-Pad Right" [INFO] RetroPad, User 3, Button "A (right)" => "A" [INFO] RetroPad, User 3, Button "X (up)" => "X" [INFO] RetroPad, User 3, Button "L" => "L" [INFO] RetroPad, User 3, Button "R" => "R" [INFO] RetroPad, User 4, Button "B (bottom)" => "B" [INFO] RetroPad, User 4, Button "Y (left)" => "Y" [INFO] RetroPad, User 4, Button "Select" => "Select" [INFO] RetroPad, User 4, Button "Start" => "Start" [INFO] RetroPad, User 4, Button "D-Pad Up" => "D-Pad Up" [INFO] RetroPad, User 4, Button "D-Pad Down" => "D-Pad Down" [INFO] RetroPad, User 4, Button "D-Pad Left" => "D-Pad Left" [INFO] RetroPad, User 4, Button "D-Pad Right" => "D-Pad Right" [INFO] RetroPad, User 4, Button "A (right)" => "A" [INFO] RetroPad, User 4, Button "X (up)" => "X" [INFO] RetroPad, User 4, Button "L" => "L" [INFO] RetroPad, User 4, Button "R" => "R" [INFO] RetroPad, User 5, Button "B (bottom)" => "B" [INFO] RetroPad, User 5, Button "Y (left)" => "Y" [INFO] RetroPad, User 5, Button "Select" => "Select" [INFO] RetroPad, User 5, Button "Start" => "Start" [INFO] RetroPad, User 5, Button "D-Pad Up" => "D-Pad Up" [INFO] RetroPad, User 5, Button "D-Pad Down" => "D-Pad Down" [INFO] RetroPad, User 5, Button "D-Pad Left" => "D-Pad Left" [INFO] RetroPad, User 5, Button "D-Pad Right" => "D-Pad Right" [INFO] RetroPad, User 5, Button "A (right)" => "A" [INFO] RetroPad, User 5, Button "X (up)" => "X" [INFO] RetroPad, User 5, Button "L" => "L" [INFO] RetroPad, User 5, Button "R" => "R" [libretro INFO] No ROM file header found. PPU.RenderSub = 0 PPU.FullClipping = 1 Settings.Transparency = 1 Settings.SpeedhackGameID = 7 PPU.SFXSpeedupHack = 0 coldata_update_screen = 0 [libretro INFO] "SUPER MARIOWORLD" [checksum ok] LoROM, 4Mbits, ROM+RAM+BAT, NTSC, SRAM:16Kbits, ID:____, CRC32:B19ED489 [INFO] Environ GET_VARIABLE snes9x_next_overclock: [INFO] Disabled(10MHz) [INFO] Environ GET_VARIABLE snes9x_next_overclock_cycles: [INFO] disabled [INFO] Environ GET_VARIABLE snes9x_next_reduce_sprite_flicker: [INFO] disabled [INFO] Environ SET_MEMORY_MAPS. [INFO] ndx flags ptr offset start select disconn len addrspace [INFO] [CHEEVOS]: system RAM: 0x41d550 131072 [INFO] [CHEEVOS]: save RAM: 0x43d558 2048 [INFO] [CHEEVOS]: video RAM: 0x45d560 65536 [INFO] [CHEEVOS]: RTC: 0x711dcae8 0 [INFO] Skipping SRAM load.. [INFO] Version of libretro API: 1 [INFO] Compiled against API: 1 [INFO] [Audio]: Set audio input rate to: 31987.82 Hz. [INFO] Found shader "/home/pi/.config/retroarch/shaders/2xsal-level2-crt.glslp" [INFO] Found shader "/home/pi/.config/retroarch/shaders/2xsal.glslp" [INFO] Found shader "/home/pi/.config/retroarch/shaders/2xScaleHQ.glslp" [INFO] Found shader "/home/pi/.config/retroarch/shaders/barrel-distortion.glslp" [INFO] Found shader "/home/pi/.config/retroarch/shaders/barrel-distortion_lanczos4.glslp" [INFO] Found shader "/home/pi/.config/retroarch/shaders/barrel-distortion_phosphor.glslp" [INFO] Found shader "/home/pi/.config/retroarch/shaders/barrel-distortion_snes.glslp" [INFO] Found shader "/home/pi/.config/retroarch/shaders/Brighter-with_Contrast.glslp" [INFO] Found shader "/home/pi/.config/retroarch/shaders/bsnes_gamma_ramp.glslp" [INFO] Found shader "/home/pi/.config/retroarch/shaders/crt-pi-curvature-vertical.glslp" [INFO] Found shader "/home/pi/.config/retroarch/shaders/crt-pi-curvature.glslp" [INFO] Found shader "/home/pi/.config/retroarch/shaders/crt-pi-vertical.glslp" [INFO] Found shader "/home/pi/.config/retroarch/shaders/crt-pi.glslp" [INFO] Found shader "/home/pi/.config/retroarch/shaders/gameboy-screen-grid.glslp" [INFO] Found shader "/home/pi/.config/retroarch/shaders/gameboy.glslp" [INFO] Found shader "/home/pi/.config/retroarch/shaders/gameboy2.glslp" [INFO] Found shader "/home/pi/.config/retroarch/shaders/gba-color.glslp" [INFO] Found shader "/home/pi/.config/retroarch/shaders/hq2x&lcd3x.glslp" [INFO] Found shader "/home/pi/.config/retroarch/shaders/hq2x.glslp" [INFO] Found shader "/home/pi/.config/retroarch/shaders/hq2x2.glslp" [INFO] Found shader "/home/pi/.config/retroarch/shaders/hq2x_lcd3x.glslp" [INFO] Found shader "/home/pi/.config/retroarch/shaders/hq2x_phosphor.glslp" [INFO] Found shader "/home/pi/.config/retroarch/shaders/hq2xwaterpaint.glslp" [INFO] Found shader "/home/pi/.config/retroarch/shaders/hq2xwaterpaintscanline.glslp" [INFO] Found shader "/home/pi/.config/retroarch/shaders/hq4x.glslp" [INFO] Found shader "/home/pi/.config/retroarch/shaders/hq4x_lcd3x.glslp" [INFO] Found shader "/home/pi/.config/retroarch/shaders/nds-color.glslp" [INFO] Found shader "/home/pi/.config/retroarch/shaders/nds.glslp" [INFO] Found shader "/home/pi/.config/retroarch/shaders/nedi.glslp" [INFO] Found shader "/home/pi/.config/retroarch/shaders/palm-color.glslp" [INFO] Found shader "/home/pi/.config/retroarch/shaders/phosphor.glslp" [INFO] Found shader "/home/pi/.config/retroarch/shaders/psp-color.glslp" [INFO] Found shader "/home/pi/.config/retroarch/shaders/sharp-bilinear-2x-prescale.glslp" [INFO] Found shader "/home/pi/.config/retroarch/shaders/sharp-bilinear-scanlines.glslp" [INFO] Found shader "/home/pi/.config/retroarch/shaders/sharp-bilinear-simple.glslp" [INFO] Found shader "/home/pi/.config/retroarch/shaders/snes.glslp" [INFO] Found shader "/home/pi/.config/retroarch/shaders/snes2.glslp" [INFO] Found shader "/home/pi/.config/retroarch/shaders/snes_hq2x.glslp" [INFO] Found shader "/home/pi/.config/retroarch/shaders/snes_hq2xwaterpaint.glslp" [INFO] Found shader "/home/pi/.config/retroarch/shaders/snes_hq2xwaterpainthicontrast.glslp" [INFO] Found shader "/home/pi/.config/retroarch/shaders/snes_hq2xwaterpaintscanline.glslp" [INFO] Found shader "/home/pi/.config/retroarch/shaders/snes_lcd3x.glslp" [INFO] Found shader "/home/pi/.config/retroarch/shaders/snes_phosphor.glslp" [INFO] Found shader "/home/pi/.config/retroarch/shaders/snes_scanline.glslp" [INFO] Found shader "/home/pi/.config/retroarch/shaders/snes_waterpaint.glslp" [INFO] Found shader "/home/pi/.config/retroarch/shaders/stock.glsl" [INFO] Found shader "/home/pi/.config/retroarch/shaders/super-2xsai.glslp" [INFO] Found shader "/home/pi/.config/retroarch/shaders/super-eagle.glslp" [INFO] Found shader "/home/pi/.config/retroarch/shaders/vba-color.glslp" [INFO] Found shader "/home/pi/.config/retroarch/shaders/xbr-lv1-noblend.glslp" [INFO] Found shader "/home/pi/.config/retroarch/shaders/zfast_crt_curve.glslp" [INFO] Found shader "/home/pi/.config/retroarch/shaders/zfast_crt_curve_vertical.glslp" [INFO] Found shader "/home/pi/.config/retroarch/shaders/zfast_crt_standard.glslp" [INFO] Found shader "/home/pi/.config/retroarch/shaders/zfast_crt_standard_vertical.glslp" [INFO] Found shader "/home/pi/.config/retroarch/shaders/zfast_lcd_standard.glslp" [INFO] [Video]: Video @ 897x672 [INFO] [Video]: Starting threaded video driver ... [INFO] [EGL] Falling back to eglGetDisplay [INFO] [EGL]: EGL version: 1.4 [INFO] [EGL]: Current context: 0x1. [INFO] [GL]: Found GL context: videocore [INFO] [GL]: Detecting screen resolution 1680x1050. [INFO] [EGL]: eglSwapInterval(1) [INFO] [GL]: Vendor: Broadcom, Renderer: VideoCore IV HW. [INFO] [GL]: Version: OpenGL ES 2.0. [INFO] Querying EGL extension: KHR_image => exists [WARN] [GL]: GLES implementation does not have BGRA8888 extension. 32-bit path will require conversion. [INFO] [GL]: Using resolution 1680x1050 [INFO] [GL]: Default shader backend found: glsl. [INFO] [Shader driver]: Using GLSL shader backend. [WARN] [GL]: Stock GLSL shaders will be used. [INFO] [GLSL]: Found GLSL vertex shader. [INFO] Shader log: Compiled [INFO] [GLSL]: Found GLSL fragment shader. [INFO] Shader log: Compiled [INFO] [GLSL]: Linking GLSL program. [INFO] [GLSL]: Found GLSL vertex shader. [INFO] Shader log: Compiled [INFO] [GLSL]: Found GLSL fragment shader. [INFO] Shader log: Compiled [INFO] [GLSL]: Linking GLSL program. [INFO] [GLSL]: Found GLSL vertex shader. [INFO] Shader log: Compiled [INFO] [GLSL]: Found GLSL fragment shader. [INFO] Shader log: Compiled [INFO] [GLSL]: Linking GLSL program. [INFO] [GLSL]: Found GLSL vertex shader. [INFO] Shader log: Compiled [INFO] [GLSL]: Found GLSL fragment shader. [INFO] Shader log: Compiled [INFO] [GLSL]: Linking GLSL program. [INFO] [GLSL]: Found GLSL vertex shader. [INFO] Shader log: Compiled [INFO] [GLSL]: Found GLSL fragment shader. [INFO] Shader log: Compiled [INFO] [GLSL]: Linking GLSL program. [INFO] [GLSL]: Found GLSL vertex shader. [INFO] Shader log: Compiled [INFO] [GLSL]: Found GLSL fragment shader. [INFO] Shader log: Compiled [INFO] [GLSL]: Linking GLSL program. [INFO] [GLSL]: Found GLSL vertex shader. [INFO] Shader log: Compiled [INFO] [GLSL]: Found GLSL fragment shader. [INFO] Shader log: Compiled [INFO] [GLSL]: Linking GLSL program. [INFO] [GLSL]: Found GLSL vertex shader. [INFO] Shader log: Compiled [INFO] [GLSL]: Found GLSL fragment shader. [INFO] Shader log: Compiled [INFO] [GLSL]: Linking GLSL program. [INFO] [GLSL]: Found GLSL vertex shader. [INFO] Shader log: Compiled [INFO] [GLSL]: Found GLSL fragment shader. [INFO] Shader log: Compiled [INFO] [GLSL]: Linking GLSL program. [INFO] [GL]: Using 4 textures. [INFO] [GL]: Loaded 1 program(s). [INFO] [Font]: Using font rendering backend: freetype. [INFO] [Video]: Graphics driver did not initialize an input driver. Attempting to pick a suitable driver. [WARN] [udev]: Couldn't open any keyboard, mouse or touchpad. Are permissions set correctly for /dev/input/event*? [INFO] [udev]: Plugged pad: USB Gamepad (121:17) on port #0. [INFO] [udev]: Pad #0 (/dev/input/event0) supports 0 force feedback effects. [INFO] [Autoconf]: 2 profiles found. [INFO] [autoconf]: selected configuration: /home/pi/.config/retroarch/autoconfig/USB Gamepad .cfg [INFO] [udev]: Plugged pad: USB Gamepad (121:17) on port #1. [INFO] [udev]: Pad #1 (/dev/input/event2) supports 0 force feedback effects. [INFO] [Autoconf]: 2 profiles found. [INFO] [udev]: Plugged pad: ControlBlock Arcade Gamepad (0:0) on port #2. [INFO] [udev]: Pad #2 (/dev/input/event3) supports 0 force feedback effects. [INFO] [udev]: Plugged pad: ControlBlock Arcade Gamepad (0:0) on port #3. [INFO] [udev]: Pad #3 (/dev/input/event4) supports 0 force feedback effects. [INFO] [autoconf]: selected configuration: /home/pi/.config/retroarch/autoconfig/USB Gamepad .cfg [INFO] [Autoconf]: 2 profiles found. [INFO] [autoconf]: selected configuration: /home/pi/.config/retroarch/autoconfig/ControlBlock Arcade Gamepad.cfg [INFO] [Autoconf]: 2 profiles found. [INFO] [autoconf]: selected configuration: /home/pi/.config/retroarch/autoconfig/ControlBlock Arcade Gamepad.cfg [INFO] [Joypad]: Found joypad driver: "udev". [WARN] [udev]: Full-screen pointer won't be available. [INFO] [Video]: Found display server: null [INFO] ALSA: Using signed 16-bit format. [INFO] ALSA: Period size: 384 frames [INFO] ALSA: Buffer size: 1536 frames [INFO] [LED]: LED driver = 'null' 0x1e41ac [INFO] Loading history file: [/opt/retropie/configs/snes/content_history.lpl]. [INFO] Loading history file: [/opt/retropie/configs/snes/content_favorites.lpl]. [INFO] Loading history file: [/opt/retropie/configs/snes/content_music_history.lpl]. [INFO] Loading history file: [/opt/retropie/configs/snes/content_video_history.lpl]. [INFO] Loading history file: [/opt/retropie/configs/snes/content_image_history.lpl]. [INFO] Saving RAM type #0 to "/home/pi/RetroPie/roms/snes/Super Mario World (USA).srm". [INFO] Saved successfully to "/home/pi/RetroPie/roms/snes/Super Mario World (USA).srm". [INFO] Saved core options file to "/opt/retropie/configs/all/retroarch-core-options.cfg" [INFO] Threaded video stats: Frames pushed: 1470, Frames dropped: 1. [INFO] Removing temporary content file: /tmp/retroarch/Super Mario World (USA).sfc. [ERROR] Failed to remove temporary file: /tmp/retroarch/Super Mario World (USA).sfc. Sound buffer size: 128000 (32000 samples) Map_LoROMMap
-
I don't see any difference w.r.t. controller order - the 2 USB gamepads are always P1 and P2, then P3 and P3 are/is the Gameblock.
However, I see this[INFO] [Autoconf]: 2 profiles found. [INFO] [autoconf]: selected configuration: /home/pi/.config/retroarch/autoconfig/USB Gamepad .cfg
which might indicate the gamepad configuration is not ok. Can you show a listing of the said folder (
\\retropie\configs\allretroarch\autoconfig
over file shares) ? -
@mitu ok:
pi@retropie:~/.config/retroarch/autoconfig $ ls ControlBlock Arcade Gamepad.cfg USB Gamepad .cfg ControlBlock Arcade Gamepad.cfg.bak USB Gamepad .cfg.bak
-
The folder seems correct. I have no idea why it doesn't work - it seems the USB gamepad is picked first each type (P1), but you say it doesn't work. From the log file, it seems you have both USB controllers connected - neither one of them work in game ?
-
@mitu No, any controller works in the menus but once I start a game it's just the controlblock player one (or controlblock player two where applicable) that works. As I understand it the USB pads are player three and four for games that support more than two players, this is actually logical. At least that's the way it looked when using meleus script. What were you looking for? Is there any way to get one of the USB pads to work like the keyboard (overriding P1)?
-
The log shows a different order - USB controllers first, then the Gameblock ones.
[INFO] [udev]: Plugged pad: USB Gamepad (121:17) on port #0.
[INFO] [udev]: Pad #0 (/dev/input/event0) supports 0 force feedback effects.
[INFO] [Autoconf]: 2 profiles found.
[INFO] [autoconf]: selected configuration: /home/pi/.config/retroarch/autoconfig/USB Gamepad .cfg
[INFO] [udev]: Plugged pad: USB Gamepad (121:17) on port #1.
[INFO] [udev]: Pad #1 (/dev/input/event2) supports 0 force feedback effects.
[INFO] [Autoconf]: 2 profiles found.
[INFO] [udev]: Plugged pad: ControlBlock Arcade Gamepad (0:0) on port #2.
[INFO] [udev]: Pad #2 (/dev/input/event3) supports 0 force feedback effects.
[INFO] [udev]: Plugged pad: ControlBlock Arcade Gamepad (0:0) on port #3.
[INFO] [udev]: Pad #3 (/dev/input/event4) supports 0 force feedback effects -
@mitu Now I see what you are getting at. If the pads were recognised (and worked) as P1 & 2 but not present the system would fall back to the arcade controllers until the pads are connected again. This would create the setup I want.
-
I got it working now. Problem is I don't know what I did differently so I can't explain it for the benefit of others. What I did was I reinstalled meleus joystick script and now it works. If I plug in the SUB pads while still in ES I can then use them as P1 and P2. If I unplug them the Controlblock controllers become 1 and 2. This is perfect. Thank you @mitu for your patience and for being so helpful all the time. In addition to this now being solved I also learned to SCP and SSH in the process so I solved a couple of other issues myself that I couldn't have before. Thank you.
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.