Rumble on psx emulator??
-
πππππ thank you too much alexis-puska!!! If you need testers here are testers! ππ
-
I don't have controller with rumbler inside... If i develop this features it's only with blind eyes... I post here the link to my github repository when i finish the code. You must get and compile with this link.
-
i see somethings, i try to fix it in the first time.
@dankcushions, can you try somethings for me ? can you set your pad un analog mode, do you have some lag or somethings with the pad ? in standard mode, i have no problem. if i set my pad in analog mode, a little lag is present...
When i look in the code in plugins/dfinput/pad.c, PSX query pad or controller plug in port 1 and port 2. in the actual/before implementation of multitap, the default pad for psx is without analog sticks. the configuration query is never send to the playstation, i will try to acknowledge of the query to see if the lag disappear.
For rumble feature i have original pad in middle month of july i only can develop this feature at this time. sorry for the waiting.
-
Lag with analog pad configured is fixed. Fir the moment the code is on my github repository : https://github.com/alexis-puska/pcsx_rearmed
If someone want, you can download, compile and test it.The next step, is to complete the implementation of the pad. some aknoledgement and response of psx query is not made in the actual pad plugins. i made this with the rumble features, i don't have a pad with motor rumble. i need some tester when the code will done.
Alexis
-
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....
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.