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.0k 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.
    • 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
                            • mituM
                              mitu Global Moderator @shavecat
                              last edited by

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

                              so still the same :

                              Not sure what you're expecting - isn't your ROMs folder on the USB stick, which is still a FAT32/non-Linux file system ?

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

                                @mitu
                                i did a new sh file still...
                                and i have a lot of sh files on my harddrive for msdos games the work just fine ... (if its related )
                                @DirtBagXon
                                can i run it after that from the emulationstaion ? and not from the cmd ?
                                Im guessing for now i will wait for maybe a proper install .
                                dont really get it working :\

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

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

                                  can i run it after that from the emulationstaion ? and not from the cmd ?

                                  If you can get the game working from the command line, then it is just a matter of translating the same call format into the script called by emulationstation (?).

                                  I don't believe anyone has taken on the task of converting this to a RetroPie plugin, and everyone thus far has made custom scripts to work in their own unique environments, welcome to the world of open source.

                                  Of course this requires the knowledge to navigate your way around the required scripting.

                                  At this point I think it may be a good idea for you to either:

                                  1. Learn, and experiment with, the required scripting by looking at existing scripts and figuring out what they do etc.
                                  2. Wait until someone picks up the task of making singe a supported plugin (if indeed that does happen).

                                  Sorry I couldn't get it working for you....

                                  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 1
                                  • shavecatS
                                    shavecat @DirtBagXon
                                    last edited by shavecat

                                    @DirtBagXon
                                    OMG ! OMG !!!
                                    IT DID WORK !!!

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

                                    Working like Charm !!
                                    thank u so much !!!! <3333 !!!!

                                    now for get the sh working from the es.

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

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

                                      @DirtBagXon
                                      OMG ! OMG !!!
                                      IT DID WORK !!!

                                      Interesting, so this means (in your environment) LD_LIBRARY_PATH is being ignored.

                                      So glad it's finally working for you...

                                      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 1
                                      • shavecatS
                                        shavecat @DirtBagXon
                                        last edited by shavecat

                                        @DirtBagXon
                                        Thanks u so much ! again !
                                        now i have the issue with the sh file hahah :
                                        d4449347-2e0c-4305-bfca-eb5313a3f584-image.png

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

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

                                          @DirtBagXon
                                          Thanks u so much ! again !
                                          now i have the issue with the sh file hahah :)

                                          You can't put a linux executable script on a partition that is vfat (MSDOS)

                                          sudo mount | egrep -i 'vfat|msdos' | awk '{print $3}'
                                          

                                          Should show you where you cannot locate the scripts.....

                                          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

                                            pi@retropie:~ $ sudo mount | egrep -i 'vfat|msdos' | awk '{print $3}'
                                            /boot
                                            pi@retropie:~ $
                                            

                                            and again i have already .sh files on my msdos games and the are all on my usbharddirve and working .

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