Daphne Dragon's Lair Enhancement Tutorial?
-
@roslog
Okay, that got it working, mainly.
My issue was the command file. I was trying to call a specific rom version within it and RP Daphne doesn't seem to like that. PC-based Daphne uses this to determine which rom version to apply. The valid commands list is here:
http://www.daphne-emu.com/mediawiki/index.php/CmdLine
Now mine just says:
-fastboot -useoverlaysb 2
This skips the long diagnostic load and puts up a score overlay (just testing this).
The video was stunning, BUT I think I might need something else in commands due to performance. I kept getting errors between scenes that said, "Video parsing" and it would list a percentage of it getting through the parsing. Perhaps this video is just too much for the Pi4b as well?
-
@roslof I suspect the script is making things a bit harder:
#!/bin/bash dir="$1" name="${dir##*/}" name="${name%.*}" if [[ -f "$dir/$name.commands" ]]; then params=$(<"$dir/$name.commands") fi "/opt/retropie/emulators/daphne/daphne.bin" "$name" vldp -nohwaccel -framefile "$dir/$name.txt" -homedir "/opt/retropie/emulators/daphne" -fullscreen $params
My scripting days are long behind me, but it's clear this script is hard-coding a number of things like the $name right before the vldp (which says use a virtual laser disc player) which is forcing "lair" to be the name of the version being run. If this were removed and you then just put the correct version in the commands file then you could run lair, dle11, dle22, etc. This is also a shame as the lair roms have a bug that doesn't support the opening bridge scene.
However, all that said, given the video parsing issues I'm seeing, I have doubts now that this version is even possible on Retropie on a pi4. It was nearly unplayable. Lost two lives when "Video parsing" popped up in the middle of a scene.
-
Got a bit better.
I now have this as my lair.command file:
-fastboot -min_seek_delay 1000 -seek_frames_per_ms 20 -blank_searches -noissues
That did not eliminate the video parsing issues, but it did reduce them dramatically. Perhaps tweaking that some more might do it. I wonder if there's any changes we can make to the pi itself to help with this. It sounds like a video loading performance issue. Perhaps there's an option to increase video caching? I have no idea.
-
@agrajag said in Daphne Dragon's Lair Enhancement Tutorial?:
Got a bit better.
I now have this as my lair.command file:
-fastboot -min_seek_delay 1000 -seek_frames_per_ms 20 -blank_searches -noissues
That did not eliminate the video parsing issues, but it did reduce them dramatically. Perhaps tweaking that some more might do it. I wonder if there's any changes we can make to the pi itself to help with this. It sounds like a video loading performance issue. Perhaps there's an option to increase video caching? I have no idea.
It shouldn't parse during play. Might consider removing/deleting all of the DAT files and letting Daphne rebuild them. Then try playing again.
-
@roslof So you have the HD files playing on your pi without the video parsing?
What's your command file look like?
Also, which version? 4:3? 16:9?
-
@agrajag said in Daphne Dragon's Lair Enhancement Tutorial?:
which is forcing "lair" to be the name of the version being run.
That's not what the script is doing.
"name" is the prefix of the directory name, so in EmulationStation when you launch '''ace.daphne''', name becomes '''ace''' -
@agrajag said in Daphne Dragon's Lair Enhancement Tutorial?:
@roslof So you have the HD files playing on your pi without the video parsing?
What's your command file look like?
Also, which version? 4:3? 16:9?
I'm not using the HD videos.
-
@agrajag said in Daphne Dragon's Lair Enhancement Tutorial?:
the lair roms have a bug that doesn't support the opening bridge scene.
The original Dragon's Lair arcade game never had a playable bridge scene. dle21 does support the bridge scene correctly and there is no bug in the roms.
-
A couple things, I believe we're saying the same thing on $name, but the problem is the PC version of Daphne uses the commands file (or command line) to determine which rom version to load. If you try to do that with the commands file here, it's pre-empted by what this script is doing. It only allows the items in the command file to be read as extra parameters beyond what the script is setting up.
On the HD thing, sorry, I just assumed you were running those. So you don't think their large size should have any impact? I just re-created all the .dat files so we'll see. So far, it looks like it's a winner. I just played a game and had zero parsing issues.
I also can't thank you enough for the back-and-forth. It's really cleared up a ton. I now have dle11, dle21 and lair versions all running.
Thanks also for the update on the arcade version. It's been literally decades since I played it on a machine. I think I recall the bridge scene from from earlier version like an actual DVD version or maybe on some game system version.
Lastly, you mentioned dle12. I'm not familiar with that version.
-
@agrajag said in Daphne Dragon's Lair Enhancement Tutorial?:
Lastly, you mentioned dle12. I'm not familiar with that version.
Yes, it was a typo that I fixed a bit ago. dle21
Glad everything is working. Enjoy! -
@roslof I might take a swing at that script and switch things over to the commands approach to see what happens, or if it even helps. Theoretically that would allow setups to be done by just creating a folder and it would have just one file in it, the commands file, but that's not that much different than now and it would risk getting overwritten with an update.
If I play around with it I'll check back in and let the community know. Next up is getting DL2 and Space Ace going. They should be MUCH easier to get going now that I've got this experience behind me. Phew..... I think I might also create the tutorial that started all this and at least show a breakdown of what everything should look like in a completed setup.
-
@agrajag There is a separate thread here about Hypseus. It's not a supported RetroPie package, but bluestang and DirtBagXon (independently) have done a great job making it run well on the Pi. It also works with KMS, which Daphne does not.
DirtBagX's version uses a different script. You might want to check it out (the script, especially, can be modified to work with Daphne. Just an extra tool to tinker with.
https://retropie.org.uk/forum/topic/18505/new-hypseus-and-lr-daphne-to-add-on-retropie-setup/183
-
@roslof Absolutely.... Hypseus.... Will take a look at that right away.
No idea what KMS is.
What's the big pro of running this over Daphne? I'm assuming better performance, etc?
-
@agrajag said in Daphne Dragon's Lair Enhancement Tutorial?:
@roslof Absolutely.... Hypseus.... Will take a look at that right away.
No idea what KMS is.
What's the big pro of running this over Daphne? I'm assuming better performance, etc?
You and most folks are running the FKMS (fake KMS) driver. KMS was recently released but isn't compatible with Dispmanx (which Daphne requires). Daphne isn't supported anymore, so if you switch to the KMS driver, Daphne will break (you will only hear audio).
From a gameplay and game compatibility standpoint, they are effectively the same, except DirtBagXon enhanced the overlay with an additional font. Main thing is Hypseus is more future proofed and supported (although unofficial and not tested on Pi by many).
-
@roslof Been wondering about that reality. Daphne doesn't look like it's been touched in several years and it really could use quite a bit of work. I kept hoping to find something that was under current development so this is a good step.
-
@roslof So with a bit of un-earned cockiness I tried to do Space Ace and was sure all was good. I started off with no .dat files and the game launched just fine with the pop-up to create the parsed video files. Great. Just one problem. It starts on the first one and then goes to a black screen never to return. I check the pi and it's running (I can SSH into it), but it just creates the one firs sa-slates.dat file and that's it.
Any ideas? This is being built with the same source of files as those from the DL HD files.
I should mention that this same build runs fine on the PC.
Here's the runcommand log. It's a mess and it's not permissions:
Parameters: Executing: SDL1_VIDEODRIVER=dispmanx SDL_DISPMANX_WIDTH=1920 SDL_DISPMANX_HEIGHT=1080 /opt/retropie/emulators/daphne/daphne.sh "/home/pi/RetroPie/roms/daphne/ace.daphne" ls: cannot access '/proc/kcore': No such file or directory VLDP ERROR : can't open file /home/pi/RetroPie/roms/daphne/ace.daphne/./spa00.vob.m2v VLDP ERROR : Could not open file! VLDP ERROR : can't open file /home/pi/RetroPie/roms/daphne/ace.daphne/./spa00.vob.m2v VLDP ERROR : Could not open file! VLDP ERROR : can't open file /home/pi/RetroPie/roms/daphne/ace.daphne/./spa00.vob.m2v VLDP ERROR : Could not open file! VLDP RENDER ERROR : we tried to render an mpeg but none was open! VLDP ERROR : can't open file /home/pi/RetroPie/roms/daphne/ace.daphne/./spa00.vob.m2v VLDP ERROR : Could not open file! VLDP ERROR : can't open file /home/pi/RetroPie/roms/daphne/ace.daphne/./spa00.vob.m2v VLDP ERROR : Could not open file! VLDP ERROR : can't open file /home/pi/RetroPie/roms/daphne/ace.daphne/./spa00.vob.m2v VLDP ERROR : Could not open file! VLDP ERROR : can't open file /home/pi/RetroPie/roms/daphne/ace.daphne/./spa00.vob.m2v VLDP ERROR : Could not open file! VLDP ERROR : can't open file /home/pi/RetroPie/roms/daphne/ace.daphne/./spa00.vob.m2v VLDP ERROR : Could not open file! VLDP ERROR : can't open file /home/pi/RetroPie/roms/daphne/ace.daphne/./spa00.vob.m2v VLDP ERROR : Could not open file! VLDP ERROR : can't open file /home/pi/RetroPie/roms/daphne/ace.daphne/./spa01.vob.m2v VLDP ERROR : Could not open file! VLDP ERROR : can't open file /home/pi/RetroPie/roms/daphne/ace.daphne/./spa01.vob.m2v VLDP ERROR : Could not open file! VLDP ERROR : can't open file /home/pi/RetroPie/roms/daphne/ace.daphne/./spa01.vob.m2v VLDP ERROR : Could not open file! VLDP RENDER ERROR : we tried to render an mpeg but none was open! VLDP ERROR : can't open file /home/pi/RetroPie/roms/daphne/ace.daphne/./spa01d1.vob.m2v VLDP ERROR : Could not open file! VLDP ERROR : can't open file /home/pi/RetroPie/roms/daphne/ace.daphne/./spa01d1.vob.m2v VLDP ERROR : Could not open file! --DAPHNE version 1.0.13 --Command line is: /opt/retropie/emulators/daphne/daphne.bin ace vldp -nohwaccel -framefile /home/pi/RetroPie/roms/daphne/ace.daphne/ace.txt -homedir /opt/retropie/emulators/daphne -fullscreen --CPU : UnknownCPU 0 MHz || Mem : 0 megs --OS : Linux 5.4 || Video : Unknown video --OpenGL: Compiled In --RGB2YUV Function: C --Line Blending Function: C --Audio Mixing Function: C Setting alternate home dir: /opt/retropie/emulators/daphne Set 640x480 at 16 bpp with flags: 20000020 Initializing sound system ... GI Sound chip initialized at 2000000 Hz Joystick #0 was successfully opened Remapping input ... Loading compressed ROM image sa_a3_u1.bin...8192 bytes read. Loading compressed ROM image sa_a3_u2.bin...8192 bytes read. Loading compressed ROM image sa_a3_u3.bin...8192 bytes read. Loading compressed ROM image sa_a3_u4.bin...8192 bytes read. Loading compressed ROM image sa_a3_u5.bin...8192 bytes read. Framefile parse succeeded. Video/Audio directory is: /home/pi/RetroPie/roms/daphne/ace.daphne/./ YUV overlay is done in software (ie unaccelerated). Booting ROM ... Play LDP : disc is already playing, play command ignored Play Display disable received Search to 148 received - [ 0] Introduction, Sequence 0 Attract Mode LDP-VLDP.CPP : Could not open video file spa00.vob.m2v LDP : search failed immediately LDV1000 Error: Search command was not accepted! Search to 149 received - [ 0] Introduction, Sequence 0 Attract Mode LDP-VLDP.CPP : Could not open video file spa00.vob.m2v LDP : search failed immediately LDV1000 Error: Search command was not accepted! Search to 150 received - [ 0] Introduction, Sequence 0 Attract Mode LDP-VLDP.CPP : Could not open video file spa00.vob.m2v LDP : search failed immediately LDV1000 Error: Search command was not accepted! VLDP ERROR : play command failed! Play Display disable received Search to 1148 received - [ 0] Introduction, Sequence 0 Attract Mode LDP-VLDP.CPP : Could not open video file spa00.vob.m2v LDP : search failed immediately LDV1000 Error: Search command was not accepted! Search to 1149 received - [ 0] Introduction, Sequence 0 Attract Mode LDP-VLDP.CPP : Could not open video file spa00.vob.m2v LDP : search failed immediately LDV1000 Error: Search command was not accepted! Search to 1150 received - [ 0] Introduction, Sequence 0 Attract Mode LDP-VLDP.CPP : Could not open video file spa00.vob.m2v LDP : search failed immediately LDV1000 Error: Search command was not accepted! Search to 1148 received - [ 0] Introduction, Sequence 0 Attract Mode LDP-VLDP.CPP : Could not open video file spa00.vob.m2v LDP : search failed immediately LDV1000 Error: Search command was not accepted! Search to 1149 received - [ 0] Introduction, Sequence 0 Attract Mode LDP-VLDP.CPP : Could not open video file spa00.vob.m2v LDP : search failed immediately LDV1000 Error: Search command was not accepted! Search to 1150 received - [ 0] Introduction, Sequence 0 Attract Mode LDP-VLDP.CPP : Could not open video file spa00.vob.m2v LDP : search failed immediately LDV1000 Error: Search command was not accepted! Search to 1162 received - [ 1] There's Borf's Ship!, Sequence 0 LDP-VLDP.CPP : Could not open video file spa01.vob.m2v LDP : search failed immediately LDV1000 Error: Search command was not accepted! Search to 1163 received - [ 1] There's Borf's Ship!, Sequence 0 LDP-VLDP.CPP : Could not open video file spa01.vob.m2v LDP : search failed immediately LDV1000 Error: Search command was not accepted! Search to 1164 received - [ 1] There's Borf's Ship!, Sequence 0 LDP-VLDP.CPP : Could not open video file spa01.vob.m2v LDP : search failed immediately LDV1000 Error: Search command was not accepted! VLDP ERROR : play command failed! Play Search to 2306 received - [ 1] There's Borf's Ship!, Sequence 24 Death Scene LDP-VLDP.CPP : Could not open video file spa01d1.vob.m2v LDP : search failed immediately LDV1000 Error: Search command was not accepted! Search to 2307 received - [ 1] There's Borf's Ship!, Sequence 24 Death Scene LDP-VLDP.CPP : Could not open video file spa01d1.vob.m2v LDP : search failed immediVLDP ERROR : can't open file /home/pi/RetroPie/roms/daphne/ace.daphne/./spa01d1.vob.m2v VLDP ERROR : Could not open file! VLDP RENDER ERROR : we tried to render an mpeg but none was open! VLDP ERROR : can't open file /home/pi/RetroPie/roms/daphne/ace.daphne/./spa02b.vob.m2v VLDP ERROR : Could not open file! VLDP ERROR : can't open file /home/pi/RetroPie/roms/daphne/ace.daphne/./spa02b.vob.m2v VLDP ERROR : Could not open file! VLDP ERROR : can't open file /home/pi/RetroPie/roms/daphne/ace.daphne/./spa02b.vob.m2v VLDP ERROR : Could not open file! VLDP RENDER ERROR : we tried to render an mpeg but none was open! VLDP ERROR : can't open file /home/pi/RetroPie/roms/daphne/ace.daphne/./spa01.vob.m2v VLDP ERROR : Could not open file! VLDP ERROR : can't open file /home/pi/RetroPie/roms/daphne/ace.daphne/./spa01.vob.m2v VLDP ERROR : Could not open file! VLDP ERROR : can't open file /home/pi/RetroPie/roms/daphne/ace.daphne/./spa01.vob.m2v VLDP ERROR : Could not open file! ately LDV1000 Error: Search command was not accepted! Search to 2308 received - [ 1] There's Borf's Ship!, Sequence 24 Death Scene LDP-VLDP.CPP : Could not open video file spa01d1.vob.m2v LDP : search failed immediately LDV1000 Error: Search command was not accepted! VLDP ERROR : play command failed! Play Search to 3882 received - [ 1] There's Borf's Ship!, Sequence 32 Borf Taunt LDP-VLDP.CPP : Could not open video file spa02b.vob.m2v LDP : search failed immediately LDV1000 Error: Search command was not accepted! Search to 3883 received - [ 1] There's Borf's Ship!, Sequence 32 Borf Taunt LDP-VLDP.CPP : Could not open video file spa02b.vob.m2v LDP : search failed immediately LDV1000 Error: Search command was not accepted! Search to 3884 received - [ 1] There's Borf's Ship!, Sequence 32 Borf Taunt LDP-VLDP.CPP : Could not open video file spa02b.vob.m2v LDP : search failed immediately LDV1000 Error: Search command was not accepted! VLDP ERROR : play command failed! Play Search to 1366 received - [ 1] There's Borf's Ship!, Sequence 5 LDP-VLDP.CPP : Could not open video file spa01.vob.m2v LDP : search failed immediately LDV1000 Error: Search command was not accepted! Search to 1367 received - [ 1] There's Borf's Ship!, Sequence 5 LDP-VLDP.CPP : Could not open video file spa01.vob.m2v LDP : search failed immediately LDV1000 Error: Search command was not accepted! Search to 1368 received - [ 1] There's Borf's Ship!, Sequence 5 LDP-VLDP.CPP : Could not open video file spa01.vob.m2v LDP : search failed immediately LDV1000 Error: Search command was not accepted! Shutting down sound system... Shutting down video display...
-
I didn't load it yet, but I have to say, wow.. this is not just the videos but a whole slew of great stuff that I was looking for recently and wasted hours pulling down individually!
This is a must have even if the videos don't work. But I'll boot-up my Retropie build and see if it works in a little while. I also want to make some changes and delete the extra video folders I had.
-
@jamrom2 please let us know. Working great here but Space Ace is still DOA.
-
@agrajag Loaded fine and ran it... it's not happening on a Pi3b+ under Daphne. Not enough GPU power for it. What I can see of it looks outstanding, but it's more like a screenshot show. I have audio, but that seems degraded. Sounds like he used the original files and not cleaner ones of more recent sets.
Didn't try Space Ace as none of this works any way. That error log looks like it's a codec issue. Whatever Daphne is using can't handle the new format?
-
@jamrom2 why not move to Pi4?
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.