(REQUEST) Add Daphne Singe emulator?
-
If this helps, this was my experience with the installation:
Singe Installation with Time Gal
- Previously had RetroPie Daphne installed
- Followed installation found in this thread (thanks! very solid)
- Copied /opt/retropie/configs/daphne/dapinput.ini to ~/.daphne/singeinput.ini
- Copied ALL required Time Gal files (m2v, framefile, etc.) to ~/.daphne/singe/timegal/
- Backed up ~/.daphne/singe/timegal.singe --> ~/.daphne/singe/timegal.singe.original
- Copied the bytecode fix --> ~/.daphne/singe/timegal.singe
TIMEGAL RUN ATTEMPT (ISSUE #1)
Missing framefile (source asset issue)[FIX]
Renamed framefile as timegal.txt as requiredTIMEGAL RUN ATTEMPT (ISSUE #2)
Could not load bitmap : pics/gamenowook.bmp Video initialization failed! Loader failed with an unknown exit code : 1.[FIX]
Create symlink so graphics are foundmv ~/.daphne/pics ~/.daphne/pics_original ln -s ~/singe/pics/ ~/.daphne/pics
TIMEGAL RUN ATTEMPT (ISSUE #3)
Video is too small (800x600) and in the upper-left corner of the screen[FIX]
Will need to set -x and -y to match full TV resolution (I'm running 1080p)Edit <install dir>/singe/run.sh
Line 57, change -x 800 \ to -x 1920 \
Line 58, change "-y 600" to "-y 1080"
Should look like:-x 1920 \ -y 1080
Save changes.
TIMEGAL RUN ATTEMPT (ISSUE #4)
Noted audio wasn't playing (source asset issue)[FIX]
Needed to change capitalization of the OGG file to match the M2V file -
@roslof pretty much comparable to my experience and problems I faced (I didn't have the audio one though).
One thing I did, since I have my games in an external folder, was to create a singe folder in roms/daphne, add the pics and sound folder there, symlink them from ~/.daphne, and also copy the emulator to /opt/retropie/emulators/singe .
@DirtBagXon a question: I copied the entire source folder to /opt/retropie/emulators/singe, but are all those files needed or is it just
daphne.bin
libsinge.so
libvldp2.sothat we need there?
Thanks!
-
still not working for my
daphne_log.txt ---DAPHNE version 1.0.13 --Command line is: /opt/retropie/emulators/daphne/daphne.bin maddog vldp -nohwaccel -framefile /media/usb0/roms/daphne/singe/maddog.sh/maddog.txt -homedir /opt/retropie/emulators/daphne -fullscreen --CPU : UnknownCPU 0 MHz || Mem : 0 megs --OS : Linux 4.19 || 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 ERROR: Unknown game type specified : maddog Bad command line or initialization problem (see daphne_log.txt for details). To run DAPHNE, you must specify which game to run and which laserdisc player you are using. For example, try 'daphne lair noldp' to run Dragon's Lair in testing mode.
after im runging it im getting this with daphne screeen
but with SINGE GOT AN ERROR =(
could not open the VLP2 dynamic library (file not found maybe ? )And still cant run it from emultionstaion ,
I have a sh file but i just bring me back to emultionstaion -
maddog.sh -cd maddog ./run.sh maddog
-
Hey @shavecat,
It bears repeating that maddog is a singe game. The log informs that you are still running daphne instead of singe. Also, you seem to be mixing up some of the advice you've been given. Maybe we can unravel this a bit.
I'd recommend you stick with the maddog.sh approach, but you'll need to fix up a few things.
Change maddog.sh include the full path to your singe executable folder. Something like:
cd /opt/retropie/emulators/singe ./run.sh maddog
The above assumes you installed singe in the folder listed. Change accordingly.
Add a singe line to emulators.cfg:
singe = %ROM%
When you try to run the .sh file from EmulationStation, you'll need to interrupt the loading process once and change the emulator to singe. Do not use daphne for maddog.
Also (double-checking) if you created an entry for singe in es_systems.cfg, or are adding to daphne, be sure to include .sh (and optionally .SH) to the extensions line... This will ensure the .sh files appear in EmulationStation. Something like this:
If extending Daphne:
<extension>.daphne .sh .DAPHNE .SH</extension>
If you added a new Singe system, it may look something like this:
<extension>.singe .sh .SINGE .SH</extension>
or simply:
<extension>.sh .SH</extension>
Then restart EmulationStation so the change takes affect,
This should get you closer. It may or may not solve everything.
-
@roslof
Thanks again
so i did all that
still going just the same to emultiosation .
runcommand.infodaphne singe /media/usb0/roms/daphne/singe/maddog.sh "/media/usb0/roms/daphne/singe/maddog.sh"
runcommand.log
``` -
@shavecat Permission denied typically means you don't have the execute flag set.
sudo chmod +x maddog.sh
-
-
@roslof said in (REQUEST) Add Daphne Singe emulator?:
sudo chmod +x maddog.sh
That won't work if the
.sh
file is on a FAT32 system, the executable bit (x
) is ignored.Try moving the
.sh
locally, on the sdcard, and make it exeutable there. Of course, the.sh
path that starts the game should be adjusted. -
@mitu Good catch. I think adding the "exec" option on fstab is also an alternative.
-
-
If you can get back to this point:
trying SO im getting the daphne emulator finally ! but with SINGE GOT AN ERROR =( could not open the VLP2 dynamic library (file not found maybe ? ) Progress ! :)](link url)
Then I have a solution for making the shared libraries available globally, although it's a little brutal:
echo "/home/pi/singe" | sudo tee -a /etc/ld.so.conf.d/singe.conf sudo ldconfig
This is, of course, assuming you still have those *.so files in /home/pi/singe - or change as appropriate...
Then try again....
To revert, if this has bad consequences, just:
sudo rm /etc/ld.so.conf.d/singe.conf sudo ldconfig
-
@shavecat said in (REQUEST) Add Daphne Singe emulator?:
so still the same :
Not sure what you're expecting - isn't your ROMs folder on the USB stick, which is still a FAT32/non-Linux file system ?
-
@mitu
i did a new sh file still...
and i have a lot of sh files on my harddrive for msdos games the work just fine ... (if its related )
@DirtBagXon
can i run it after that from the emulationstaion ? and not from the cmd ?
Im guessing for now i will wait for maybe a proper install .
dont really get it working :\ -
@shavecat said in (REQUEST) Add Daphne Singe emulator?:
can i run it after that from the emulationstaion ? and not from the cmd ?
If you can get the game working from the command line, then it is just a matter of translating the same call format into the script called by emulationstation (?).
I don't believe anyone has taken on the task of converting this to a RetroPie plugin, and everyone thus far has made custom scripts to work in their own unique environments, welcome to the world of open source.
Of course this requires the knowledge to navigate your way around the required scripting.
At this point I think it may be a good idea for you to either:
- Learn, and experiment with, the required scripting by looking at existing scripts and figuring out what they do etc.
- Wait until someone picks up the task of making singe a supported plugin (if indeed that does happen).
Sorry I couldn't get it working for you....
-
@DirtBagXon
OMG ! OMG !!!
IT DID WORK !!!echo "/home/pi/singe" | sudo tee -a /etc/ld.so.conf.d/singe.conf sudo ldconfig
Working like Charm !!
thank u so much !!!! <3333 !!!!now for get the sh working from the es.
-
@shavecat said in (REQUEST) Add Daphne Singe emulator?:
@DirtBagXon
OMG ! OMG !!!
IT DID WORK !!!Interesting, so this means (in your environment) LD_LIBRARY_PATH is being ignored.
So glad it's finally working for you...
-
@DirtBagXon
Thanks u so much ! again !
now i have the issue with the sh file hahah :
-
@shavecat said in (REQUEST) Add Daphne Singe emulator?:
@DirtBagXon
Thanks u so much ! again !
now i have the issue with the sh file hahah :)You can't put a linux executable script on a partition that is vfat (MSDOS)
sudo mount | egrep -i 'vfat|msdos' | awk '{print $3}'
Should show you where you cannot locate the scripts.....
-
pi@retropie:~ $ sudo mount | egrep -i 'vfat|msdos' | awk '{print $3}' /boot pi@retropie:~ $
and again i have already .sh files on my msdos games and the are all on my usbharddirve and working .
-
sudo mount | grep usb0
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.