• Recent
  • Tags
  • Popular
  • Home
  • Docs
  • Register
  • Login
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 98.5k 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.
  • D
    DirtBagXon @shavecat
    last edited by DirtBagXon 13 Oct 2020, 13:47

    @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

    S 1 Reply Last reply 13 Oct 2020, 13:52 Reply Quote 0
    • S
      shavecat @DirtBagXon
      last edited by shavecat 13 Oct 2020, 13:52

      @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 :\

      D 1 Reply Last reply 13 Oct 2020, 14:20 Reply Quote 0
      • D
        DirtBagXon @shavecat
        last edited by 13 Oct 2020, 14:20

        @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

        S 1 Reply Last reply 13 Oct 2020, 14:28 Reply Quote 0
        • S
          shavecat @DirtBagXon
          last edited by 13 Oct 2020, 14:28

          @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 ?

          D 1 Reply Last reply 13 Oct 2020, 14:33 Reply Quote 0
          • D
            DirtBagXon @skj
            last edited by 13 Oct 2020, 14:31

            @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

            P 1 Reply Last reply 13 Oct 2020, 14:47 Reply Quote 1
            • D
              DirtBagXon @shavecat
              last edited by DirtBagXon 13 Oct 2020, 14:33

              @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

              S 1 Reply Last reply 13 Oct 2020, 15:00 Reply Quote 1
              • P
                pjft @DirtBagXon
                last edited by pjft 13 Oct 2020, 14:47

                @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!

                D 1 Reply Last reply 13 Oct 2020, 15:27 Reply Quote 0
                • S
                  shavecat @DirtBagXon
                  last edited by 13 Oct 2020, 15:00

                  @DirtBagXon
                  Where is that directory ??plz

                  D 1 Reply Last reply 13 Oct 2020, 15:08 Reply Quote 0
                  • D
                    DirtBagXon @shavecat
                    last edited by 13 Oct 2020, 15:08

                    @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

                    S 1 Reply Last reply 13 Oct 2020, 15:11 Reply Quote 1
                    • S
                      shavecat @DirtBagXon
                      last edited by 13 Oct 2020, 15:11

                      @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
                      • D
                        DirtBagXon @pjft
                        last edited by DirtBagXon 13 Oct 2020, 15:27

                        @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

                        P S 2 Replies Last reply 13 Oct 2020, 16:23 Reply Quote 1
                        • P
                          pjft @DirtBagXon
                          last edited by 13 Oct 2020, 16:23

                          @DirtBagXon thanks for testing and for the links. Learning something every day indeed:)

                          D 1 Reply Last reply 18 Oct 2020, 06:09 Reply Quote 0
                          • S
                            shavecat @DirtBagXon
                            last edited by 13 Oct 2020, 21:38

                            @DirtBagXon
                            looks like i have them here -
                            3776e252-24fc-4707-b9f5-d26b25620699-image.png
                            now i dont know how to make it work .
                            do i need to copy them in the daphen config ? or somthing like that ?

                            D 1 Reply Last reply 13 Oct 2020, 21:59 Reply Quote 0
                            • D
                              DirtBagXon @shavecat
                              last edited by DirtBagXon 13 Oct 2020, 21:59

                              @shavecat

                              Try this as user pi:

                              cd /home/pi/singe
                              mkdir -p /home/pi/.daphne/singe /home/pi/.daphne/sound /home/pi/.daphne/pics
                              cp pics/singeme.bmp /home/pi/.daphne/pics/
                              cp pics/gamenowook.bmp ~/.daphne/pics/
                              cp sound/grumble.wav /home/pi/.daphne/sound/
                              export LD_LIBRARY_PATH=/home/pi/singe:$LD_LIBRARY_PATH
                              /home/pi/singe/singe.bin /media/usb0/roms/daphne/singe/maddog/maddog.singe -framefile /media/usb0/roms/daphne/singe/maddog/maddog.txt -homedir /home/pi/.daphne -datadir /media/usb0/roms/daphne -x 800 -y 600

                              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
                              • G
                                gomisensei @DirtBagXon
                                last edited by 13 Oct 2020, 22:01

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

                                @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
                                

                                Wait, doesn't the RetroPie daphne have singe support in it, like the DavidGriffiths one? I use the DG version, and my command line is

                                /opt/retropie/emulators/daphne/daphne.bin singe vldp -framefile /home/pi/RetroPie/roms/daphne/timegal.singe/timegal.txt -script /home/pi/RetroPie/roms/daphne/timegal.singe/timegal.singe -x 1360 -y 768
                                
                                D 1 Reply Last reply 13 Oct 2020, 22:07 Reply Quote 0
                                • S
                                  shavecat
                                  last edited by 13 Oct 2020, 22:06

                                  so i did all of that
                                  now im getting this on my command -

                                  pi@retropie:~/singe $ /home/pi/singe/singe.bin /media/usb0/roms/daphne/singe/maddog/maddog.singe -framefile /media/usb0/roms/daphne/singe/maddog/maddog.txt -homedir /home/pi/.daphne -datadir /media/usb0/roms/daphne -x 800 -y 600
                                  --SINGE DAPHNE engine 1.0.11.1
                                  --Command line is: /home/pi/singe/singe.bin /media/usb0/roms/daphne/singe/maddog/maddog.singe -framefile /media/usb0/roms/daphne/singe/maddog/maddog.txt -homedir /home/pi/.daphne -datadir /media/usb0/roms/daphne -x 800 -y 600
                                  --CPU : ARMv7 2000 MHz || Mem : 1761 megs
                                  --OS : Linux 4.19 || Video : BCM2835
                                  --OpenGL: Compiled In
                                  --RGB2YUV Function: C
                                  --Line Blending Function: C
                                  --Audio Mixing Function: C
                                  Setting alternate home dir:
                                  /home/pi/.daphne
                                  /media/usb0/roms/daphne/singe/maddog/maddog.singe
                                  Script /media/usb0/roms/daphne/singe/maddog/maddog.singe does not exist.
                                  Bad command line or initialization problem (see daphne_log.txt for details).
                                  To run SINGE, you must specify which script to run.
                                  e.g. singe myscript.singe

                                  cant i run it with .sh file from the es?

                                  and how do i switch daphne.bin to singe.bin ?

                                  1 Reply Last reply Reply Quote 0
                                  • D
                                    DirtBagXon @gomisensei
                                    last edited by DirtBagXon 13 Oct 2020, 22:07

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

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

                                    @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
                                    

                                    Wait, doesn't the RetroPie daphne have singe support in it, like the DavidGriffiths one? I use the DG version, and my command line is

                                    /opt/retropie/emulators/daphne/daphne.bin singe vldp -framefile /home/pi/RetroPie/roms/daphne/timegal.singe/timegal.txt -script /home/pi/RetroPie/roms/daphne/timegal.singe/timegal.singe -x 1360 -y 768
                                    

                                    I thought the RetroPie version didn't have the Singe library, otherwise this thread wouldn't have been created ?

                                    The DavidGriffith repo indeed does, as I got singe working and pushed it back to David. It is however an older version of singe.

                                    The version above is a standalone version of Singe.

                                    @shavecat - Seems a little unfamiliar with this so was trying to get the standalone version working....

                                    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

                                    S G 2 Replies Last reply 13 Oct 2020, 22:07 Reply Quote 0
                                    • S
                                      shavecat @DirtBagXon
                                      last edited by 13 Oct 2020, 22:07

                                      @DirtBagXon
                                      got u ,
                                      any ideas ? :)()

                                      D 1 Reply Last reply 13 Oct 2020, 22:08 Reply Quote 0
                                      • D
                                        DirtBagXon @shavecat
                                        last edited by 13 Oct 2020, 22:08

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

                                        @DirtBagXon
                                        got u ,
                                        any ideas ? :)()

                                        The error is there:

                                        Script /media/usb0/roms/daphne/singe/maddog/maddog.singe does not exist.
                                        

                                        I'm guessing on your filenames and locations, so you need to fill in the blanks ;)

                                        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

                                        S 1 Reply Last reply 13 Oct 2020, 22:10 Reply Quote 1
                                        • S
                                          shavecat @DirtBagXon
                                          last edited by 13 Oct 2020, 22:10

                                          @DirtBagXon
                                          got it but now i have that

                                          /home/pi/singe/singe.bin /media/usb0/roms/daphne/singe/maddog/maddog.singe -framefile /media/usb0/roms/daphne/singe/maddog/maddog.txt -homedir /home/pi/.daphne -datadir /media/usb0/roms/daphne -x 800 -y 600
                                          --SINGE DAPHNE engine 1.0.11.1
                                          --Command line is: /home/pi/singe/singe.bin /media/usb0/roms/daphne/singe/maddog/maddog.singe -framefile /media/usb0/roms/daphne/singe/maddog/maddog.txt -homedir /home/pi/.daphne -datadir /media/usb0/roms/daphne -x 800 -y 600
                                          --CPU : ARMv7 2000 MHz || Mem : 1761 megs
                                          --OS : Linux 4.19 || Video : BCM2835
                                          --OpenGL: Compiled In
                                          --RGB2YUV Function: C
                                          --Line Blending Function: C
                                          --Audio Mixing Function: C
                                          Setting alternate home dir:
                                          /home/pi/.daphne
                                          /media/usb0/roms/daphne/singe/maddog/maddog.singe
                                          Setting screen width to 800
                                          Setting screen height to 600
                                          Could not load bitmap : pics/singeme.bmp
                                          Could not load bitmap : pics/gamenowook.bmp
                                          Video initialization failed!
                                          D 1 Reply Last reply 13 Oct 2020, 22:15 Reply Quote 0
                                          67 out of 298
                                          • First post
                                            67/298
                                            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.

                                            This community forum collects and processes your personal information.
                                            consent.not_received