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 50.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.
    • 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
                    • PennywisekruegerP
                      Pennywisekrueger @pjft
                      last edited by

                      @pjft but I got the rest right!!? πŸ™πŸΌ

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

                        @pennywisekrueger As far as I remember, yes.

                        PennywisekruegerP 2 Replies Last reply Reply Quote 0
                        • PennywisekruegerP
                          Pennywisekrueger @pjft
                          last edited by

                          This post is deleted!
                          1 Reply Last reply Reply Quote 0
                          • PennywisekruegerP
                            Pennywisekrueger @pjft
                            last edited by

                            @pjft I’m getting stuck at this line

                            sudo git clone https://github.com/pjft/daphne-emu/ tmp/build/daphne

                            Should this be one line or two?

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

                              @pennywisekrueger one, but you haven't given me any error message or even what RetroPie version you're running and on what pi, etc.

                              Please share more details about what you're running to.

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

                                @pjft sorry - I’m on a pi 3b+

                                I’ve now got to the line

                                sudo./retropie_packages.sh daphne build

                                And it says no such file or directory

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

                                  @pennywisekrueger There's a space between sudo and ".". Are you on /home/pi/RetroPie-Setup ?

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

                                    @pjft I am now! My initial post missed some vital parts !! I’m there now everything seems to have worked - how do I boot back into emulation station to see if it’s worked 😬😬

                                    Current command line flashing says

                                    Pi@retropie:~/RetroPie-setup $

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

                                      @pennywisekrueger sudo reboot now will restart the machine

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

                                        @pjft it works!!!!!!!! THANK YOU SOOOOOOO MUCH!!!!

                                        Dragons Lair 2 tested πŸ‘ŒπŸΌπŸ‘ŒπŸΌπŸ‘ŒπŸΌ

                                        Any idea why it uses player 2 controls (not that I’m that bothered)

                                        1 Reply Last reply Reply Quote 0
                                        • GreenGriffonG
                                          GreenGriffon
                                          last edited by

                                          I've used the modified build done by grant(?) that was posted here to fix the joystick issue.
                                          However, I found that the next time I updated RetroPie, Daphne wrote over the changes and I was back to square one.
                                          Are you able to update and still keep these changes in place?
                                          I really wish we could get the official build of Daphne fixed once and for all for this issue.

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

                                            @pjft Ok, Updated Setup script but still fails.
                                            Anyway I see that the issue starting when compiling this

                                            cc  -mcpu=cortex-a72 -mfpu=neon-fp-armv8 -O2  -fPIC `sdl-config --cflags` -I./include -fsigned-char  -c libmpeg2/cpu_accel.c -o libmpeg2/cpu_accel.o
                                            libmpeg2/cpu_accel.c:24:10: fatal error: config.h: File or directory not existing
                                             #include "config.h"
                                                      ^~~~~~~~~~
                                            compilation terminated.
                                            

                                            I see that in include directory there is only a config.h.in and not config.h.
                                            Could you past me build function from your Daphne.sh? Thanks

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