RetroPie forum home
    • Recent
    • Tags
    • Popular
    • Home
    • Docs
    • Register
    • Login
    Please do not post a support request without first reading and following the advice in https://retropie.org.uk/forum/topic/3/read-this-first

    Daphne help?

    Scheduled Pinned Locked Moved Help and Support
    50 Posts 13 Posters 43.5k 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.
    • RiverstormR
      Riverstorm @Finhead
      last edited by Riverstorm

      @Finhead said in Daphne help?:

      That's exactly what I needed to get Daphne running with game menu. Here's the steps if it might help anyone else. Also thanks Caver on the steps to link alternate game ROM versions with the same slate files. That was really handy.

      1. Download and install Daphne Loader
      2. Start Daphne and click "Start" on your preferred game (downloads games via torrent files)
      3. After it downloads the game it will give you a list of qualifying DVD's to authenticate the game
      4. Insert correct DVD and click "Ok" to authenticate
      5. After it completes click "Ok' to start the game and parse the files
      6. Exit the game and Daphne Loader
      7. Browse to the install folder and look for the subdirectory named "vldp_dl"
      8. Under "vldp_dl" look for the game you just installed (i.e. Dragon's Lair=lair; Space Ace=ace; etc.)
      9. You want to copy all the files except the *.bf, *.md5, *.dat files to your Pi using SCP or another program. The directory structure is defined in the official Wiki here: https://github.com/retropie/retropie-setup/wiki/Daphne

      In step 2 it can take a while depending on your internet connection to download the *.bf files. It seems the *.bf files are some type of encrypted file. It's basically all the *.m2v & *.ogg files encrypted.

      In step 4 it can take a while also. It uses the DVD to authenticate all the files but I do not think the downloaded version with the Daphne Loader is the same as the DVD used to authenticate the files. This step uses some decryption key to decrypt the *.bf files to usable *.m2v & *.ogg files after it verifies the DVD. You end up using twice the space as once it completes you have two sets of files the download *.bf files and the decrypted usable files.

      Another thing is if you copy /etc/emulationstation/es_systems.cfg to ~/.emulationstation/es_systems.cfg (most probably don't do this) RetroPie will use es_systems.cfg from the home folder location on bootup.

      The issue is when running the Daphne install from the Experimental packages menu it only updates the /etc/emulationstation/es_systems.cfg and not ~/.emulationstation/es_systems.cfg so it will never show up in your menu.

      It would definitely be handy to have more descriptive game names in the emulator detail view. My list is something like this:

      ace
      cobra
      dle11
      dle21
      lair
      lair2
      sdq
      tq

      The other thing is I wasn't sure on was what to add to the dainput.ini file to use the joystick up, down, left and right directionals. I added KEY_UP=h0up, KEY_DOWN=h0down, etc. for the 3rd parameter which is the joystick settings. I don't think it's doing anything but I didn't know what else to put as they are axis values for the D-Pad but it does seems to work fine.

      Regardless it does fully work using a joystick for everything from inserting coins, starting, playing and exiting the emulator. Also it looks like the keyboard values are exactly the same as MAME defaults which is really handy for a cabinet build.

      It does run very well on the Pi3 without any issues that I could find.

      From the official Wiki on which versions can be used to authenticate with Daphne in step 4:

      It is strongly recommended to use the DVD-Video version on the Dragon's Lair 20th Anniversary Box set (3 DVD set). These versions are sometimes marked as PS2/Xbox compatible. All references to 20th Anniversary Edition in this wiki refer to the DVD-Video version.

      Dragon's Lair
      Try the 20th anniversary DVD-VIDEO edition, not the PC DVD-ROM.
      This single boxset will allow you to play Dragon's Lair, Dragon's Lair II: Timewarp, and Space Ace with Daphne.

      WARNING About 20th Anniversary PC DVD-ROM:
      Digital Leisure also sells a 3-in-1 20th Anniversary PC DVD-ROM which is not supported by DAPHNE. This has confused several people. DAPHNE only supports the DVD-VIDEO 20th Anniversary edition, which works on a DVD player. The PC DVD-ROM does not work on a DVD player, but instead requires a PC. You can read more in this thread: https://www.daphne-emu.com/phpBB2/viewtopic.php?t=2525

      About Dragon's Lair HD (High Definition):
      Digital Leisure also sells a High Definition version of Dragon's Lair called Dragon's Lair HD on PC DVD-Rom. Daphne does not work with this version and we have no plans to make it work at this time.

      Dragon's Lair II: Timewarp
      Try the 20th anniversary DVD-VIDEO edition, not the PC DVD-ROM.
      This single boxset will allow you to play Dragon's Lair, Dragon's Lair II: Timewarp, and Space Ace with Daphne.

      Space Ace
      Try the 20th anniversary DVD-VIDEO edition, not the PC DVD-ROM.
      This single boxset will allow you to play Dragon's Lair, Dragon's Lair II: Timewarp, and Space Ace with Daphne.

      Thayer's Quest
      Try the DVD Video version.

      FinheadF 1 Reply Last reply Reply Quote 0
      • FinheadF
        Finhead @Riverstorm
        last edited by

        @Riverstorm
        Great you got it all sorted.
        Keylist to configure Daphne dapinput.ini file.

        RiverstormR 1 Reply Last reply Reply Quote 0
        • RiverstormR
          Riverstorm @Finhead
          last edited by Riverstorm

          @Finhead said in Daphne help?:

          @Riverstorm
          Great you got it all sorted.
          Keylist to configure Daphne dapinput.ini file.

          I did find that link but aren't those keyboard values? I was trying to find values for joystick directionals (just the D-pad) and not the joystick buttons which are easy to find with the jstest program. Jstest shows the D-pad as an axis and not an actual value like the buttons. I mainly use an XBOX 360 controller with wireless dongle. The first line in my dainput.ini is this:
          KEY_UP = 273 114 h0up (which I am pretty sure the h0up is incorrect).

          I think the D-pad is using the 273 keyboard input value (up arrow) which also works the same for the keyboard and joystick D-pad? So the arrow keys on the keyboard are what is working for the joystick? I don't know exactly how the inputs work but my joystick is working correctly and I don't know why exactly.

          1 Reply Last reply Reply Quote 0
          • darthpaulD
            darthpaul
            last edited by

            After spending hours trying to get past the error message that Fin was getting I had another idea. All my Roms are on a separate USB/SDCard, so I put the Daphne roms and files in the default roms folder and it worked. Can anyone explain why Daphne doesn't like the roms on a separate usb drive?

            mediamogulM 2 Replies Last reply Reply Quote 0
            • mediamogulM
              mediamogul Global Moderator @darthpaul
              last edited by mediamogul

              @darthpaul

              I take it that the method you used for external USB migration involves modifying /home/pi/.emulationstation/es_systems.cfg? If that is the case, you can still keep all the larger game files externally in whatever 'daphne' folder you want, but you must also create /home/pi/RetroPie/roms/daphne/roms/for the smaller rom files. I originally had mine setup that way, but found that the symlinking an external rom folder to satisfy RetroPie's default expectations caused much fewer headaches when updating the system.

              Edit: In answer to your question. The setting for Daphne's expected rom location is just in a different location than the es_systems.cfg where it expects to find the location of the other game files. It might even be hard coded.

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

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

                @darthpaul

                I just have discovered that Daphne expects to find its roms in the application root directory at /opt/retropie/emulators/daphne/roms/. However, this is nothing more than a symlink that points to /home/pi/RetroPie/roms/daphne/roms/. Knowing this, one could migrate their game files externally by altering the es_systems.cfg and replace the symlink with one pointed to the new external daphne directory, allowing both the roms and the game files to be external.

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

                darthpaulD 1 Reply Last reply Reply Quote 0
                • darthpaulD
                  darthpaul @mediamogul
                  last edited by

                  @mediamogul Thanks, I'm going to look into that.

                  1 Reply Last reply Reply Quote 0
                  • M
                    megananthony
                    last edited by

                    Hello Gang,
                    I am officially Stumped. I have checked, rechecked and triple checked my settings and i can not for the life of me get Daphne up and Runnin.
                    I have the most recent daphne version installed. I'm trying to get Dragon's Lair up and running.

                    I have it working on the pc with no issues. Downloaded Daphne, put i my DVD, went through the verification and all that. I installed Daphne through retropie (from Source)and seemed to installed with no problems. It's a retropie 3 with the most recent updates. I took the Rom folder and added it to ~~\retropie\roms\daphne\roms and the took the .m2v the txt and the ogg files , added to lair.daphne folder (and added that to folder to the daphne folder)
                    the txt files's first line is blank and second line reads 151 lair.m2v

                    i've tried a bunch of stuff (added the rom called dle21 over to the rom folder, created a new dl21.daphne folder (and all that jazz)

                    I reboot and ..well, no daphne emulator to select from emulationstation.

                    I dont think it is the rom file and the folder structre, but i have absolutely no clue!
                    Guess i'm wondern if there is a way to check a log file to see whats going on.

                    I can post any/all info if needed.

                    Please, Obi Wan, you are my only hope.

                    M mediamogulM 2 Replies Last reply Reply Quote 0
                    • M
                      megananthony @megananthony
                      last edited by

                      Just a brief update that may be part of the issue:

                      . I have seen posts stating the ROM image (lair.zip) should be large (approx. 7 GB, give or take) . Mine is 18 KB, which is the same size of the install video i watched . THe .M2v file (approx 800 megs) , OG file and TXt file all match up in size with this video as well.

                      1 Reply Last reply Reply Quote 0
                      • andrea_itaA
                        andrea_ita
                        last edited by

                        hello everyone... I ask help for retropie and daphne with "xin mo - joystick"
                        all emu are ok, with joystick, except Dapne.
                        could someone kindly copy me the setting of the file dapinput.ini keys?

                        my file:

                        #value found by vtest js1
                        #button 1 - 10
                        #button 2 - 11
                        #button 3 - 12
                        #button 4 - 13
                        #select 19
                        #start 18

                        [KEYBOARD]
                        KEY_UP = 273 114 5
                        KEY_DOWN = 274 102 7
                        KEY_LEFT = 276 100 8
                        KEY_RIGHT = 275 103 6
                        KEY_BUTTON1 = 306 97 14
                        KEY_BUTTON2 = 308 115 15
                        KEY_BUTTON3 = 32 113 16
                        KEY_START1 = 49 0 18
                        KEY_START2 = 50 0 0
                        KEY_COIN1 = 53 0 19
                        KEY_COIN2 = 54 0 0
                        KEY_SKILL1 = 304 119 0
                        KEY_SKILL2 = 122 105 0
                        KEY_SKILL3 = 120 107 0
                        KEY_SERVICE = 57 0 0
                        KEY_TEST = 283 0 0
                        KEY_RESET = 284 0 0
                        KEY_SCREENSHOT = 293 0 0
                        KEY_QUIT = 27 113 0
                        END

                        columboscoatC 1 Reply Last reply Reply Quote 0
                        • columboscoatC
                          columboscoat Banned @andrea_ita
                          last edited by

                          @andrea_ita I would ask for help on the Daphne forums. You are more likely to get an answer. Daphne is fairly niche and doesn't seem to be a big thing with RetroPie users.

                          andrea_itaA 1 Reply Last reply Reply Quote 0
                          • andrea_itaA
                            andrea_ita @columboscoat
                            last edited by

                            @columboscoat said in Daphne help?:

                            @andrea_ita I would ask for help on the Daphne forums. You are more likely to get an answer. Daphne is fairly niche and doesn't seem to be a big thing with RetroPie users.
                            thanks for your reply.. have you a link of it? regards

                            columboscoatC 1 Reply Last reply Reply Quote 0
                            • columboscoatC
                              columboscoat Banned @andrea_ita
                              last edited by

                              @andrea_ita or start your own thread... rather than tagging on the end of a 9 month old, unsolved topic. Google it. I can't be bothered. Maybe try looking for your own solution first?

                              1 Reply Last reply Reply Quote 0
                              • M
                                megananthony
                                last edited by

                                Didn't mean to be a bother, Colum. Felt my current challenge was better suited to be addressed on an overall OS enviroment scenerion so i asked here as well. Hoping your help will be my solution, if you will offer it.

                                Still no luck getting the emulation to show. Now i added C64 vice and Coleco will correct roms and all, and they aren't showing (but i added Neo Geo and that showed, so who knows).

                                i may just go for a fresh install (...sigh)

                                Dre, here is my input ini, if it helps.


                                Daphne cutom keyboard and joystick mapping

                                Each input is mapped to 2 keyboard keys and one joystick button.

                                A joystick's first analog stick is also automatically mapped.

                                The first two numbers are SDL keyboard codes (or 0 for "none")

                                Find keyboard codes here:

                                http://www.daphne-emu.com/mediawiki/index.php/KeyList

                                The third number is the joystick button code (or 0 for "none")

                                Since 0 is reserved for special meaning, joystick button 0 is identified

                                as 1 here. Button 1 is identified as 2, and so on.

                                Find the button you want to map by running:

                                jstest /dev/input/js0

                                [KEYBOARD]
                                KEY_UP = 273 114 5
                                KEY_DOWN = 274 102 7
                                KEY_LEFT = 276 100 8
                                KEY_RIGHT = 275 103 6
                                KEY_BUTTON1 = 306 97 14
                                KEY_BUTTON2 = 308 115 15
                                KEY_BUTTON3 = 32 113 16
                                KEY_START1 = 49 0 4
                                KEY_START2 = 50 0 0
                                KEY_COIN1 = 53 0 1
                                KEY_COIN2 = 54 0 0
                                KEY_SKILL1 = 304 119 0
                                KEY_SKILL2 = 122 105 0
                                KEY_SKILL3 = 120 107 0
                                KEY_SERVICE = 57 0 0
                                KEY_TEST = 283 0 0
                                KEY_RESET = 284 0 0
                                KEY_SCREENSHOT = 293 0 0
                                KEY_QUIT = 27 113 17
                                END

                                1 Reply Last reply Reply Quote 0
                                • M
                                  megananthony
                                  last edited by

                                  Edit to above,

                                  everything above {KEYBOARD} has a # at the beginning of the line

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

                                    @megananthony said in Daphne help?:

                                    Guess i'm wondern if there is a way to check a log file to see whats going on.

                                    The log can be viewed at /opt/retropie/emulators/daphne/daphne_log.txt

                                    After you check the log, it would greatly benefit you to open up a separate thread for your specific issue. You can restate what you posted above, but also make very sure to follow the guidelines listed here. There are in fact many people here that use Daphne and following these rules will ensure that you get the best help possible.

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

                                    1 Reply Last reply Reply Quote 0
                                    • M
                                      megananthony
                                      last edited by

                                      Thank Med,

                                      Saw your post on the fresh thread. I'm update with the log file and guideline info on the other post. Thanks for takin the time

                                      1 Reply Last reply Reply Quote 0
                                      • M
                                        megananthony
                                        last edited by

                                        There is no log.txt file only the files below:
                                        0_1484375513759_daphne folder info.png

                                        Model or other hardware: n/a
                                        Power Supply used: (If using a Pi) 2.5
                                        RetroPie Version Used 4.1
                                        Built From: RetroPie website
                                        USB Devices connected: logitech usb keyboard/mouse
                                        Controller used: ps4 usb (blue tooth not set yet)
                                        Error messages received: n/a

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

                                          @megananthony

                                          Let's keep the conversation going in your thread now that you have one.

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

                                          1 Reply Last reply Reply Quote 0
                                          • E
                                            EEMAN
                                            last edited by

                                            I just wanted to say that I found this thread doing a google search and wanted to thank everyone with the answers. This has to be, imo, one of the most complex emulation projects I have done. It makes dealing with all the different MAME emulators and rom versions look like a stroll in the park. If anyone runs across this thread looking for help, I found an excellent YouTube video that gives excellent instruction for doing this and even gives you ideas on how to get the DVD-Video media (such as buying, library rentals, borrowing, googling "Dragon's Lair 20th Anniversary DVD-Video ISO", etc). This, hopefully, will save a ton of time for someone. The dapinput.ini file is documented enough inside of it to explain itself fairly well.

                                            Thanks for the contributions everyone.

                                            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.