• 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.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.
  • D
    DirtBagXon
    last edited by DirtBagXon 3 Sept 2020, 19:05

     

    Latest Update
    -------------------

    Hypseus Singe is now the route you should take:

    • Discussion: https://retropie.org.uk/forum/post/255510

    • Install instructions: https://github.com/DirtBagXon/hypseus-singe/blob/master/src/3rdparty/retropie/RETROPIE.md

     

    Update Edit: Jump straight to the RetroPie centric install instructions here:

    https://retropie.org.uk/forum/post/252674

    Many different versions and attempts of installation exist in this thread, the link
    above is thus far the simplest and consistent with other RetoPie emulator installs.
    Many thanks to @SaturnX .

     

    Original post continues....

    The directory structure for both Daphne and Singe on a linux system is within the directory structure of home (~) of the user that will run singe.

    ~/.daphne/singe/
    

    There are other files, in the ~/.daphne directory that are needed for the standalone singe, these are described in the README on the github repo:

    mkdir -p ~/.daphne/singe ~/.daphne/sound ~/.daphne/pics
    cp pics/singeme.bmp ~/.daphne/pics/
    cp pics/gamenowook.bmp ~/.daphne/pics/
    cp sound/grumble.wav ~/.daphne/sound/
    

    Your game data and singe file should then exist within sub-directories within ~/.daphne/singe.

    i.e. ~/.daphne/singe/maddog/

    Within that directory the game .singe, sound and video files should exist in the prescribed directory structure within the singe files. (Note: this should be standard)

    If you could post the error messages you are seeing, perhaps I can take a look.

    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

    D 1 Reply Last reply 3 Sept 2020, 20:31 Reply Quote 0
    • D
      Darksavior @DirtBagXon
      last edited by Darksavior 9 Mar 2020, 22:10 3 Sept 2020, 20:31

      @DirtBagXon Thanks for the help. It was an error on my end. I tried again right now and it works.

      New problem. I'm trying Time Gal. The game loads and I can see its intro. I can insert credits fine with "5" on my keyboard. Pressing "1" to start the game freezes the game. Not sure if the game is properly working, though.

      Since I didn't see a "singeinput.ini", I tried daphne's and it worked with my controller. Same results, though. Game freezes when I press start.

      S 1 Reply Last reply 3 Sept 2020, 22:52 Reply Quote 0
      • S
        shavecat @Darksavior
        last edited by 3 Sept 2020, 22:52

        @Darksavior
        Hey
        so how do i make it run too ? :)

        1 Reply Last reply Reply Quote 0
        • D
          DirtBagXon
          last edited by DirtBagXon 3 Sept 2020, 22:59

          Heya,

          Update: Replacement .singe files NO LONGER REQUIRED - Fixed in game library source code.

          Ensure you are using the latest code from repo. See details in:

          https://github.com/DirtBagXon/singe/commits/master

          The two games, 'Time Gal' and 'Ninja Hayate' use compiled lua bytecode, with the original versions being 32bit specific. I had to address these games specifically in 64bit land. I tried to detail in the repo README, but had to address an issue within the bytecode specifically to address 'arithmetic on a nil value' - See:

          https://github.com/DirtBagXon/singe/tree/master/bytecode

          I put new 'fixed' .singe files there, so give them a try. The fix was trivial once I managed to decompile the bytecode. Changes are detailed in the repo link above.

          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 3 Sept 2020, 23:02 Reply Quote 0
          • S
            shavecat @DirtBagXon
            last edited by shavecat 9 Apr 2020, 00:02 3 Sept 2020, 23:02

            @DirtBagXon
            Only this two games works ?
            the others dont ? :
            and thanks ! :)

            1 Reply Last reply Reply Quote 0
            • D
              DirtBagXon
              last edited by DirtBagXon 3 Feb 2021, 11:44 3 Sept 2020, 23:03

              No all the games work, but these two require specific changes.

              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 3 Sept 2020, 23:04 Reply Quote 0
              • S
                shavecat @DirtBagXon
                last edited by 3 Sept 2020, 23:04

                @DirtBagXon
                Got u
                thanks a lot .
                so i just copy the to ~/.daphne/singe/ folder with the name game ?
                i will give a try thanks again :)

                1 Reply Last reply Reply Quote 0
                • D
                  DirtBagXon
                  last edited by DirtBagXon 3 Sept 2020, 23:12

                  Update: These file changes are NO LONGER REQUIRED. The issue is fixed in the source code, overcoming the nil arithmetic issue.

                  mv ~/.daphne/singe/timegal/timegal.singe ~/.daphne/singe/timegal/timegal.singe.old
                  mv ~/.daphne/singe/hayate/hayate.singe ~/.daphne/singe/hayate/hayate.singe.old
                  
                  cp bytecode/timegal.singe ~/.daphne/singe/timegal/timegal.singe
                  cp bytecode/hayate.singe ~/.daphne/singe/hayate/hayate.singe
                  

                  Ensure you are using the latest commit in repo.

                  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

                  D 1 Reply Last reply 4 Sept 2020, 03:44 Reply Quote 1
                  • D
                    Darksavior @DirtBagXon
                    last edited by Darksavior 9 Apr 2020, 05:21 4 Sept 2020, 03:44

                    @DirtBagXon Thanks again. Now I'm noticing screen tearing. Ah well, it works.
                    I assume your daphne fork is not arm-friendly? I noticed yours might have a working Road Blaster.

                    1 Reply Last reply Reply Quote 0
                    • D
                      DirtBagXon
                      last edited by DirtBagXon 9 Apr 2020, 18:19 4 Sept 2020, 17:14

                      Regarding the tearing, I have not experienced. You could try with -nohwaccel argument in run.sh ./$SINGE_BIN variables.

                      There are other arguments seen in src/io/cmdline.cpp - parse_cmd_line() you could also try playing with.

                      To be honest it has been some time since I looked at this code.

                      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

                      D 1 Reply Last reply 4 Sept 2020, 22:38 Reply Quote 0
                      • D
                        Darksavior @DirtBagXon
                        last edited by Darksavior 9 May 2020, 00:28 4 Sept 2020, 22:38

                        @DirtBagXon Didn't work. Looking at the log, it's already running without acceleration. It's fine.
                        I'm using a pi4. YUV overlay is done in software (ie unaccelerated)

                        1 Reply Last reply Reply Quote 0
                        • D
                          DirtBagXon
                          last edited by DirtBagXon 9 May 2020, 01:17 5 Sept 2020, 00:11

                          I only ran the software headlessly from the Pi, so didn't use native display. Is it using OpenGL ?

                          --CPU : Intel(R) 3400 MHz || Mem : 15936 megs
                          --OS : Linux 5.4 || Video : NVIDIA Corporation GK208B [GeForce GT 710] (rev a1)
                          --OpenGL: Compiled In
                          --RGB2YUV Function: C
                          --Line Blending Function: C
                          ...
                          --YUV overlay is hardware accelerated.
                          

                          I checked the singeinput.ini reading, and working fine this side. It should be located in the same place as daphne config files.

                          i.e. ~/.daphne/singeinput.ini

                          With:

                          Looking for: singeinput.ini
                          Remapping input ...
                          Framefile parse succeeded.
                          

                          Without:

                          Looking for: singeinput.ini
                          Framefile parse succeeded.
                          

                          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

                          D 1 Reply Last reply 5 Sept 2020, 00:25 Reply Quote 0
                          • D
                            Darksavior @DirtBagXon
                            last edited by 5 Sept 2020, 00:25

                            @DirtBagXon Yes,I figured out the ini file doesn't belong in the singe folder. The pi4 uses open gl es only, I believe.

                            1 Reply Last reply Reply Quote 0
                            • D
                              DirtBagXon
                              last edited by DirtBagXon 9 May 2020, 09:04 5 Sept 2020, 07:50

                              I don't use Retropie, so can't test, but from a comment I found in a doom3 (dhewm3) post, I presume XINIT: is a launcher instruction to launch X window with full OpenGL.

                              "dhewm3 has to be run with full openGL on the pi otherwise there are game breaking graphical issues. When launching the game engine it needs to be launched with XINIT:/path/to/dhewm3. This will launch it in an x session and insures that it doesn't try to use openGL ES."

                              I would guess you would need to add this in run.sh on the line:

                              ./$SINGE_BIN \

                              XINIT:./$SINGE_BIN \

                              Not sure of the format to specify this in a shell script, but interested if this has any effect, or if someone more knowledgeable in retropie @quicksilver can expand....

                              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 0
                              • S
                                shavecat
                                last edited by shavecat 9 May 2020, 17:54 5 Sept 2020, 11:06

                                Hey so i put a folder singe in the daphne folder
                                with folder games for each game .
                                63ab543c-d2a2-4ecf-ae7c-6fda6cf04a8c-image.png
                                but i dont see anything new in the daPHNe just the same *.daphne games that i had already .
                                what did i miss ? :\

                                SORRY i thought its for pi4 retorpie :(

                                D 1 Reply Last reply 22 Sept 2020, 11:15 Reply Quote 0
                                • D
                                  DirtBagXon @shavecat
                                  last edited by 22 Sept 2020, 11:15

                                  @shavecat

                                  Not sure of your question here, but yes Singe is running on Pi4 Retropie.

                                  "i dont see anything new in the daPHNe" - this is Singe not Daphne.

                                  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 22 Sept 2020, 13:11 Reply Quote 0
                                  • S
                                    shavecat @DirtBagXon
                                    last edited by 22 Sept 2020, 13:11

                                    @DirtBagXon
                                    Hey
                                    thanks for the answer :)
                                    can u tell me how can i do that ?
                                    step by step .

                                    i tried before but with no success .

                                    thanks again

                                    D 1 Reply Last reply 22 Sept 2020, 15:05 Reply Quote 0
                                    • D
                                      DirtBagXon @shavecat
                                      last edited by 22 Sept 2020, 15:05

                                      @shavecat

                                      Hey,

                                      You should be able to follow the documentation at: https://github.com/DirtBagXon/singe

                                      This should get you to at least a point where you can post the output of the log from running ./run.sh crimepatrol, so we can see what's going wrong.

                                      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
                                      • B
                                        bronze
                                        last edited by 9 Oct 2020, 08:18

                                        Hi guys, new to GitHub, setting up Retropie on raspberry pi 4 for light guns (new sinden light gun) and want to add the singe shooters. I have Daphne running already. But I'm at a loss as to how to compile this to get started. I have all the games, etc.
                                        Can someone get me started on how to set this up via command line? I should be able to sort the file placement from there.
                                        Thanks

                                        D 1 Reply Last reply 9 Oct 2020, 18:10 Reply Quote 0
                                        • D
                                          DirtBagXon @bronze
                                          last edited by DirtBagXon 9 Oct 2020, 18:10

                                          @bronze

                                          First install the correct tools and libraries:

                                          sudo apt-get install git make build-essential libasound2-dev libcaca-dev libglew-dev libglib2.0-dev libogg-dev libpcre3-dev libpcre32-3 libpng-dev  libpng-tools libpulse-dev libsdl-image1.2-dev libsdl-ttf2.0-dev libsdl1.2-dev libslang2-dev  libvorbis-dev libxi-dev pkg-config
                                          

                                          Checkout source code:

                                          cd ~
                                          git clone https://github.com/DirtBagXon/singe.git singe
                                          

                                          Enter directory and compile:

                                          cd singe
                                          cd src/vldp2
                                           ./configure --disable-accel-detect
                                           make -f Makefile.linux
                                           cd ../game/singe
                                           make -f Makefile.linux
                                           cd ../..
                                           make
                                           cd ..
                                           mkdir -p ~/.daphne/singe ~/.daphne/sound ~/.daphne/pics
                                           cp pics/singeme.bmp ~/.daphne/pics/
                                           cp pics/gamenowook.bmp ~/.daphne/pics/
                                           cp sound/grumble.wav ~/.daphne/sound/
                                          

                                          If issues, post the results....

                                          If looks good, run from ~/singe

                                          ./run.sh timegal
                                          

                                          Again post the results if there are issues.

                                          As stated above your games should be in the directory based on the user you are running the run.sh scripts as:

                                          ~/.daphne/singe/
                                          

                                          Also, for games Time Gal and Ninja Hayate, please refer to the comments here:

                                          https://github.com/DirtBagXon/singe/tree/master/bytecode

                                          For your light gun and other settings, create a singe specific config file as:

                                          ~/.daphne/singeinput.ini

                                          It can mirror many of the daphne config options.

                                          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.

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