New Hypseus and lr-Daphne to add on Retropie-Setup
-
@johnodon said in New Hypseus and lr-Daphne to add on Retropie-Setup:
What is the preferred method nowadays to install Daphne (or lr-daphne, or Hypseus, or Hypseus Singe, etc) on an x86_64 build?
@DirtBagXon I know you say to install the default RP Daphne package and overlay yours on top but the RP Daphne package is !flagged on x86. Is there another path?
Hi,
RetroPie-Setup (pull request):
You may want to try theRetroPie-Setup
pull request, rather than follow below: https://retropie.org.uk/forum/post/265501Manual Method:
Ok, I ran into the same issue on my x64 setup, so had to go through a manual setup which basically was copying the Pi layout.
Hopefully you are au fait with the linux cli and this makes sense....Here are the directory layouts (this assumes you run RetroPie as user 'pi'), or adjust as necessary:
This first section is where you will put the compiled hypseus/daphne binary
daphne.bin
anddaphne.sh
script, see repo notes at the base. Ignore the symlinks at this point, you will need to create the destination directories in the next steps, then come back here to create them.The 'pics', 'sound', 'fonts' directories will need data from the repo, but not 'roms' , that follows the symlink later on.
ls -al /opt/retropie/emulators/daphne/ drwxr-xr-x 9 pi pi 4096 Jul 12 12:24 . -rwxr-xr-x 1 pi pi 2485652 Jul 13 13:00 daphne.bin -rwxr-xr-x 1 pi pi 522 Jul 12 12:24 daphne.sh lrwxrwxrwx 1 pi pi 42 Apr 29 20:01 flightkey.ini -> /opt/retropie/configs/daphne/flightkey.ini drwxr-xr-x 2 pi pi 4096 Jul 9 22:28 fonts drwxr-xr-x 2 pi pi 4096 Apr 29 20:23 framefile lrwxrwxrwx 1 pi pi 41 Apr 29 20:01 hypinput.ini -> /opt/retropie/configs/daphne/hypinput.ini drwxr-xr-x 2 pi pi 4096 Jul 12 12:26 logs drwxr-xr-x 3 pi pi 4096 Apr 29 20:00 pics drwxr-xr-x 2 pi pi 4096 Jun 28 19:39 ram lrwxrwxrwx 1 pi pi 38 Apr 29 20:01 roms -> /home/pi/RetroPie/roms/daphne/roms drwxr-xr-x 2 pi pi 4096 Apr 29 20:23 screenshots lrwxrwxrwx 1 pi pi 39 Jul 12 00:07 singe -> /home/pi/RetroPie/roms/daphne/roms drwxr-xr-x 2 pi pi 4096 Apr 29 20:00 sound
This is where you will put config files, again from the repo:
ls -al /opt/retropie/configs/daphne/ -rw-r--r-- 1 pi pi 77 Jul 4 01:15 emulators.cfg -rw-r--r-- 1 pi pi 1885 Apr 29 20:04 flightkey.ini -rw-r--r-- 1 pi pi 1903 Apr 29 20:04 hypinput.ini
Note: The two .ini files here are symlinked in the first directory, go back and do that.
For anyone unfamiliar with symlinks, use the following command:
ln -s <destination file of folder> <source linkname>
The emulators.cfg was copied from the pi install and contains:
daphne = "/opt/retropie/emulators/daphne/daphne.sh %ROM%" default = "daphne"
Then you have your actual roms directory:
ls -al /home/pi/RetroPie/roms/daphne/ drwxr-xr-x 2 pi pi 4096 Apr 25 19:23 roms drwxr-xr-x 2 pi pi 4096 Jul 12 09:28 lair.daphne drwxr-xr-x 2 pi pi 4096 Jul 12 09:28 timegal.daphne
Important Note: Create symlinks for 'roms' and 'singe' from the first directory above to the 'roms' directory here.
Then put your daphne binary ROM zip files within the 'roms' subdirectory.
Create your actual game directories with the '.daphne' extension and place video, framefile and other data in there.
Then finally to enable daphne in emulationstation menus you will need to manually add it to:
/etc/emulationstation/es_systems.cfg
<system> <name>daphne</name> <fullname>Daphne</fullname> <path>/home/pi/RetroPie/roms/daphne</path> <extension>.daphne .DAPHNE</extension> <command>/opt/retropie/supplementary/runcommand/runcommand.sh 0 _SYS_ daphne %ROM%</command> <platform>daphne</platform> <theme>daphne</theme> </system>
Reload ES and it should appear.
Getting the hypseus binary (
daphne.bin
) in the first directory will require you to compile from source, follow instructions here:https://github.com/DirtBagXon/hypseus-singe/blob/master/src/3rdparty/retropie/RETROPIE.md
Other config should be RetroPie generic:
https://retropie.org.uk/docs/Daphne/
However, you will need to configure the hypinput.ini file for your controls, if needed, this is described here:
https://github.com/DirtBagXon/hypseus-singe/blob/master/doc/hypinput.ini
Hopefully that is it.....
There is now no reason why a 32 and 64 bit x86 RetroPie package cannot be created as hypseus can be compiled on all these architectures.
But someone needs to take it on-board, it would automate all this as per the Pi ARM package install.Footnote: For any old installation users reading this: The 'singe' folder symlink to 'roms' is now enabled due to the release of version 2.6.1 - it has a '-retropath' argument for singe games (within 'daphne.sh') that removes the need for linking/copying singe peripheral data. It only requires a folder that can be traversed in the Daphne homedir, so we can use the existing 'roms'. An expanded explanation is within the RetroPie README in my signature.
-
@dirtbagxon Thanks a bunch for all the help...I'm up and running! :)
We really need to get this all into a scriptmodule for RP. I'll start piecing one together so this will be easier for those who come later.
On a side note...
Did I read somewhere that your project supports bezels? I can't remember if it was this or something entirely different.
John
-
@johnodon said in New Hypseus and lr-Daphne to add on Retropie-Setup:
@dirtbagxon Thanks a bunch for all the help...I'm up and running! :)
Wow, my memory is better than I think :)
We really need to get this all into a scriptmodule for RP. I'll start piecing one together so this will be easier for those who come later.
I'm sure some future users will appreciate this.
On a side note...
Did I read somewhere that your project supports bezels? I can't remember if it was this or something entirely different.
I have no experience with bezels, they are not supported directly in hypseus but someone may have created a wrapper to display them, as has been done with Daphne in the past. Let me know if you find this to be true, I haven't been involved.
EDIT: Also, I had an epiphany that there is actually no need for a 'singe' subdirectory at all now, as it is purely traversed. So I have changed the documentation on the repo, and above, to symlink 'singe' to the existing 'roms' folder which simplifies things even more as of version 2.6.1 and the -retropath argument.
-
I use the
arcade
folder for all ROMs I run on my cabinet since I want only one system that start s automatically (no system view). For anyone interested, running Daphne games from thearcade
folder also works with this setup.Change the symlinks for the
roms
andsinge
folders to point to/home/pi/RetroPie/roms/arcade/roms
folder.You can leave the
.ini
files in the/opt/retropie/configs/daphne
folder or move them to/opt/retropie/configs/arcade
and symlink them there. I move them for consistency's sake.drwxr-xr-x 5 root root 4096 Jul 14 05:16 . drwxr-xr-x 4 root root 4096 Jul 13 15:43 .. -rwxr-xr-x 1 root root 2300368 Jul 13 16:20 daphne.bin -rwxr-xr-x 1 root root 522 Jul 13 16:28 daphne.sh lrwxrwxrwx 1 root root 42 Jul 14 05:14 flightkey.ini -> /opt/retropie/configs/arcade/flightkey.ini drwxr-xr-x 2 root root 4096 Jul 13 15:40 fonts lrwxrwxrwx 1 root root 41 Jul 14 05:14 hypinput.ini -> /opt/retropie/configs/arcade/hypinput.ini drwxr-xr-x 3 root root 4096 Jul 13 15:40 pics lrwxrwxrwx 1 root root 34 Jul 14 05:11 roms -> /home/pi/RetroPie/roms/arcade/roms lrwxrwxrwx 1 root root 34 Jul 14 05:12 singe -> /home/pi/RetroPie/roms/arcade/roms drwxr-xr-x 2 root root 4096 Jul 13 15:40 sound
Then, just copy the run line out of the
/opt/retropie/configs/daphne/emulators.cfg
file into the/opt/retropie/configs/arcade/emulators.cfg
file:lr-fbneo = "/opt/retropie/emulators/retroarch/bin/retroarch -L /opt/retropie/libretrocores/lr-fbneo/fbneo_libretro.so --config /opt/retropie/configs/arcade/retroarch.cfg %ROM%" lr-fbneo-neocd = "/opt/retropie/emulators/retroarch/bin/retroarch -L /opt/retropie/libretrocores/lr-fbneo/fbneo_libretro.so --subsystem neocd --config /opt/retropie/configs/arcade/retroarch.cfg %ROM%" lr-mame2003 = "/opt/retropie/emulators/retroarch/bin/retroarch -L /opt/retropie/libretrocores/lr-mame2003/mame2003_libretro.so --config /opt/retropie/configs/arcade/retroarch.cfg %ROM%" lr-mame = "/opt/retropie/emulators/retroarch/bin/retroarch -L /opt/retropie/libretrocores/lr-mame/mamearcade_libretro.so --config /opt/retropie/configs/arcade/retroarch.cfg %ROM%" lr-mame2003-plus = "/opt/retropie/emulators/retroarch/bin/retroarch -L /opt/retropie/libretrocores/lr-mame2003-plus/mame2003_plus_libretro.so --config /opt/retropie/configs/arcade/retroarch.cfg %ROM%" lr-flycast = "/opt/retropie/emulators/retroarch/bin/retroarch -L /opt/retropie/libretrocores/lr-flycast/flycast_libretro.so --config /opt/retropie/configs/arcade/retroarch.cfg %ROM%" default = "lr-fbneo" lr-mame2010 = "/opt/retropie/emulators/retroarch/bin/retroarch -L /opt/retropie/libretrocores/lr-mame2010/mame2010_libretro.so --config /opt/retropie/configs/arcade/retroarch.cfg %ROM%" lr-mame2016 = "/opt/retropie/emulators/retroarch/bin/retroarch -L /opt/retropie/libretrocores/lr-mame2016/mamearcade2016_libretro.so --config /opt/retropie/configs/arcade/retroarch.cfg %ROM%" daphne = "/opt/retropie/emulators/daphne/daphne.sh %ROM%"
You also need to add the
.daphne
and.DAPHNE
extensions to the arcade section of thees_systems.cfg
file:<system> <name>arcade</name> <fullname>Arcade</fullname> <path>/home/pi/RetroPie/roms/arcade</path> <extension>.7z .cue .fba .iso .zip .7Z .CUE .FBA .ISO .ZIP .daphne .DAPHNE</extension> <command>/opt/retropie/supplementary/runcommand/runcommand.sh 0 _SYS_ arcade %ROM%</command> <platform>arcade</platform> <theme>arcade</theme> </system>
And...edit the
/opt/retropie/configs/all/emulators.cfg
file to tell RP to use the Daphne bin for associated games:arcade_dolphin = "lr-flycast" arcade_fotns = "lr-flycast" arcade_mslug6 = "lr-flycast" arcade_mvsc2u = "lr-flycast" arcade_pstone = "lr-flycast" arcade_pstone2 = "lr-flycast" arcade_capsnk = "lr-flycast" arcade_cvsgd = "lr-flycast" arcade_cvs2 = "lr-flycast" arcade_ggxx = "lr-flycast" arcade_meltyb = "lr-flycast" arcade_radirgyn = "lr-flycast" arcade_pigskin = "lr-mame2003-plus" arcade_gorf = "lr-mame2003-plus" arcade_missile = "lr-mame2003-plus" arcade_wg3dh = "lr-mame2003-plus" arcade_dsmbl = "lr-mame" arcade_grdforce = "lr-mame2003-plus" arcade_polepos = "lr-mame2003-plus" arcade_gtfore06 = "lr-mame2016" arcade_lair = "daphne"
-
Be interested in reports from anyone who has a Sinden lightgun.
Support added in version 2.6.2
hypseus singe vldp -sinden 10 w -framefile ...
Border arguments:
width: 1-10
color: (w)hite, (r)ed, (g)reen, (b)lue or bla(x) -
Hello:
I was advised to maybe post this here as it might be more appropriate.
I recently followed the instructions to get Retropie working on my i686_64 AMD laptop running Linux Mint 20.2 Cinnamon: https://retropie.org.uk/docs/Debian/
Everything for the build/install went perfectly.
When I went to install Daphne I found that it was greyed out and had a note about how it was for 64 bit version and not for the 32 bit version.
I thought hmm I am on a i686. What is the deal? I found this page from the year 2019: https://retropie.org.uk/forum/topic/23550/daphne-install-on-ubuntu-18-04-x86_64/11
Is there any way to get that fix integrated into the main script? It would be great to be able to have Daphne installable by default instead of the script saying it can't do it.
I have no idea who to send this request onto as the actual website has no contact info.
Thanks for your time.
-
@battlecat said in New Hypseus and lr-Daphne to add on Retropie-Setup:
I thought hmm I am on a i686. What is the deal? I found this page from the year 2019: https://retropie.org.uk/forum/topic/23550/daphne-install-on-ubuntu-18-04-x86_64/11
Is there any way to get that fix integrated into the main script? It would be great to be able to have Daphne installable by default instead of the script saying it can't do it.
Heya, there is no automatic method to install Hypsesus Singe (Daphne Singe) via the configuration script on X86_64 Ubuntu at this point.
Follow this post to perform a manual install process that mirrors the Pie install:
https://retropie.org.uk/forum/post/263036
-
@dirtbagxon Thanks for the reply.
I already knew there was no automated way to do the install. I also knew that the page I followed provided a very simple update to a single daphne.sh file.
I thought hmm why can't this daphne.sh file be updated with this script from that page? What is the reason that such a simple update couldn't be done?
I am not a programmer in the traditional sense but is there a reason that this is not done?
Thanks,
-
@battlecat said in New Hypseus and lr-Daphne to add on Retropie-Setup:
@dirtbagxon Thanks for the reply.
I already knew there was no automated way to do the install. I also knew that the page I followed provided a very simple update to a single daphne.sh file.
I thought hmm why can't this daphne.sh file be updated with this script from that page? What is the reason that such a simple update couldn't be done?
I am not a programmer in the traditional sense but is there a reason that this is not done?
Thanks,
No reason at all, but someone needs to take it on board and package hypseus-singe up for RetroPie and all the supported platforms.
Unfortunately, until that happens it will be a manual install or upgrade.
BTW: It is not just the daphne.sh that gets upgraded, it's also a binary, 'fonts' folder and config files.
-
@dirtbagxon said in New Hypseus and lr-Daphne to add on Retropie-Setup:
folder
Ah Thank you!! That is a great answer to my question. I appreciate it.
I am not up for it and I did manage to get my version working just fine on my laptop.
I always wondered why the Ubuntu version never supported Daphne and while I am sure there is a valid reason that it doesn't it would be nice if it did. There seems to be a lot of packages in the distro that it does not support.
Thank you again for the clear good answer.
-
@battlecat said in New Hypseus and lr-Daphne to add on Retropie-Setup:
@dirtbagxon said in New Hypseus and lr-Daphne to add on Retropie-Setup:
folder
Ah Thank you!! That is a great answer to my question. I appreciate it.
I am not up for it and I did manage to get my version working just fine on my laptop.
I always wondered why the Ubuntu version never supported Daphne and while I am sure there is a valid reason that it doesn't it would be nice if it did. There seems to be a lot of packages in the distro that it does not support.
Thank you again for the clear good answer.
The packager of the older 'daphne' plugin, only supported the ARM platform it appears. They didn't, or couldn't, get the package working for i386 or x64 which is why the older package only works for Raspberry Pi and won't install on Ubuntu - I am guessing.
Hypsesus uses CMake, and so is easier to port cross platform.
I take care of the application, but I haven't built a RetroPie port/package - so am hoping someone who has done this before will take it on-board.....
Glad you got it working via the manual install :)
-
Support for HD 'Gun Games' in Hypseus Singe with full Sinden support, as upscaled video becomes available:
-
Hypseus Singe is now in RetroPie-Setup (exp)
https://retropie.org.uk/docs/Daphne/
Just wanted to send a big thanks to all the guys that got this started, and helped out, along this long road:
@Darksavior @pjft @roslof @SaturnX @darknior @312BhP @Gamesman @johnodon @grant2258 @bluestang and @mitu + anyone else who I forgot.
Enjoy, with hopefully far less fiddling with files.
-
@dirtbagxon That's great news! Hypseus is so much nicer to work with than the basic Daphne, and I was eager to swap them out!
I had previously used the manual installation method to get Hypseus Singe installed, but I have a question regarding the new version. I installed from binary in the experimental modules section. In the previous build, I could hit Start+Select to quit Hypseus, but now that I've installed from the scriptmodule that no longer works. How do I get that functionality back?
-
@g30ff said in New Hypseus and lr-Daphne to add on Retropie-Setup:
I had previously used the manual installation method to get Hypseus Singe installed, but I have a question regarding the new version. I installed from binary in the experimental modules section. In the previous build, I could hit Start+Select to quit Hypseus, but now that I've installed from the scriptmodule that no longer works. How do I get that functionality back?
The joystick hotkey combo is still there, It's hold SELECT then hit START (just in case your description above was in fact correct).
The package should not have overwritten your existing hypinput.ini file, but obviously check the joystick button assignment for KEY_COIN1 (select) and KEY_START1.
-
@dirtbagxon You are absolutely correct. I pressed both at once, but once I held Select and hit Start, it worked correctly. Thanks for the quick response! I'm looking forward to trying some of the Singe games now!
-
@dirtbagxon Well done, congratulations on hitting this milestone! It's been awesome to see the effort, dedication and care you put into Hypseus for the last year - thank you for that!
Have an awesome new year, and looking forward to seeing what new things come out of this :)
-
@DirtBagXon great accomplishment and so nice that many people can take advantage of all the UI improvements you've made to their favorite laserDisc games. Congratulations!
-
Thanks guys.
Get your ffmpeg ready.
I have an upcoming release that will enable all these:
-
@dirtbagxon I tried testing out a bunch of Singe games on my Pi 4, and most of them worked. Chantze's Stone HD and Dragon's Lair 2 Enhanced both crash when I try to put a coin in, but otherwise things work just fine.
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.