RetroPie forum home
    • Recent
    • Tags
    • Popular
    • Home
    • Docs
    • Register
    • Login

    (REQUEST) Add Daphne Singe emulator?

    Scheduled Pinned Locked Moved Ideas and Development
    daphnesinge
    298 Posts 21 Posters 99.2k 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.
    • SaturnXS
      SaturnX @DirtBagXon
      last edited by

      @dirtbagxon Awesome thanks for that comprehensive overview.

      I've just compiled it on my pi4 from your repo, I'll give it a go a bit later tonight to see how it runs/performs.

      I appreciate the custom run script - that will help me hook in nicely with EmulationStation.

      Regarding the DragonRise Encoder issue - it'd be great if @pjft can share the updates, but at least on my end it's become a non-issue as I've transitioned to using xboxdrv for keyboard emulation which provides wayyyy more flexibility than relying on the joystick interface in daphne/singe.

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

        @saturnx I am under the impression that I shared such changes at some point with @DirtBagXon 's repo, but correct me if I'm wrong. I don't think I ever did it to the RetroPie repo, though.

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

          @pjft Amazing! I'm going to give @DirtBagXon's version a go in a bit and I'll report back.

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

            @dirtbagxon Once again... a HUGE thanks!

            Fired up your build of daphne on my pi4 using the full KMS driver (vc4-kms-v3d,noaudio) on kernel 5.10.17 on RetroPie 4.7.1 and all the games booted up without issue and running smoothly :)

            Using your version is obviously a bit more manual to set up all the necessary symlinks for everything to run, but it's well worth it.

            I find it extremely interesting there is such a stark difference between the RetroPie build of daphne and yours. It's a shame, it would be great if your enhancements were pulled into the RetroPie build so this was a far less manual exercise.

            This is a huge win-win for my arcade cabinet, I can now move entirely to the full KMS driver to improve video performance on my pi4 and still run my desired emulators (fb-neo/mame/redream/daphne/singe).

            The only thing I lose by going to the full KMS is the lack of a boot splash screen - a small price to pay to eliminate screen tearing, and I'm sure RetroPie will eventually be updated.

            If I can find the time, I'll see about putting together another guide for your daphne build.

            DarksaviorD DirtBagXonD 2 Replies Last reply Reply Quote 2
            • DarksaviorD
              Darksavior @SaturnX
              last edited by

              @saturnx thanks, looking forward to it. I couldn't get Daphne to compile back when I tried it. I'm fine without the splash since my setup boots in around 30sec.

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

                @darksavior I'm hoping I'll have some time in the next week or so to dive into the details (especially when it comes to hooking everything in with EmulationStation).

                The main quirk I had was just selecting the correct makefile (which for the pi is Makefile.linux_x64), then it should be as simple as:

                1. Ensure you've got the right dependencies:
                sudo apt install libsdl-dev libglew-dev libvorbis-dev libsdl-image1.2-dev libsdl-ttf2.0-dev
                
                1. Then clone the repo:
                git clone https://github.com/DirtBagXon/daphne.git daphne
                
                1. Compile with the following steps:
                cd daphne/src/vldp2
                ./configure --disable-accel-detect
                make -f Makefile.linux_x64
                cd ../game/singe
                make -f Makefile.linux_x64
                cd ../..
                ln -s Makefile.vars.linux_x64 Makefile.vars
                make
                cd ..
                mkdir -p ~/.daphne
                cp -a pics sound ~/.daphne/
                

                I then opted to use @DirtBagXon custom run scripts for greater flexibility, you can find them here (see run.sh):
                https://github.com/DirtBagXon/daphne/tree/master/custom

                Then it's a matter of setting up all the symlinks, as this build expects the following:

                roms: ~/.daphne/roms/
                video files: ~/.daphne/vldp_dl/[game]
                

                Once I set those up, everything booted up perfectly from the command line.

                Now that I think about it, and maybe @DirtBagXon could confirm - but instead of symlinks, could we not simply modify the run.sh script to target the typical locations on a RetroPie install?

                I'm assuming it's hardcoded that for the rom files, daphne will look under $DATADIR/roms/[game].zip?

                If that's the case then I can put together a modified version of the run script to map back to how daphne games would typically be installed on RetroPie.

                DirtBagXonD 1 Reply Last reply Reply Quote 0
                • DirtBagXonD
                  DirtBagXon @SaturnX
                  last edited by DirtBagXon

                  @saturnx said in (REQUEST) Add Daphne Singe emulator?:

                  @dirtbagxon Once again... a HUGE thanks!

                  I find it extremely interesting there is such a stark difference between the RetroPie build of daphne and yours. It's a shame, it would be great if your enhancements were pulled into the RetroPie build so this was a far less manual exercise.

                  I think this demonstrates the issues arising in porting software. As I stated my version is far closer to original source than that of RetroPie, libretro and hypseus ports.
                  All of which seem to have different issues.

                  If I can find the time, I'll see about putting together another guide for your daphne build.

                  I'm certain many users would appreciate that.

                  I have made some discoveries on the hypseus port, and have some games running better. I may delve more if I find some time.....

                  Thanks to both you guys for your help in testing all this too...

                  Hypseus Singe for RetroPie: https://github.com/DirtBagXon/hypseus-singe
                  Hypseus Singe Games: https://github.com/DirtBagXon/hypseus_singe_data
                  Hypseus Discord: https://discord.gg/dgCsCfmRfJ

                  1 Reply Last reply Reply Quote 1
                  • DirtBagXonD
                    DirtBagXon @SaturnX
                    last edited by DirtBagXon

                    @saturnx said in (REQUEST) Add Daphne Singe emulator?:

                    Now that I think about it, and maybe @DirtBagXon could confirm - but instead of symlinks, could we not simply modify the run.sh script to target the typical locations on a RetroPie install?

                    Absolutely, you can write a custom run.sh for Daphne and Singe.

                    I would be happy to merge into my repos if you create a pull request.

                    Hypseus Singe for RetroPie: https://github.com/DirtBagXon/hypseus-singe
                    Hypseus Singe Games: https://github.com/DirtBagXon/hypseus_singe_data
                    Hypseus Discord: https://discord.gg/dgCsCfmRfJ

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

                      @dirtbagxon said in (REQUEST) Add Daphne Singe emulator?:

                      @saturnx said in (REQUEST) Add Daphne Singe emulator?:

                      Now that I think about it, and maybe @DirtBagXon could confirm - but instead of symlinks, could we not simply modify the run.sh script to target the typical locations on a RetroPie install?

                      Absolutely, you can write a custom run.sh for Daphne and Singe.

                      I would be happy to merge into my repos if you create a pull request.

                      Excellent! I'll put some time into that with the end goal of making it extremely easy for other RetroPie users. I'll play around and see what I can come up with.

                      DirtBagXonD T 2 Replies Last reply Reply Quote 1
                      • DirtBagXonD
                        DirtBagXon @SaturnX
                        last edited by DirtBagXon

                        Some movement on the Hypseus (Daphne SDL2 replacement) working with 64bit Kernel + KMS for those interested:

                        https://retropie.org.uk/forum/post/254871

                         

                        Hypseus Singe for RetroPie: https://github.com/DirtBagXon/hypseus-singe
                        Hypseus Singe Games: https://github.com/DirtBagXon/hypseus_singe_data
                        Hypseus Discord: https://discord.gg/dgCsCfmRfJ

                        1 Reply Last reply Reply Quote 4
                        • T
                          TreasureFingers @SaturnX
                          last edited by

                          @saturnx said in (REQUEST) Add Daphne Singe emulator?:

                          @dirtbagxon said in (REQUEST) Add Daphne Singe emulator?:

                          @saturnx said in (REQUEST) Add Daphne Singe emulator?:

                          Now that I think about it, and maybe @DirtBagXon could confirm - but instead of symlinks, could we not simply modify the run.sh script to target the typical locations on a RetroPie install?

                          Absolutely, you can write a custom run.sh for Daphne and Singe.

                          I would be happy to merge into my repos if you create a pull request.

                          Excellent! I'll put some time into that with the end goal of making it extremely easy for other RetroPie users. I'll play around and see what I can come up with.

                          Seriously can't wait to see the script. i've been following this but keep getting stuck on things. I've been dying to finally play these games.
                          thank you

                          DirtBagXonD 1 Reply Last reply Reply Quote 0
                          • DirtBagXonD
                            DirtBagXon @TreasureFingers
                            last edited by DirtBagXon

                            @treasurefingers said in (REQUEST) Add Daphne Singe emulator?:

                            @saturnx said in (REQUEST) Add Daphne Singe emulator?:

                            @dirtbagxon said in (REQUEST) Add Daphne Singe emulator?:

                            @saturnx said in (REQUEST) Add Daphne Singe emulator?:

                            Now that I think about it, and maybe @DirtBagXon could confirm - but instead of symlinks, could we not simply modify the run.sh script to target the typical locations on a RetroPie install?

                            Absolutely, you can write a custom run.sh for Daphne and Singe.

                            I would be happy to merge into my repos if you create a pull request.

                            Excellent! I'll put some time into that with the end goal of making it extremely easy for other RetroPie users. I'll play around and see what I can come up with.

                            Seriously can't wait to see the script. i've been following this but keep getting stuck on things. I've been dying to finally play these games.
                            thank you

                            @SaturnX

                            Can I suggest that you hold off a little on doing too much work on documenting/scripting this version of Daphne/Singe. I am making good progress on getting Hypseus Singe working which should be a big improvement and far easier to create an installation, as it will twin as a SDLv2 Daphne replacement too. It is a monolithic statically linked binary so doesn't require dealing with the libvldp2.so and libsinge.so shared libraries. Which means you can drop it anywhere and run it.

                            I don't think ActionMax games (if they are important to you ) are going to be implemented in Hypseus Singe at this point.
                            The overlay indexes will need some work to transfer to SDLv2.

                            https://retropie.org.uk/forum/post/255510

                            I just need to find time now....

                             

                            Hypseus Singe for RetroPie: https://github.com/DirtBagXon/hypseus-singe
                            Hypseus Singe Games: https://github.com/DirtBagXon/hypseus_singe_data
                            Hypseus Discord: https://discord.gg/dgCsCfmRfJ

                            SaturnXS T 2 Replies Last reply Reply Quote 1
                            • SaturnXS
                              SaturnX @DirtBagXon
                              last edited by

                              @dirtbagxon Thanks for the heads up!

                              I just got your daphne build up and running on my Pi4 (Kernel 5.10.17 w/ Full KMS driver). It's running like a dream.

                              I quickly put together a a small script just for it to hook in nicely with EmulationStation and to allow me to keep the ROM structure identical to the RetroPie build of Daphne. It's still rough since it meets my needs (also needs a couple symlinks), so I'll hold off on polishing it up.

                              I'm excited to see the developments on hypseus - I'm actively watching that thread.

                              I completely agree about finding time... haha. There just never seems to be enough!

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

                                @dirtbagxon said in (REQUEST) Add Daphne Singe emulator?:

                                @treasurefingers said in (REQUEST) Add Daphne Singe emulator?:

                                @saturnx said in (REQUEST) Add Daphne Singe emulator?:

                                @dirtbagxon said in (REQUEST) Add Daphne Singe emulator?:

                                @saturnx said in (REQUEST) Add Daphne Singe emulator?:

                                Now that I think about it, and maybe @DirtBagXon could confirm - but instead of symlinks, could we not simply modify the run.sh script to target the typical locations on a RetroPie install?

                                Absolutely, you can write a custom run.sh for Daphne and Singe.

                                I would be happy to merge into my repos if you create a pull request.

                                Excellent! I'll put some time into that with the end goal of making it extremely easy for other RetroPie users. I'll play around and see what I can come up with.

                                Seriously can't wait to see the script. i've been following this but keep getting stuck on things. I've been dying to finally play these games.
                                thank you

                                @SaturnX

                                Can I suggest that you hold off a little on doing too much work on documenting/scripting this version of Daphne/Singe. I am making good progress on getting Hypseus Singe working which should be a big improvement and far easier to create an installation, as it will twin as a SDLv2 Daphne replacement too. It is a monolithic statically linked binary so doesn't require dealing with the libvldp2.so and libsinge.so shared libraries. Which means you can drop it anywhere and run it.

                                I don't think ActionMax games (if they are important to you ) are going to be implemented in Hypseus Singe at this point.
                                The overlay indexes will need some work to transfer to SDLv2.

                                https://retropie.org.uk/forum/post/255510

                                I just need to find time now....

                                 

                                so are action max games out of the question?

                                DirtBagXonD 2 Replies Last reply Reply Quote 0
                                • DirtBagXonD
                                  DirtBagXon @TreasureFingers
                                  last edited by DirtBagXon

                                  @treasurefingers said in [(REQUEST) Add Daphne Singe emulator?]

                                  so are action max games out of the question?

                                  Nothing is out of the question, I am just not sure how best to do it at this point :)

                                  Hypseus Singe for RetroPie: https://github.com/DirtBagXon/hypseus-singe
                                  Hypseus Singe Games: https://github.com/DirtBagXon/hypseus_singe_data
                                  Hypseus Discord: https://discord.gg/dgCsCfmRfJ

                                  DirtBagXonD 1 Reply Last reply Reply Quote 1
                                  • DirtBagXonD
                                    DirtBagXon @DirtBagXon
                                    last edited by DirtBagXon

                                    hypseus-singe.png

                                    https://retropie.org.uk/forum/post/255510

                                     

                                    Hypseus Singe for RetroPie: https://github.com/DirtBagXon/hypseus-singe
                                    Hypseus Singe Games: https://github.com/DirtBagXon/hypseus_singe_data
                                    Hypseus Discord: https://discord.gg/dgCsCfmRfJ

                                    DirtBagXonD 1 Reply Last reply Reply Quote 1
                                    • DirtBagXonD
                                      DirtBagXon @DirtBagXon
                                      last edited by DirtBagXon

                                      Hypseus Singe now a direct drop-in replacement for RetroPie Daphne plugin:

                                      https://github.com/DirtBagXon/hypseus-singe/blob/master/src/3rdparty/retropie/RETROPIE.md

                                       
                                      Requires RetroPie scripts to extent the Singe element....

                                       

                                      Hypseus Singe for RetroPie: https://github.com/DirtBagXon/hypseus-singe
                                      Hypseus Singe Games: https://github.com/DirtBagXon/hypseus_singe_data
                                      Hypseus Discord: https://discord.gg/dgCsCfmRfJ

                                      T 1 Reply Last reply Reply Quote 1
                                      • T
                                        TreasureFingers @DirtBagXon
                                        last edited by

                                        @dirtbagxon said in (REQUEST) Add Daphne Singe emulator?:

                                        Hypseus Singe now a direct drop-in replacement for RetroPie Daphne plugin:

                                        https://github.com/DirtBagXon/hypseus-singe/blob/master/RETROPIE.md

                                         
                                        Requires RetroPie scripts to extent the Singe element....

                                         

                                        I saw the script in the link you posted does that mean @SaturnX doesnt need to write a script now? Also it does it run all the aforementioned games you were talking about Time Gal ,Mad Dog McCree, bega , road blaster etc. exluding action max . lastly would do we have to add it to the menu or does the script do that aswell. (just asking)

                                        Great job!

                                        DirtBagXonD 1 Reply Last reply Reply Quote 0
                                        • DirtBagXonD
                                          DirtBagXon @TreasureFingers
                                          last edited by DirtBagXon

                                          @treasurefingers

                                           
                                          https://github.com/DirtBagXon/hypseus-singe/blob/master/src/3rdparty/retropie/RETROPIE.md

                                           
                                          Everything except ActionMax.

                                          All games will be seen in the Daphne Menu within RetroPie.

                                           

                                          Hypseus Singe for RetroPie: https://github.com/DirtBagXon/hypseus-singe
                                          Hypseus Singe Games: https://github.com/DirtBagXon/hypseus_singe_data
                                          Hypseus Discord: https://discord.gg/dgCsCfmRfJ

                                          DirtBagXonD 1 Reply Last reply Reply Quote 1
                                          • DirtBagXonD
                                            DirtBagXon @DirtBagXon
                                            last edited by DirtBagXon

                                            Singe 2 game support now implemented (kinda):

                                            https://retropie.org.uk/forum/post/256783

                                            https://github.com/DirtBagXon/hypseus-singe

                                            https://github.com/DirtBagXon/hypseus_singe_data

                                             

                                            Hypseus Singe for RetroPie: https://github.com/DirtBagXon/hypseus-singe
                                            Hypseus Singe Games: https://github.com/DirtBagXon/hypseus_singe_data
                                            Hypseus Discord: https://discord.gg/dgCsCfmRfJ

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