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 257.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.
    • G
      grant2258 Banned @grant2258
      last edited by grant2258

      if you remove the dat and do this

      touch lair.dat

      youll get
      [INFO] disable
      [INFO] Environ GET_VARIABLE daphne_useoverlaysb:
      [INFO] enable
      NOTICE : MPEG data file has to be created again!
      [ERROR] Failed to load content.

      ill give you my md5

      md5sum lair.*
      348244a8bbac34837c671398c559202c lair.dat
      42f0343efaedac29deb12726f4d62b52 lair.m2v
      1dc644a30b14526338c1af756b5cdb5c lair.ogg
      490e97e7d930ca512421b40f2a05ea9f lair.txt

      johnodonJ Stuart2773S 2 Replies Last reply Reply Quote 0
      • johnodonJ
        johnodon
        last edited by

        How do I update from bin? Wasn't that option removed from RP?

        assume you mean gdb? The below output is what I get when running against my currently installed RA:

        pi@m92:~/RetroPie/roms/daphne$ gdb -args /opt/retropie/emulators/retroarch/bin/retroarch -L /opt/retropie/libretrocores/lr-daphne/daphne_libretro.so --config /opt/retropie/configs/all/retroarch.cfg /home/pi/RetroPie/roms/daphne/roms/lair.zip --verbose
        GNU gdb (Ubuntu 8.1-0ubuntu3) 8.1.0.20180409-git
        Copyright (C) 2018 Free Software Foundation, Inc.
        License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
        This is free software: you are free to change and redistribute it.
        There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
        and "show warranty" for details.
        This GDB was configured as "x86_64-linux-gnu".
        Type "show configuration" for configuration details.
        For bug reporting instructions, please see:
        <http://www.gnu.org/software/gdb/bugs/>.
        Find the GDB manual and other documentation resources online at:
        <http://www.gnu.org/software/gdb/documentation/>.
        For help, type "help".
        Type "apropos word" to search for commands related to "word"...
        Reading symbols from /opt/retropie/emulators/retroarch/bin/retroarch...(no debugging symbols found)...done.
        (gdb) bt
        No stack.
        (gdb)
        
        1 Reply Last reply Reply Quote 0
        • johnodonJ
          johnodon @grant2258
          last edited by johnodon

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

          if you remove the dat and do this

          touch lair.dat

          youll get
          [INFO] disable
          [INFO] Environ GET_VARIABLE daphne_useoverlaysb:
          [INFO] enable
          NOTICE : MPEG data file has to be created again!
          [ERROR] Failed to load content.

          ill give you my md5

          md5sum lair.*
          348244a8bbac34837c671398c559202c lair.dat
          42f0343efaedac29deb12726f4d62b52 lair.m2v
          1dc644a30b14526338c1af756b5cdb5c lair.ogg
          490e97e7d930ca512421b40f2a05ea9f lair.txt

          I renamed lair.dat to lair.dat.orig' and tourched lair.dat` to get a 0 byte file. Running core again...

          Now in the daphne_log.txt...

          --DAPHNE version 1.0.7
          --Command line is: daphne lair vldp -framefile lair.txt -fullscreen -seek_frames_per_ms 20 -min_seek_delay 1000 -fastboot -cheat -useoverlaysb 0 -homedir /home/pi/RetroPie/roms/daphne/roms/.. 
          --CPU : UnknownCPU 0 MHz || Mem : 0 megs
          --OS : Unknown OS || Video : Unknown video
          --OpenGL: Not Compiled In
          --RGB2YUV Function: C
          --Line Blending Function: C
          --Audio Mixing Function: C
          Setting alternate home dir:
          /home/pi/RetroPie/roms/daphne/roms/..
          NOTE : Max seek delay disabled
          NOTE : Min seek delay disabled
          Framefile parse succeeded. Video/Audio directory is: /home/pi/RetroPie/roms/daphne/roms/../framefile/./
          LDP-VLDP INFO : opening video file . . .
          ../lair.daphne/lair.m2v
          YUV overlay is done in RetroArch.
          Initializing sound system ... 
          Loading 'saveme.wav' failed...
          ERROR: one or more required sound sample files could not be loaded!
          Sound initialization failed!
          vid_flip not supported in this thread.
          vid_flip not supported in this thread.
          

          verbose log...

          pi@m92:~/RetroPie/roms/daphne/framefile$ /opt/retropie/emulators/retroarch/bin/retroarch -L /opt/retropie/libretrocores/lr-daphne/daphne_libretro.so --config /opt/retropie/configs/all/retroarch.cfg /home/pi/RetroPie/roms/daphne/roms/lair.zip --verbose
          [INFO] RetroArch 1.7.3 (Git b2ceb50)
          [INFO] Redirecting save file to "/home/pi/RetroPie/roms/daphne/roms/lair.srm".
          [INFO] Redirecting savestate to "/home/pi/RetroPie/roms/daphne/roms/lair.state".
          [INFO] === Build =======================================
          Capabilities: MMX MMXEXT SSE1 SSE2 SSE3 SSSE3 SSE4 SSE4.2 AVX AES
          Built: Aug 13 2018
          [INFO] Version: 1.7.3
          [INFO] Git: b2ceb50
          [INFO] =================================================
          [INFO] Loading dynamic libretro core from: "/opt/retropie/libretrocores/lr-daphne/daphne_libretro.so"
          [INFO] [overrides] no core-specific overrides found at /home/pi/.config/retroarch/config/Daphne/Daphne.cfg.
          [INFO] [overrides] no game-specific overrides found at /home/pi/.config/retroarch/config/Daphne/lair.cfg.
          [INFO] Shaders: preset directory: /home/pi/.config/retroarch/shaders/presets
          [INFO] Shaders: no game-specific preset found at /home/pi/.config/retroarch/shaders/presets/Daphne/lair.cgp.
          [INFO] Shaders: no game-specific preset found at /home/pi/.config/retroarch/shaders/presets/Daphne/lair.glslp.
          [INFO] Shaders: no parent-dir-specific preset found at /home/pi/.config/retroarch/shaders/presets/Daphne/roms.cgp.
          [INFO] Shaders: no parent-dir-specific preset found at /home/pi/.config/retroarch/shaders/presets/Daphne/roms.glslp.
          [INFO] Shaders: no core-specific preset found at /home/pi/.config/retroarch/shaders/presets/Daphne/Daphne.cgp.
          [INFO] Shaders: no core-specific preset found at /home/pi/.config/retroarch/shaders/presets/Daphne/Daphne.glslp.
          [INFO] Environ SET_VARIABLES.
          [INFO] Remaps: remap directory: /home/pi/.config/retroarch/config/remaps
          [INFO] Remaps: no game-specific remap found at /home/pi/.config/retroarch/config/remaps/Daphne/lair.rmp.
          [INFO] Remaps: no core-specific remap found at /home/pi/.config/retroarch/config/remaps/Daphne/Daphne.rmp.
          [INFO] Redirecting save file to "/home/pi/RetroPie/roms/daphne/roms/lair.srm".
          [INFO] Redirecting savestate to "/home/pi/RetroPie/roms/daphne/roms/lair.state".
          [INFO] Environ SET_PIXEL_FORMAT: RGB565.
          [INFO] Environ SET_INPUT_DESCRIPTORS:
          [INFO]  RetroPad, User 1, Button "B (bottom)" => "B"
          [INFO]  RetroPad, User 1, Button "Y (left)" => "Y"
          [INFO]  RetroPad, User 1, Button "Select" => "Select"
          [INFO]  RetroPad, User 1, Button "Start" => "Start"
          [INFO]  RetroPad, User 1, Button "D-Pad Up" => "Up"
          [INFO]  RetroPad, User 1, Button "D-Pad Down" => "Down"
          [INFO]  RetroPad, User 1, Button "D-Pad Left" => "Left"
          [INFO]  RetroPad, User 1, Button "D-Pad Right" => "Right"
          [INFO]  RetroPad, User 1, Button "A (right)" => "A"
          [INFO]  RetroPad, User 1, Button "X (up)" => "X"
          [INFO]  RetroPad, User 1, Button "L" => "L"
          [INFO]  RetroPad, User 1, Button "R" => "R"
          [INFO]  RetroPad, User 1, Button "L3" => "LSB"
          [INFO]  RetroPad, User 1, Button "R3" => "RSB"
          [INFO] Environ GET_LOG_INTERFACE.
          [libretro INFO] daphne-libretro: Logging initialized.
          [libretro INFO] daphne-libretro: In retro_init.
          [INFO] Environ PERFORMANCE_LEVEL: 4.
          [INFO] Content loading skipped. Implementation will load it on its own.
          [libretro ERROR] daphne-libretro: In retro_load_game, path is: /home/pi/RetroPie/roms/daphne/roms/lair.zip
          [libretro INFO] daphne-libretro: In retro_load_game_get_path, full path from LR. Path: /home/pi/RetroPie/roms/daphne/roms/lair.zip
          [libretro INFO] daphne-libretro: In retro_load_game_get_path, full path size from LR. Path: 43
          [libretro INFO] daphne-libretro: In retro_load_game_get_path, filename and extension. Filename: lair.zip
          [libretro INFO] daphne-libretro: In retro_load_game_get_path, extension. Extension: zip
          [libretro INFO] daphne-libretro: In retro_load_game_get_path, final file. Path: /home/pi/RetroPie/roms/daphne/roms  Name: lair  Ext: zip
          [INFO] Environ GET_VARIABLE daphne_emulate_seek:
          [INFO]  enable
          [INFO] Environ GET_VARIABLE daphne_emulate_seek:
          [INFO]  enable
          [INFO] Environ GET_VARIABLE daphne_cheat:
          [INFO]  disable
          [INFO] Environ GET_VARIABLE daphne_useoverlaysb:
          [INFO]  enable
          [ERROR] Failed to load content.
          [libretro INFO] daphne-libretro: In retro_deinit.
          Segmentation fault (core dumped)
          
          1 Reply Last reply Reply Quote 0
          • G
            grant2258 Banned
            last edited by grant2258

            do a git pull you might not have picked up the latest fix

            https://github.com/libretro/daphne/commit/6ee0e677d9bb95b7524844f4aa508f047ff74f85

            i put the pull req in last night was pushed 5 hours ago

            johnodonJ 1 Reply Last reply Reply Quote 0
            • johnodonJ
              johnodon @grant2258
              last edited by

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

              do a git pull you might not have picked up the latest fix

              https://github.com/libretro/daphne/commit/6ee0e677d9bb95b7524844f4aa508f047ff74f85

              i put the pull req in last night was pushed 5 hours ago

              Already up to date and file sizes are exact.

              pi@m92:~/daphne$ ls -la
              total 3072
              drwxrwxr-x  6 pi pi    4096 Aug 15 14:10 .
              drwxr-xr-x 18 pi pi    4096 Aug 15 14:09 ..
              drwxrwxr-x  4 pi pi    4096 Aug 15 14:09 assets
              drwxrwxr-x  6 pi pi    4096 Aug 15 14:09 daphne
              -rwxrwxr-x  1 pi pi 3076176 Aug 15 14:10 daphne_libretro.so
              drwxrwxr-x  5 pi pi    4096 Aug 15 14:09 deps
              drwxrwxr-x  8 pi pi    4096 Aug 15 14:09 .git
              -rw-rw-r--  1 pi pi      39 Aug 15 14:09 link.T
              -rw-rw-r--  1 pi pi    4664 Aug 15 14:09 Makefile
              -rw-rw-r--  1 pi pi   10718 Aug 15 14:09 Makefile.common
              -rw-rw-r--  1 pi pi   13391 Aug 15 14:09 README.md
              pi@m92:~/daphne$ git pull
              Already up to date.
              pi@m92:~/daphne$ ls -la /opt/retropie/libretrocores/lr-daphne/
              total 3016
              drwxr-xr-x 2 root root    4096 Aug 15 11:27 .
              drwxr-xr-x 7 root root    4096 Aug 15 11:26 ..
              -rw-r--r-- 1 root root 3076176 Aug 15 11:27 daphne_libretro.so
              
              1 Reply Last reply Reply Quote 0
              • G
                grant2258 Banned
                last edited by

                type git reset --hard origin
                what does the output say

                johnodonJ 1 Reply Last reply Reply Quote 0
                • johnodonJ
                  johnodon @grant2258
                  last edited by

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

                  type git reset --hard origin
                  what does the output say

                  pi@m92:~/daphne$ git reset --hard origin
                  HEAD is now at 6ee0e67 Merge pull request #25 from grant2258/master
                  
                  G 1 Reply Last reply Reply Quote 0
                  • G
                    grant2258 Banned @johnodon
                    last edited by

                    do
                    git reset --hard origin/master

                    johnodonJ 1 Reply Last reply Reply Quote 0
                    • johnodonJ
                      johnodon @grant2258
                      last edited by

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

                      do
                      git reset --hard origin/master

                      pi@m92:~/daphne$ git reset --hard origin/master
                      HEAD is now at 6ee0e67 Merge pull request #25 from grant2258/master
                      
                      1 Reply Last reply Reply Quote 0
                      • G
                        grant2258 Banned
                        last edited by grant2258

                        never mind in using y repo yours is right
                        i notice your running the bin from another dir
                        make sure to compile and copy the new bin or laatest bin over

                        johnodonJ 1 Reply Last reply Reply Quote 0
                        • johnodonJ
                          johnodon @grant2258
                          last edited by

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

                          you should be here
                          git reset --hard origin/master
                          HEAD is now at d49829b add sound files tro content path

                          This is what master shows on github...

                          Latest commit 6ee0e67 6 hours ago

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

                            please run the bin from the compiled directory or do a

                            make && cp /daphne_libretro.so /opt/retropie/libretrocores/lr-daphne/daphne_libretro.so

                            it look like you bin is pre that commit. The segfault is normal for now on a fail it needs intergrated into retroarch more

                            1 Reply Last reply Reply Quote 0
                            • johnodonJ
                              johnodon
                              last edited by johnodon

                              Running /opt/retropie/emulators/retroarch/bin/retroarch -L /home/pi/daphne/daphne_libretro.so --config /opt/retropie/configs/all/retroarch.cfg /home/pi/RetroPie/roms/daphne/roms/lair.zip --verbose produces the same fault.

                              FYI...from what I can see, my compiled bin is at the same level as what is currently on master (5 hours old). The commit you are referring to is from 16 hours ago (https://github.com/libretro/daphne/commit/d49829b16aa23197fefa9db7bad3133c3511815c)

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

                                ok do this
                                cp -R ~/daphne/assets/sound ./sound

                                /opt/retropie/emulators/retroarch/bin/retroarch -L /home/pi/daphne/daphne_libretro.so --config /opt/retropie/configs/all/retroarch.cfg /home/pi/RetroPie/roms/daphne/roms/lair.zip --verbose

                                if this works its pre this pull req

                                johnodonJ 1 Reply Last reply Reply Quote 0
                                • johnodonJ
                                  johnodon @grant2258
                                  last edited by

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

                                  ok do this
                                  cp -R ~/daphne/assets/sound ./sound

                                  /opt/retropie/emulators/retroarch/bin/retroarch -L /home/pi/daphne/daphne_libretro.so --config /opt/retropie/configs/all/retroarch.cfg /home/pi/RetroPie/roms/daphne/roms/lair.zip --verbose

                                  if this works its pre this pull req

                                  That launched! :)

                                  No sound though (probably expected?).

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

                                    @johnodon yes that is expected your bin is pre that pull req please do a make clean make then copy new bin over. Its still experimental stages no eta for audio ect . Right now im worried about this freeze

                                    johnodonJ 1 Reply Last reply Reply Quote 0
                                    • johnodonJ
                                      johnodon @grant2258
                                      last edited by

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

                                      @johnodon yes that is expected your bin is pre that pull req please do a make clean make then copy new bin over. Its still experimental stages no eta for audio ect . Right now im worried about this freeze

                                      Understood. Thanks for the help!

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

                                        @johnodon no problems at all a new bug was pointed out believe it or not it should create the .dat if is doesnt exist . Ill look into that one and i found the problem for the saveme.wav ill fix that too if in a different part of the code

                                        1 Reply Last reply Reply Quote 0
                                        • johnodonJ
                                          johnodon
                                          last edited by johnodon

                                          So wait...does the bin with the commit in question look for assets/sounds in the same location as the bin itself? Your instructions above have the assets/sounds being copied to the daphne folder...

                                          cp -R assets/pics ~/RetroPie/roms/daphne/
                                          cp -R assets/sound ~/RetroPie/roms/daphne/
                                          mkdir ~/RetroPie/roms/daphne/framefile/
                                          

                                          However, the command that fixed this seems to indicate that they should be where the bin is: cp -R ~/daphne/assets/sound ./sound (in this case when launching the bin from the compile dir)

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

                                            im doing the fix for this now teh saveme wave is loaded somewhere else

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