Open schaal opened 7 years ago
Not sure if I can work around this (might be possible via some changes to the way ES saves the XML) - but you should report it to the vendor - as it looks like they should remove that character from the device name.
For now you can just configure retroarch via RGUI.
xmstarlet is not going to be happy parsing it from reading the docs. The only thing I can think of is to save the name mime64 encoding in the xml or extract the name separately from xmlstartlet (via grep), and then clean the file before parsing it.
Right now it's easiest just to manually adjust your configuration - it's not a common issue thankfully.
@schaal Did you have any luck setting up mupen64plus with it? I just got the same (broken) adapter from Amazon. The weird thing is that there are already profiles for this Mayflash adapter in InputAutoCfg.ini for Windows (Win32: USB GamePad), OS X (OSX: USB GamePad) and Linux (Linux: HuiJia USB GamePad).
@Gerii Unfortunately not
@schaal Did you also order it at Amazon.de?
@Gerii Yes, I also got it from amazon
Try in: RetroPie-Setup\scriptmodules\supplementary\emulationstation\inputconfiguration.sh
line: DEVICE_NAME=$(xmlstarlet sel --text -t -v "/inputList/inputConfig/@deviceName" "$es_conf") replace:
DEVICE_NAME=$(xmlstarlet sel --text -t -v "/inputList/inputConfig/@deviceName" "$es_conf" | sed 's/&\#24;/g')
I'm not positive will work but try and test as I'm on win comp atm.
Not a bug fix, but I did find a somewhat hacky workaround for this. The problem appears to be that the device count and name get stuck after Mupen64 encounters the first device with the malformed name containing unicode garbage. The solution is to edit the automatically adapted Mupen64 config file after launching it once, such that the device
number increases and also set the mode for all controllers to manual. The next time it will work correctly, but of course it will not auto-detect any controllers anymore. If you have multiple joysticks or adapters, make sure to connect the bad one last.
Trying to configure an USB Adapter for N64 Controllers, identified as
0079:1879 DragonRise Inc.
by lsusb, fails. The following error is printed several times to the console:The problem appears to be, that the adapter has an invalid character in the deviceName, which can also be seen in the output of udevadm monitor when attaching the adapter:
The full es_temporaryinput.cfg:
es_temporaryinput.cfg