Retropie PSX Emulator only 1 controller works
-
@Disbeliever can you paste here your
/opt/retropie/configs/psx/retroarch.cfg
?It seems that the
input_player1_joypad_index
and theinput_player2_joypad_index
are receiving the same value... -
I had this problem two days ago. In the /opt/retropie/configs/all/retroarch-core-options.cfg i changed this:
pcsx_rearmed_pad2type = "analog"
To:
pcsx_rearmed_pad2type = "standard"
And it worked. Also all players except pad1 are set on standard.
-
i think this is what the original hardware did if you turned on analog mode on in games that didn't support it. the controllers had a wee button you could press to turn it on/off so it worked with old games. i've added a note here:
https://github.com/RetroPie/RetroPie-Setup/wiki/Playstation-1#analog-controller-type
-
Hello, thanks for the help !
I think that might be it.I tried wat @edmaul69 suggested. And it worked, except controller 2 was D-pad only. As soon as i change the type to analog the behavior comes back. Controller 1 will control both players.
So now pad 1 is analog and pad 2 isn't but it works.
I probbably tried it with games with no analog support (CTR and THPS 2) then.@meleu : the indexing was the first thing i though of to. This is an excerpt from my /opt/retropie/configs/psx/retroarch.cfg file :
input_driver = "udev"
input_joypad_driver = "udev"
input_keyboard_layout = ""
input_device_p1 = "1"
input_player1_joypad_index = "0"
input_libretro_device_p1 = "1"
input_player1_analog_dpad_mode = "0"
input_device_p2 = "1"
input_player2_joypad_index = "1"
input_libretro_device_p2 = "1"
input_player2_analog_dpad_mode = "0"
input_device_p3 = "0"
input_player3_joypad_index = "2"
input_libretro_device_p3 = "1"
input_player3_analog_dpad_mode = "0"It keeps going like that 'till player 15. But the indexes increment. So those seem ok. what seems weird to me is for all the players the value of input_libretro_device_p[player number] = "1" / And the input_device_p[player number]= "0" is the same....
Does anybody know what these 2 parameters mean?Anyway , thanks for the help already !
-
@Disbeliever
here's what mine looks like:input_device_p1 = "0" input_player1_joypad_index = "0" input_libretro_device_p1 = "1" input_player1_analog_dpad_mode = "0" input_device_p2 = "0" input_player2_joypad_index = "1" input_libretro_device_p2 = "1" input_player2_analog_dpad_mode = "0"
so all my input_device_p1/2/3/etc are set to 0 but yours are set to 1. i'm not sure what this setting does.. 0 might be automatic? maybe try it out with your setup?
-
There is an explanation about the
input_libretro_device_pX
in retroarch.cfg skeleton:# Sets which libretro device is used for a user. # Devices are indentified with a number. # This is normally saved by the menu. # Device IDs are found in libretro.h. # These settings are overridden by explicit command-line arguments which refer to input devices. # None: 0 # Joypad (RetroPad): 1 # Mouse: 2 # Keyboard: 3 # Generic Lightgun: 4 # Joypad w/ Analog (RetroPad + Analog sticks): 5 # Multitap (SNES specific): 257 # Super Scope (SNES specific): 260 # Justifier (SNES specific): 516 # Justifiers (SNES specific): 772
-
@meleu we're not talking about
input_libretro_device_pX
, we're talking aboutinput_device_pX
EDIT, oh i suppose we're talking about both :) but input_libretro_device_pX =1 seems normal to me, at least
-
@dankcushions
@Disbeliever said in Retropie PSX Emulator only 1 controller works:Does anybody know what these 2 parameters mean?
I've just tried to help with one of them at least... :-)
-
@meleu : Thanks for the info on input_libretro_device_pX . I'm using PS3 controller (bluetooth paired), so they should be set to "5" probably?
@dankcushions : i'm sorry, i think i've changed that setting to 1 yesterday trying to fix it. Originally all input_device_px parameters where 0.
It would be nice if we could figure out what this actually does ... :)Again, thanks to all of you for helping me !
-
so i have a bit of good news. if you overwrite the lr-pcsx-rearmed with the one form 3.7 retropie before they added multiplayer/multitap and remove all the new options for it in opt/retropie/configs/all/retroarch-core-options.cfg it works with 2 analogs. the files in the retroarch-core-options.cfg can be in multiple locations but these are the only ones you keep:
pcsx_rearmed_frameskip = "0" pcsx_rearmed_region = "Auto" pcsx_rearmed_pad1type = "analog" pcsx_rearmed_pad2type = "analog" pcsx_rearmed_drc = "enabled" pcsx_rearmed_neon_interlace_enable = "disabled" pcsx_rearmed_neon_enhancement_enable = "disabled" pcsx_rearmed_neon_enhancement_no_main = "disabled" pcsx_rearmed_duping_enable = "on" pcsx_rearmed_spu_reverb = "on" pcsx_rearmed_spu_interpolation = "simple" pcsx_rearmed_pe2_fix = "disabled" pcsx_rearmed_inuyasha_fix = "disabled"
-
Please read above. When i get done configuring the emulators in my pistation 1 i will get on my other pi and see if making all of the players controllers analog what it does. I dont know if you had it set up that way or not.
-
@dankcushions @Disbeliever
I was googling about the diferences betweeninput_device_pX
andinput_libretro_device_pX
.This thread on RetroArch github issue section made me think that both options are the same, but
input_device_pX
is a deprecated one. Let's see if that guy (Themaister) will confirm my supposition. -
Hi,
This is a bug on the current version of pcsx-rearmed. if you have configured 2 analog controler, an old code is used and the first pad keystate is mapped on the second pad keystate... some code is in wainting state for merge, but i have add rumble for analog pad 1 and 2, and i fix this bug in the next version. If you want to play with 2 player configured the second on standart for the moment. -
@alexis-puska is it possible to make a post in here or somewhere so we know to get it? I am using the second to last version because of the analog issue. I am really excited about rumble support.
-
@edmaul69 said in Retropie PSX Emulator only 1 controller works:
@alexis-puska is it possible to make a post in here or somewhere so we know to get it? I am using the second to last version because of the analog issue. I am really excited about rumble support.
hi,
For me i make some script to define the compilation variable and compile the emulator.
The best way for you I think it's to edit the "lr-pcsx-rearmed.sh" script shell and reinstall the emulator.you can edit the line 22 : gitPullOrClone "$md_build" https://github.com/libretro/pcsx_rearmed.git
you replace the url by : https://github.com/alexis-puska/pcsx_rearmed.git
it's my repository with the last change for gamepad. and launch emulation station, go in retropie plateform, launch the retropie setup script and reinstall the emulator.
-
be careful though. if you change any retropie script you will not be able to update retropie-setup via the script unless you revert or delete that file.
-
Yes, after your reinstall, revert this files. Dankushion is right, if you not revert this files you cannot update pcsx_rearmed with the last version and last update made by the community.
In some major update of retropie for mine part, i reinstall and recreate my sdcard. -
Hey guys. Let me complement the @alexis-puska tip:
[EDIT: this is incomplete and unusable.]
The best way for you is to copy thelr-pcsx-rearmed.sh
script shell to another file, let's saylr-pcsx-rearmed-fixed.sh
, and make the changes suggested by @alexis-puska . And then reinstall.It will let the original file untouched. ;-) -
@meleu then how would you launch the fixed version? :) by editing the existing .sh you can launch it via retropie-setup.sh as normal.
-
@dankcushions said in Retropie PSX Emulator only 1 controller works:
@meleu then how would you launch the fixed version? :) by editing the existing .sh you can launch it via retropie-setup.sh as normal.
Well, if the copied script is at
RetroPie-Setup/scriptmodules/libretrocores/
, as the original file, it will be launchable via retropie_setup too. BUT... I have to agree that my suggestion is incomplete, therefore unusable...The functions inside the copied script need to be renamed to match the file name... although this renaming process could be simple for a experienced sed or vim user, it's simpler to just follow your instructions (edit the URL and after the reinstall put back the libretro one).
Sorry guys...
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.