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

Control works inside ES, but not in-game



  • Pi Model or other hardware: brix box x64 inside an arcade 1up
    RetroPie Version Used (eg 3.6, 3.8.1, 4.1 - do not write latest): 4.4.8
    Built From: on top of existing ubuntu 18.10 OS
    USB Devices connected:

    Bus 002 Device 002: ID 8087:8000 Intel Corp. 
    Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
    Bus 001 Device 002: ID 8087:8008 Intel Corp. 
    Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
    Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
    Bus 003 Device 006: ID 13d3:3414 IMC Networks 
    Bus 003 Device 005: ID 046d:c52b Logitech, Inc. Unifying Receiver
    Bus 003 Device 003: ID 0079:0006 DragonRise Inc. PC TWIN SHOCK Gamepad
    Bus 003 Device 002: ID 0079:0006 DragonRise Inc. PC TWIN SHOCK Gamepad
    Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
    

    Controller used: 2 zero delay boards with generic buttons and sanwa sticks

    Bus 003 Device 003: ID 0079:0006 DragonRise Inc. PC TWIN SHOCK Gamepad
    Bus 003 Device 002: ID 0079:0006 DragonRise Inc. PC TWIN SHOCK Gamepad
    

    Error messages received: none afaik
    Log found in /dev/shm/runcommand.log (if relevant):

    zjs@retro /o/retropie> cat /dev/shm/runcommand.log
    Parameters: 
    Executing: /opt/retropie/emulators/retroarch/bin/retroarch -L /opt/retropie/libretrocores/lr-gambatte/gambatte_libretro.so --config /opt/retropie/configs/gb/retroarch.cfg "/home/zjs/RetroPie/roms/gb/Space Invaders (USA).zip" --appendconfig /dev/shm/retroarch.cfg
    MBC1 ROM loaded.
    rambanks: 0
    rombanks: 32
    

    Guide used: none
    File: (File with issue - with FULL path)
    Emulator: all
    Attachment of config files: (PLEASE USE PASTEBIN.COM FOR LARGE LOGS)
    How to replicate the problem:
    I've configured input inside emulation station, either with or without a hotkey, and whenever I launch a game none of the keys work inside the game, seemingly regardless of emulator.

    If I use mame and try to bring up the generic input configuration in-game through the tab menu on the keyboard, none of the inputs on my joysticks can reconfigure any of the input options.

    Both joystick and button sets work fine in ES, I have 6 buttons per player with a separate start and separate select button.


  • Global Moderator

    @TimeDoctor Run the emulator with verbose loggine enabled from the Runcommand launch menu and then upload the /dev/shm/runcommand.log to pastebin.com, it should contain more information about how the controllers are detected by RetroArch.




  • Global Moderator

    @TimeDoctor said in Control works inside ES, but not in-game:

    0079:0006

    This looks like a supported controller (the conf file loaded seems to be here - https://github.com/libretro/retroarch-joypad-autoconfig/blob/master/udev/DragonRise_X-Box_Gamepad_with_Force_Feedback.cfg) and there doesn't seem to be other gamepads in place.
    Can you try with Mame2003 or FBAlpha ?

    EDIT: since your joystick auto-conf is loaded from the RetroArch's repository, the RetroPie configuration for mappings will not apply - i.e. Start + Hotkey to exit, Hotkey + Y for RGUI, etc. will not work.



  • @mitu said in Control works inside ES, but not in-game:

    Can you try with Mame2003 or FBAlpha

    I've done that and neither worked, unfortunately. Is there anything else I could try?


  • Global Moderator

    @TimeDoctor Remove the auto-configuration profiles downloaded from the RA's repository (from /home/zjs/.config/retroarch/autoconfig/) and re-configure your gamepad in Emulationstation again. This should generate an auto-configuration file in the same folder. Try this way and see if it works better.



  • Sorry for the late reply, I've tried removing the auto-configuration profiles a few times and that hasn't helped



  • @blanca12 that is the most frustrating part of this, I feel like it's some kind of issue with ubuntu itself. This all worked until I reinstalled everything, but I had to reinstall for other issues I had.



  • I have no idea what I changed, I guess the input_driver backend in the retroarch config, but I was able to enter the retroarch configuration gui from ES and bind the keys for my arcade inputs. But now I can't exit games without hitting escape on the keyboard, attempting to rebind the quit retroarch hotkey to start and select doesn't seem possible right now.


  • Global Moderator

    But now I can't exit games without hitting escape on the keyboard, attempting to rebind the quit retroarch hotkey to start and select doesn't seem possible right now.

    This is maybe because you haven't defined a Hotkey in your configuratio, so RetroArch uses the default keyboard bindings (ESC is mapped to exit).



  • @mitu said in Control works inside ES, but not in-game:

    But now I can't exit games without hitting escape on the keyboard, attempting to rebind the quit retroarch hotkey to start and select doesn't seem possible right now.

    This is maybe because you haven't defined a Hotkey in your configuratio, so RetroArch uses the default keyboard bindings (ESC is mapped to exit).

    See above, I can only define the hotkey in RGUI (if that’s the retroarch green screen) if I lose another button to this function. For example, it won’t let me press the buttons I use for start + select.

    None of this would be a problem if the ES input configuration were passed to retroarch properly.


  • Global Moderator

    @TimeDoctor said in Control works inside ES, but not in-game:

    None of this would be a problem if the ES input configuration were passed to retroarch properly.

    My suspicion is that you've reset the RetroArch configuration and it doesn't look for the gamepad auto-configuration file in the folder where Emulationstation saves it (/opt/retropie/configs/all/retroarch-joypads).


Log in to reply
 

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.