New Hypseus and lr-Daphne to add on Retropie-Setup
-
I'm thinking this might work:
roms (EXT linux filesystem) |-- daphne | | | |-- timegal.daphne | | | | | |-- timegal.commands (Optional) | | |-- timegal.txt | | |-- timegal.m2v | | |-- timegal.ogg | | |-- timegal.singe | | |-- *.* | | | +-- singe | +-- timegal <<- link (ln -s ../timegal.daphne timegal)
roms (FAT32 filesystem) |-- daphne | | | |-- timegal.daphne | | | | | |-- timegal.commands (Optional) | | |-- timegal.txt | | |-- timegal.m2v | | |-- timegal.ogg | | |-- timegal.singe | | | +-- singe | |-- timegal | |-- *.* <<- All other files except m2v, ogg, singe and framefile
Of course in FAT32 scenario you can also have the
*.*
files in both places for simplicity and archival purposes. -
@dirtbagxon Still not loading. It's going back to the errors about reading the wav files. I re-transferred those files but didn't change the situation.
2021-03-28 07:38:12.387 INFO [3948] [printline@95] SINGE: Could not open singe/timegal/ring01.wav: Could not find RIFF or WAVE identifiers (not a Waveform file) 2021-03-28 07:38:12.387 INFO [3948] [printline@95] SINGE: Could not open singe/timegal/credit.wav: Could not find RIFF or WAVE identifiers (not a Waveform file) 2021-03-28 07:38:12.387 INFO [3948] [printline@95] SINGE: Could not open singe/timegal/select.wav: Could not find RIFF or WAVE identifiers (not a Waveform file) 2021-03-28 07:38:12.387 INFO [3948] [printline@95] SINGE: Could not open singe/timegal/ring02.wav: Could not find RIFF or WAVE identifiers (not a Waveform file) 2021-03-28 07:38:12.387 INFO [3948] [printline@95] SINGE: Could not open singe/timegal/right.wav: Could not find RIFF or WAVE identifiers (not a Waveform file) 2021-03-28 07:38:12.388 INFO [3948] [printline@95] SINGE: Could not open singe/timegal/wrong.wav: Could not find RIFF or WAVE identifiers (not a Waveform file) 2021-03-28 07:38:12.388 INFO [3948] [printline@95] SINGE: Could not open singe/timegal/blip.wav: Could not find RIFF or WAVE identifiers (not a Waveform file) 2021-03-28 07:38:12.388 INFO [3948] [printline@95] SINGE: Could not open singe/timegal/teedo.wav: Could not find RIFF or WAVE identifiers (not a Waveform file)
-
@darksavior said in New Hypseus and lr-Daphne to add on Retropie-Setup:
@dirtbagxon Still not loading. It's going back to the errors about reading the wav files. I re-transferred those files but didn't change the situation.
Some thing weird going on there, can you show us how your drive layout looks, maybe via a screenshot on Windows explorer as a remote mount ?
-
I have just confirmed this works, deleted my symlink, created a directory and copied the below files in there:
pi@retropie:~/RetroPie/roms/daphne/singe/timegal $ ls -al total 928 drwxr-xr-x 2 pi pi 4096 Mar 28 09:08 . drwxr-xr-x 3 pi pi 4096 Mar 28 09:07 .. -rw-r--r-- 1 pi pi 432 Mar 28 09:08 action.png -rw-r--r-- 1 pi pi 427 Mar 28 09:08 arrowdown.png -rw-r--r-- 1 pi pi 478 Mar 28 09:08 arrowleft.png -rw-r--r-- 1 pi pi 450 Mar 28 09:08 arrowright.png -rw-r--r-- 1 pi pi 436 Mar 28 09:08 arrowup.png -rw-r--r-- 1 pi pi 56040 Mar 28 09:08 blip.wav -rw-r--r-- 1 pi pi 454 Mar 28 09:08 button.png -rw-r--r-- 1 pi pi 338 Mar 28 09:08 credit.png -rw-r--r-- 1 pi pi 140588 Mar 28 09:08 credit.wav -rw-r--r-- 1 pi pi 386 Mar 28 09:08 freeplay.png -rw-r--r-- 1 pi pi 280 Mar 28 09:08 gal.png -rw-r--r-- 1 pi pi 436 Mar 28 09:08 getready.png -rw-r--r-- 1 pi pi 435 Mar 28 09:08 insertcoin.png -rw-r--r-- 1 pi pi 436 Mar 28 09:08 line100.png -rw-r--r-- 1 pi pi 434 Mar 28 09:08 line101.png -rw-r--r-- 1 pi pi 468 Mar 28 09:08 line102.png -rw-r--r-- 1 pi pi 389 Mar 28 09:08 line103.png -rw-r--r-- 1 pi pi 411 Mar 28 09:08 line104.png -rw-r--r-- 1 pi pi 484 Mar 28 09:08 line105.png -rw-r--r-- 1 pi pi 536 Mar 28 09:08 line106.png -rw-r--r-- 1 pi pi 557 Mar 28 09:08 line107.png -rw-r--r-- 1 pi pi 351 Mar 28 09:08 line108.png -rw-r--r-- 1 pi pi 543 Mar 28 09:08 line109.png -rw-r--r-- 1 pi pi 463 Mar 28 09:08 line110.png -rw-r--r-- 1 pi pi 467 Mar 28 09:08 line111.png -rw-r--r-- 1 pi pi 473 Mar 28 09:08 line112.png -rw-r--r-- 1 pi pi 469 Mar 28 09:08 line113.png -rw-r--r-- 1 pi pi 389 Mar 28 09:08 line114.png -rw-r--r-- 1 pi pi 519 Mar 28 09:08 line115.png -rw-r--r-- 1 pi pi 548 Mar 28 09:08 line116.png -rw-r--r-- 1 pi pi 316 Mar 28 09:08 line117.png -rw-r--r-- 1 pi pi 534 Mar 28 09:08 line1.png -rw-r--r-- 1 pi pi 435 Mar 28 09:08 line2.png -rw-r--r-- 1 pi pi 423 Mar 28 09:08 line3.png -rw-r--r-- 1 pi pi 497 Mar 28 09:08 line4.png -rw-r--r-- 1 pi pi 416 Mar 28 09:08 line5.png -rw-r--r-- 1 pi pi 511 Mar 28 09:08 line6.png -rw-r--r-- 1 pi pi 229 Mar 28 09:08 num00.png -rw-r--r-- 1 pi pi 212 Mar 28 09:08 num01.png -rw-r--r-- 1 pi pi 227 Mar 28 09:08 num02.png -rw-r--r-- 1 pi pi 230 Mar 28 09:08 num03.png -rw-r--r-- 1 pi pi 227 Mar 28 09:08 num04.png -rw-r--r-- 1 pi pi 228 Mar 28 09:08 num05.png -rw-r--r-- 1 pi pi 228 Mar 28 09:08 num06.png -rw-r--r-- 1 pi pi 225 Mar 28 09:08 num07.png -rw-r--r-- 1 pi pi 234 Mar 28 09:08 num08.png -rw-r--r-- 1 pi pi 229 Mar 28 09:08 num09.png -rw-r--r-- 1 pi pi 355 Mar 28 09:08 player1.png -rw-r--r-- 1 pi pi 19900 Mar 28 09:08 presstart.ttf -rw-r--r-- 1 pi pi 417 Mar 28 09:08 question.png -rw-r--r-- 1 pi pi 88188 Mar 28 09:08 right.wav -rw-r--r-- 1 pi pi 65580 Mar 28 09:08 ring01.wav -rw-r--r-- 1 pi pi 63916 Mar 28 09:08 ring02.wav -rw-r--r-- 1 pi pi 383 Mar 28 09:08 selarrow.png -rw-r--r-- 1 pi pi 28844 Mar 28 09:08 select.wav -rw-r--r-- 1 pi pi 166780 Mar 28 09:08 teedo.wav -rw-r--r-- 1 pi pi 224 Mar 28 09:08 timegal.cfg -rw-r--r-- 1 pi pi 392 Mar 28 09:08 topscore.png -rw-r--r-- 1 pi pi 89512 Mar 28 09:08 wrong.wav
Watching it play now on a fresh install on RetroPie 4.7.1-rpi4_400........
This is only duplicating 924K of data
-
Delete that directory and I get (RetroPie 4.7.1-rpi4_400):
2021-03-28 09:13:28.836 INFO [1530] [printline@95] Starting Singe version 1.14 2021-03-28 09:13:28.846 INFO [1530] [printline@95] SINGE: Unable to load sprite singe/timegal/arrowup.png! 2021-03-28 09:13:28.846 INFO [1530] [printline@95] SINGE: Unable to load sprite singe/timegal/arrowdown.png! 2021-03-28 09:13:28.846 INFO [1530] [printline@95] SINGE: Unable to load sprite singe/timegal/arrowleft.png! 2021-03-28 09:13:28.846 INFO [1530] [printline@95] SINGE: Unable to load sprite singe/timegal/arrowright.png! 2021-03-28 09:13:28.846 INFO [1530] [printline@95] SINGE: Unable to load sprite singe/timegal/action.png! 2021-03-28 09:13:28.846 INFO [1530] [printline@95] SINGE: Unable to load sprite singe/timegal/button.png! 2021-03-28 09:13:28.847 INFO [1530] [printline@95] SINGE: Unable to load sprite singe/timegal/selarrow.png! 2021-03-28 09:13:28.847 INFO [1530] [printline@95] SINGE: Unable to load sprite singe/timegal/num00.png! 2021-03-28 09:13:28.847 INFO [1530] [printline@95] SINGE: Unable to load sprite singe/timegal/num01.png! 2021-03-28 09:13:28.847 INFO [1530] [printline@95] SINGE: Unable to load sprite singe/timegal/num02.png! 2021-03-28 09:13:28.847 INFO [1530] [printline@95] SINGE: Unable to load sprite singe/timegal/num03.png! 2021-03-28 09:13:28.847 INFO [1530] [printline@95] SINGE: Unable to load sprite singe/timegal/num04.png! 2021-03-28 09:13:28.847 INFO [1530] [printline@95] SINGE: Unable to load sprite singe/timegal/num05.png! 2021-03-28 09:13:28.848 INFO [1530] [printline@95] SINGE: Unable to load sprite singe/timegal/num06.png! 2021-03-28 09:13:28.848 INFO [1530] [printline@95] SINGE: Unable to load sprite singe/timegal/num07.png! 2021-03-28 09:13:28.848 INFO [1530] [printline@95] SINGE: Unable to load sprite singe/timegal/num08.png! 2021-03-28 09:13:28.848 INFO [1530] [printline@95] SINGE: Unable to load sprite singe/timegal/num09.png! 2021-03-28 09:13:28.848 INFO [1530] [printline@95] SINGE: Unable to load font. 2021-03-28 09:13:28.848 INFO [1530] [printline@95] SINGE: Could not open singe/timegal/ring01.wav: Couldn't open singe/timegal/ring01.wav 2021-03-28 09:13:28.848 INFO [1530] [printline@95] SINGE: Could not open singe/timegal/credit.wav: Couldn't open singe/timegal/credit.wav 2021-03-28 09:13:28.849 INFO [1530] [printline@95] SINGE: Could not open singe/timegal/select.wav: Couldn't open singe/timegal/select.wav 2021-03-28 09:13:28.849 INFO [1530] [printline@95] SINGE: Could not open singe/timegal/ring02.wav: Couldn't open singe/timegal/ring02.wav 2021-03-28 09:13:28.849 INFO [1530] [printline@95] SINGE: Could not open singe/timegal/right.wav: Couldn't open singe/timegal/right.wav 2021-03-28 09:13:28.849 INFO [1530] [printline@95] SINGE: Could not open singe/timegal/wrong.wav: Couldn't open singe/timegal/wrong.wav 2021-03-28 09:13:28.849 INFO [1530] [printline@95] SINGE: Could not open singe/timegal/blip.wav: Couldn't open singe/timegal/blip.wav 2021-03-28 09:13:28.849 INFO [1530] [printline@95] SINGE: Could not open singe/timegal/teedo.wav: Couldn't open singe/timegal/teedo.wav
So you have the setup wrong somewhere, screenshots would show us.
-
@dirtbagxon All fixed! It was on my end. Looks like the archive utility app that comes with my mac is a real pile of garbage and was not extracting files correctly. Tried another and that did the trick. It's all good! Now I can goto sleep.
-
-
@dirtbagxon Is it normal for these long load times? Both Time Gal and Ninja Hayate have around 1min 20sec of load time when it first starts and when you die its at least 35 seconds of waiting. I only have these two singe games and it happens with both.
Dragons Lair 2 is jittery. Dragons lair 1 and Space Ace seem to be fine. It's not jittery with daphne. I'm using the dex77 rips if it matters.
-
@darksavior said in New Hypseus and lr-Daphne to add on Retropie-Setup:
@dirtbagxon Is it normal for these long load times? Both Time Gal and Ninja Hayate have around 1min 20sec of load time when it first starts and when you die its at least 35 seconds of waiting. I only have these two singe games and it happens with both.
Hmmm, no one else has mentioned this, but I think I know what it is:
Copy this to a file called
patch.diff
--- a/src/game/singe/loslib.c +++ b/src/game/singe/loslib.c @@ -72,11 +72,7 @@ static int os_getenv (lua_State *L) { static int os_clock (lua_State *L) { -#ifdef __x86_64__ lua_pushnumber(L, (((lua_Number)clock())/(lua_Number)CLOCKS_PER_SEC)*LUA_64BIT_CLOCK_SKEW); -#else - lua_pushnumber(L, ((lua_Number)clock())/(lua_Number)CLOCKS_PER_SEC); -#endif return 1; }
Then
patch -p1 < patch.diff
in the repo root, then recompilemake
and copy new binary overdaphne.bin
cp build/hypseus /opt/retropie/emulators/daphne/daphne.bin
This is an inherit from the old Singe which has LUA os_clock issues, might not be needed on this port.... Let me know and I'll push fix.
Also anyone else seeing this, to be sure it's not specific?
-
Ok,
I don't see a 1m 20s delay, but I do see a delay of more than should be.
I have pushed fix, grab latest repo merge.
-
@dirtbagxon I might've patched it wrong or did a process wrong. Daphne games still load but none of the singe games load anymore. Back to the old errors of missing files and this time my compression app is not to blame.
-
@darksavior said in New Hypseus and lr-Daphne to add on Retropie-Setup:
@dirtbagxon I might've patched it wrong or did a process wrong. Daphne games still load but none of the singe games load anymore. Back to the old errors of missing files and this time my compression app is not to blame.
Clean it down and start again.
Re the lair2 issue, I can't replicate this, so maybe a file encoding issue and the newer mpeg libraries......
-
@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.
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.