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 45.5k 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.
    • 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
                        • T
                          tafaz73 @tafaz73
                          last edited by

                          @pjft
                          Ok I checked in log and I found a previous error....

                          = = = = = = = = = = = = = = = = = = = = =
                          Building 'daphne' : Daphne - Laserdisc Emulator
                          = = = = = = = = = = = = = = = = = = = = =
                          
                          checking for a BSD-compatible install... /usr/bin/install -c
                          checking whether build environment is sane... yes
                          checking for gawk... no
                          checking for mawk... mawk
                          checking whether make sets ${MAKE}... yes
                          checking whether to enable maintainer-specific portions of Makefiles... no
                          checking build system type... autotools/config.guess: unable to guess system type
                          
                          This script, last modified 2002-09-03, has failed to recognize
                          the operating system you are using. It is advised that you
                          download the most up to date version of the config scripts from
                          
                              ftp://ftp.gnu.org/pub/gnu/config/
                          
                          If the version you run (autotools/config.guess) is already up to date, please
                          send the following data and any information you think might be
                          pertinent to <config-patches@gnu.org> in order to provide the needed
                          information to handle your system.
                          
                          config.guess timestamp = 2002-09-03
                          
                          uname -m = aarch64
                          uname -r = 5.4.72-v8+
                          uname -s = Linux
                          uname -v = #1356 SMP PREEMPT Thu Oct 22 13:58:52 BST 2020
                          
                          /usr/bin/uname -p = 
                          /bin/uname -X     = 
                          
                          hostinfo               = 
                          /bin/universe          = 
                          /usr/bin/arch -k       = 
                          /bin/arch              = 
                          /usr/bin/oslevel       = 
                          /usr/convex/getsysinfo = 
                          
                          UNAME_MACHINE = aarch64
                          UNAME_RELEASE = 5.4.72-v8+
                          UNAME_SYSTEM  = Linux
                          UNAME_VERSION = #1356 SMP PREEMPT Thu Oct 22 13:58:52 BST 2020
                          configure: error: cannot guess build type; you must specify one
                          

                          I guess that without the right 'guess' of the build type, compile will fail....

                          Looks that config.guess timestamp is pretty old (2002-09-03) .... but my question is... where is it looking for this file?
                          I found an updated one in /usr/share/misc (TimeStamp ='2018-02-24')
                          How can I use this one?

                          Thanks

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

                            @tafaz73 I am at a loss here, apologies. What image are you running, in what device?

                            I don't know why you'd be getting those messages whatsoever, and I wouldn't know where to start, apologies.

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

                              @pjft the image is based on RetroPie 4.7.1. My raspberry is a PI4 4GB. I'm becoming crazy trying to figure out why is failing...
                              Anyway I found autotools in your source files. I will try to substitute with a more recent Version and see what will happen. Finger crossed

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

                                @pjft YEEEEESSS!! Finally!!!
                                I have replaced config.guess in daphne/src/vldp2/autotools and the error while building has disappeared !!!
                                ... and now, most important thing, left/right are working!!!!

                                Thank you!!!

                                SaturnXS 1 Reply Last reply Reply Quote 1
                                • SaturnXS
                                  SaturnX @tafaz73
                                  last edited by SaturnX

                                  @tafaz73 Hey! Saw your success with this - when you say you replaced the config.guess / config.sub file - where did you get it from? Did you simply get the latest from the 'config' project? (savannah.gnu.org)

                                  I'm running on a pi4 / 4.7.1 and wanted to update Daphne for better compatibility and joystick fixes.

                                  @pjft Since config.guess / config.sub are required to identify platform specific parameters, I'm going to assume this has to do the the pi4 being newer and the config.guess is timestamped from 2002 (even in the official RetroPie repo) and out of date for the pi4 architecture.

                                  I'm wondering if it'd be beneficial to update both in your repo to assist other users on the pi4 / 4.7.1+ combo?

                                  Some more info on config.guess and config.sub:
                                  GNU - config.guess / config.sub

                                  config @ Savannah

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

                                    @saturnx Thank you.

                                    I would consider it, but given that - as you noted - my repo is exactly the same as the official RetroPie one here, I genuinely am stumped as to why would compilation fail from my repo, but work from RetroPie's source install.

                                    If you and others do confirm that compiling Daphne from source fails on RetroPie, then we'll fix it in both, but that not being the case I'd rather try to really understand what might be missing here before embarking in fixing the symptom rather than the cause.

                                    I'd like to get some clarity on the context before jumping to a tactical fix.

                                    SaturnXS 2 Replies Last reply Reply Quote 0
                                    • SaturnXS
                                      SaturnX @pjft
                                      last edited by

                                      @pjft excellent approach, truth be told, I’ve just installed Daphne from binary on my pi4 install and it works (minus the joystick hiccups).

                                      I’ll see if I can give it a go from source - trying the official repo first.

                                      If anyone else has a Pi 4 and wants to try the official repo to see if it’ll compile that would help the cause!

                                      1 Reply Last reply Reply Quote 0
                                      • SaturnXS
                                        SaturnX @pjft
                                        last edited by SaturnX

                                        @pjft So just an update - fired up a clean install of 4.7.1 on my pi4 / 4GB and attempted to build daphne from official sources directly from the retropie setup script.

                                        It compiled without issue and ran Dragon's Lair without issue (aside from joystick nuances).

                                        Quickly checking the logs (see below) it looks like it determines the build type correctly, whereas when @tafaz73 tried to compile from your repo, it failed the system identification.

                                        This is where my knowledge trails off on compiling from source.

                                        My next step will be to try compiling the modified version from your repo. I'll report back with how it pans out.

                                        Excerpt from Daphne Install Log:

                                        
                                        = = = = = = = = = = = = = = = = = = = = =
                                        Building 'daphne' : Daphne - Laserdisc Emulator
                                        = = = = = = = = = = = = = = = = = = = = =
                                        
                                        checking for a BSD-compatible install... /usr/bin/install -c
                                        checking whether build environment is sane... yes
                                        checking for gawk... no
                                        checking for mawk... mawk
                                        checking whether make sets ${MAKE}... yes
                                        checking whether to enable maintainer-specific portions of Makefiles... no
                                        checking build system type... armv7l-unknown-linux-gnu
                                        checking host system type... armv7l-unknown-linux-gnu
                                        checking for gcc... gcc
                                        checking for C compiler default output... a.out
                                        

                                        EDIT: @pjft Thanks so much! So just gave your repo a go, cleaned out the original install and it compiled and installed without issue!

                                        Going to test run a few games to see how this performs, but so far looking good!

                                        Just for completeness - my system details

                                        System: Pi4 / 4GB
                                        RetroPie: 4.7.1 (fresh install)
                                        RetroPie Setup Script: 4.7.7

                                        1 Reply Last reply Reply Quote 0
                                        • B
                                          bbrueck
                                          last edited by

                                          Total Noob here, my apologies if I'm asking in the wrong place. After an hour of internet sleuthing, this thread seems to be most active around this issue. Ive just got into the retropie world. Have a Pi4 running a 64g virtualman image file. Daphe Games all load fine. Im trying to configure my arcade stick to work with them. Im using a madcatz xbox 360 arcade stick. Ive got the dainput.ini file open, and no clue what the numbers should be for this stick. running jstest only shows -32767/32767 for the stick and all the buttons only show as on/off. Where do I go from here? I have not updated anything from the original image file I loaded. Thanks for any help!

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

                                            @bbrueck In jtest, press the button you want to use and note its number. As it is described in dainput.ini, you'll have to add 1 to this number (button 0 in jtest becomes 1 in dainput.ini and so on).

                                            In every line unter [KEYBOARD] the third number is the controller button number. The two numbers before that are keyboard codes.

                                            For example, to map button 3 (jtest) of your controller as the first start button in Daphne, the line would read KEY_START1 = 49 0 4, with 49 and 0 being irrelevant keyboard codes for that function.

                                            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.