RetroPie forum home
    • Recent
    • Tags
    • Popular
    • Home
    • Docs
    • Register
    • Login

    New Hypseus and lr-Daphne to add on Retropie-Setup

    Scheduled Pinned Locked Moved Ideas and Development
    daphnelaserdischypseusdaphne confighypseus config
    501 Posts 33 Posters 235.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.
    • SuperFromNDS
      SuperFromND
      last edited by

      Okay, I just managed to boot Dragon's Lair in this core after lots of trial and error with file directories, but the video seems to be corrupted a little bit, and sometimes it just displays black. Not 100% sure if that's an issue with my specific video files or if it's the emulator. This is definetly experimental.

      ▲▼▲▼▲▼▲▼▲▼
      IKEMEN Go
      SRB2Kart
      ▼▲▼▲▼▲▼▲▼▲

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

        @supercatfooz

        Getting this in the experimental section is better than nothing at all, from the videos I've saw they do have games running maybe just problems with you dragons lair, check out the first few minutes of this video to see games running using this core

        SuperFromNDS 1 Reply Last reply Reply Quote 0
        • SuperFromNDS
          SuperFromND @skj
          last edited by SuperFromND

          @skj Yeah, definetly looks like problems with my specific files then. Hrm.

          Edit: Turns out I just needed to move lair.dat into the framefile folder. Everything seems to be running fine now, except for some strange bug where the game will randomly freeze for no discernible reason. [It appears something in the emulator causes the framerate to be set to zero]. From what I can tell, this gets logged whenever the bug occurs:

          Play
          cpu_set_event() : can't find CPU, fix this!
          

          Sound also appears to be totally absent for me.

          ▲▼▲▼▲▼▲▼▲▼
          IKEMEN Go
          SRB2Kart
          ▼▲▼▲▼▲▼▲▼▲

          1 Reply Last reply Reply Quote 1
          • G
            grant2258 Banned
            last edited by

            @SuperCatFooz are you talking about lr-daphne or Hyperseus . I know stretch for Hyperseus had a bug with the threading crashing. There was a patch for it to stop freezing but I believe in the big picture for Hyperseus the bug was in sdl I think this https://github.com/spurious/SDL-mirror/commit/03495f9a7f547cf462725bec4c6093f2b0918724#diff-fd1ad3238b63de0c2ccc5340a6becb3b should fix the hypheus locking issue but there has been many updates to sdl since then on the threading especially that where stretch and sdl have the most issues. When i get time in going to try remove there threading for lr-daphne but its no small thing to do

            SuperFromNDS 1 Reply Last reply Reply Quote 0
            • SuperFromNDS
              SuperFromND @grant2258
              last edited by

              @grant2258 I'm referring to lr-daphne. I haven't tried Hyperseus yet; I tend to avoid non-libretro emulators whenever possible.

              ▲▼▲▼▲▼▲▼▲▼
              IKEMEN Go
              SRB2Kart
              ▼▲▼▲▼▲▼▲▼▲

              1 Reply Last reply Reply Quote 1
              • G
                grant2258 Banned
                last edited by

                There is a patch to remove the cpu error but it causes other problems because of the other threading. I can see if I still have the patch if you want to try it but be aware the ra menu slows down with it

                1 Reply Last reply Reply Quote 0
                • SuperFromNDS
                  SuperFromND
                  last edited by SuperFromND

                  I don't plan on submitting a pull request for this script myself (due to the freezing issues described above), but if anyone wants to install the emulator without much hassle (or if the freezing bug gets fixed in the future), here's the scriptmodule I wrote for lr-daphne:

                  #!/usr/bin/env bash
                  
                  # This file is part of The RetroPie Project
                  #
                  # The RetroPie Project is the legal property of its developers, whose names are
                  # too numerous to list here. Please refer to the COPYRIGHT.md file distributed with this source.
                  #
                  # See the LICENSE.md file at the top-level directory of this distribution and
                  # at https://raw.githubusercontent.com/RetroPie/RetroPie-Setup/master/LICENSE.md
                  #
                  
                  rp_module_id="lr-daphne"
                  rp_module_desc="Laserdisc emu - Daphne port for libretro"
                  rp_module_help="ROM Extension: .daphne\n\nCopy your Daphne roms to $romdir/daphne"
                  rp_module_section="exp"
                  
                  function sources_lr-daphne() {
                      gitPullOrClone "$md_build" https://github.com/libretro/daphne.git
                  }
                  
                  function build_lr-daphne() {
                      make clean
                      make
                      md_ret_require="$md_build/daphne_libretro.so"
                  }
                  
                  function install_lr-daphne() {
                      md_ret_files=(
                          'daphne_libretro.so'
                      )
                  }
                  
                  function configure_lr-daphne() {
                      mkRomDir "daphne"
                      ensureSystemretroconfig "daphne"
                  
                      addEmulator 1 "$md_id" "daphne" "$md_inst/daphne_libretro.so"
                      addSystem "daphne"
                  }
                  

                  And for those who can't quite figure out what goes where, here's my file heirarchy, rendered in glorious text characters.

                  ▲▼▲▼▲▼▲▼▲▼
                  IKEMEN Go
                  SRB2Kart
                  ▼▲▼▲▼▲▼▲▼▲

                  S 1 Reply Last reply Reply Quote 4
                  • V
                    vikingrock @Stuart2773
                    last edited by vikingrock

                    @stuart2773 Hey Stuart. Now We have a compiled code, maybe you can make a new request on GitHub.

                    1 Reply Last reply Reply Quote 0
                    • G
                      grant2258 Banned
                      last edited by

                      the code always compiled the freezing issue meeds addressed though.

                      If this freeze doesnt happen in jessie. I would initially suspect it is tsx (Transactional Synchronization eXtensions) related if the arm processors support this would need to look into it more though.

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

                        @supercatfooz said in Hypseus new Daphne fork to try on Retropie:

                        I don't plan on submitting a pull request for this script myself (due to the freezing issues described above), but if anyone wants to install the emulator without much hassle (or if the freezing bug gets fixed in the future), here's the scriptmodule I wrote for lr-daphne:

                        #!/usr/bin/env bash
                        
                        # This file is part of The RetroPie Project
                        #
                        # The RetroPie Project is the legal property of its developers, whose names are
                        # too numerous to list here. Please refer to the COPYRIGHT.md file distributed with this source.
                        #
                        # See the LICENSE.md file at the top-level directory of this distribution and
                        # at https://raw.githubusercontent.com/RetroPie/RetroPie-Setup/master/LICENSE.md
                        #
                        
                        rp_module_id="lr-daphne"
                        rp_module_desc="Laserdisc emu - Daphne port for libretro"
                        rp_module_help="ROM Extension: .daphne\n\nCopy your Daphne roms to $romdir/daphne"
                        rp_module_section="exp"
                        
                        function sources_lr-daphne() {
                            gitPullOrClone "$md_build" https://github.com/libretro/daphne.git
                        }
                        
                        function build_lr-daphne() {
                            make clean
                            make
                            md_ret_require="$md_build/daphne_libretro.so"
                        }
                        
                        function install_lr-daphne() {
                            md_ret_files=(
                                'daphne_libretro.so'
                            )
                        }
                        
                        function configure_lr-daphne() {
                            mkRomDir "daphne"
                            ensureSystemretroconfig "daphne"
                        
                            addEmulator 1 "$md_id" "daphne" "$md_inst/daphne_libretro.so"
                            addSystem "daphne"
                        }
                        

                        And for those who can't quite figure out what goes where, here's my file heirarchy, rendered in glorious text characters.

                        I how do I install this on my raspberry Pi?

                        SuperFromNDS 1 Reply Last reply Reply Quote 0
                        • SuperFromNDS
                          SuperFromND @skj
                          last edited by

                          @skj Navigate to /home/pi/RetroPie-Setup/scriptmodules/libretrocores, then create a new file named lr-daphne.sh, and paste the above shell script. Save the file, and you're pretty much done.

                          You'll want to install something like WinSCP before doing this; it makes the process a lot easier than trying to do it over PuTTY or on the Pi itself.

                          ▲▼▲▼▲▼▲▼▲▼
                          IKEMEN Go
                          SRB2Kart
                          ▼▲▼▲▼▲▼▲▼▲

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

                            @supercatfooz

                            Ok I did all of that but I don't see any option to run lr-daphne or select it as an emulator? Is there anything else I need to do? I'm a complete newbie with GitHub stuff and scripts any help would be much appreciated.

                            SuperFromNDS 1 Reply Last reply Reply Quote 0
                            • SuperFromNDS
                              SuperFromND @skj
                              last edited by

                              @skj You'll need to run the script from RetroPie Setup to install the emulator. It'll be in the "experimental" section.

                              ▲▼▲▼▲▼▲▼▲▼
                              IKEMEN Go
                              SRB2Kart
                              ▼▲▼▲▼▲▼▲▼▲

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

                                @supercatfooz

                                Can you explain step by step how to do this as i dont know how to install the lr-daphne.sh from the retropie setup menu. Thanks

                                SuperFromNDS 1 Reply Last reply Reply Quote 0
                                • SuperFromNDS
                                  SuperFromND @skj
                                  last edited by

                                  @skj See here.

                                  ▲▼▲▼▲▼▲▼▲▼
                                  IKEMEN Go
                                  SRB2Kart
                                  ▼▲▼▲▼▲▼▲▼▲

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

                                    @supercatfooz

                                    The lr-daphne is not showing in the experimental section. That is where im getting confused i cant install the emulator as it does not appear in that section :s

                                    mediamogulM 1 Reply Last reply Reply Quote 0
                                    • mediamogulM
                                      mediamogul Global Moderator @skj
                                      last edited by

                                      @skj

                                      Did you update your RetroPie-Setup script first from the root menu?

                                      RetroPie v4.5 • RPi3 Model B • 5.1V 2.5A PSU • 16GB SanDisk microSD • 512GB External Drive

                                      S cyperghostC 2 Replies Last reply Reply Quote 0
                                      • S
                                        skj @mediamogul
                                        last edited by

                                        @mediamogul

                                        Yes, I created the above mentioned lr-daphne.sh script, placed it in the above mention folder, then updated the retropie setup script and nothing for lr-daphne appears in the manage pacakages experimental section, that where I'm up to :s

                                        1 Reply Last reply Reply Quote 0
                                        • cyperghostC
                                          cyperghost @mediamogul
                                          last edited by cyperghost

                                          @mediamogul @skj
                                          I took file to my github
                                          Please download with

                                          1. Download Scriptmodule with: wget http://raw.githubusercontent.com/crcerror/RetroPie-Shares/master/daphne-dev.sh -O /home/pi/RetroPie-Setup/scriptmodules/ports/daphne-dev.sh
                                          2. Go to ES and select Configuration (the RetroJoy), select RetroPie Setup or just type sudo ~/RetroPie-Setup/retropie_setup.sh
                                          3. On blue dialog, navigate to P Manage packages
                                          4. Select exp Manage experimental packages
                                          5. Run down the list, there select xxx lr-daphne (Read bottom line it should say: Laserdisc emu - Daphne port for libretro)
                                          6. Select S Install from source
                                          S 1 Reply Last reply Reply Quote 4
                                          • G
                                            grant2258 Banned
                                            last edited by

                                            @skj said in Hypseus new Daphne fork to try on Retropie:

                                            make

                                            i would suggest you change make to
                                            make platform=pi -j4

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