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.1k 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 @DirtBagXon
      last edited by

      @DirtBagXon Hah :) Yes, it's a pain.

      In the past I followed this with some success - https://gist.github.com/bhumphrey/3764983 .

      Thanks for looking into it, and happy singe-ing .

      By the way, the original Singe developer seems to be back at it, and working on a version 2.0 of the emulator, so if that's something that interests you, it should be worth looking out for.

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

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

        @DirtBagXon Hah :) Yes, it's a pain.

        In the past I followed this with some success - https://gist.github.com/bhumphrey/3764983 .

        Pah, next time....

        By the way, the original Singe developer seems to be back at it, and working on a version 2.0 of the emulator, so if that's something that interests you, it should be worth looking out for.

        Yep, I have been following Scott's project, he was even kind enough to star my current singe repo too :)

        He seems to be getting there... I don't envy him that job....

        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

        T 1 Reply Last reply Reply Quote 1
        • Stuart2773S
          Stuart2773
          last edited by Stuart2773

          SINGE 2.0 is now available

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

            @dirtbagxon

            I saw scott had a zip file with an executable for raspberry pi. Is there anyway we can grab this https://kangaroopunch.com/api/files.ssjs?call=download-file&dir=singe&file=s200p32.zip in terminal and install it in retropie? (i was gonna follow your steps but then 2.0 showed up) . Thanks for all you have done so far.

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

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

              @dirtbagxon

              I saw scott had a zip file with an executable for raspberry pi. Is there anyway we can grab this https://kangaroopunch.com/api/files.ssjs?call=download-file&dir=singe&file=s200p32.zip in terminal and install it in retropie? (i was gonna follow your steps but then 2.0 showed up) . Thanks for all you have done so far.

              Heya @TreasureFingers,

              You can grab the Singe v2 file via wget in a terminal on your RetroPie.

              wget "https://kangaroopunch.com/api/files.ssjs?call=download-file&dir=singe&file=s200p32.zip" -O s200p32.zip
              
              unzip s200p32.zip
              

              I don't think anyone has posted a procedure to set it up in RetroPie yet..

              Feel free to play and post back here.

              FYI: I finally figured out how to get the original Time Gal and Ninja Hayate bytecode .singe files working in version 1.18.
              So there is now no need to switch timegal.singe, hayate.singe to the ones in the repo, as detailed above.

              The new Singe v2 games seems to have updated overlays , which are very cool, but do move away from the original arcade game look and feel somewhat.
              So I think version 1.18 might still be a route for the traditionalists at this point.

              But I am sure all this will change as v2 develops.....

              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

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

                @dirtbagxon

                i managed to run the executable and it only popped out these two items 1. Menu.sh and 2. a folder called singe and
                inside the folder were these contents

                • controls.cfg.example

                • framework.singe

                • freesansbold.ttf

                • menu.signe

                • menuBackground.mkv

                What should be my next steps?

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

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

                  What should be my next steps?

                  I just downloaded some of the v2 games from kangaroopunch and unzipped them in the same directory. Then ran ./Menu.sh

                  The new games are packaged and configured to run in v2.

                  Running v1 games involves playing with the CLI commands:

                  Usage:  Singe-v2.00-Pi-armv6 [OPTIONS] scriptName{.singe}
                  
                    -a, --aspect=N:D               force aspect ratio
                    -c, --showcalculated           show calculated framefile values for debugging
                    -d, --datadir=PATHNAME         alternate location for written files
                    -e, --volume_nonvldp=PERCENT   specify sound effects volume in percent
                    -f, --fullscreen               run in full screen mode
                    -h, --help                     this display
                    -k, --nologos                  kill the splash screens
                    -l, --volume_vldp=PERCENT      specify laserdisc volume in percent
                    -m, --nomouse                  disable mouse
                    -n, --nocrosshair              request game not display gun crosshairs
                    -s, --nosound, --mutesound     mutes all sound
                    -t, --trace                    trace script execution to screen and file
                    -u, --stretch                  use ugly stretched video
                    -v, --framefile=FILENAME       use an alternate video file
                    -w, --fullscreen_window        run in windowed full screen mode
                    -x, --xresolution=VALUE        specify horizontal resolution
                    -y, --yresolution=VALUE        specify vertical resolution
                    -z, --noconsole                zero console output
                  

                  Something like this (with appropriate paths):

                  ./Singe-v2.00-Pi-armv6 [OPTION] -v timegal.txt timegal.singe

                  Although I had varying success 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

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

                    @dirtbagxon
                    oh ok so the ./Menu.sh builds a menu in terminal and not in the emulationstation/retropie gui hmm i wonder what its gonna take to get it in emulationstation. Also Dirtbagxon you been pretty great with your help so far just wanted to mention that. is it 'its own thing now or does it still rely on daphne?

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

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

                      @dirtbagxon
                      Is it 'its own thing now or does it still rely on daphne?

                      Both v2 and my v1.18 repo are standalone Singe.

                      Pleasure helping out, but I'm afraid I don't know the Emulationstation interface to help there.

                      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
                        shift
                        last edited by shift

                        @dirtbagxon

                        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
                        

                        After this point there is the result (I have translated from Italian to english error message):

                        To continue? [Y / n] Y
                        Selected package libjbig-dev: armhf not previously selected.
                        dpkg: fatal unrecoverable error, exit:
                          the file with the file list of the "raspi-config" package is missing the final newline
                        E: Sub-process / usr / bin / dpkg returned an error code (2)
                        

                        I continued ignoring the error

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

                        Here everything is ok.

                        cd singe
                        cd src/vldp2
                         ./configure --disable-accel-detect
                         make -f Makefile.linux
                        

                        Here everything is ok.

                         cd ../game/singe
                         make -f Makefile.linux
                        

                        After this command instead the error was this:

                        g++  -fPIC  -c -o singeproxy.o singeproxy.cpp
                        In file included from singeproxy.cpp:23:
                        singeproxy.h:36:10: fatal error: SDL/SDL_image.h: File o directory non esistente
                         #include <SDL/SDL_image.h>
                                  ^~~~~~~~~~~~~~~~~
                        compilation terminated.
                        make: *** [<incorporato>:  singeproxy.o] Error 1
                        

                        I used a raspberry pi 4 with 4GB**** with Retropie 4.7.1

                        Can you figure out how to correct the problem?

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

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

                          @dirtbagxon

                          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
                          

                          After this point there is the result (I have translated from Italian to english error message):

                          To continue? [Y / n] Y
                          Selected package libjbig-dev: armhf not previously selected.
                          dpkg: fatal unrecoverable error, exit:
                            the file with the file list of the "raspi-config" package is missing the final newline
                          E: Sub-process / usr / bin / dpkg returned an error code (2)
                          

                          I continued ignoring the error

                          You need to clear this error or the dependencies will not be installed and you will see the later errors.

                          Looks like you packaging system is a little broken.

                          What happens if you run the following two commands?

                          sudo apt-get update
                          
                          sudo apt-get upgrade
                          

                          It looks like a broken package file, so the above may work, it could also be filesystem corruption (sd card), seems to be some similar issues here:

                          https://www.raspberrypi.org/forums/viewtopic.php?t=187936

                          If you can't get the development packages installed, try running the compiled binaries I put in the repository:

                          From the folder singe folder you cloned via git:

                          cd binaries/$(uname -m)
                          
                          cp *.so singe.bin ../..
                          
                          cd ../..
                          

                          Then ./run.sh

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

                            @dirtbagxon Thank you for the answer, I did the upgrades as you told me, but I got the same error as before, so now I'm testing the SD and if everything is ok I reinstall Retropie "clean" and then I immediately install your package. I keep you updated.

                            1 Reply Last reply Reply Quote 0
                            • S
                              shift @DirtBagXon
                              last edited by

                              @dirtbagxon You were right, it was just a Retropie installation error. Now everything goes. To your scripts I just had to add this line:

                              cp ~/singe/pics/* ~/.daphne/pics/
                              

                              because the system could not find this file: ConsoleFont.bmp (and probably the same error would have given it also for the other .bmp)

                              I changed your script (run.sh) to have the full screen on a Full HD (1920 x 1080) TV by changing the -x and -y parameters, because I noticed that the -fullscreen command is not recognized.

                              For Ninjia Hayate and Timetraveler I kept your parameters -x 800 and -y 600 because unfortunately they don't accept higher resolutions.

                              Now I want to try ActionMax.

                              Thanks for everything. I keep you updated.

                              DirtBagXonD S 2 Replies Last reply Reply Quote 0
                              • DirtBagXonD
                                DirtBagXon @shift
                                last edited by

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

                                @dirtbagxon You were right, it was just a Retropie installation error. Now everything goes. To your scripts I just had to add this line:

                                cp ~/singe/pics/* ~/.daphne/pics/
                                

                                I have altered the repo README to clarify the installation process, thank you.

                                I changed your script (run.sh) to have the full screen on a Full HD (1920 x 1080) TV by changing the -x and -y parameters, because I noticed that the -fullscreen command is not recognized.

                                The -fullscreen option should work thus:

                                ./run.sh -fullscreen timegal
                                

                                Can you supply the error if this doesn't work ?

                                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 Reply Quote 0
                                • S
                                  shift @DirtBagXon
                                  last edited by

                                  @dirtbagxon

                                  The -fullscreen option should work thus:

                                  ./run.sh -fullscreen timegal
                                  

                                  Can you supply the error if this doesn't work ?

                                  No error returns but the image remains 800x600 in the upper left corner. It is as if the -fullscreen parameter is not considered at all.

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

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

                                    @dirtbagxon

                                    The -fullscreen option should work thus:

                                    ./run.sh -fullscreen timegal
                                    

                                    Can you supply the error if this doesn't work ?

                                    No error returns but the image remains 800x600 in the upper left corner. It is as if the -fullscreen parameter is not considered at all.

                                    Interesting, I am unable to replicate this, effectively SDL ignoring:

                                    sdl_flags |= SDL_FULLSCREEN;
                                    

                                    Anyone else seen this issue?

                                    Perhaps a Retropie frontend setting?

                                    If you make these changes in run.sh

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

                                    Then run with the -fullscreen argument again?

                                    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

                                    G S 2 Replies Last reply Reply Quote 0
                                    • G
                                      gomisensei @DirtBagXon
                                      last edited by

                                      @dirtbagxon -fullscreen does nothing on retropie, maybe on X... you can set the resolution in command line with -x 1024 -y 768 (or whatever your screen dimensions are) to fill the screen.

                                      1 Reply Last reply Reply Quote 0
                                      • S
                                        shift @DirtBagXon
                                        last edited by

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

                                        If you make these changes in run.sh

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

                                        Then run with the -fullscreen argument again?

                                        Yes! Now it works perfectly!

                                        Another question ... Is it possible to use the analog stick of the joypad as if it were a mouse?

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

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

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

                                          If you make these changes in run.sh

                                          Then run with the -fullscreen argument again?

                                          Yes! Now it works perfectly!

                                          ░░░░░░░░░░░░▄▄░░░░░░░░░
                                          ░░░░░░░░░░░█░░█░░░░░░░░
                                          ░░░░░░░░░░░█░░█░░░░░░░░
                                          ░░░░░░░░░░█░░░█░░░░░░░░
                                          ░░░░░░░░░█░░░░█░░░░░░░░
                                          ███████▄▄█░░░░░██████▄░
                                          ▓▓▓▓▓▓█░░░░░░░░░░░░░░█░
                                          ▓▓▓▓▓▓█░░░░░░░░░░░░░░█░
                                          ▓▓▓▓▓▓█░░░░░░░░░░░░░░█░
                                          ▓▓▓▓▓▓█░░░░░░░░░░░░░░█░
                                          ▓▓▓▓▓▓█░░░░░░░░░░░░░░█░
                                          ▓▓▓▓▓▓█████░░░░░░░░░█░░
                                          ██████▀░░░░▀▀██████▀░░░

                                          The -fullscreen_window argument should also work on the Daphne repo, if anyone had similar issues there.

                                          i.e. using SDL_NOFRAME instead of SDL_FULLSCREEN.

                                          Another question ... Is it possible to use the analog stick of the joypad as if it were a mouse?

                                          I recently merged a pull request from @grant2258 and @pjft regarding clearing down the default joystick config.

                                          Perhaps they can offer some help on setup of joystick config.

                                          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 0
                                          • S
                                            shift @shift
                                            last edited by

                                            @dirtbagxon

                                            Now I want to try ActionMax.

                                            I can confirm that the Action Max games work perfectly!

                                            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.