Rumble on psx emulator??
-
I have a alpha version test for you, rumble on port 1 and 2 with a analog pad.
The rumble function is not support for the moment by the multitap. (need to concat some response request and is need more time to dev).This night i push the code on my github branch.
-
Please post support questions in the Help/Support area. Topic moved.
-
The code for the rumble features is commit to my github repository : https://github.com/alexis-puska/pcsx_rearmed
For the moment the rumble feature is implemented on the port 1 and 2 if they have an analog pad connected.
If the multitap is connected the response request is not building so no rumble event for the moment.Is someone can test it. Thank's
-
@alexis-puska said in Rumble on psx emulator??:
The code for the rumble features is commit to my github repository : https://github.com/alexis-puska/pcsx_rearmed
For the moment the rumble feature is implemented on the port 1 and 2 if they have an analog pad connected.
If the multitap is connected the response request is not building so no rumble event for the moment.Is someone can test it. Thank's
compilation failed for me :(
gcc -O3 -mcpu=cortex-a53 -mfpu=neon-fp-armv8 -mfloat-abi=hard -funsafe-math-optimizations -pipe -Wall -ggdb -Iinclude -ffast-math -O2 -DNDEBUG -O3 -mcpu=cortex-a53 -mfpu=neon-fp-armv8 -mfloat-abi=hard -funsafe-math-optimizations -pipe -fPIC -D_FILE_OFFSET_BITS=64 -Wno-unused-result -DFRONTEND_SUPPORTS_RGB565 -DHAVE_LIBRETRO -DNO_FRONTEND -c plugins/gpu_neon/psx_gpu/psx_gpu_arm_neon.S -o plugins/gpu_neon/psx_gpu/psx_gpu_arm_neon.o gcc -O3 -mcpu=cortex-a53 -mfpu=neon-fp-armv8 -mfloat-abi=hard -funsafe-math-optimizations -pipe -Wall -ggdb -Iinclude -ffast-math -O2 -DNDEBUG -O3 -mcpu=cortex-a53 -mfpu=neon-fp-armv8 -mfloat-abi=hard -funsafe-math-optimizations -pipe -fPIC -D_FILE_OFFSET_BITS=64 -Wno-unused-result -DFRONTEND_SUPPORTS_RGB565 -DHAVE_LIBRETRO -DNO_FRONTEND -c -o plugins/cdrcimg/cdrcimg.o plugins/cdrcimg/cdrcimg.c gcc -O3 -mcpu=cortex-a53 -mfpu=neon-fp-armv8 -mfloat-abi=hard -funsafe-math-optimizations -pipe -Wall -ggdb -Iinclude -ffast-math -O2 -DNDEBUG -O3 -mcpu=cortex-a53 -mfpu=neon-fp-armv8 -mfloat-abi=hard -funsafe-math-optimizations -pipe -fPIC -D_FILE_OFFSET_BITS=64 -Wno-unused-result -DFRONTEND_SUPPORTS_RGB565 -DHAVE_LIBRETRO -DNO_FRONTEND -c -o plugins/dfinput/main.o plugins/dfinput/main.c In file included from plugins/dfinput/main.h:1:0, from plugins/dfinput/main.c:18: include/psemu_plugin_defs.h:218:2: error: unknown type name ‘boolean’ boolean configMode; ^ plugins/dfinput/main.c:30:12: warning: ‘old_controller_type1’ defined but not used [-Wunused-variable] static int old_controller_type1 = -1, old_controller_type2 = -1; ^ plugins/dfinput/main.c:30:39: warning: ‘old_controller_type2’ defined but not used [-Wunused-variable] static int old_controller_type1 = -1, old_controller_type2 = -1; ^ <builtin>: recipe for target 'plugins/dfinput/main.o' failed make: *** [plugins/dfinput/main.o] Error 1 make: *** Waiting for unfinished jobs.... /home/pi/work/RetroPie-Setup Could not successfully build Playstation emulator - PCSX (arm optimised) port for libretro (/home/pi/work/RetroPie-Setup/tmp/build/lr-pcsx-rearmed/libretro.so not found).
-
i see it when i just made a make clean and make... i fix it in few minutes
-
@dankcushions fixed ! :p
-
This is much appreciated. Rumble rules.
-
i debug the code, and i try to activate the rumble with the multitap, for Crash Team Racing this is better i think.
-
@alexis-puska said in Rumble on psx emulator??:
i debug the code, and i try to activate the rumble with the multitap, for Crash Team Racing this is better i think.
in tekken 3 and wip3out, i disabled multitap, enabled analogue, and enabled vibration in the in-game options. with my ps4 i could get no rumble, but i'm not sure libretro supports my controller... the only other core i know with rumble is lr-mupen64plus but i get compile errors at the moment :( i will try and get those resolved hopefully
-
@dankcushions said in Rumble on psx emulator??:
the only other core i know with rumble is lr-mupen64plus but i get compile errors at the moment :( i will try and get those resolved hopefully
i simply downloaded the binary, but still couldn't get rumble to work on my PS4 dual shock (i changed the core option to 'rumble'). i'm not sure that PS4 dual shocks support rumble by default in linux, but i'm not sure how to test via command line or whatever.
hopefully someone has a 360 controller or a PS3 controller which i think work?
PS, i got a bit of stuttering with tekken 3 but i'm not sure if that's to do with your changes or not.
-
What did you do for have rumble on linux ? I try on my side. Maybe the value transmit to libretro is too weak.
-
I install the ps3 driver in the retropie menu, and i get vibration on the ps3 pad of my friend. if i have time this week-end i clean the code of printf, and i push a second alpha version.
-
@alexis-puska said in Rumble on psx emulator??:
I install the ps3 driver in the retropie menu, and i get vibration on the ps3 pad of my friend. if i have time this week-end i clean the code of printf, and i push a second alpha version.
Will this version be available in retropie-setup? I would love to have this. I however dont know a lot about compiling.
-
@edmaul69 I using Raspberry Pi 3 with base commands in Linux terminal, but I too don't know a lot about compiling. Try './configure && make' (If anybody can describe all operation of compiling pcsx_rearmed it going to be great :).
-
I made a pull request with my last development :
https://github.com/libretro/pcsx_rearmed/pull/51
In this pull request, i fix a lag in analog mode.
Refactor some duplicate code.
add rumble support for analog controller and declare this controller like the sony playstation dual shock protocole. (i don't succeed with a multitap connected. if you have a multitap declared, you don't have the rumble on your controller). the rumble works with Udev driver, and with ps3 controller pair with usb or bluetooth. In few weeks i can try with ps1 dual shock controller and an playstation to usb adaptator with vibration support. I will make a test and will write here the result.i hope the pull request will merged and you can test it on the last version of the emulator.
Alexis
-
Hi,
I have a Shanwan PS3 controller. I have no intention of using the controller over Bluetooth and instead, simply connect it via USB to my rpi 2.b running the latest RetroPie. As soon as I connect the controller, it rumbles and never stops. Strangely enough, if I connect it to another system (running Kali GNU/Linux) it is recognized and the endless rumbling problem does not occur. That said, I have to believe the issue may be related to something on the rpi.I would greatly appreciate it if someone would point me in the right direction here. The controller works with emulationstation but I can't figure out how to disable (even on a permanent basis if need be) these rumbling motors.
Thanks in advance....
-
hi,
it's strange problem, but it's not a problem with my dev. i hade rumble on pcsx_rearmed, if i understand you it's rumble at the time you connect your pad on retropie. not in an emulator. i think's it's a driver problem. -
ah, sorry if my input is off-topic. Seems this thread is more about an emulator... still learning to navigate the world of rpi...
-
Hi,
just want to begin to say thank you to everyone that is contributing to the RetroPie project.
I'm using a PS3 controller to my RetroPie using bluetooth and I'm experiencing some lag when I have my controller set to "analog", when using standard everything works fine. This is just in pcsx_rearmed, haven't used analog sticks in any other emulator.
Found this thread and saw that you fixed this issue, how do I add this fix to my RetroPie?
Or do I have to wait until the emulator is updated? I have version r22 on my RetroPie at the moment.
Regards
Razer -
@Razer if you have retropie 3.7 lying around take the lr-pcsx-rearmed folder out of the /opt/retropie/emulators/ folder off of 3.7 and copy that folder onto the pi. Then go into /opt/RetroPie/configs/all/retroarch_core_options.cfg and remove the lines for lr-pcsx-rearmed that pertain to players 3-8 and the multitap options then save. They might be seperated from all the other lr-pcsx-rearmed options so read the whole thing.
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.