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

    Joystick / Python Script Preventing Emulator Launch

    Scheduled Pinned Locked Moved Help and Support
    gamepadpythonscriptcontrol configfreezing
    5 Posts 2 Posters 987 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.
    • D
      drake999
      last edited by

      Hi everyone. I'm testing and configuring a Pi Zero W for use in a handheld system I'm building. I'm staging the system on a small LCD TV for initial configuration. I'm running into an issue that is seemingly random where an emulator fails to launch and simply freezes on the grey box where it says "Launching", "Press a button to configure". Through troubleshooting I've determined that it's getting hung up on a script called "joy2key.py". Using htop, if I kill this process the game launches and is playable. It would be unfortunate to have to log in through SSH and kill this process to launch a game. Is this a known issue? Is there a way to fix it? I should also mention that for some reason EmulationStation is detecting two gamepads even though I only have one plugged in (plus a keyboard and mouse, only one gamepad detected before installed Xbox 360 driver). I'm using the Xbox 360 gamepad driver with a Logitech F310. I updated everything in the retropie_setup.sh script in hopes it would resolve the issue but no joy. Any help would be appreciated.

      herb_fargusH 1 Reply Last reply Reply Quote 0
      • herb_fargusH
        herb_fargus administrators @drake999
        last edited by

        @drake999 said in Joystick / Python Script Preventing Emulator Launch:

        before installed Xbox 360 driver

        Which driver? Xpad or xboxdrv? Xboxdrv has issues. Try xpad. Should be default driver

        If you read the documentation it will answer 99% of your questions: https://retropie.org.uk/docs/

        Also if you want a solution to your problems read this first: https://retropie.org.uk/forum/topic/3/read-this-first

        D 3 Replies Last reply Reply Quote 0
        • D
          drake999 @herb_fargus
          last edited by

          @herb_fargus Thanks for the helpful suggestion. I believe it was xboxdrv. I will try xpad and let you know. Thanks again.

          1 Reply Last reply Reply Quote 0
          • D
            drake999 @herb_fargus
            last edited by

            @herb_fargus Ok so I've removed the offending driver, but can't seem to find where to configure the xpad driver. The reason I installed xboxdrv is it rectified an issue when configuring a gamepad in EmulationStation where pressing and retracting the trigger buttons registers as two separate button presses. Now that it is removed the issue has returned. Is there something that I'm missing? Is there a place to enable the xpad driver? I've already verified it is installed. Thanks in advance.

            1 Reply Last reply Reply Quote 0
            • D
              drake999 @herb_fargus
              last edited by

              @herb_fargus I have omitted the analog trigger buttons for the time being. They will likely not be used in my final build as I will be focusing on only 8 and 16 bit generation systems anyway. After this I was planning on doing a fresh RetroPie build for my Pi3 based stationary consoles. This will likely be something I have to revisit so please let me know if you are aware of any potential solutions. Thanks for the help. I appreciate it.

              1 Reply Last reply Reply Quote 0
              • 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.