Skip to content

Help me get it working? #42

Open
Open
@nebson9

Description

@nebson9

I have RetroPie 4.7.7 set up on a laptop running Ubuntu 20.04.2 LTS. I have 2 USB controllers. Here are their names:

  • Bensussen Deutsch & Associates, Inc. (BDA) Core (Plus) Wired Controller
  • Bensussen Deutsch & Associates, Inc. (BDA) NSW Wired Controller

I need the "Core (Plus)" controller to always be assigned to player 1 and the "NSW" Controller to always be assigned to player 2. I installed the RetroPie-joystick-selection script using the following command:

wget -O- "https://raw.githubusercontent.com/meleu/RetroPie-joystick-selection/master/install.sh" | sudo bash

I then set up a global configuration for my controllers using the “selection by name” method. Unfortunately, the script seems to have no effect. If I plug “Core (Plus)“ into the USB port on the left side of my laptop and plug “NSW“ into the USB port on the right side of my laptop, then the assignment is done correctly upon launching a game. However, if I instead put “Core (Plus)“ on the RIGHT and “NSW“ on the LEFT, the assignment is NOT done correctly. Moreover, if a game is running and I unplug both controllers, then whichever controller I plug back in first is immediately assigned to player one, and whichever controller I plug in next is assigned to player two. I have also tried accessing the joystick selection script via runcommand to make a system specific configuration, but this did not change anything.

I've included a verbose log obtained via runcommand. It shows the following error message:
sed: can't read /opt/retropie/configs/all/joystick-selection.cfg: Permission denied

If I uninstall the joystick-selection package via RetroPie Setup and then reinstall using the wget command listed above, then the error message will sometimes go away temporarily.

I am also including a text file containing the terminal text from my install and initial global setup. The this text file shows error messages, including:

ln: failed to create symbolic link '/root/RetroPie/retropiemenu/joystick_selection.sh': No such file or directory
cp: cannot stat '/opt/retropie/supplementary/joystick-selection/joystick_selection.sh': No such file or directory
'/home/ben/RetroPie-Setup/tmp/build/joystick-selection/icon.png' -> '/root/RetroPie/retropiemenu/icons/joystick_selection.png'
cp: cannot create regular file '/root/RetroPie/retropiemenu/icons/joystick_selection.png': No such file or directory
'/opt/retropie/configs/all/emulationstation/gamelists/retropie/gamelist.xml' -> '/root/RetroPie/retropiemenu/gamelist.xml'
cp: cannot create regular file '/root/RetroPie/retropiemenu/gamelist.xml': No such file or directory
grep: /root/RetroPie/retropiemenu/gamelist.xml: No such file or directory
chown: cannot access '/root/RetroPie/retropiemenu': No such file or directory
<  Traceback (most recent call last):                │
└────────────────────────────────────────────────────────────  File "/opt/retropie/supplementary/runcommand/joy2key.py", line 241, in <module>
                                                                  chars = get_hex_chars(arg)
              File "/opt/retropie/supplementary/runcommand/joy2key.py", line 147, in get_hex_chars
                      return out.decode('utf-8')
                                                AttributeError: 'NoneType' object has no attribute 'decode'

install and setup.txt
runcommand.log

Thank you!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions