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

    Daphne . Arcade joystick orientation wrong.

    Scheduled Pinned Locked Moved Help and Support
    daphnedaphne controll
    164 Posts 28 Posters 44.7k 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.
    • ClydeC
      Clyde @tagnetti
      last edited by

      @tagnetti Does this happen only in Daphne or also in Emulation Station and other emulators?

      If the latter and you have manually wired arcade joysticks, check the wiring. It has to be exactly the same for both sticks.

      Besides that, you can check your joysticks in RetroPie's command console with the jstest command. For example:

      jstest /dev/js0
      

      Replace the 0 with the joystick index of the stick you want to test. You can press the tab key two times quickly in succession after the js to get a list of all existing joystick numbers. Press Ctrl+c to stop the test, and enter exit to leave the console.

      T 1 Reply Last reply Reply Quote 0
      • T
        tagnetti @Clyde
        last edited by

        @clyde Thankyou. The problem only exists in Daphne. Everything else is perfect. It’s weird as when I try certain titles in Daphne it’s almost like left and right work like a button press left and right but don’t sustain any movement like moving a ship for example. Can’t wrap my mind around what could be causing that issue.

        1 Reply Last reply Reply Quote 0
        • ClydeC
          Clyde
          last edited by

          @tagnetti I don't know if I misunderstand you, but as far as I know Daphne games (Dragon's Lair I + II and Space Ace), the player is expected to "tap" the stick in the right moment and direction, but not keep it for long in one direction. Maybe that's the problem?

          Other than that, did you check Daphne's controls in the dainput.ini? See https://retropie.org.uk/docs/Daphne/#controls

          AshpoolA 1 Reply Last reply Reply Quote 0
          • AshpoolA
            Ashpool @Clyde
            last edited by

            @clyde You're right for those games... but for others, like "astron belt", you are moving a sprite overlaying the laserdiscs video. So @tagnetti, we may need the info about what "certain titles" are meant...

            1 Reply Last reply Reply Quote 0
            • D
              dabbler
              last edited by

              Apologies for dragging an old thread up. I came across this while searching for solutions to my DragonRise not working in Daphne.

              Thanks to @grant2258 , using your modified/fixed daphne - the controls work just fine - super.

              However, it appears Daphne has recently been updated (Retro pie source) by @pjft to support :

              Badlands
              Begas Battle
              Road Blaster

              So Ive moved to the offical source build, and of cource, my controls stop working. Would be great to have the best of both worlds, will @grant2258 's changes ever be included in the official source, or could the latest offical source be modified to inlucde these must have changes?

              Many thanks for all your help and to all those involved

              pjftP 1 Reply Last reply Reply Quote 0
              • pjftP
                pjft @dabbler
                last edited by

                @dabbler you may try to compile and install it from my RetroPie branch, that I used to develop those changes while keeping Grant's control patches:

                https://github.com/pjft/daphne-emu/commits/retropie

                Probably the easiest way is to edit the Daphne RetroPie Setup script to retrieve the code from my repository and branch, and compile from source.

                I could consider pushing it upstream to RetroPie but I'm always hesitant of doing so with other people's code (in the case, Grant's changes), out of consideration for their authorship but he is unlikely to do so on his own by now...

                Note taken. Thanks and a happy new year.

                D 1 Reply Last reply Reply Quote 0
                • D
                  dabbler @pjft
                  last edited by

                  @pjft said in Daphne . Arcade joystick orientation wrong.:

                  https://github.com/pjft/daphne-emu/commits/retropie

                  Thanks, sounds like a good plan - my linux knowledge is lacking, im doing the following:

                  cd /home/pi/RetroPie-Setup/
                  sudo ./retropie_packages.sh daphne clean
                  sudo git clone https://github.com/pjft/daphne-emu/ tmp/build/daphne
                  sudo ./retropie_packages.sh daphne depends
                  sudo ./retropie_packages.sh daphne build
                  sudo ./retropie_packages.sh daphne install
                  sudo ./retropie_packages.sh daphne configure

                  However it fails on the install line (.bin not found), are you able to help please?

                  Thanks so much!

                  pjftP 1 Reply Last reply Reply Quote 0
                  • pjftP
                    pjft @dabbler
                    last edited by

                    @dabbler Well, that's already quite more than what I'd expect from someone lacking Linux knowledge :D

                    I believe that you'd need to check out the "retropie" branch on my end, so:

                    sudo git clone https://github.com/pjft/daphne-emu/ tmp/build/daphne
                    cd tmp/build/daphne
                    sudo git checkout retropie
                    cd /home/pi/RetroPie-Setup/
                    

                    and then the rest.

                    D 1 Reply Last reply Reply Quote 0
                    • D
                      dabbler @pjft
                      last edited by

                      @pjft said in Daphne . Arcade joystick orientation wrong.:

                      sudo git checkout retropie

                      Thanks - "sudo git checkout daphne" was required!

                      All now built, installed and about to test.

                      D 1 Reply Last reply Reply Quote 0
                      • D
                        dabbler @dabbler
                        last edited by

                        @dabbler said in Daphne . Arcade joystick orientation wrong.:

                        @pjft said in Daphne . Arcade joystick orientation wrong.:

                        sudo git checkout retropie

                        Thanks - "sudo git checkout daphne" was required!

                        All now built, installed and about to test.

                        Joystick works. Alas, Bega, Badlands do not launch - just a black screen. Going back to the offical retopie version, these do work, but the joystick dosnt :-( Such a shame @pjft Any thoughts? Thanks

                        pjftP 1 Reply Last reply Reply Quote 0
                        • pjftP
                          pjft @dabbler
                          last edited by pjft

                          @dabbler sudo git checkout retropie

                          Actually, just re-merged it there. Try again, but make sure it's retropie, not daphne as you had mentioned.

                          D 1 Reply Last reply Reply Quote 1
                          • D
                            dabbler @pjft
                            last edited by

                            @pjft said in Daphne . Arcade joystick orientation wrong.:

                            @dabbler sudo git checkout retropie

                            Actually, just re-merged it there. Try again, but make sure it's retropie, not daphne as you had mentioned.

                            No luck im afraid, i get :

                            pi@retropie:~/RetroPie-Setup $ sudo git checkout retropie
                            error: pathspec 'retropie' did not match any file(s) known to git

                            full steps:

                            cd /home/pi/RetroPie-Setup/
                            sudo ./retropie_packages.sh daphne clean
                            sudo git clone https://github.com/pjft/daphne-emu/ tmp/build/daphne
                            sudo git checkout retropie
                            sudo ./retropie_packages.sh daphne depends
                            sudo ./retropie_packages.sh daphne build
                            sudo ./retropie_packages.sh daphne install
                            sudo ./retropie_packages.sh daphne configure

                            pjftP 1 Reply Last reply Reply Quote 0
                            • pjftP
                              pjft @dabbler
                              last edited by

                              @dabbler You're missing navigating to the daphne folder, as I mentioned, after cloning the repository.

                              sudo git clone https://github.com/pjft/daphne-emu/ tmp/build/daphne
                              cd tmp/build/daphne
                              sudo git checkout retropie
                              cd /home/pi/RetroPie-Setup/
                              
                              D 1 Reply Last reply Reply Quote 0
                              • D
                                dabbler @pjft
                                last edited by

                                @pjft said in Daphne . Arcade joystick orientation wrong.:

                                sudo git clone https://github.com/pjft/daphne-emu/ tmp/build/daphne
                                cd tmp/build/daphne
                                sudo git checkout retropie
                                cd /home/pi/RetroPie-Setup/

                                Works a treat. Joystick fully working and Bega etc working - thanks so much @pjft

                                For others, the full steps to install and build this version are:

                                cd /home/pi/RetroPie-Setup/
                                sudo ./retropie_packages.sh daphne clean
                                sudo git clone https://github.com/pjft/daphne-emu/ tmp/build/daphne
                                cd tmp/build/daphne
                                sudo git checkout retropie
                                cd /home/pi/RetroPie-Setup
                                sudo ./retropie_packages.sh daphne build
                                sudo ./retropie_packages.sh daphne install
                                sudo ./retropie_packages.sh daphne configure

                                P PennywisekruegerP 2 Replies Last reply Reply Quote 2
                                • P
                                  phnman @dabbler
                                  last edited by

                                  @dabbler

                                  With the updated space on the first line everything works great. Thanks to pjft for compiling

                                  T 1 Reply Last reply Reply Quote 0
                                  • T
                                    tafaz73 @phnman
                                    last edited by

                                    @pjft
                                    Finally someone upped again this thread. I'm still stuck with non orking joystick. Unfortunately, when I'm building Daphne I receive following error

                                    g++: error: vldp2/libmpeg2/cpu_accel.o: No such file or directory
                                    g++: error: vldp2/libmpeg2/alloc.o: No such file or directory
                                    g++: error: vldp2/libmpeg2/cpu_state.o: No such file or directory
                                    g++: error: vldp2/libmpeg2/decode.o: No such file or directory
                                    g++: error: vldp2/libmpeg2/header.o: No such file or directory
                                    g++: error: vldp2/libmpeg2/motion_comp.o: No such file or directory
                                    g++: error: vldp2/libmpeg2/idct.o: No such file or directory
                                    g++: error: vldp2/libmpeg2/idct_mmx.o: No such file or directory
                                    g++: error: vldp2/libmpeg2/motion_comp_mmx.o: No such file or directory
                                    g++: error: vldp2/libmpeg2/slice.o: No such file or directory
                                    g++: error: vldp2/libvo/video_out.o: No such file or directory
                                    g++: error: vldp2/libvo/video_out_null.o: No such file or directory
                                    make: *** [Makefile:67: all] Error 1
                                    /home/pi/RetroPie-Setup

                                    Any ideas?

                                    pjftP T 2 Replies Last reply Reply Quote 0
                                    • pjftP
                                      pjft @tafaz73
                                      last edited by

                                      @tafaz73 No ideas.

                                      Are you following these instructions?

                                      https://retropie.org.uk/forum/topic/16464/daphne-arcade-joystick-orientation-wrong/115?_=1611934569118

                                      Have you updated the RetroPie-Setup script?

                                      T 1 Reply Last reply Reply Quote 0
                                      • T
                                        tafaz73 @pjft
                                        last edited by

                                        @pjft
                                        Yes, this is what I have done.
                                        The issue happened at the end of

                                        sudo ./retropie_packages.sh daphne build

                                        No, I didn't update Retropie-Setup script. I will do and then test the build again.

                                        Thank you

                                        1 Reply Last reply Reply Quote 0
                                        • PennywisekruegerP
                                          Pennywisekrueger @dabbler
                                          last edited by

                                          I like others have just found this thread seconds before tearing my last strands of hair out.

                                          For the complete raspberry pi noob like me - what do I do?

                                          1. Connect to wifi / lan
                                          2. Boot to command line and
                                          3. Type the commands in exactly as shown below;

                                          cd /home/pi/RetroPie-Setup/
                                          sudo ./retropie_packages.sh daphne clean
                                          sudo git clone https://github.com/pjft/daphne-emu/ tmp/build/daphne
                                          cd tmp/build/daphne
                                          sudo git checkout retropie
                                          cd /home/pi/RetroPie-Setup
                                          sudo ./retropie_packages.sh daphne build
                                          sudo ./retropie_packages.sh daphne install
                                          sudo ./retropie_packages.sh daphne configure

                                          1. After this do you need to amend the daphne config file still?

                                          Thanks for your help (anyone who sees this) 😣

                                          pjftP 1 Reply Last reply Reply Quote 0
                                          • pjftP
                                            pjft @Pennywisekrueger
                                            last edited by

                                            @pennywisekrueger Good question about step 4, I don't have an answer as I had already set up my buttons - this just adds the joystick support.

                                            I imagine you might have to edit the file, as your button configuration will be different to others' (at least fine-tuning) but worth launching Daphne before changing the file and seeing how it goes.

                                            PennywisekruegerP 1 Reply Last reply Reply Quote 0
                                            • 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.