New Hypseus and lr-Daphne to add on Retropie-Setup
-
@dirtbagxon Tried again, and the errors aren't going away. No singe games will load now. Kinda late so maybe I'm probably missing steps. I'll start over fresh after a good night sleep.
Parameters: Executing: SDL1_VIDEODRIVER=dispmanx SDL_DISPMANX_WIDTH=1920 SDL_DISPMANX_HEIGHT=1080 /opt/retropie/emulators/daphne/daphne.sh "/home/pi/RetroPie/roms/daphne/timegal.daphne" [console] Setting alternate home dir: [console] /opt/retropie/emulators/daphne 2021-03-28 12:32:30.074 INFO [21533] [reset_logfile@323] Version v2.0.2.4-RPi 2021-03-28 12:32:30.074 INFO [21533] [reset_logfile@327] Command line: /opt/retropie/emulators/daphne/daphne.bin singe vldp -framefile /home/pi/RetroPie/roms/daphne/timegal.daphne/timegal.txt -script /home/pi/RetroPie/roms/daphne/timegal.daphne/timegal.singe -homedir /opt/retropie/emulators/daphne -fullscreen 2021-03-28 12:32:30.074 INFO [21533] [reset_logfile@328] CPU : UnknownCPU || Mem : 1856 megs 2021-03-28 12:32:30.074 INFO [21533] [reset_logfile@329] OS : Linux 5.10 || Video : Unknown video 2021-03-28 12:32:30.074 INFO [21533] [reset_logfile@330] RGB2YUV Function: C 2021-03-28 12:32:30.074 INFO [21533] [reset_logfile@336] Line Blending Function: C 2021-03-28 12:32:30.074 INFO [21533] [reset_logfile@343] Audio Mixing Function: C 2021-03-28 12:32:32.035 INFO [21533] [ldp_vldp::read_frame_conversions@1038] Framefile parse succeeded. Video/Audio directory is: /home/pi/RetroPie/roms/daphne/timegal.daphne/./ 2021-03-28 12:32:32.056 INFO [21533] [printline@95] Starting Singe version 1.14 2021-03-28 12:32:32.059 INFO [21533] [printline@95] SINGE: Unable to load sprite singe/timegal/arrowup.png! 2021-03-28 12:32:32.059 INFO [21533] [printline@95] SINGE: Unable to load sprite singe/timegal/arrowdown.png! 2021-03-28 12:32:32.059 INFO [21533] [printline@95] SINGE: Unable to load sprite singe/timegal/arrowleft.png! 2021-03-28 12:32:32.059 INFO [21533] [printline@95] SINGE: Unable to load sprite singe/timegal/arrowright.png! 2021-03-28 12:32:32.059 INFO [21533] [printline@95] SINGE: Unable to load sprite singe/timegal/action.png! 2021-03-28 12:32:32.059 INFO [21533] [printline@95] SINGE: Unable to load sprite singe/timegal/button.png! 2021-03-28 12:32:32.059 INFO [21533] [printline@95] SINGE: Unable to load sprite singe/timegal/selarrow.png! 2021-03-28 12:32:32.060 INFO [21533] [printline@95] SINGE: Unable to load sprite singe/timegal/num00.png! 2021-03-28 12:32:32.060 INFO [21533] [printline@95] SINGE: Unable to load sprite singe/timegal/num01.png! 2021-03-28 12:32:32.060 INFO [21533] [printline@95] SINGE: Unable to load sprite singe/timegal/num02.png! 2021-03-28 12:32:32.060 INFO [21533] [printline@95] SINGE: Unable to load sprite singe/timegal/num03.png! 2021-03-28 12:32:32.060 INFO [21533] [printline@95] SINGE: Unable to load sprite singe/timegal/num04.png! 2021-03-28 12:32:32.060 INFO [21533] [printline@95] SINGE: Unable to load sprite singe/timegal/num05.png! 2021-03-28 12:32:32.060 INFO [21533] [printline@95] SINGE: Unable to load sprite singe/timegal/num06.png! 2021-03-28 12:32:32.060 INFO [21533] [printline@95] SINGE: Unable to load sprite singe/timegal/num07.png! 2021-03-28 12:32:32.060 INFO [21533] [printline@95] SINGE: Unable to load sprite singe/timegal/num08.png! 2021-03-28 12:32:32.060 INFO [21533] [printline@95] SINGE: Unable to load sprite singe/timegal/num09.png! 2021-03-28 12:32:32.060 INFO [21533] [printline@95] SINGE: Unable to load font. 2021-03-28 12:32:32.060 INFO [21533] [printline@95] SINGE: Could not open singe/timegal/ring01.wav: Couldn't open singe/timegal/ring01.wav 2021-03-28 12:32:32.060 INFO [21533] [printline@95] SINGE: Could not open singe/timegal/credit.wav: Couldn't open singe/timegal/credit.wav 2021-03-28 12:32:32.060 INFO [21533] [printline@95] SINGE: Could not open singe/timegal/select.wav: Couldn't open singe/timegal/select.wav 2021-03-28 12:32:32.060 INFO [21533] [printline@95] SINGE: Could not open singe/timegal/ring02.wav: Couldn't open singe/timegal/ring02.wav 2021-03-28 12:32:32.060 INFO [21533] [printline@95] SINGE: Could not open singe/timegal/right.wav: Couldn't open singe/timegal/right.wav 2021-03-28 12:32:32.060 INFO [21533] [printline@95] SINGE: Could not open singe/timegal/wrong.wav: Couldn't open singe/timegal/wrong.wav 2021-03-28 12:32:32.060 INFO [21533] [printline@95] SINGE: Could not open singe/timegal/blip.wav: Couldn't open singe/timegal/blip.wav 2021-03-28 12:32:32.060 INFO [21533] [printline@95] SINGE: Could not open singe/timegal/teedo.wav: Couldn't open singe/timegal/teedo.wav
-
@DirtBagXon good news, for what it's worth, everything is still running well for me post change.
@Darksavior once you're back up, the timing of Singe games are well improved with the latest commit. Time Gal boot + new life is zippy. Mad Dog "shooting gallery" scenes are as fast as the original arcade version.
-
I have added another option to disable the
lair2
overlays in case it's that that is causing the stuttering issue on the PI.In RetroPie docs at: https://retropie.org.uk/docs/Daphne/
You have the ability to issue game specific config via
<gamename>.commands
So in this case, in the
lair2.daphne
directory create a file:lair2.commands
and add-nolair2_overlay
to it.cat /home/pi/RetroPie/roms/daphne/lair2.daphne/lair2.commands -nolair2_overlay
It's in the latest repo merge.
Let me know results.
-
@dirtbagxon said in New Hypseus and lr-Daphne to add on Retropie-Setup:
Let me know results.
For what it's worth, I have never had issues with Lair2, either with KMS or FKMS. Using 720p videos derived from the Digital Leisure product. Thanks again @DirtBagXon. Still, loving all of these new improvements. Daphne has been dead for far too long.
-
@roslof said in New Hypseus and lr-Daphne to add on Retropie-Setup:
@dirtbagxon said in New Hypseus and lr-Daphne to add on Retropie-Setup:
Let me know results.
For what it's worth, I have never had issues with Lair2, either with KMS or FKMS. Using 720p videos derived from the Digital Leisure product. Thanks again @DirtBagXon. Still, loving all of these new improvements. Daphne has been dead for far too long.
Well, it's an option, not enabled by default - but if issues arise it's there....
If 720p videos work it does imply an encoding issue.....
Edit: I have had lair2 attract mode running on a Pi4 for last few hours, I occasionally see some stuttering, but bearable to me.It is probably the Pi drivers, if (moving forward) you have the KMS options this may improve. In the meantime if it bugs you, turn the overlay off as above.
-
@dirtbagxon Alright, I found out I wasn't creating the symlink for singe. Huge improvements when i tested time gal. ~30sec for the first load. ~10 when I die.
With lair2, I previously tested with the kms and fkms driver and got the same jittery results. I can verify that
-nolair2_overlay
fixes the problem. -
@darksavior said in New Hypseus and lr-Daphne to add on Retropie-Setup:
With lair2, I previously tested with the kms and fkms driver and got the same jittery results. I can verify that
-nolair2_overlay
fixes the problem.So the only different between you and @roslof is the video files....
Think that may point a finger.
Also I note that lair2 is listed with issues on the compatibility list:
https://docs.google.com/spreadsheets/d/1Hy2VpPXgs4a9imeu0_w3SpehKEkhUNOLzD1jhcgwS3o/edit#gid=0
Glad you are all sorted :)
-
Deleted the origin request, as I have now managed to replicate the stuttering, which is in fact due to the video file encoding on this version:
67838539 Nov 28 2019 dl211.vob.m2v
Video Format : MPEG Video Format version : Version 2 Format profile : Main@Main Format settings : CustomMatrix / BVOP Format settings, BVOP : Yes Format settings, Matrix : Custom Format settings, GOP : Variable Format settings, picture structure : Frame Duration : 1 min 30 s Bit rate mode : Variable Bit rate : 6 000 kb/s Maximum bit rate : 7 200 kb/s Width : 640 pixels Height : 480 pixels Display aspect ratio : 4:3 Frame rate : 29.970 (30000/1001) FPS Standard : NTSC Color space : YUV Chroma subsampling : 4:2:0 Bit depth : 8 bits Scan type : Interlaced Scan order : Bottom Field First Compression mode : Lossy Bits/(Pixel*Frame) : 0.652 Time code of first frame : 00:00:00:00 Stream size : 64.7 MiB (100%) Writing library : TMPGEnc 2.525.64.184 Color primaries : BT.601 NTSC Transfer characteristics : BT.601 Matrix coefficients : BT.601
sha1sum dl211.vob.m2v 580c1beb00788e96386015b879ccaaffe32a7f7d dl211.vob.m2v
I grabbed the 1080p HD lair2 files and it was no longer evident even at higher resolution. This ties up with what @roslof stated.
I did also take the opportunity to heavily optimise the lair2 overlay code and ensure that alignment is correct on HD (4:3) videos.
I know the Pi won't support these HD videos smoothly, I didn't actually bother with HD previously, but having now seen them, I would be looking to encode these myself to a size that will run on the Pi.
-
@dirtbagxon I tried this 1080p 4:3 version of lair2 and I saw the jitter as well. Using
-nolair2_overlay
also fixes it. I'm still using the build from my last post. I did not know someone went ahead and did a somewhat proper 1080p release and they look nice so I'll replace mine with those. I was deeply discouraged by some 16:9 singe v2 timegal release. -
@darksavior said in New Hypseus and lr-Daphne to add on Retropie-Setup:
@dirtbagxon I was deeply discouraged by some 16:9 singe v2 timegal release.
I hear you there....
There are some new lair2 overlay improvements in the repo, if you feel inclined, but I'm not sure what is going on with your jittering now to be honest.
Maybe my eyes are just too old now 8)
-
@dirtbagxon New problem with these 1080p versions. Both lair1 and ace get a black screen eventually but I can hear the audio. I haven't finished the first level in lair2 but I didn't get it with that one. I can see some text for a brief second..something about video parsing. Is there a way to force hypseus to parse everything again? I can only find info about deleting some dat file which I'm not sure what it's called or where it's located.
-
@darksavior said in New Hypseus and lr-Daphne to add on Retropie-Setup:
@dirtbagxon New problem with these 1080p versions. Both lair1 and ace get a black screen eventually but I can hear the audio. I haven't finished the first level in lair2 but I didn't get it with that one. I can see some text for a brief second..something about video parsing. Is there a way to force hypseus to parse everything again? I can only find info about deleting some dat file which I'm not sure what it's called or where it's located.
Delete the
.dat
files in each on their directories.cd lair.daphne rm *.dat <- Check that command carefully cd ../ace.daphne rm *.dat cd ../lair2.daphne rm *.dat
You should see the regeneration of the
.dat
files next time you start each game.Trying to run these 1080p videos on a RPi will be problematic, you may want to re-encode the resolution down a little.
I believe you are a Mac user, so
ffmpeg
maybe your route here:ffmpeg -i dl-slates-orig.m2v -vf scale=800:600 -codec:v mpeg2video -b 4182k dl-slates.m2v
But we are getting into a whole different arena here, maybe do some reading up on this.
-
Ah, I needed to get rid of all of the dat files, thanks.
@dirtbagxon said in New Hypseus and lr-Daphne to add on Retropie-Setup:
Trying to run these 1080p videos on a RPi will be problematic, you may want to re-encode the resolution down a little.
How so? I tested all 3 games for almost an hour and they don't seem to have any problems? My pi4 is overclocked. 2Ghz for cpu, and 750Mhz for gpu.
-
@darksavior said in New Hypseus and lr-Daphne to add on Retropie-Setup:
Ah, I needed to get rid of all of the dat files, thanks.
@dirtbagxon said in New Hypseus and lr-Daphne to add on Retropie-Setup:
Trying to run these 1080p videos on a RPi will be problematic, you may want to re-encode the resolution down a little.
How so? I tested all 3 games for almost an hour and they don't seem to have any problems? My pi4 is overclocked. 2Ghz for cpu, and 750Mhz for gpu.
Oh OK, perfect - happy days!!
-
The Timetraveler font misalignment issue:
Copy the
ds-digib.ttf
as a backup from Timetraveler folder, then load it in:http://www.glyphrstudio.com/online/
Then immediately save it as an OTF font, it will be named
MyFont-Bold.otf
.Rename this .otf file to overwrite
ds-digib.ttf
.Thank me later.......
-
If anyone was wondering about the cpu usage when using 1080p 4:3 rips:
-
pi4 2Ghz/750Mhz = ~87% max
-
pi4 2Ghz/stock gpu = no change
-
pi4 stock = 90% most of the time. 100% max :(
New problems? Compiled the newest release. Only other difference is that I'm now using a pad if it matters:
space ace: Eh..nevermind. Few more tests and no more desyncs in level 3.
lair1: Now had a crash with pad (played a good bit of it with previous release with no crashes with kb). Took a while so not sure if I can reproduce it. The error messages pops up in ace too but that doesn't crash:
Parameters: Executing: SDL1_VIDEODRIVER=dispmanx SDL_DISPMANX_WIDTH=1920 SDL_DISPMANX_HEIGHT=1080 /opt/retropie/emulators/daphne/daphne.sh "/home/pi/RetroPie/roms/daphne/dle21.daphne" [console] Setting alternate home dir: [console] /opt/retropie/emulators/daphne [console] NOTE : Ignoring obsolete argument [console] Setting screen width to 1920 [console] Setting screen height to 1080 2021-03-31 01:06:37.425 INFO [1826] [reset_logfile@323] Version v2.2.0-1 2021-03-31 01:06:37.426 INFO [1826] [reset_logfile@327] Command line: /opt/retropie/emulators/daphne/daphne.bin dle21 vldp -framefile /home/pi/RetroPie/roms/daphne/dle21.daphne/dle21.txt -homedir /opt/retropie/emulators/daphne -fullscreen -bank 0 11111101 -bank 1 01110010 -blank_searches -noserversend -x 1920 -y 1080 2021-03-31 01:06:37.426 INFO [1826] [reset_logfile@328] CPU : UnknownCPU || Mem : 1856 megs 2021-03-31 01:06:37.426 INFO [1826] [reset_logfile@329] OS : Linux 5.10 || Video : Unknown video 2021-03-31 01:06:37.426 INFO [1826] [reset_logfile@330] RGB2YUV Function: C 2021-03-31 01:06:37.426 INFO [1826] [reset_logfile@336] Line Blending Function: C 2021-03-31 01:06:37.426 INFO [1826] [reset_logfile@343] Audio Mixing Function: C 2021-03-31 01:06:37.741 INFO [1826] [game::load_compressed_rom@873] Loading compressed ROM image DLE21_U1.bin ... 8192 bytes read. 2021-03-31 01:06:37.741 INFO [1826] [game::load_compressed_rom@873] Loading compressed ROM image DLE21_U2.bin ... 8192 bytes read. 2021-03-31 01:06:37.742 INFO [1826] [game::load_compressed_rom@873] Loading compressed ROM image DLE21_U3.bin ... 8192 bytes read. 2021-03-31 01:06:39.376 INFO [1826] [ldp_vldp::read_frame_conversions@1038] Framefile parse succeeded. Video/Audio directory is: /home/pi/RetroPie/roms/daphne/dle21.daphne/./ 2021-03-31 01:06:40.702 WARN [1826] [lair::input_disable@1051] Error, bug in Dragon's Lair's move disable 2021-03-31 01:07:17.595 WARN [1826] [ldv1000::pre_display_disable@451] Display disable received (unsupported) 2021-03-31 01:07:18.528 WARN [1826] [ldv1000::pre_display_disable@451] Display disable received (unsupported) 2021-03-31 01:08:12.650 WARN [1826] [lair::input_disable@1051] Error, bug in Dragon's Lair's move disable 2021-03-31 01:08:13.234 WARN [1826] [lair::input_disable@1051] Error, bug in Dragon's Lair's move disable 2021-03-31 01:08:13.300 WARN [1826] [lair::input_enable@1003] Error, bug in Dragon's Lair's input enable 2021-03-31 01:08:13.483 WARN [1826] [lair::input_disable@1051] Error, bug in Dragon's Lair's move disable 2021-03-31 01:08:16.136 ERROR [1828] [ldp_vldp_audio_callback@592] End of audio stream detected!
-
-
@darksavior said in New Hypseus and lr-Daphne to add on Retropie-Setup:
New problem? Compiled the newest release and tested space ace
Hey DS: Rebuilt dat fiies? I playtest Space Ace regularly with no issues on any variation, included the "Enhancement" version. But I'm using the 720P version, so not certain what might be happening if you are using the 1080p version.
-
@dirtbagxon said in New Hypseus and lr-Daphne to add on Retropie-Setup:
Rename this .otf file to overwrite ds-digib.ttf.
Thank me later.......You ain't wrong. SO MUCH BETTER! My OCD is no longer making me twitch here. :)
It's later now, so Thank You. :P -
@roslof Yea, just rebuilt all my dat files with the 3 donbluth games.
-
@darksavior said in New Hypseus and lr-Daphne to add on Retropie-Setup:
@roslof Yea, just rebuilt all my dat files with the 3 donbluth games.
Gotcha. The only other thing I can imagine is an ace.txt (framefile) mismatch with the videos you have. Hope this is helpful.
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.