Rumble on psx emulator??
-
Hello forum!! Can support vibration on psx emulator using dualshock 3 on lastest versions of emulator??
-
lr-pcsx_rearmed doesn't support the rumble actually, i don't know if a develloper has the ideas or the project to code this.
Damn, you hit me, if y have time i look like to make this features, i have added the multitap support the last month... i know the code for the pad. maybe in the next release of pcsx rearmed. i don't give you a deadline, i made this on my day of and my free time if i have some.
-
I found some documentation and some old code of pcsx-reloaded, i think to know how the rumble works. If i have time i made some tests, i hope that the usb controler that i have it's compatible on sdl with vibration.
-
We're waiting for pre-relase :) I thnik this idea going to change really more. Raspberry Pi with PS2/3/4 controller and rumble? It's Great!
-
πππππ 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.
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.