The issue with Singe games is they rely on a sub directory/folder from the defined Daphne
-homedir called ‘singe’. This is hardcoded within the LUA code of each game. Essentially the ‘roms’ directory of the Daphne world.
So you have two choices, either edit all your games to remove the directory reference - not advised. Or create a folder called ‘singe’ and symlink these directories to the true location. The latter solution is what the document describes.
You will therefore need to create a ‘singe’ directory within your Daphne home definition. You will need to look at Batocera scripts to see where this ‘homedir’ is defined, or ask a package maintainer. I created the posted documentation with the guidance from the RetroPie community and users. There may be a better, or easier, path to do this in Batocera.
For instance, the main script that calls Daphne in RetroPie scripts uses:
"/opt/retropie/emulators/daphne/daphne.bin" singe vldp -framefile "$dir/$name.txt" -script "$dir/$name.singe" -homedir "/opt/retropie/emulators/daphne" -fullscreen $params
As you can see
-homedir is defined there. Therefore your ‘singe’ directory will need to be created in ‘
/opt/retropie/emulators/daphne'or as a symlink from that directory.
From within that directory you would create a symlink back to the ‘real’ data folder,
ln -s ../timegal.daphne timegal or similar, as described in the document.
You can bypass all of this by using the command line, and simply run hypseus.bin with the arguments you want/need in a terminal:
hypseus.bin singe vldp -framefile ~/.daphne/singe/timegal/timegal.txt -script ~/.daphne/singe/timegal/timegal.singe -homedir ~/.daphne/ -datadir ~/.daphne/
~/.daphne with your local PATH for the Daphne data.
Daphne, and all its arguments, are notoriously difficult to get to grips with. So the more you play with the command line arguments, and are able to see the error logs, the easier you will debug your issues.