Recalbox Forum

    • Register
    • Login
    • Search
    • Recent
    • Tags
    • recalbox.com
    • Gitlab repository
    • Documentation
    • Discord

    New Hypseus with overlays and Singe support

    Your recalbox
    hypseus overlays singe
    10
    51
    13878
    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.
    • DirtBagXon
      DirtBagXon @lmerckx last edited by

      @lmerckx

      Ok, so I have added joystick support to Singe...

      Could I ask you to test this out ?

      git clone --single-branch --branch singe-joystick https://github.com/DirtBagXon/hypseus-singe.git
      

      It takes additional arguments of:    -js_range <1-15>   to alter joystick sensitivity: defaults to '5' currently.

      BTW: Maddog will look optimal with the following argument too:   -blend_singe_sprites

      Hypseus Singe: https://github.com/DirtBagXon/hypseus-singe/
      Hypseus Singe 2 conversion Documentation: https://github.com/DirtBagXon/hypseus_singe_data

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

        @DirtBagXon said in New Hypseus with overlays and Singe support:

        BTW: Maddog will look optimal with the following argument too:   -blend_singe_sprites

        -blend_singe_sprites now changed to -blend_sprites

        Option has become game (singe) specific....

         

        Also just to clarify, joystick support is now within Hypseus Singe in the branch link above.

        It does not need the wrapper options discussed above.

        Hypseus Singe: https://github.com/DirtBagXon/hypseus-singe/
        Hypseus Singe 2 conversion Documentation: https://github.com/DirtBagXon/hypseus_singe_data

        1 Reply Last reply Reply Quote 2
        • lmerckx
          lmerckx last edited by

          Great ! Thanks @DirtBagXon .
          I will test that ...

          Recalbox 9.1 on RPI 4, SSD 250Gb, 2 Logitech F710, Nespi4case
          Contributions for DosBox, ScummVM, ResidualVM, Daphne (Hypseus)

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

            @RustyMG said in New Hypseus with overlays and Singe support:

            Could an analogue joypad be "fooled" into operating as a mouse as a work around ?

            If the joystick is supported by linux, and you can see axis movement with jstest: -

            Yes it should now work in the main repo from v2.4.2

             

            I believe the following games work on Singe?

            Crime Patrol
            Crime Patrol 2: Drug Wars
            Mad Dog McCree
            Mad Dog McCree 2: The Lost Gold
            Ninja Hayate
            Space Pirates
            Time Gal
            Time Traveler
            The Last Bounty Hunter
            Who Shot Johnny Rock
            38 Ambush Alley
            Blue Thunder
            HydroSub 2021
            Pops Ghostly
            Sonic Fury

            Yep all these work.... plus....

            TimeGal (Singe 1 and 2 versions)
            Ninja Hayate
            Starblazers
            Platoon (Singe 2)
            Freedom Fighter
            Fire and Ice (Singe 2)
            Dragon's Lair 2 Enhanced Edition (Singe 2)

            Not to forget all the Daphne games...

             

            Hypseus Singe: https://github.com/DirtBagXon/hypseus-singe/
            Hypseus Singe 2 conversion Documentation: https://github.com/DirtBagXon/hypseus_singe_data

            1 Reply Last reply Reply Quote 0
            • RustyMG
              RustyMG last edited by

              😁😁😁😁😁😁😁😁

              Sinclair ZX Spectrum 48k "dead flesh" keyboard, Commodore 64, Amiga A500, Amiga A1200, CD32, PC Engine, PS1, PS2, PSP, Nintendo DS, Dreamcast, Wii, XBox 360, Xbox One-X, Pi2, Pi3, Pi4 owner, ARRM contributor ( http://jujuvincebros.fr/wiki/arrm/doku.php ).

              1 Reply Last reply Reply Quote 0
              • lmerckx
                lmerckx last edited by

                @DirtBagXon I've tested the joystick patch.

                It works but, indeed, targeting with the joystick is really hard !
                The mouse (touchpad for me) is really simplier.

                But anyway, I will post a merge request to integrate your project in Recalbox.

                Recalbox 9.1 on RPI 4, SSD 250Gb, 2 Logitech F710, Nespi4case
                Contributions for DosBox, ScummVM, ResidualVM, Daphne (Hypseus)

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

                  @lmerckx said in New Hypseus with overlays and Singe support:

                  @DirtBagXon I've tested the joystick patch.

                  It works but, indeed, targeting with the joystick is really hard !
                  The mouse (touchpad for me) is really simplier.

                  But anyway, I will post a merge request to integrate your project in Recalbox.

                  Many thanks,

                  I have been told that it works well with lightguns and trackball setups, but I don't have the ability to test these.

                  It basically uses SDL2 LEFT, RIGHT, UP and DOWN keycodes, so provided the connected device send these (joysticks, trackb***s, lightguns and indeed keyboards) all do so technically it should work.

                  The patch is now in the main master and RetroPie branches, so no need to use the sub-branch above.

                  A few others have now tested with good responses, so thank you for the idea of adding it 😁

                  It does add a new element of difficulty to the games, but a few of the testers have added it to arcade cabinet conversions (which obviously don't have mice), and are giving very positive feedback......

                   

                  Hypseus Singe: https://github.com/DirtBagXon/hypseus-singe/
                  Hypseus Singe 2 conversion Documentation: https://github.com/DirtBagXon/hypseus_singe_data

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

                    For any Windows users out there, there is now a Windows Port of Hypseus Singe:

                    https://github.com/DirtBagXon/hypseus-singe/tree/master/win32

                    Hypseus Singe: https://github.com/DirtBagXon/hypseus-singe/
                    Hypseus Singe 2 conversion Documentation: https://github.com/DirtBagXon/hypseus_singe_data

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

                      @dirtbagxon
                      Indeed, I've seen that you go on improving the emulator. Thanks.
                      I will b*mp the version in Recalbox.

                      Just for information, the patch you imported from "Batocera" to support multiple joysticks and improve them is mine. It has been created for Recalbox and copied by Batocera. 😉

                      Recalbox 9.1 on RPI 4, SSD 250Gb, 2 Logitech F710, Nespi4case
                      Contributions for DosBox, ScummVM, ResidualVM, Daphne (Hypseus)

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

                        @lmerckx said in New Hypseus with overlays and Singe support:

                        @dirtbagxon
                         
                        Just for information, the patch you imported from "Batocera" to support multiple joysticks and improve them is mine. It has been created for Recalbox and copied by Batocera. 😉

                        Arggh, sorry about that, I didn't see them link it back.

                        As I said before, many thanks for all the previous improvements before I took a look at hypseus. It would not be what it is today without all the developer input.

                        Hypseus Singe: https://github.com/DirtBagXon/hypseus-singe/
                        Hypseus Singe 2 conversion Documentation: https://github.com/DirtBagXon/hypseus_singe_data

                        1 Reply Last reply Reply Quote 0
                        • carolynperry
                          carolynperry last edited by

                          I have read elsewhere that this is now working reliably with lots more laserdisc games.

                          1 Reply Last reply Reply Quote 0
                          • carolynperry
                            carolynperry last edited by Pitch64

                            Indeed, I've seen that you go on improving the emulator. Thanks.

                            DirtBagXon 1 Reply Last reply Reply Quote 1
                            • DirtBagXon
                              DirtBagXon @carolynperry last edited by DirtBagXon

                              @carolynperry said in New Hypseus with overlays and Singe support:

                              Indeed, I've seen that you go on improving the emulator. Thanks.

                              I try 🙂

                              Software Scoreboard

                              https://www.youtube.com/watch?v=tprqS8bUDkI&list=PLRLuhkf2c3OeRoXydn0upKyIBUXNMK13x

                               

                              Hypseus Singe: https://github.com/DirtBagXon/hypseus-singe/
                              Hypseus Singe 2 conversion Documentation: https://github.com/DirtBagXon/hypseus_singe_data

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

                                Further features in line with Daphne.

                                CRT, Laserdisc artifacts - Scanlines and Blanking Searches:

                                https://www.youtube.com/watch?v=LoFPJxeQI3Y&list=PLRLuhkf2c3OeRoXydn0upKyIBUXNMK13x&index=1

                                lair scanlines

                                badlands scanlines

                                Hypseus Singe: https://github.com/DirtBagXon/hypseus-singe/
                                Hypseus Singe 2 conversion Documentation: https://github.com/DirtBagXon/hypseus_singe_data

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

                                  Singe integration should now be significantly easier in emulation console environments as of version 2.6.1.

                                  I have added a new argument (-retropath) to Singe games that will rewrite the LUA data paths, on the fly, to match the standard Daphne folder structure:

                                  singe/timegal/
                                  

                                  to

                                  singe/../timegal.daphne/
                                  

                                  Which, although still requires the ‘singe’ subdirectory, the directory can, and should, remain empty.

                                  This removes the need for sym linking peripheral data in the subdirectory.

                                  Further details are in latest RetroPie documentation and implementation is in daphne.sh script.

                                  Hypseus Singe: https://github.com/DirtBagXon/hypseus-singe/
                                  Hypseus Singe 2 conversion Documentation: https://github.com/DirtBagXon/hypseus_singe_data

                                  1 Reply Last reply Reply Quote 0
                                  • Pitch64
                                    Pitch64 Staff last edited by Pitch64

                                    I have a little question about your core as I'm testing it on next future release.

                                    On ActionMax games, once the ActionMax intro finished to play, Hypseus refuses to play other m2v files and exits with the error Could not RenderTarget in get_pixel. What could be the cause to have this error? The called .m2v is bad?

                                    Thanks 🙂

                                    Edit: it seems you edited the function with this error message on v2.5.4, and we are testing v2.4.8. My error could come from this 🙂

                                    Pi4 8gb / Pi5 4gb / Pi02W / OGS / PC
                                    Next release? Soon™

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

                                      @pitch64

                                      The way the YUV is rendered in a SDL2 texture within Hypseus made the function that reads the pixels far more difficult than it should be. I made some comments in the README of this repo:

                                      https://github.com/DirtBagXon/hypseus_singetwo_data/tree/master/actionmax

                                      You can try using the -nohwaccel option but on the Pi but this will probably lower your framerate to unacceptable levels. At this point I don't have a solution on the Pi until, I currently believe, X11 and SDL2 support is improved. ActionMax works fine on the Linux desktops, Windows and Mac ports.

                                      However, as you mention versions, from v2.6.1 (very recent) adding Singe support to emulation stations will become vastly simplified using the -retropath argument. This performs on-the-fly LUA path rewrites for singe peripheral data, which removes the need for the singe sub-directory completely. I posted some early data above (which I can no longer edit), but the latest details are commented here:

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

                                      You may want, if you forgive the link, look here too: https://retropie.org.uk/forum/post/263036

                                      Hypseus Singe: https://github.com/DirtBagXon/hypseus-singe/
                                      Hypseus Singe 2 conversion Documentation: https://github.com/DirtBagXon/hypseus_singe_data

                                      Pitch64 1 Reply Last reply Reply Quote 1
                                      • Pitch64
                                        Pitch64 Staff @DirtBagXon last edited by

                                        @dirtbagxon ok thank you, i'll continue to test others games than the ActionMax ones 🙂

                                        Pi4 8gb / Pi5 4gb / Pi02W / OGS / PC
                                        Next release? Soon™

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

                                          @pitch64

                                          I should also point out that there was a long standing Singe bug that could have random and strange results with video loops etc.

                                          This was fixed in version 2.5.6.

                                          You may or may not hit this issue depending on the game you are trying.

                                          But there are many improvements in the versions after 2.4.8 some specifically for Singe.

                                          I understand you have a release cycle but please bear this in mind.

                                          I can provide a diff for this fix (it's quite small) if you want to go all non-standard for 2.4.8 ?

                                           

                                          Hypseus Singe: https://github.com/DirtBagXon/hypseus-singe/
                                          Hypseus Singe 2 conversion Documentation: https://github.com/DirtBagXon/hypseus_singe_data

                                          DirtBagXon Pitch64 2 Replies Last reply Reply Quote 0
                                          • DirtBagXon
                                            DirtBagXon @DirtBagXon last edited by DirtBagXon

                                            For convenience and at your discretion the patch is to ldp.cpp here:

                                            https://github.com/DirtBagXon/hypseus-singe/commit/8164aab57b6eeee6743329fd158079591349a5fd#diff-1e03eab49b7f8af8ec4060bda6099a7efb6418c56e88aa772424c25809791b0a

                                            Hypseus Singe: https://github.com/DirtBagXon/hypseus-singe/
                                            Hypseus Singe 2 conversion Documentation: https://github.com/DirtBagXon/hypseus_singe_data

                                            1 Reply Last reply Reply Quote 0
                                            • First post
                                              Last post

                                            Want to support us ?

                                            96
                                            Online

                                            99.7k
                                            Users

                                            28.1k
                                            Topics

                                            187.1k
                                            Posts

                                            Copyright © 2021 recalbox.com