Daphne help?
-
@caver01 said:
Consider the way it works when you are successful. I expect you are running the lair.zip. If you have the folder structure setup correctly, when you select lair, it's looking for the lair.daphne folder, and inside that, it requires each of the framefile components (the lair.txt, the .ogg, the .m2v). Got it? Also, the lair.txt file is basically just a reference to the media files listing the frame offsets.
Now, when you want to try DLE21 you need to have the dle21.zip file in your roms folder (so you can pick that one in Emulation Station), and it needs a corresponding dle21.daphne folder, and inside that, a dle21.txt framefile and so on.
The best way to think about it is that you need a COMPLETE DUPLICATE of everything you have setup with "lair" to be setup with "dle21". This will work but it will also result in a big waste of space because you end up with a copy of the .m2v files. You can avoid that step, but you still need to build out the folder structure, and you definitely need a dle21.txt for it to work. Here's the space-saving trick: Inside the dle21.txt you want to edit it to point to the media files in the lair.daphne folder. The first line of the txt file tells daphne where to look for the files referenced. Usually, it's just a dot: "." to indicate that the media files are right here next to the .txt file. However, you could start off your dle21.txt file with "../lair.daphne/" basically telling the emulator to go up one directory, then down into lair.daphne for the media files. The rest of the .txt references the components and frames just like the lair.txt file does.
This allows you to share the media files among ROMs for the same game by simply replicating the folder structure, but pointing to one single folder with the video/audio.
Sorry if this is confusing, but this is the best way to do it while keeping the names of the ROMs correct.
Another way to go is to open the lair.zip file and replace the contents with files from the DLE21 ROM (or simply rename the ROM zip files). I don't like this approach because then lair.zip is not actually the true lair.zip anymore, and you need to know what you did to change it. Worse, ROMs behave differently with respect to DIP switches you may have specified in a command file. My approach allows you to build out the folder structure for various ROMs, and this allows you to have independent command files (like lair.command, dle21.command, etc.).
Yes I have a proper working directory for the Dragon's Lair DVD which is the standard (lair.txt, the .ogg, the .m2v) and it works perfectly fine.
What I'm asking is how to get the Enhanced version to work since all I can find is the DLE21.zip file, there is no other files I can find in the Daphne downloader or the site you linked. There simply isn't any of the needed files to make another folder, so I guess I'm asking where does one locate the lair.txt, the .ogg, the .m2v for that version. -
@Finhead It uses the same media. In the real world, it uses the same laserdisc. You don't find files because they are not needed. You just copy the existing, or in my long description above, you avoid the copying and simply reference the ones you already have for lair.
-
in other words, create a dle21.daphne folder. inside that, create a dle21.txt file (make a copy of the lair.txt file). Put it in the dle21.daphne folder and name it dle21.txt. Copy the .m2v and the .ogg and the .dat. Put them into the dle21.daphne folder.
You see? You are simply using the lair media to run the DLE21 ROM. Then, save a bunch of space by editing the dle21.txt to point to the lair folder and get rid of the duplicate .m2v and .ogg and .dat. They are not needed if you point to the files in lair.daphne.
-
@caver01 said:
in other words, create a dle21.daphne folder. inside that, create a dle21.txt file (make a copy of the lair.txt file). Put it in the dle21.daphne folder and name it dle21.txt. Copy the .m2v and the .ogg and the .dat. Put them into the dle21.daphne folder.
You see? You are simply using the lair media to run the DLE21 ROM. Then, save a bunch of space by editing the dle21.txt to point to the lair folder and get rid of the duplicate .m2v and .ogg and .dat. They are not needed if you point to the files in lair.daphne.
Ah yes that does indeed work, not sure why I thought there would be other files.
Thank you very much for the help on that. :) -
I'm not sure if I can piggyback here for help with Daphne. I was running the install script and my Pi locked up. I did a reboot and started it again. It completed successfully the second time and I see the roms folder and the config folder but there's no menu option after populating the roms folder and restarting the Emulationstation/Pi. Did the crash mess something up or am I missing something to run Daphne?
In the Logs I am seeing a lot of "No such file or directory". I am running 3.7, updated the script and reinstalled. It seems to run to completion.
= = = = = = = = = = = = = = = = = = = = =
Configuring 'daphne' : Daphne - Laserdisc Emulator
= = = = = = = = = = = = = = = = = = = = =/opt/retropie/supplementary/emulationstation
Log ended at: Thu Apr 21 13:09:59 CDT 2016
Total running time: 0 hours, 4 mins, 58 secsLog errors:
make[1]: Entering directory '/home/pi/RetroPie-Setup/tmp/build/daphne/src/ldp-out' Makefile:15: sony.d: No such file or directory Makefile:15: pioneer.d: No such file or directory Makefile:15: ld-v6000.d: No such file or directory Makefile:15: hitachi.d: No such file or directory Makefile:15: philips.d: No such file or directory Makefile:15: ldp.d: No such file or directory Makefile:15: framemod.d: No such file or directory Makefile:15: ldp-combo.d: No such file or directory Makefile:15: ldp-vldp.d: No such file or directory Makefile:15: ldp-vldp-audio.d: No such file or directory Makefile:15: ldp-vldp-gl.d: No such file or directory Makefile:15: ldp-vldp-gp2x.d: No such file or directory make[1]: Entering directory '/home/pi/RetroPie-Setup/tmp/build/daphne/src/cpu' Makefile:15: cpu.d: No such file or directory Makefile:15: mamewrap.d: No such file or directory Makefile:15: cpu-debug.d: No such file or directory Makefile:15: m80.d: No such file or directory Makefile:15: mc6809.d: No such file or directory Makefile:15: 6809infc.d: No such file or directory Makefile:15: nes6502.d: No such file or directory Makefile:15: nes_6502.d: No such file or directory Makefile:15: cop.d: No such file or directory Makefile:15: copintf.d: No such file or directory make[1]: Entering directory '/home/pi/RetroPie-Setup/tmp/build/daphne/src/io' Makefile:16: input.d: No such file or directory Makefile:16: serial.d: No such file or directory Makefile:16: conout.d: No such file or directory Makefile:16: cmdline.d: No such file or directory Makefile:16: conin.d: No such file or directory Makefile:16: parallel.d: No such file or directory Makefile:16: error.d: No such file or directory Makefile:16: network.d: No such file or directory Makefile:16: sram.d: No such file or directory Makefile:16: fileparse.d: No such file or directory Makefile:16: unzip.d: No such file or directory Makefile:16: mpo_fileio.d: No such file or directory Makefile:16: numstr.d: No such file or directory Makefile:16: homedir.d: No such file or directory Makefile:16: logger.d: No such file or directory Makefile:16: logger_console.d: No such file or directory Makefile:16: logger_factory.d: No such file or directory make[1]: Entering directory '/home/pi/RetroPie-Setup/tmp/build/daphne/src/game' Makefile:18: game.d: No such file or directory Makefile:18: boardinfo.d: No such file or directory Makefile:18: lair.d: No such file or directory Makefile:18: superd.d: No such file or directory Makefile:18: thayers.d: No such file or directory Makefile:18: astron.d: No such file or directory Makefile:18: firefox.d: No such file or directory Makefile:18: cliff.d: No such file or directory Makefile:18: speedtest.d: No such file or directory Makefile:18: seektest.d: No such file or directory Makefile:18: cputest.d: No such file or directory Makefile:18: ffr.d: No such file or directory Makefile:18: esh.d: No such file or directory Makefile:18: laireuro.d: No such file or directory Makefile:18: badlands.d: No such file or directory Makefile:18: starrider.d: No such file or directory Makefile:18: bega.d: No such file or directory Makefile:18: multicputest.d: No such file or directory Makefile:18: cobraconv.d: No such file or directory Makefile:18: gpworld.d: No such file or directory Makefile:18: interstellar.d: No such file or directory Makefile:18: benchmark.d: No such file or directory Makefile:18: lair2.d: No such file or directory Makefile:18: mach3.d: No such file or directory Makefile:18: lgp.d: No such file or directory Makefile:18: timetrav.d: No such file or directory Makefile:18: releasetest.d: No such file or directory Makefile:18: singe.d: No such file or directory Makefile:18: test_sb.d: No such file or directory
-
@Riverstorm said in Daphne help?:
I'm not sure if I can piggyback here for help with Daphne. I was running the install script and my Pi locked up. I did a reboot and started it again. It completed successfully the second time and I see the roms folder and the config folder but there's no menu option after populating the roms folder and restarting the Emulationstation/Pi. Did the crash mess something up or am I missing something to run Daphne?
You have to setup Daphne a little different then the other emulators.
Here is how you have to structure your ROMS dirctory
You will also need the files from Daphne Downloader to place in the directory as shown. You will need to own a copy of the DVD for Dragon's Lair, Dragon's Lair 2 and Space Ace for the downloader to grab the files you need. It needs to verify this before hand. -
@Finhead said in Daphne help?:
You have to setup Daphne a little different then the other emulators.
Thanks Fin, I didn't give you all the information. Sorry, I did use that page for my directory layout. I do have the directory structure in place and the files in the correct directories. What I mean is the main screen, not the in emulator detail view but I mean I don't have the Daphne emulator to choose as an option at the main screen if that makes sense. If I look at es_systems.cfg it doesn't have the Daphne emulator in the file.
So I reran /RetroPie-Setup/retropie_setup.sh, choose Experimental packages and 106 daphne. It looks like it completes ok except those errors I pointed out above. I did run it more than once, after a warm reboot, cold reboot to test the insanity theory but still no luck yet. I tried running it from the command line in /opt/retropie/emulators/dahpne/ but it fails because of my parameter syntax is incorrect. I just don't have it as a menu option to test it all out.
I see the directories look intact and fine:
/opt/retropie/configs/dahpne/
/opt/retropie/emulators/dahpne/
/home/pi/RetroPie/roms/daphneI did download the zip from Daphne Downloader and put the files under /opt/retropie/emulators/daphne/
This is my structure under /home/pi/RetroPie/roms/:
daphne
|-- dle21.daphne
+-- dle21.txt, *.m2v, *.ogg
|--roms
+-- dle21.zip -
@Riverstorm
You shouldn't have to put anything in the /opt/retropie/emulators/daphne dirctory.Your files and roms go into the /home/pi/RetroPie/roms/daphne directory.
If the emulator doesn't show after you have all the files in place I would try reinstalling, I did not get any of those errors when installing. Did you install from the command line rather than through ES?
-
@Finhead said in Daphne help?:
@Riverstorm
You shouldn't have to put anything in the /opt/retropie/emulators/daphne dirctory.Your files and roms go into the /home/pi/RetroPie/roms/daphne directory.
If the emulator doesn't show after you have all the files in place I would try reinstalling, I did not get any of those errors when installing. Did you install from the command line rather than through ES?
Sorry Fin, where do the files from the "Daphne Downloader" go from the link above you provided above? Yes I used ES exactly as shown in the previous post.
Here's the command I ran from the command line and it parsed the files and it's actually running now. I have the HD versions of Dragon's Lair and Space Ace ripped from blu-ray. They look much better than the DVD counterparts. They just look sharper.
/opt/retropie/emulators/daphne.bin dle21 vldp -nohwaccel -framefile /home/pi/RetroPie/roms/daphne/dle21.daphne/dle21.txt -homedir /home/pi/RetroPie/roms/daphne/
My issue is I don't have the correct commands in es_systems.cfg. Could someone copy and paste the lines from that file so I can patch them into mine. I would rather try that then reinstall. As I have done the reinstall more than once and would like to troubleshoot it before reinstalling from a scratch image.
-
@Riverstorm
I don't think Daphne supports the HD versions only the DVD Rom versions (PC/PS2)The files from the downloader goes into the ROMS folder. Here this is what your directory should look like, mind the other folders I have this setup for Attract Mode as well as ES the extra folders are for the frontend video/snaps/wheel etc.
-
@Finhead said in Daphne help?:
@Riverstorm
I don't think Daphne supports the HD versions only the DVD Rom versions (PC/PS2)I really appreciate the help Fin. I am going to start from scratch and see if I can figure out where I went wrong.
You're right Daphne doesn't officially support the HD versions but if you have the game tileset created it works fine. I had to run it via command line due to the install failing to add the emulator to the /opt/retropie/configs/all/emulationstation/es_systems.cfg.
It parsed the files and was working fine minus the inputs. For some reason they have joystick values are out of range in the dainput.ini (i.e. - 14, 15, 16) for KEY_BUTTON1, KEY_BUTTON2 and KEY_BUTTON3 but that's an easy fix.
When using Daphne on Windows you have to use the command line to run the HD versions as well. As you said it's not officially supported but it does indeed work. The only thing you're doing is replacing the original DL tileset with and HD version of the files. The HD versions are really the way to go as they look so much better but prices for the used blu-ray versions on Amazon are ridiculous and if you're lucky and can find a new one they are through the roof.
I will let you know how it goes. I am guessing the crash corrupted something so I need to start from scratch. I really appreciate your help and have a great weekend Fin.
-
Ok, I found my error if you copy /etc/emulationstation/es_systems.cfg to ~/.emulationstation/es_systems.cfg it only updates /etc/emulationstation/es_systems.cfg so it was never showing up in the menu, now it does.
Sorry for all the questions but how do you authenticate the original 20th anniversary DVD box set? I downloaded Daphne on Windows, downloaded Dragon's Lair (in Daphne) and inserted the DVD to authenticate on 'Start' of the game. Do you copy the files over afterwards? I am really stumped here. I see the original DVD is a DVD with a bunch of VOB files so it's not a straight copy I take it?
Is there a way to name DLE21 on the menu to something more meaningful?
I see there is a Pause feature from the keyboard but there's no entry in the dainput.ini. Is that something that would be added in the future by chance? :) I think that would be a handy feature for sure.
-
@Riverstorm said in Daphne help?:
Ok, I found my error if you copy /etc/emulationstation/es_systems.cfg to ~/.emulationstation/es_systems.cfg it only updates /etc/emulationstation/es_systems.cfg so it was never showing up in the menu, now it does.
Sorry for all the questions but how do you authenticate the original 20th anniversary DVD box set? I downloaded Daphne on Windows, downloaded Dragon's Lair (in Daphne) and inserted the DVD to authenticate on 'Start' of the game. Do you copy the files over afterwards? I am really stumped here. I see the original DVD is a DVD with a bunch of VOB files so it's not a straight copy I take it?
Is there a way to name DLE21 on the menu to something more meaningful?
I see there is a Pause feature from the keyboard but there's no entry in the dainput.ini. Is that something that would be added in the future by chance? :) I think that would be a handy feature for sure.
When you startup Daphne DL you'll choose the game you want to get the files for, say Dragon's Lair. Highlight it and click start, it will come up with a window that says it will verify you have the actual DVD click ok and point it to your DVD. It will then verify and torrent the files needed for playing on your PC, those are located in games/Daphne/vldp_dl/lair . Just copy the Lair.m2v,ogg,txt files from there to your pi as I show in the pics I posted.
I'm not sure on changing the name of dle21, I use Attract Mode so I set it up with wheel art a intro video and Marquee so no need to change anything so I never tried it out. -
@Finhead said in Daphne help?:
When you startup Daphne DL you'll choose the game you want to get the files for, say Dragon's Lair. Highlight it and click start, it will come up with a window that says it will verify you have the actual DVD click ok and point it to your DVD. It will then verify and torrent the files needed for playing on your PC, those are located in games/Daphne/vldp_dl/lair . Just copy the Lair.m2v,ogg,txt files from there to your pi as I show in the pics I posted.
I'm not sure on changing the name of dle21, I use Attract Mode so I set it up with wheel art a intro video and Marquee so no need to change anything so I never tried it out.You're a rockstar, thanks Fin! :) I will get them all verified and loaded. That attract mode looks really sharp. I might have to give that a go too but I think I've about had it for the day. It's been a long week. I appreciate all your help and patience with getting Daphne up and running.
-
@Riverstorm said in Daphne help?:
@Finhead said in Daphne help?:
When you startup Daphne DL you'll choose the game you want to get the files for, say Dragon's Lair. Highlight it and click start, it will come up with a window that says it will verify you have the actual DVD click ok and point it to your DVD. It will then verify and torrent the files needed for playing on your PC, those are located in games/Daphne/vldp_dl/lair . Just copy the Lair.m2v,ogg,txt files from there to your pi as I show in the pics I posted.
I'm not sure on changing the name of dle21, I use Attract Mode so I set it up with wheel art a intro video and Marquee so no need to change anything so I never tried it out.You're a rockstar, thanks Fin! :) I will get them all verified and loaded. That attract mode looks really sharp. I might have to give that a go too but I think I've about had it for the day. It's been a long week. I appreciate all your help and patience with getting Daphne up and running.
Hope you get it working, if not I'd say send me a PM but I can't find that option here. You could send me a PM on the AttractMode forum under the same name though if you need. ;)
-
@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.
- Download and install Daphne Loader
- Start Daphne and click "Start" on your preferred game (downloads games via torrent files)
- After it downloads the game it will give you a list of qualifying DVD's to authenticate the game
- Insert correct DVD and click "Ok" to authenticate
- After it completes click "Ok' to start the game and parse the files
- Exit the game and Daphne Loader
- Browse to the install folder and look for the subdirectory named "vldp_dl"
- Under "vldp_dl" look for the game you just installed (i.e. Dragon's Lair=lair; Space Ace=ace; etc.)
- 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
tqThe 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=2525About 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. -
@Riverstorm
Great you got it all sorted.
Keylist to configure Daphne dapinput.ini file. -
@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.
-
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?
-
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.
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.