How can make the controler configuration window show in pcsxr?
Solution 1:
Ubuntu 18.04 shipped with many broken packages, and pcsxr is one of them. Fortunately, pcsxr is among the few packages that can be easily fixed. The solution is to install the functioning input plugin from the 16.04 version of pcsxr. (All credit goes to josefien for figuring this out)
- Install pcsxr normally:
sudo apt install pcsxr
- Download the 16.04 version of pcsxr: https://packages.ubuntu.com/xenial/pcsxr (most likely the amd64 version;
uname -a
will give display your architecture, if you see x86_64 then pick amd64 in the download) - Extract the deb archive (
right click
->extract here
). You will find a filedata.zip
that needs to be extracted as well. - From the data file, you'll need to copy three files. Two of the three will replace preexisting files. In the terminal, go to the extracted data file and copy the folling files:
sudo cp usr/lib/x86_64-linux-gnu/psemu/cfgDFInput /usr/lib/x86_64-linux-gnu/psemu/cfgDFInput
sudo cp /usr/lib/x86_64-linux-gnu/psemu/libDFInput.so -> /usr/lib/x86_64-linux-gnu/psemu/libDFInput.so
sudo cp /usr/share/psemu/dfinput.glade2 /usr/share/psemu/dfinput.glade2
- Since we're using glade again, you'll also need to install or it wont work:
sudo apt install libglade2-0
- This is not strictly related to this question, but the
pcsxr
package is still broken but in another way: You need to setCpu = 1
in~/.pcsxr/pcsxr.cfg
or pcsxr will crash.
With that, you're all set. The configuration window should appear normally and your controller should be detected and ready for configuration.