RetroPie forum home
    • Recent
    • Tags
    • Popular
    • Home
    • Docs
    • Register
    • Login
    Please do not post a support request without first reading and following the advice in https://retropie.org.uk/forum/topic/3/read-this-first

    Rumble on psx emulator??

    Scheduled Pinned Locked Moved Help and Support
    36 Posts 11 Posters 19.0k Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • C
      Captcha
      last edited by

      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!

      1 Reply Last reply Reply Quote 0
      • O
        oleguer
        last edited by

        πŸ˜ƒπŸ˜ƒπŸ˜ƒπŸ˜ƒπŸ˜ƒ thank you too much alexis-puska!!! If you need testers here are testers! πŸ˜‚πŸ˜‚

        1 Reply Last reply Reply Quote 1
        • A
          alexis-puska
          last edited by

          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.

          1 Reply Last reply Reply Quote 1
          • A
            alexis-puska
            last edited by

            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.

            1 Reply Last reply Reply Quote 0
            • A
              alexis-puska
              last edited by

              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

              1 Reply Last reply Reply Quote 0
              • A
                alexis-puska
                last edited by

                @dankcushions @oleguer

                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.

                1 Reply Last reply Reply Quote 0
                • BuZzB
                  BuZz administrators
                  last edited by

                  Please post support questions in the Help/Support area. Topic moved.

                  To help us help you - please make sure you read the sticky topics before posting - https://retropie.org.uk/forum/topic/3/read-this-first

                  1 Reply Last reply Reply Quote 0
                  • A
                    alexis-puska
                    last edited by

                    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

                    dankcushionsD 1 Reply Last reply Reply Quote 0
                    • dankcushionsD
                      dankcushions Global Moderator @alexis-puska
                      last edited by

                      @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).
                      
                      1 Reply Last reply Reply Quote 0
                      • A
                        alexis-puska
                        last edited by

                        i see it when i just made a make clean and make... i fix it in few minutes

                        1 Reply Last reply Reply Quote 0
                        • A
                          alexis-puska
                          last edited by

                          @dankcushions fixed ! :p

                          mediamogulM S 2 Replies Last reply Reply Quote 1
                          • mediamogulM
                            mediamogul Global Moderator @alexis-puska
                            last edited by

                            @alexis-puska

                            This is much appreciated. Rumble rules.

                            RetroPie v4.5 β€’ RPi3 Model B β€’ 5.1V 2.5A PSU β€’ 16GB SanDisk microSD β€’ 512GB External Drive

                            1 Reply Last reply Reply Quote 0
                            • A
                              alexis-puska
                              last edited by

                              i debug the code, and i try to activate the rumble with the multitap, for Crash Team Racing this is better i think.

                              dankcushionsD 1 Reply Last reply Reply Quote 0
                              • dankcushionsD
                                dankcushions Global Moderator @alexis-puska
                                last edited by

                                @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

                                dankcushionsD 1 Reply Last reply Reply Quote 0
                                • dankcushionsD
                                  dankcushions Global Moderator @dankcushions
                                  last edited by

                                  @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.

                                  1 Reply Last reply Reply Quote 0
                                  • A
                                    alexis-puska
                                    last edited by

                                    What did you do for have rumble on linux ? I try on my side. Maybe the value transmit to libretro is too weak.

                                    1 Reply Last reply Reply Quote 0
                                    • A
                                      alexis-puska
                                      last edited by

                                      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.

                                      edmaul69E 1 Reply Last reply Reply Quote 4
                                      • edmaul69E
                                        edmaul69 @alexis-puska
                                        last edited by

                                        @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.

                                        C 1 Reply Last reply Reply Quote 0
                                        • C
                                          Captcha @edmaul69
                                          last edited by

                                          @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 :).

                                          1 Reply Last reply Reply Quote 0
                                          • A
                                            alexis-puska
                                            last edited by

                                            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

                                            1 Reply Last reply Reply Quote 1
                                            • First post
                                              Last post

                                            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.