Problem with gamepad mapping PCSX2, possible install older version
-
Hello,
I'd like to install older version of PCSX2. At this moment, I am using 1.7.0 version, but it is not working very well and I do not know why (I can not map gamepad, but it is working in-game, some buttons).
At first I'd like to ask what version of PCSX2 was used in RetroPie on circa January-February 2021?
It is important, because I had not problems before and my gamepad was recognized in PCSX2 gamepad configuration (buttons turned red when I pressed them and I could map them without any problem), now only keyboard mapping is working, but buttons does not turn red as well when pressed.How can I install it automatically - through retropie-setup script and installing from source?
I found pcsx2.sh script in home/retropie/RetroPie-Setup/scriptmodules/emulators, but I am not sure what to change in that file?
I found old thread for ppsspp: https://retropie.org.uk/forum/topic/30969/help-installing-older-version-on-ppsspp, but at that script module_repo is missing.I appreciate your help, thank you in advance!
-
The PCSX2 team has revamped the pluginsystem and in the process they changed how controllers are detected by the emulator. I have had the same problem a few weeks ago. Controllers now get autodetected via sdl2.
Normally your controller should work out of the box and you dont need to rebind any keys. Actually with the current implemention it is impossible to rebind controllers buttons via the controller plugin GUI.
There is a controller database for SDL2 where the emulator looks for valid configurations its called gamecontrollerdb.txtSince editing this file with new configurations for your controller is probably not update save there is a way to add configurations via environment variables:
You can use a tool like this SDL2 Gamepad Tool to generate the config and add the generated mapping as a environment variable.
You will have to run the tool as sudo so it can modify /etc/environment
The file will then somewhat look like this:
PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin" SDL_GAMECONTROLLERCONFIG="030000005e0400008e02000010010000,Xbox One Wireless Controller (Xboxdrv),a:b0,b:b1,x:b2,y:b3,back:b8,start:b9,leftstick:b11,rightstick:b12,leftshoulder:b4,rightshoulder:b5,dpup:h0.1,dpdown:h0.4,dpleft:h0.8,dpright:h0.2,leftx:a0,lefty:a1,rightx:a3,righty:a2,lefttrigger:b6,righttrigger:b7,platform:Linux,"
-
Thank you for your answer.
I prefer the old one, but nevermind. The problem is that my PCSX2 does not register R2 and L2 buttons of 8Bitdo SF30 Pro controllers. Any other works fine. In this case I'd like to reinstall the old version, because I know that it has much more options and it was easier to set up IMO. It was a step back I think if you can not do it simply...
So I found out that L2 and R2 buttons are not working in PCSX2 and also in PPSSPP. I am not sure why, I had to remap L2 to L and R2 to R buttons in PPSSPP, but it is not the right solution. I found the gamecontrollerdb.txt file which is located in /opt/retropie/emulators/ppsspp/assets folder, but did not change anything there. This is really ridiculous change. It was working very well before. L2 R2 buttons are working in any other emulator except PPSSPP and PCSX2 where are really important.
I can not even open lilypad plugin as before, there's just nothing...
Is there a way how to download older version of PCSX2 within RetroPie Setup script?
EDIT: So I ended up installing PCSX2 using sudo apt-get install pcsx2 command that installed 1.5.0 version into my UBUNTU which works flawlessly. Gamepad is recognised and its inputs, too. I can see buttons turn red when pressed. I think that version 1.7.0 is not very stable.
Installing PCSX2 from terminal reinstalled my old version and I did not had to change anything within RetroPie. It was easier than I thought.
Thanks anyway...
-
The PSCX2 team has completely removed the plugin System in the newest version. They stated that they will readd the ability to rebind the controller via gui in later updates.
You could have kept the newest version of PCSX2 using the method i stated above.
But good that you have found a way to get the old version of PCSX2 so it works for you again.
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.