Daphne . Arcade joystick orientation wrong.
-
@pjft
Yes, this is what I have done.
The issue happened at the end ofsudo ./retropie_packages.sh daphne build
No, I didn't update Retropie-Setup script. I will do and then test the build again.
Thank you
-
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?
- Connect to wifi / lan
- Boot to command line and
- 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- After this do you need to amend the daphne config file still?
Thanks for your help (anyone who sees this) π£
-
@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.
-
@pjft but I got the rest right!!? ππΌ
-
@pennywisekrueger As far as I remember, yes.
-
This post is deleted! -
@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?
-
@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.
-
@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
-
@pennywisekrueger There's a space between sudo and ".". Are you on /home/pi/RetroPie-Setup ?
-
@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 $
-
@pennywisekrueger sudo reboot now will restart the machine
-
@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)
-
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. -
@pjft Ok, Updated Setup script but still fails.
Anyway I see that the issue starting when compiling thiscc -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 -
@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
-
@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.
-
@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 -
@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!!!
-
@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
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.