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 111.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.
    • DirtBagXonD
      DirtBagXon @shavecat
      last edited by

      @shavecat

      echo $LD_LIBRARY_PATH
      

      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

      shavecatS 1 Reply Last reply Reply Quote 0
      • shavecatS
        shavecat @DirtBagXon
        last edited by shavecat

        @DirtBagXon

        pi@retropie:~/singe $ echo $LD_LIBRARY_PATH
        /home/pi/singe:
        
        DirtBagXonD 1 Reply Last reply Reply Quote 0
        • DirtBagXonD
          DirtBagXon @shavecat
          last edited by

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

          @DirtBagXon

          pi@retropie:~/singe $ echo $LD_LIBRARY_PATH
          /home/pi/singe:
          

          Ok and the libraries are still in /home/pi/singe ?

          ls -al /home/pi/singe/*.so
          

          LD_LIBRARY_PATH should be fixing this, is there some other facility in RetroPi that will load a library path ?

          Besides copying them into /usr/local/lib and ldconfig - lol ?

          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

          shavecatS 1 Reply Last reply Reply Quote 0
          • shavecatS
            shavecat @DirtBagXon
            last edited by

            @DirtBagXon
            yeha

            pi@retropie:~ $ ls -al /home/pi/singe/*.so
            -rwxr-xr-x 1 pi pi 329360 Oct 13 12:05 /home/pi/singe/libsinge.so
            -rwxr-xr-x 1 pi pi  93920 Oct 13 12:05 /home/pi/singe/libvldp2.so
            

            not that i know about.

            G 1 Reply Last reply Reply Quote 0
            • G
              gomisensei @shavecat
              last edited by

              @shavecat try changing the -homedir to -homedir /home/pi/singe instead of -homedir /home/pi/.daphne

              shavecatS G 2 Replies Last reply Reply Quote 0
              • shavecatS
                shavecat @gomisensei
                last edited by

                @gomisensei
                didnt get it sorry
                i have a .daphne folder and a snige folder allready
                in my home/pi folder

                1 Reply Last reply Reply Quote 0
                • G
                  gomisensei @gomisensei
                  last edited by gomisensei

                  i know i finally got mine working only by putting everything (or a link to everything) in the /retropie/emulators/singe dir, including the pics/ and /sound the *.so files, and links to the romdir and datadir, and the .bin file, then removing the -homedir and -datadir switches in the command line,

                  shavecatS 1 Reply Last reply Reply Quote 0
                  • shavecatS
                    shavecat @gomisensei
                    last edited by

                    @gomisensei
                    tried copy all of them ..
                    didnt work
                    thanks :)
                    will try tmrw

                    1 Reply Last reply Reply Quote 0
                    • roslofR
                      roslof
                      last edited by roslof

                      The game is looking for directories like pics and sound in ~./daphne

                      After installation, the .daphne/pics folder only contains a single file: singeme.bmp

                      The singeme.bmp file and all of the other required graphics will be found in another pics folder wherever you installed singe (eg. ~/singe or /opt/retropie/emulators/singe). So we can backup (or delete) the single-file directory in ~/.daphne and symlink to the directory with all of the files:

                      IF INSTALLED TO ~/singe/:

                      mv ~/.daphne/pics ~/.daphne/pics_original
                      ln -s ~/singe/pics/ ~/.daphne/pics
                      

                      IF INSTALLED TO /opt/retropie/emulators/singe/:

                      mv ~/.daphne/pics ~/.daphne/pics_original
                      ln -s /opt/retropie/emulators/singe/pics/ ~/.daphne/pics
                      

                      This should solve the problem

                      1 Reply Last reply Reply Quote 0
                      • roslofR
                        roslof
                        last edited by roslof

                        If this helps, this was my experience with the installation:

                        Singe Installation with Time Gal

                        • Previously had RetroPie Daphne installed
                        • Followed installation found in this thread (thanks! very solid)
                        • Copied /opt/retropie/configs/daphne/dapinput.ini to ~/.daphne/singeinput.ini
                        • Copied ALL required Time Gal files (m2v, framefile, etc.) to ~/.daphne/singe/timegal/
                        • Backed up ~/.daphne/singe/timegal.singe --> ~/.daphne/singe/timegal.singe.original
                        • Copied the bytecode fix --> ~/.daphne/singe/timegal.singe

                        TIMEGAL RUN ATTEMPT (ISSUE #1)
                        Missing framefile (source asset issue)

                        [FIX]
                        Renamed framefile as timegal.txt as required

                        TIMEGAL RUN ATTEMPT (ISSUE #2)
                        Could not load bitmap : pics/gamenowook.bmp Video initialization failed! Loader failed with an unknown exit code : 1.

                        [FIX]
                        Create symlink so graphics are found

                        mv ~/.daphne/pics ~/.daphne/pics_original
                        ln -s ~/singe/pics/ ~/.daphne/pics
                        

                        TIMEGAL RUN ATTEMPT (ISSUE #3)
                        Video is too small (800x600) and in the upper-left corner of the screen

                        [FIX]
                        Will need to set -x and -y to match full TV resolution (I'm running 1080p)

                        Edit <install dir>/singe/run.sh
                        Line 57, change -x 800 \ to -x 1920 \
                        Line 58, change "-y 600" to "-y 1080"
                        Should look like:

                        -x 1920 \
                        -y 1080
                        

                        Save changes.

                        TIMEGAL RUN ATTEMPT (ISSUE #4)
                        Noted audio wasn't playing (source asset issue)

                        [FIX]
                        Needed to change capitalization of the OGG file to match the M2V file

                        1 Reply Last reply Reply Quote 2
                        • pjftP
                          pjft
                          last edited by

                          @roslof pretty much comparable to my experience and problems I faced (I didn't have the audio one though).

                          One thing I did, since I have my games in an external folder, was to create a singe folder in roms/daphne, add the pics and sound folder there, symlink them from ~/.daphne, and also copy the emulator to /opt/retropie/emulators/singe .

                          @DirtBagXon a question: I copied the entire source folder to /opt/retropie/emulators/singe, but are all those files needed or is it just

                          daphne.bin
                          libsinge.so
                          libvldp2.so

                          that we need there?

                          Thanks!

                          1 Reply Last reply Reply Quote 1
                          • shavecatS
                            shavecat
                            last edited by shavecat

                            still not working for my
                            daphne_log.txt -

                            --DAPHNE version 1.0.13
                            --Command line is: /opt/retropie/emulators/daphne/daphne.bin maddog vldp -nohwaccel -framefile /media/usb0/roms/daphne/singe/maddog.sh/maddog.txt -homedir /opt/retropie/emulators/daphne -fullscreen 
                            --CPU : UnknownCPU 0 MHz || Mem : 0 megs
                            --OS : Linux 4.19 || Video : Unknown video
                            --OpenGL: Compiled In
                            --RGB2YUV Function: C
                            --Line Blending Function: C
                            --Audio Mixing Function: C
                            Setting alternate home dir:
                            /opt/retropie/emulators/daphne
                            ERROR: Unknown game type specified : maddog
                            Bad command line or initialization problem (see daphne_log.txt for details). 
                            To run DAPHNE, you must specify which game to run and which laserdisc player you are using. 
                            For example, try 'daphne lair noldp' to run Dragon's Lair in testing mode.
                            
                            

                            after im runging it im getting this with daphne screeen
                            but with SINGE GOT AN ERROR =(
                            could not open the VLP2 dynamic library (file not found maybe ? )

                            And still cant run it from emultionstaion ,
                            I have a sh file but i just bring me back to emultionstaion -
                            maddog.sh -

                            cd maddog
                            ./run.sh maddog
                            
                            roslofR 1 Reply Last reply Reply Quote 0
                            • roslofR
                              roslof @shavecat
                              last edited by roslof

                              Hey @shavecat,

                              It bears repeating that maddog is a singe game. The log informs that you are still running daphne instead of singe. Also, you seem to be mixing up some of the advice you've been given. Maybe we can unravel this a bit.

                              I'd recommend you stick with the maddog.sh approach, but you'll need to fix up a few things.

                              Change maddog.sh include the full path to your singe executable folder. Something like:

                              cd /opt/retropie/emulators/singe
                              ./run.sh maddog
                              

                              The above assumes you installed singe in the folder listed. Change accordingly.

                              Add a singe line to emulators.cfg:

                              singe = %ROM%
                              

                              When you try to run the .sh file from EmulationStation, you'll need to interrupt the loading process once and change the emulator to singe. Do not use daphne for maddog.

                              Also (double-checking) if you created an entry for singe in es_systems.cfg, or are adding to daphne, be sure to include .sh (and optionally .SH) to the extensions line... This will ensure the .sh files appear in EmulationStation. Something like this:

                              If extending Daphne:

                              <extension>.daphne .sh .DAPHNE .SH</extension>
                              

                              If you added a new Singe system, it may look something like this:

                              <extension>.singe .sh .SINGE .SH</extension>
                              

                              or simply:

                              <extension>.sh .SH</extension>
                              

                              Then restart EmulationStation so the change takes affect,

                              This should get you closer. It may or may not solve everything.

                              shavecatS 1 Reply Last reply Reply Quote 2
                              • shavecatS
                                shavecat @roslof
                                last edited by shavecat

                                @roslof
                                Thanks again
                                so i did all that
                                still going just the same to emultiosation .
                                runcommand.info

                                daphne
                                singe
                                /media/usb0/roms/daphne/singe/maddog.sh
                                "/media/usb0/roms/daphne/singe/maddog.sh"
                                

                                runcommand.log
                                2b21fc7f-0e85-417c-8e90-fbacb14dde83-image.png ```

                                roslofR 1 Reply Last reply Reply Quote 0
                                • roslofR
                                  roslof @shavecat
                                  last edited by roslof

                                  @shavecat Permission denied typically means you don't have the execute flag set.

                                  sudo chmod +x maddog.sh
                                  
                                  shavecatS mituM 2 Replies Last reply Reply Quote 0
                                  • shavecatS
                                    shavecat @roslof
                                    last edited by

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

                                    maddog.sh

                                    still the same :\

                                    1 Reply Last reply Reply Quote 0
                                    • mituM
                                      mitu Global Moderator @roslof
                                      last edited by

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

                                      sudo chmod +x maddog.sh

                                      That won't work if the .sh file is on a FAT32 system, the executable bit (x) is ignored.

                                      Try moving the .sh locally, on the sdcard, and make it exeutable there. Of course, the .sh path that starts the game should be adjusted.

                                      pjftP shavecatS 2 Replies Last reply Reply Quote 2
                                      • pjftP
                                        pjft @mitu
                                        last edited by

                                        @mitu Good catch. I think adding the "exec" option on fstab is also an alternative.

                                        1 Reply Last reply Reply Quote 0
                                        • shavecatS
                                          shavecat @mitu
                                          last edited by shavecat

                                          @mitu
                                          trying to copy the maddog and maddog.sh to the sd card resting and trying again.
                                          will let know if works or not
                                          thanks alot :)
                                          so still the same :
                                          d36be511-087f-48b7-b562-f7c0063e1cf6-image.png

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

                                            @shavecat

                                            If you can get back to this point:

                                            trying
                                            SO im getting the daphne emulator finally !
                                            
                                            but with SINGE GOT AN ERROR =(
                                            could not open the VLP2 dynamic library (file not found maybe ? )
                                            
                                            Progress ! :)](link url)
                                            

                                            Then I have a solution for making the shared libraries available globally, although it's a little brutal:

                                            echo "/home/pi/singe" | sudo tee -a /etc/ld.so.conf.d/singe.conf
                                            
                                            sudo ldconfig
                                            

                                            This is, of course, assuming you still have those *.so files in /home/pi/singe - or change as appropriate...

                                            Then try again....

                                            To revert, if this has bad consequences, just:

                                            sudo rm /etc/ld.so.conf.d/singe.conf
                                            
                                            sudo ldconfig
                                            

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