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.4k 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.
    • B
      bronze
      last edited by

      @DirtBagXon thanks heaps for the quick reply, will tackle this later in the week!

      1 Reply Last reply Reply Quote 0
      • pjftP
        pjft
        last edited by pjft

        @Darksavior and I finally fixed Road Blaster on the Pi.

        https://github.com/RetroPie/daphne-emu/pull/17

        Feeling badass.

        EDIT: it's now been merged, so installing Daphne from source should work. It may even fix Bega's Battle or others, as I believe the code is shared, but no promises there.

        IMG_3433.jpg

        IMG_3434.jpg

        Feel free to test the code here until it's approved:

        https://github.com/pjft/daphne-emu/tree/patch-1

        DirtBagXonD G 2 Replies Last reply Reply Quote 3
        • DirtBagXonD
          DirtBagXon @pjft
          last edited by DirtBagXon

          @pjft

          https://github.com/DirtBagXon/daphne/commit/7d4bf3cdaff98a795ef2e51a823555e25f574ff9

          Hope you don't mind, I have pushed this into my Daphne and created a pull request back to DavidGriffith/daphne, to keep Daphne alive.

          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 1
          • pjftP
            pjft @DirtBagXon
            last edited by

            @DirtBagXon Don't mind at all - thank you.

            Actually, a more accurate - or perhaps complementary fix - which I submitted to the repo as well is to compile things with -fsigned-char. You might want to send it over as well.

            https://github.com/RetroPie/daphne-emu/commit/40ce24dd136356d903eb6476ff9dfcef12e7d8bd

            Hope it helps - glad to help keep it alive.

            As for the PR in your repo, I fully understand where you're coming from - I didn't have time yet to revise the code (you can tell where I spent my time :D ) but I should get to it at some point. Don't take my silence as having disagreed with your comments. :)

            Thanks.

            1 Reply Last reply Reply Quote 0
            • G
              gomisensei @pjft
              last edited by

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

              @Darksavior and I finally fixed Road Blaster on the Pi.

              https://github.com/RetroPie/daphne-emu/pull/17

              Feeling badass.

              EDIT: it's now been merged, so installing Daphne from source should work. It may even fix Bega's Battle or others, as I believe the code is shared, but no promises there.

              Can confirm bega's battle works due to this change...

              pjftP 1 Reply Last reply Reply Quote 1
              • pjftP
                pjft @gomisensei
                last edited by

                @gomisensei Awesome - great to hear.

                If anyone can check whether BadLands works with the new build from source (from right about now, as I submitted more changes to the build process), that'd be interesting. I don't have any recollection or suggestion that Badlands should work because of this change, though, but doesn't hurt.

                Thanks.

                G S 2 Replies Last reply Reply Quote 1
                • G
                  gomisensei @pjft
                  last edited by gomisensei

                  @pjft badlands doesn't seem to work, even after changes to the Makefile the log shows

                  YUV overlay is done in software (ie unaccelerated).
                  Booting ROM ...
                  Write to ffff with 0
                  Write to ffff with 0
                  Write to 1 with 0
                  Write to ff with 0
                  

                  repeating over and over and no video shows, tho I can still exit cleanly.

                  edit: tried the prototype rom as well, threw up different numbers, but same result.

                  pjftP 1 Reply Last reply Reply Quote 0
                  • pjftP
                    pjft @gomisensei
                    last edited by

                    @gomisensei Thanks for checking.

                    Do you know if it works on Windows/other OS? Road Blaster did, which led me down the right path.

                    I don't have the game to test, but in this case it was really a matter of a data type cast that was causing the wrong memory address to be read and written to.

                    G 1 Reply Last reply Reply Quote 0
                    • G
                      gomisensei @pjft
                      last edited by gomisensei

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

                      @gomisensei Thanks for checking.

                      Do you know if it works on Windows/other OS? Road Blaster did, which led me down the right path.

                      I don't have the game to test, but in this case it was really a matter of a data type cast that was causing the wrong memory address to be read and written to.

                      not sure, i don't have the emulator set up on windows, but according to the Dragons Lair project, it IS working in daphne...

                      Edit: just tested on windows, seems to work...

                      pjftP 1 Reply Last reply Reply Quote 1
                      • pjftP
                        pjft @gomisensei
                        last edited by

                        @gomisensei Thanks.

                        ...I may look into it at some point, but it's not a short term priority. Feel free to ping me here if I haven't updated the topic in 3-4 weeks.

                        I don't have the game, and I have a few other things on my plate. And it depends if I can get it to work on Linux, as that's what helped me figure out what was not working on the Pi. So a few "ifs".

                        Thanks.

                        DarksaviorD 1 Reply Last reply Reply Quote 0
                        • DarksaviorD
                          Darksavior @pjft
                          last edited by Darksavior

                          @pjft Amazing, Road Blaster finally works! Thanks.
                          Not sure if it's the latest pi updates or retropie's daphne emulator needs to be updated for it, but I get a black screen when using the new kms driver. I had to go back to the fkms driver to get video.

                          pjftP 1 Reply Last reply Reply Quote 1
                          • pjftP
                            pjft @Darksavior
                            last edited by

                            @Darksavior Interesting - but was it working before on the kms driver?

                            I can assure you that nothing was changed on that end, so I'm curious: if it was working before, and you can reinstall it from somewhere from source to make it work like before I can let you know what to change in the source.

                            If it wasn't before, I don't have any ideas - maybe trying sudo xinit and seeing if it helps?

                            roslofR DarksaviorD 2 Replies Last reply Reply Quote 0
                            • roslofR
                              roslof @pjft
                              last edited by roslof

                              @pjft FWIW: Bega's Battle (bega) is indeed working now. So good, man!
                              EDIT: Looks like @gomisensei already reported this. :)

                              1 Reply Last reply Reply Quote 1
                              • DarksaviorD
                                Darksavior @pjft
                                last edited by Darksavior

                                @pjft Oh, I wasn't meaning to say that you did something. The prebuilt binary is giving me the same issues. Might've been a new driver update since the last time I tried.

                                pjftP 1 Reply Last reply Reply Quote 0
                                • pjftP
                                  pjft @Darksavior
                                  last edited by

                                  @Darksavior Didn't read it as if you were suggesting I did - I was just curious if installing the new version had broken something on your setup, and trying to figure out workarounds :)

                                  At least we now have Time Gal and Road Blaster on RetroPie, which is awesome!

                                  By the way, maybe you can help me grok the controls here. I know the crosshair is used to aim at some point in the game, but other than that does it influence the steering directions? I can't quite get to grips with the game reacting to my steering controls reliably, but maybe it's because I'm thinking that the crosshair represents the steering wheel direction. For the directions is it more of a "tap the direction when the arrow shows" game like Dragon's Lair/Time Gal, and am I just being tricked by the crosshair location?

                                  1 Reply Last reply Reply Quote 0
                                  • shavecatS
                                    shavecat
                                    last edited by

                                    Hey ,
                                    Can i make another Daphne only for Singe ?
                                    just wanna put the singe roms on my harddrive .
                                    And i can run them for the retropie itself like daphne ?
                                    thanks :)

                                    pjftP 1 Reply Last reply Reply Quote 0
                                    • pjftP
                                      pjft @shavecat
                                      last edited by

                                      @shavecat What do you mean? Run things from ES?

                                      What I did on my side of things was call all Singe games (well, only Time Gal, really) "+Start Timegal.sh" as that way it runs that shell script, and it just has

                                      cd <folder of singe binaries>
                                      ./run.sh timegal
                                      

                                      So that's that. Ah, you need to change the es_systems.cfg script in /etc/emulationstation (I believe) and add ".sh" to the Daphne accepted extensions.

                                      I'm sure there are other approaches, maybe others can share their approaches - I didn't mess with emulators.cfg though I imagine that could have been an option.

                                      shavecatS 1 Reply Last reply Reply Quote 1
                                      • shavecatS
                                        shavecat @pjft
                                        last edited by

                                        @pjft
                                        thanks a lot
                                        will give it a try ! :)

                                        1 Reply Last reply Reply Quote 0
                                        • S
                                          skj @pjft
                                          last edited by

                                          @pjft

                                          Bandlands is now working but the sound cuts off on the intro

                                          shavecatS 1 Reply Last reply Reply Quote 1
                                          • shavecatS
                                            shavecat @skj
                                            last edited by

                                            @skj
                                            Really which rom did u use ?
                                            I only getting a black screen in the beginning ...

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