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.9k 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 @AdamBeGood
      last edited by SaturnX

      @adambegood

      Yep the symlink (lncommand) is important. It may also be a case issue, I’ll correct my guide.

      You’re so close!!

      A DirtBagXonD 2 Replies Last reply Reply Quote 0
      • A
        AdamBeGood @SaturnX
        last edited by AdamBeGood

        Thanks so much, @dirtbagxon and @saturnx !

        My mistake was running the SSH as Root, so the symlinks were in totally the wrong place! Doh.

        All resolved now, and the games do run.

        Two problems -

        • They only run in the top left quarter of my screen, any idea where the config is to change that? Daphne runs full screen (bordered but mostly full)

        • I can't seem to get Time Gal to play once it loads, I have a button that puts Credits in and one that restarts me back to the Taito screen, but nothing seems to actually start the game. Do I need to mess about with my joystick config? I could start Dragon's Lair, I tried that yesterday.

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

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

          • They only run in the top left quarter of my screen, any idea where the config is to change that? Daphne runs full screen (bordered but mostly full)

          This is an SDL fullscreen issue. Two things to check:

          • Make sure you are passing the -fullscreen argument to the run.sh script in your Timegal.sh script
          ./run.sh -fullscreen timegal
          
          • Some SDL implmentations on Pi don't use SDL_FULLSCREEN correctly, so use this part from the F.A.Q. in the repo to workaround:
          Fullscreen './run.sh -fullscreen <game>' does not work, but produces no error.
          
          Try -fullscreen_window instead, using SDL_NOFRAME instead of SDL_FULLSCREEN
          This can be altered in the run.sh thus:
          if [ "$1" = "-fullscreen" ]; then
          -   FULLSCREEN="-fullscreen"
          +   FULLSCREEN="-fullscreen_window"
              shift
          fi
          

          Others have altered the resolution X and Y dimensions in the run.sh to fit their screen, but I think the -fullscreen_window will auto correct this. Happy to hear feedback.

          The second issue looks like a key binding issue, not too sure on that and joysticks.....

          Are you sure you copied or linked the daphneinput.ini, with the working config, to singeinput.ini and the correct location ? Might be another '~' user issue.

          cat /home/pi/.daphne/singeinput.ini
          

          You should see:

          ..
          Looking for: singeinput.ini
          Remapping input ...
          ..
          

          if it finds it correctly.

          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

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

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

            @adambegood

            Yep the symlink (lncommand) is important. It may also be a case issue, I’ll correct my guide.

            You’re so close!!

            @SaturnX

            Might be better to use /home/pi/ in the guide to replace ~

            It will catch these issues when run as the wrong user ?

            BTW: I have linked to your guide in the Github repo - I hope you don't mind :)

            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
            • A
              AdamBeGood @DirtBagXon
              last edited by AdamBeGood

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

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

              • They only run in the top left quarter of my screen, any idea where the config is to change that? Daphne runs full screen (bordered but mostly full)

              This is an SDL fullsize issue. Two things to check:

              • Make sure you are passing the -fullscreen argument to the run.sh script in your Timegal.sh script
              ./run.sh -fullscreen timegal
              
              • Some SDL implmentations on Pi don't use SDL_FULLSCREEN correctly, so use this part from the F.A.Q. in the repo to workaround:
              Fullscreen './run.sh -fullscreen <game>' does not work, but produces no error.
              
              Try -fullscreen_window instead, using SDL_NOFRAME instead of SDL_FULLSCREEN
              This can be altered in the run.sh thus:
              if [ "$1" = "-fullscreen" ]; then
              -   FULLSCREEN="-fullscreen"
              +   FULLSCREEN="-fullscreen_window"
                  shift
              fi
              

              Others have altered the resolution dimensions in the run.sh to fit their screen, but I think the -fullscreen_window will auto correct this. Happy to hear feedback.

              Key binding is sorted now.

              I am not sure how to implement this code at all, sorry for being such a noob. I tried just changing -fullscreen to -fullscreen_window and that didn't work. The below attempt still results in a quarter screen display.

              cd /opt/retropie/emulators/singe
              ./run.sh -fullscreen timegal
              if [ "$1" = "-fullscreen" ]; then
              -   FULLSCREEN="-fullscreen"
              +   FULLSCREEN="-fullscreen_window"
                  shift
              fi
              

              Sorry for not being able to run with this successfully.

              Edit: Okay, I've worked out that I need to amend the run.sh now.

              I've amended the fullscreen section to reflect the above. https://pastebin.com/ejxNNCnN

              Is there another further I need to do?

              Further Edit: I manually amended the X and Y values in the run.sh

              All good now! Thanks so much again, @DirtBagXon and @SaturnX !

              DirtBagXonD G 2 Replies Last reply Reply Quote 1
              • DirtBagXonD
                DirtBagXon @AdamBeGood
                last edited by DirtBagXon

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

                Sorry for not being able to run with this successfully.

                Edit: Okay, I've worked out that I need to amend the run.sh now.

                I've amended the fullscreen section to reflect the above. https://pastebin.com/ejxNNCnN

                Is there another further I need to do?

                There are a couple of mechanisms to getting singe to display in fullscreen.

                • A static fullscreen resolution can be set manually. See Note: 3 below.
                • Or an auto-scaling fullscreen can be achieved by altering run.sh as detailed in the github F.A.Q.:

                1.   You should have one or other of the FULLSCREEN= lines in run.sh.

                So the section should read either:

                if [ "$1" = "-fullscreen" ]; then    
                    FULLSCREEN="-fullscreen"
                    shift
                fi
                

                OR

                if [ "$1" = "-fullscreen" ]; then
                    FULLSCREEN="-fullscreen_window"  
                    shift
                fi
                

                 

                2.   However, this is only used when the run.sh script is given the -fullscreen argument:

                ./run.sh -fullscreen <game>
                

                So using SaturnX's setup. this is done within the Timegal.sh file indicated in this line of his setup:

                Create a file called +Start Timegal.sh in /home/pi/RetroPie/roms/daphne/
                

                Within that file, SaturnX states you need to add:

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

                You will need to change this to:

                cd /opt/retropie/emulators/singe
                ./run.sh -fullscreen timegal
                

                 

                Note 1: The -fullscreen argument is within two scripts, run.sh and Timegal.sh, they are separate and related but different.

                -fullscreen_window is an SDL command used only in run.sh (if you change it) to overcome a SDL limitation in the Pi displaying fullscreen. (See below)

                Note 2: Until you have tried the changes in Timegal.sh you won't know if you need to alter run.sh to -fullscreen_window - as the F.A.Q. states:

                Fullscreen './run.sh -fullscreen <game>' does not work, but produces no error.

                Note 3: An alternate solution that can be used, is to alter the -x and -y values in run.sh to your current screen resolution. This change is not auto-sensing and will require a manual change if the screen resolution is ever changed.

                 ..
                 -volume_vldp 30 \                          
                 -x 1920 \
                 -y 1080
                

                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

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

                  @dirtbagxon great idea, I’ll update the guide. And no issues at all with linking to guide, the more awareness the better!

                  T 1 Reply Last reply Reply Quote 3
                  • A
                    AdamBeGood @DirtBagXon
                    last edited by

                    @dirtbagxon All good, thank you very very much! The games are hard as nails though!

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

                      @saturnx

                      Thank you for stirring the fire back up. I wasn't sure if anyone would go through the steps of making a guide I am going to test this out .

                      1 Reply Last reply Reply Quote 1
                      • G
                        Gamesman
                        last edited by

                        I get a weird folder for the Symlink of .daphne/singe:
                        singe_folder.JPG

                        The Symlink for .daphne/pics is fine:
                        pics_folder.JPG

                        If I try to open the .daphne/singe/singe folder I get this error:
                        singe_error.JPG

                        The Symlinks for pics and sound go to their respective Symlink folders.

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

                          @Gamesman

                          In my instructions, /home/pi/.daphne/singe should symlink to /home/pi/RetroPie/roms/daphne/singe

                          Did you create the new singe directory under your Daphne roms folder before creating the symlink?

                          You’ll need to remove the symlink you created and recreate. Did you use the commands in my post?

                          Let me know!

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

                            @saturnx

                            I typed it how you had it:
                            sudo ln -s /home/pi/retropie/roms/daphne/singe /home/pi/.daphne/singe

                            Then I realized it should have been:
                            sudo ln -s /home/pi/RetroPie/roms/daphne/singe /home/pi/.daphne/singe

                            Case sensitive Linux.

                            SaturnXS 1 Reply Last reply Reply Quote 0
                            • G
                              Gamesman
                              last edited by

                              The other thing I am confused about are these:

                              /home/pi/retropie/roms/daphne/singe/timegal/timegal.singe
                              /home/pi/retropie/roms/daphne/singe/timegal/timegal.txt

                              Are you guys using the files from https://kangaroopunch.com/?page=Software/3000-2006-singe.xjs or something else?

                              timegal.JPG
                              This is what I have at the moment.

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

                                @gamesman

                                Ah thanks! Yeah I’ll correct that.

                                Thanks!

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

                                  @saturnx

                                  I can not seem to get it working after the fix. I am doing something wrong.

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

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

                                    The other thing I am confused about are these:

                                    /home/pi/retropie/roms/daphne/singe/timegal/timegal.singe
                                    /home/pi/retropie/roms/daphne/singe/timegal/timegal.txt

                                    Are you guys using the files from https://kangaroopunch.com/?page=Software/3000-2006-singe.xjs or something else?

                                    timegal.JPG
                                    This is what I have at the moment.

                                    The files linked on kangaroopunch, actually on archive.org, are for SInge V2 with updated and different video, overlays and singe files that won't work on V1.

                                    The original TimeGal (for Singe V1) directory should have something like the following (Not certain of the legal situation on posting links to game data as these games are now on archive.org):

                                    -rw-r--r--  1 pi pi        432 Oct  3  2010 action.png
                                    -rw-r--r--  1 pi pi        427 Oct  3  2010 arrowdown.png
                                    -rw-r--r--  1 pi pi        478 Oct  3  2010 arrowleft.png
                                    -rw-r--r--  1 pi pi        450 Oct  3  2010 arrowright.png
                                    -rw-r--r--  1 pi pi        436 Oct  3  2010 arrowup.png
                                    -rw-r--r--  1 pi pi      56040 Sep 26  2010 blip.wav
                                    -rw-r--r--  1 pi pi        454 Oct  3  2010 button.png
                                    -rw-r--r--  1 pi pi        338 Oct  6  2010 credit.png
                                    -rw-r--r--  1 pi pi     140588 Oct  5  2010 credit.wav
                                    -rw-r--r--  1 pi pi        386 Oct  6  2010 freeplay.png
                                    -rw-r--r--  1 pi pi        280 Oct  6  2010 gal.png
                                    -rw-r--r--  1 pi pi        436 Oct  6  2010 getready.png
                                    -rw-r--r--  1 pi pi        435 Oct  6  2010 insertcoin.png
                                    -rw-r--r--  1 pi pi      18332 Sep 22  2001 LICENSE.TXT
                                    -rw-r--r--  1 pi pi        436 Nov 17  2010 line100.png
                                    -rw-r--r--  1 pi pi        434 Nov 17  2010 line101.png
                                    -rw-r--r--  1 pi pi        468 Nov 17  2010 line102.png
                                    -rw-r--r--  1 pi pi        389 Nov 17  2010 line103.png
                                    -rw-r--r--  1 pi pi        411 Nov 17  2010 line104.png
                                    -rw-r--r--  1 pi pi        484 Nov 17  2010 line105.png
                                    -rw-r--r--  1 pi pi        536 Nov 17  2010 line106.png
                                    -rw-r--r--  1 pi pi        557 Nov 17  2010 line107.png
                                    -rw-r--r--  1 pi pi        351 Nov 17  2010 line108.png
                                    -rw-r--r--  1 pi pi        543 Nov 17  2010 line109.png
                                    -rw-r--r--  1 pi pi        463 Nov 17  2010 line110.png
                                    -rw-r--r--  1 pi pi        467 Nov 17  2010 line111.png
                                    -rw-r--r--  1 pi pi        473 Nov 17  2010 line112.png
                                    -rw-r--r--  1 pi pi        469 Nov 17  2010 line113.png
                                    -rw-r--r--  1 pi pi        389 Nov 17  2010 line114.png
                                    -rw-r--r--  1 pi pi        519 Nov 17  2010 line115.png
                                    -rw-r--r--  1 pi pi        548 Nov 17  2010 line116.png
                                    -rw-r--r--  1 pi pi        316 Nov 17  2010 line117.png
                                    -rw-r--r--  1 pi pi        534 Oct  6  2010 line1.png
                                    -rw-r--r--  1 pi pi        435 Oct  6  2010 line2.png
                                    -rw-r--r--  1 pi pi        423 Oct  6  2010 line3.png
                                    -rw-r--r--  1 pi pi        497 Oct  6  2010 line4.png
                                    -rw-r--r--  1 pi pi        416 Oct  6  2010 line5.png
                                    -rw-r--r--  1 pi pi        511 Nov 10  2010 line6.png
                                    -rw-r--r--  1 pi pi        229 Oct  6  2010 num00.png
                                    -rw-r--r--  1 pi pi        212 Oct  6  2010 num01.png
                                    -rw-r--r--  1 pi pi        227 Oct  6  2010 num02.png
                                    -rw-r--r--  1 pi pi        230 Oct  6  2010 num03.png
                                    -rw-r--r--  1 pi pi        227 Oct  6  2010 num04.png
                                    -rw-r--r--  1 pi pi        228 Oct  6  2010 num05.png
                                    -rw-r--r--  1 pi pi        228 Oct  6  2010 num06.png
                                    -rw-r--r--  1 pi pi        225 Oct  6  2010 num07.png
                                    -rw-r--r--  1 pi pi        234 Oct  6  2010 num08.png
                                    -rw-r--r--  1 pi pi        229 Oct  6  2010 num09.png
                                    -rw-r--r--  1 pi pi        355 Oct  6  2010 player1.png
                                    -rw-r--r--  1 pi pi      19900 Nov 16  2001 presstart.ttf
                                    -rw-r--r--  1 pi pi        417 Dec 31  2010 question.png
                                    -rw-r--r--  1 pi pi      88188 Sep  1  2010 right.wav
                                    -rw-r--r--  1 pi pi      65580 Sep 26  2010 ring01.wav
                                    -rw-r--r--  1 pi pi      63916 Sep 26  2010 ring02.wav
                                    -rw-r--r--  1 pi pi        383 Oct  3  2010 selarrow.png
                                    -rw-r--r--  1 pi pi      28844 Oct  1  2010 select.wav
                                    -rw-r--r--  1 pi pi     166780 Sep 26  2010 teedo.wav
                                    -rw-r--r--  1 pi pi        220 Nov  1 00:50 timegal.cfg
                                    -rw-r--r--  1 pi pi 2019095151 Dec 21  2010 timegal.m2v
                                    -rw-r--r--  1 pi pi   38863289 Dec 21  2010 timegal.ogg
                                    -rw-r--r--  1 pi pi     186513 Oct 29 12:02 timegal.singe
                                    -rw-r--r--  1 pi pi         18 Dec  9  2010 timegal.txt
                                    -rw-r--r--  1 pi pi        392 Oct  6  2010 topscore.png
                                    -rw-r--r--  1 pi pi      89512 Sep 26  2010 wrong.wav
                                    

                                    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 G 2 Replies Last reply Reply Quote 1
                                    • SaturnXS
                                      SaturnX @DirtBagXon
                                      last edited by

                                      @dirtbagxon @Gamesman

                                      Yep - my file structure looks just like the one @DirtBagXon has listed above and works great.

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

                                        @dirtbagxon
                                        I have those files now in the timegal folder. On my RP4 when I goto cd /opt/retropie/emulators/singe and run ./run.sh, the only game available is singe.
                                        singe.JPG
                                        This is the directory. I did everything SaturnX had in his guide. Am I missing something??

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

                                          @gamesman

                                          So your /opt/retropie/emulators/singe directory looks good (this is where the emulator is compiled)

                                          Are you TimeGal files in the following location?

                                          /home/pi/RetroPie/roms/daphne/singe/timegal?

                                          and for example, you have the following files:

                                          /home/pi/RetroPie/roms/daphne/singe/timegal/timegal.singe and;
                                          /home/pi/RetroPie/roms/daphne/singe/timegal/timegal.txt

                                          Please do the following - ssh/quit to to terminal and:

                                          cd /home/pi/.daphne
                                          ls -al
                                          

                                          And provide the output here. Since you say when you execute ./run.sh from /opt/retropie/emulators/singe you're not seeing timegal, that means that your symlinks are not correct for the rom/game file location. By defaut, the singe emulator will look for games in the following location /home/pi/.daphne/singe/[game] and the purpose of the symlink is to move where it looks into the standard roms directory as a sub directory of Daphne.

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

                                            @saturnx
                                            TimeGal files are in the right folder:
                                            singe.JPG

                                            20210228_1.jpg
                                            This is what I get with ls -al.

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