New Hypseus and lr-Daphne to add on Retropie-Setup
-
@roslof said in New Hypseus and lr-Daphne to add on Retropie-Setup:
@darksavior said in New Hypseus and lr-Daphne to add on Retropie-Setup:
@dirtbagxon Got a bit further but now it's looking for the fonts and audio stuff . This is the last line:
SINGE: Could not open singe/timegal/teedo.wav: Couldn't open singe/timegal/teedo.wav
I don't have those folders but I have the files in my timegal folder. I'll move them but where would I make those folders?Hey @Darksavior. FWIW, I had the same issues and had to jump through a couple of mini-hoops. As it stands, I believe the ../roms/daphne folder is always "root" for any of the
<game>.singe
scripts regardless of its location.If helpful, for Singe games only, this is what I'm currently doing to solve:
-
Create a simlink within roms/daphne:
ln -s /home/pi/RetroPie/roms/daphne singe
RESULT SHOULD BE: singe -> /home/pi/RetroPie/roms/daphne -
For each Singe game, create simlinks that are the name of the rom that map to each .daphne game within roms/daphne:
Examples:
ln -s /home/pi/RetroPie/roms/daphne/hayate.daphne hayate
ln -s /home/pi/RetroPie/roms/daphne/maddog.daphne maddog
ln -s /home/pi/RetroPie/roms/daphne/maddog2.daphne maddog2
ln -s /home/pi/RetroPie/roms/daphne/timegal.daphne timegal
ln -s /home/pi/RetroPie/roms/daphne/timetraveler.daphne timetraveler
SAMPLE RESULTS:
hayate -> hayate.daphne/
maddog -> maddog.daphne/
maddog2 -> maddog2.daphne/
timegal -> timegal.daphne/
timetraveler -> timetraveler.daphne/
So it's not pretty, and I fought with -homedir and -datadir settings to no avail. -- but this is best solution I could find based on the way code currently works that allows the standard naming convention and a clean launch from EmulationStation without extra files/folders visible
Same thing, but putting them in a subdir, as I did, might be a little neater.
This is due to paths hardcoded into the .singe files themselves, which we really don't want to be editing.
In my suggestion it would be:
roms |-- daphne | | | | | |-- timegal.daphne | | |-- timegal.commands (Optional) | | | | | |-- timegal.txt | | |-- timegal.m2v | | |-- timegal.ogg | | |-- timegal.singe | | | | | +-- singe | +-- timegal <<- link to ../timegal.daphne (ln -s ../timegal.daphne timegal) | | | | | +-- roms | +-- lair.zip
With the new daphne.sh as above of course.
-
-
@dirtbagxon No change. Same error messages.
@roslof Got further with your simlink which gets different errors now:2021-03-28 00:19:01.945 INFO [21016] [printline@95] SINGE: Could not open singe/timegal/ring01.wav: Could not find RIFF or WAVE identifiers (not a Waveform file) 2021-03-28 00:19:01.945 INFO [21016] [printline@95] SINGE: Could not open singe/timegal/credit.wav: Could not find RIFF or WAVE identifiers (not a Waveform file) 2021-03-28 00:19:01.945 INFO [21016] [printline@95] SINGE: Could not open singe/timegal/select.wav: Could not find RIFF or WAVE identifiers (not a Waveform file) 2021-03-28 00:19:01.945 INFO [21016] [printline@95] SINGE: Could not open singe/timegal/ring02.wav: Could not find RIFF or WAVE identifiers (not a Waveform file) 2021-03-28 00:19:01.945 INFO [21016] [printline@95] SINGE: Could not open singe/timegal/right.wav: Could not find RIFF or WAVE identifiers (not a Waveform file) 2021-03-28 00:19:01.945 INFO [21016] [printline@95] SINGE: Could not open singe/timegal/wrong.wav: Could not find RIFF or WAVE identifiers (not a Waveform file) 2021-03-28 00:19:01.945 INFO [21016] [printline@95] SINGE: Could not open singe/timegal/blip.wav: Could not find RIFF or WAVE identifiers (not a Waveform file) 2021-03-28 00:19:01.945 INFO [21016] [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 No change. Same error messages.
Ok, maybe it needs
--datadir
argument, I have edited the daphne.sh above with that argument for the singe games - replace it with the new content - does that work ?--homedir
and--datadir
I have always specified previously, so let's stick with that.... -
@darksavior said in New Hypseus and lr-Daphne to add on Retropie-Setup:
@dirtbagxon No change. Same error messages.
@roslof Got further with your simlink which gets different errors now:2021-03-28 00:19:01.945 INFO [21016] [printline@95] SINGE: Could not open singe/timegal/ring01.wav: Could not find RIFF or WAVE identifiers (not a Waveform file) 2021-03-28 00:19:01.945 INFO [21016] [printline@95] SINGE: Could not open singe/timegal/credit.wav: Could not find RIFF or WAVE identifiers (not a Waveform file) 2021-03-28 00:19:01.945 INFO [21016] [printline@95] SINGE: Could not open singe/timegal/select.wav: Could not find RIFF or WAVE identifiers (not a Waveform file) 2021-03-28 00:19:01.945 INFO [21016] [printline@95] SINGE: Could not open singe/timegal/ring02.wav: Could not find RIFF or WAVE identifiers (not a Waveform file) 2021-03-28 00:19:01.945 INFO [21016] [printline@95] SINGE: Could not open singe/timegal/right.wav: Could not find RIFF or WAVE identifiers (not a Waveform file) 2021-03-28 00:19:01.945 INFO [21016] [printline@95] SINGE: Could not open singe/timegal/wrong.wav: Could not find RIFF or WAVE identifiers (not a Waveform file) 2021-03-28 00:19:01.945 INFO [21016] [printline@95] SINGE: Could not open singe/timegal/blip.wav: Could not find RIFF or WAVE identifiers (not a Waveform file) 2021-03-28 00:19:01.945 INFO [21016] [printline@95] SINGE: Could not open singe/timegal/teedo.wav: Could not find RIFF or WAVE identifiers (not a Waveform file)
Be sure ALL game-related files are pulled out of subfolders and placed into the main <gamename>.daphne folder. The subfolders should be empty and discarded. Feel free to backup first, just in case.
EDIT see note below from @DirtBagXon that this will be case-by-case, depending on the game.
-
@dirtbagxon said in New Hypseus and lr-Daphne to add on Retropie-Setup:
@darksavior said in New Hypseus and lr-Daphne to add on Retropie-Setup:
@dirtbagxon No change. Same error messages.
Ok, maybe it needs
--datadir
argument, I have edited the daphne.sh above with that argument for the singe games - replace it with the new content - does that work ?--homedir
and--datadir
I have always specified previously, so let's stick with that....I thought I tried that and appended the $dir or something, but I recall it didn't work correctly. Will play around with this in a bit.
-
@roslof said in New Hypseus and lr-Daphne to add on Retropie-Setup:
@darksavior said in New Hypseus and lr-Daphne to add on Retropie-Setup:
Be sure ALL game-related files are pulled out of subfolders and placed into the main <gamename>.daphne folder. The subfolders should be empty and discarded. Feel free to backup first, just in case.
Agreed, in this case of
timegal
but subdirectories can be there in other games, again dictated by the.singe
file. -
@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:
@darksavior said in New Hypseus and lr-Daphne to add on Retropie-Setup:
@dirtbagxon No change. Same error messages.
Ok, maybe it needs
--datadir
argument, I have edited the daphne.sh above with that argument for the singe games - replace it with the new content - does that work ?--homedir
and--datadir
I have always specified previously, so let's stick with that....I thought I tried that and appended the $dir or something, but I recall it didn't work correctly. Will play around with this in a bit.
No
--homedir
and--datadir
are the root of daphne, so roms, singe etc are subdirs from there.You shouldn't append game names to those arguments.
-
@dirtbagxon said in New Hypseus and lr-Daphne to add on Retropie-Setup:
No --homedir and --datadir are the root of daphne, so roms, singe etc are subdirs from there.
You shouldn't append game names to those arguments.Right with you. This is my current setting, but still need to use the symlinks.
I believe in order for this to work, there needs to be a dynamic argument that moves with the folder name you select from EmulationStation. So using Time Gal as an example:
timegal.daphne is the folder
The script parses this into $name as timegal and $dir as timegal.daphne (I believe).
The script resides in timegal.daphne -- but -homedir and -datadir are a level higher.
So everything in timegal.daphne is ignored by the script, as it's using the directory one level higher.If $dir can be used to dynamically move with your selection, I think this will work without symlinks. But I'm still pretty junior here, so might be missing something.
-
Also guys, might be useful to see the full output of the commands:
cat /dev/shm/runcommand.log
after any failures.
-
@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:
No --homedir and --datadir are the root of daphne, so roms, singe etc are subdirs from there.
You shouldn't append game names to those arguments.Right with you. This is my current setting, but still need to use the simlinks.
I believe in order for this to work, there needs to be a dynamic argument that moves with the folder name you select from EmulationStation. So using Time Gal as an example:
timegal.daphne is the folder
The script parses this into $name as timegal and $dir as timegal.daphne (I believe).
The script resides in timegal.daphne -- but the --homedir and --datadir are a level higher.
So everything in timegal.daphne is ignored by the script, as it's using the directory one level higher.If $dir can be used to dynamically move with your selection, I think this will work without symlinks. But I'm still pretty junior here, so might be missing something.
Let me try and replicate this, and see what is happening.....
-
OK, I think we have been overcomplicating
This works for me on the command line:
hypseus.bin singe vldp -script ~/.daphne/timegal.daphne/timegal.singe -framefile ~/.daphne/timegal.daphne/timegal.txt -homedir ~/.daphne/ -datadir ~/.daphne/
This doesn't
hypseus.bin singe vldp -script ~/.daphne/timegal.daphne/timegal.singe -framefile ~/.daphne/timegal.daphne/timegal.txt -homedir ~/.daphne/
So, it's the
-datadir
that is needed.My fault I should have put
-datadir
in the first version of the new daphne.sh script.No need for symlinks, or
singe
subdir, just this:roms |-- daphne | | | | | |-- timegal.daphne | | |-- timegal.commands (Optional) | | | | | |-- timegal.txt | | |-- timegal.m2v | | |-- timegal.ogg | | |-- timegal.singe
-
So take the daphne.sh that is there now above, move all the symlinks and subdir out of the way and try that.
Give:
cat /dev/shm/runcommand.log
For anything.
I need to see the full output to see what emustation, or whatever, is actually doing...
-
This post is deleted! -
Can you also give the output of your timegal directory:
ls -al /home/pi/RetroPie/roms/daphne/timegal.daphne
Would be useful to see the structure is the same as mine.
-
@dirtbagxon Not getting anywhere. I'll delete the symlink and stand by..
drwxr-xr-x 2 pi pi 32768 Mar 28 00:44 . drwxr-xr-x 10 pi pi 32768 Mar 27 22:31 .. -rwxr-xr-x 1 pi pi 18332 Mar 27 22:50 LICENSE.TXT -rwxr-xr-x 1 pi pi 49 Mar 27 22:50 'PLACE VIDEO FILE HERE.TXT' -rwxr-xr-x 1 pi pi 713 Mar 27 22:50 'TIMEGAL CREDITS.rtf' -rwxr-xr-x 1 pi pi 262040 Mar 27 22:50 Timegal.dat -rwxr-xr-x 1 pi pi 2103988858 Mar 27 22:52 Timegal.m2v -rwxr-xr-x 1 pi pi 3165 Mar 27 22:50 'action 2.png' -rwxr-xr-x 1 pi pi 2833 Mar 27 22:50 action.png -rwxr-xr-x 1 pi pi 3044 Mar 27 22:50 arrowdown.png -rwxr-xr-x 1 pi pi 3086 Mar 27 22:50 arrowleft.png -rwxr-xr-x 1 pi pi 3056 Mar 27 22:50 arrowright.png -rwxr-xr-x 1 pi pi 3062 Mar 27 22:50 arrowup.png -rwxr-xr-x 1 pi pi 56040 Mar 27 22:50 blip.wav -rwxr-xr-x 1 pi pi 454 Mar 27 22:50 button.png -rwxr-xr-x 1 pi pi 338 Mar 27 22:50 credit.png -rwxr-xr-x 1 pi pi 140588 Mar 27 22:50 credit.wav -rwxr-xr-x 1 pi pi 386 Mar 27 22:50 freeplay.png -rwxr-xr-x 1 pi pi 280 Mar 27 22:50 gal.png -rwxr-xr-x 1 pi pi 436 Mar 27 22:50 getready.png -rwxr-xr-x 1 pi pi 435 Mar 27 22:50 insertcoin.png -rwxr-xr-x 1 pi pi 534 Mar 27 22:50 line1.png -rwxr-xr-x 1 pi pi 436 Mar 27 22:50 line100.png -rwxr-xr-x 1 pi pi 434 Mar 27 22:50 line101.png -rwxr-xr-x 1 pi pi 468 Mar 27 22:50 line102.png -rwxr-xr-x 1 pi pi 389 Mar 27 22:50 line103.png -rwxr-xr-x 1 pi pi 411 Mar 27 22:50 line104.png -rwxr-xr-x 1 pi pi 484 Mar 27 22:50 line105.png -rwxr-xr-x 1 pi pi 536 Mar 27 22:50 line106.png -rwxr-xr-x 1 pi pi 557 Mar 27 22:50 line107.png -rwxr-xr-x 1 pi pi 351 Mar 27 22:50 line108.png -rwxr-xr-x 1 pi pi 543 Mar 27 22:50 line109.png -rwxr-xr-x 1 pi pi 463 Mar 27 22:50 line110.png -rwxr-xr-x 1 pi pi 467 Mar 27 22:50 line111.png -rwxr-xr-x 1 pi pi 473 Mar 27 22:50 line112.png -rwxr-xr-x 1 pi pi 469 Mar 27 22:50 line113.png -rwxr-xr-x 1 pi pi 389 Mar 27 22:50 line114.png -rwxr-xr-x 1 pi pi 519 Mar 27 22:50 line115.png -rwxr-xr-x 1 pi pi 548 Mar 27 22:50 line116.png -rwxr-xr-x 1 pi pi 316 Mar 27 22:50 line117.png -rwxr-xr-x 1 pi pi 435 Mar 27 22:50 line2.png -rwxr-xr-x 1 pi pi 423 Mar 27 22:50 line3.png -rwxr-xr-x 1 pi pi 497 Mar 27 22:50 line4.png -rwxr-xr-x 1 pi pi 416 Mar 27 22:50 line5.png -rwxr-xr-x 1 pi pi 511 Mar 27 22:50 line6.png -rwxr-xr-x 1 pi pi 229 Mar 27 22:50 num00.png -rwxr-xr-x 1 pi pi 212 Mar 27 22:50 num01.png -rwxr-xr-x 1 pi pi 227 Mar 27 22:50 num02.png -rwxr-xr-x 1 pi pi 230 Mar 27 22:50 num03.png -rwxr-xr-x 1 pi pi 227 Mar 27 22:50 num04.png -rwxr-xr-x 1 pi pi 228 Mar 27 22:50 num05.png -rwxr-xr-x 1 pi pi 228 Mar 27 22:50 num06.png -rwxr-xr-x 1 pi pi 225 Mar 27 22:50 num07.png -rwxr-xr-x 1 pi pi 234 Mar 27 22:50 num08.png -rwxr-xr-x 1 pi pi 229 Mar 27 22:50 num09.png -rwxr-xr-x 1 pi pi 355 Mar 27 22:50 player1.png -rwxr-xr-x 1 pi pi 19900 Mar 27 22:50 presstart.ttf -rwxr-xr-x 1 pi pi 3041 Mar 27 22:50 question.png -rwxr-xr-x 1 pi pi 88188 Mar 27 22:50 right.wav -rwxr-xr-x 1 pi pi 65580 Mar 27 22:50 ring01.wav -rwxr-xr-x 1 pi pi 63916 Mar 27 22:50 ring02.wav -rwxr-xr-x 1 pi pi 2996 Mar 27 22:50 selarrow.png -rwxr-xr-x 1 pi pi 28844 Mar 27 22:50 select.wav -rwxr-xr-x 1 pi pi 166780 Mar 27 22:50 teedo.wav -rwxr-xr-x 1 pi pi 235 Mar 27 22:50 timegal.cfg -rwxr-xr-x 1 pi pi 38863289 Mar 27 22:52 timegal.ogg -rwxr-xr-x 1 pi pi 186513 Mar 27 22:52 timegal.singe -rwxr-xr-x 1 pi pi 18 Mar 27 22:50 timegal.txt -rwxr-xr-x 1 pi pi 392 Mar 27 22:52 topscore.png -rwxr-xr-x 1 pi pi 89512 Mar 27 22:52 wrong.wav
-
@darksavior said in New Hypseus and lr-Daphne to add on Retropie-Setup:
@dirtbagxon Not getting anywhere. I'll delete the symlink and stand by..
Ok, that looks good, I am just setting up a clean RetroPie here.... to test.
-
Ok, I am seeing exactly what you are seeing, I can't immediately see why it's looking for the path it's looking for.
Will investigate....
-
mkdir /home/pi/RetroPie/roms/daphne/singe ln -s /home/pi/RetroPie/roms/daphne/singe /opt/retropie/emulators/daphne/singe cd /home/pi/RetroPie/roms/daphne/singe ln -s ../timegal.daphne timegal ln -s ../hayate.daphne hayate ...
No
-datadir
needed in daphne.sh - edited above -
roms |-- daphne | | | |-- timegal.daphne | | | | | |-- timegal.commands (Optional) | | |-- timegal.txt | | |-- timegal.m2v | | |-- timegal.ogg | | |-- timegal.singe | | | +-- singe | +-- timegal <<- link (ln -s ../timegal.daphne timegal)
What was missing was the symlink below:
ln -s /home/pi/RetroPie/roms/daphne/singe /opt/retropie/emulators/daphne/singe
And the new daphne.sh
-
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.