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 101.6k 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.
    • pjftP
      pjft @shavecat
      last edited by

      @shavecat What do you mean? Run things from ES?

      What I did on my side of things was call all Singe games (well, only Time Gal, really) "+Start Timegal.sh" as that way it runs that shell script, and it just has

      cd <folder of singe binaries>
      ./run.sh timegal
      

      So that's that. Ah, you need to change the es_systems.cfg script in /etc/emulationstation (I believe) and add ".sh" to the Daphne accepted extensions.

      I'm sure there are other approaches, maybe others can share their approaches - I didn't mess with emulators.cfg though I imagine that could have been an option.

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

        @pjft
        thanks a lot
        will give it a try ! :)

        1 Reply Last reply Reply Quote 0
        • S
          skj @pjft
          last edited by

          @pjft

          Bandlands is now working but the sound cuts off on the intro

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

            @skj
            Really which rom did u use ?
            I only getting a black screen in the beginning ...

            S 1 Reply Last reply Reply Quote 0
            • S
              skj @shavecat
              last edited by skj

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

              @skj
              Really which rom did u use ?
              I only getting a black screen in the beginning ...

              I have 2 badlands roms in my roms folder :-

              badlandsp.zip (9kb)
              bl_hit_12f.bin
              bl_hit_4f.bin
              bl_hit_6a.bin
              bl_hit_7a.bin
              bl_hit_7c.bin
              bl_hit_9c.bin

              badlands.zip (13kb)
              badlands.a13
              badlands.a14
              badlands.c4
              badlands.c8

              badlands.daphne
              badlands-pc.dat
              badlands-pc.m2v
              badlands-pc.ogg

              Hope that helps

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

                I was intrigued, as the compatibility list did state "work, with issues".

                That does save me some trouble then :)

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

                  can i make the daphne full screen ? like stretch ?

                  cant run the singe roms...
                  getting this on my runcommand.info -

                  Hello logfile - runcommand-onstart checking in here
                  Parameters:
                  Executing: SDL1_VIDEODRIVER=dispmanx SDL_DISPMANX_WIDTH=1920 SDL_DISPMANX_HEIGHT=1080 /opt/retropie/emulators/daphne/daphne.sh "/media/usb0/roms/daphne/singe/maddog.sh"
                  ls: cannot access '/proc/kcore': No such file or directory
                  --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/retropi$
                  --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.
                  Hello logfile - runcommand-onend checking in here
                  

                  and im trying to run it from sh file

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

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

                    --Command line is: /opt/retropie/emulators/daphne/daphne.bin maddog vldp -nohwaccel -framefile /media/usb0/roms/daphne/singe/maddog.sh/maddog.txt -homedir /opt/retropi$

                    You are running the daphne.bin binary instead of singe.bin and trying to run a singe game.

                    Also:

                    ../singe/maddog.sh/maddog.txt
                    

                    Is that a real directory ?

                    As correct command line, should look something like this:

                    --Command line is: /opt/retropie/emulators/singe/singe.bin /home/pi/.daphne/singe/maddog/maddog.singe -framefile /home/pi/.daphne/singe/maddog/maddog.txt -homedir /home/pi/.daphne -datadir /home/pi/.daphne -sound_buffer 2048 -volume_nonvldp 5 -volume_vldp 30 -x 800 -y 600
                    

                    You probably need to review you're using the correct run.sh for singe.

                    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 G 2 Replies Last reply Reply Quote 0
                    • shavecatS
                      shavecat @DirtBagXon
                      last edited by

                      @DirtBagXon
                      how do i switch them ?
                      have it like that
                      550c9c64-1b92-413a-a1ea-3b587972a67c-image.png
                      do i need every folder to be -
                      with .sh (maddog.sh) ?
                      thanks :)

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

                        @shavecat

                        See above for format of singe command, I edited previous response.

                        You were specifying a frame file at this location:

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

                        What does

                        ls -al /media/usb0/roms/daphne/singe/maddog.sh/maddog.txt
                        

                        say ?

                        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

                          -rwxrwxrwx 1 pi pi 4279 Jan 7 2018 /media/usb0/roms/daphne/singe/maddog/maddog.txt

                          sorry got confused with all that..
                          cant get it work yet :\

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

                            @shavecat

                            The only external thing you need to worry about is the LD_LIBRARY_PATH

                            echo $LD_LIBRARY_PATH
                            export LD_LIBRARY_PATH=<directory with libsinge.so and libvldp2.so>:$LD_LIBRARY_PATH
                            

                            Check directory is in there now:

                            echo $LD_LIBRARY_PATH
                            

                            So looking at your previous screenshot, I am guessing:

                            ./singe_binary_location  /media/usb0/roms/daphne/singe/maddog/maddog.singe  -framefile /media/usb0/roms/daphne/singe/maddog/maddog.txt -homedir /media/usb0/roms/daphne -datadir /media/usb0/roms/daphne -x 800 -y 600
                            

                            I just don't know where your singe.bin and libsinge.so and libvldp2.so files are, otherwise I have filled it in with above info....

                            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
                              hey im getting
                              pi@retropie:~ $ echo $LD_LIBRARY_PATH

                              pi@retropie:~ $ export LD_LIBRARY_PATH=<directory with libsinge.so and libvldp2.so>:$LD_LIBRARY_PATH
                              -bash: directory: No such file or directory
                              pi@retropie:~ $ echo $LD_LIBRARY_PATH
                              why is that ?

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

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

                                I have 2 badlands roms in my roms folder :-

                                badlandsp.zip (9kb)
                                bl_hit_12f.bin
                                bl_hit_4f.bin
                                bl_hit_6a.bin
                                bl_hit_7a.bin
                                bl_hit_7c.bin
                                bl_hit_9c.bin

                                badlands.zip (13kb)
                                badlands.a13
                                badlands.a14
                                badlands.c4
                                badlands.c8

                                badlands.daphne
                                badlands-pc.dat
                                badlands-pc.m2v
                                badlands-pc.ogg

                                Hope that helps

                                Both badlands.zip and badlandp.zip ROMS work with daphne in linux.

                                Doing a quick compile on the Pi I still see the:

                                Write to ffff with 0
                                

                                issues on both ROMS. So there is still an issue here.....

                                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

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

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

                                  @DirtBagXon
                                  hey im getting
                                  pi@retropie:~ $ export LD_LIBRARY_PATH=<directory with libsinge.so and libvldp2.so>:$LD_LIBRARY_PATH
                                  -bash: directory: No such file or directory

                                  You need to replace this: <directory with libsinge.so and libvldp2.so>

                                  With the directory name/path where those files are...

                                  e.g.

                                  export LD_LIBRARY_PATH=/home/pi/singe:$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 1
                                  • pjftP
                                    pjft @DirtBagXon
                                    last edited by pjft

                                    @DirtBagXon Did you compile with the -fsigned-char changes added yesterday, and it still failed?

                                    @skj was the game working for you prior to these changes yesterday?

                                    EDIT: actually @DirtBagXon I forgot, but thank you for accepting the PR for the controls!

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

                                      @DirtBagXon
                                      Where is that directory ??plz

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

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

                                        @DirtBagXon
                                        Where is that directory ??plz

                                        sudo find / -name libsinge.so
                                        

                                        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

                                          @DirtBagXon
                                          Will give it a try in a few hours
                                          will let u know thanks a lot ! <3 :)

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

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

                                            @DirtBagXon Did you compile with the -fsigned-char changes added yesterday, and it still failed?

                                            I didn't, good catch, just recompiled and both ROMS run - bingo.

                                            Seems to be a Pi caveat:
                                            https://stackoverflow.com/questions/46463064/what-causes-a-char-to-be-signed-or-unsigned-when-using-gcc/46463173

                                            Apparently there is/was a performance impact:
                                            https://stackoverflow.com/questions/3093669/why-unsigned-types-are-more-efficient-in-arm-cpu/6532932#6532932

                                            You learn something new everyday..

                                            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

                                            pjftP shavecatS 2 Replies 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.