Daphne and Cabrio-FE

71 views
Skip to first unread message

Wes Hodges

unread,
Jan 31, 2015, 4:48:01 PM1/31/15
to cabrio...@googlegroups.com
Anybody got Daphne up and running with Cabrio-FE?

If so, how should I call an image to be mounted when a game is selected?

Any help would be much appreciated. Thanks.

Joseph K

unread,
Feb 2, 2015, 9:07:03 AM2/2/15
to cabrio...@googlegroups.com
Wes,
  Note that I've never actually used Daphne (or at least not successfully), so I'm just going from the literature. It reads as though it is a lot like MAME in that you tell it a "rom name", and it expects the PCB rom and Laserdisk (or compressed hard disk in MAME terms) to be in set locations. For mame, that's "/path/to/roms/kinst.zip" and "/path/to/roms/kinst/kinst.chd" for the pcb and chd, respectively.

http://wiki.arcadecontrols.com/wiki/Daphne
https://www.daphne-emu.com:9443/mediawiki/index.php/CmdLine

To me, it looks like you have a few "required" parameters. The game type (rom), player type (vldp, likely) and a frame file. For this, I'd just set up a simple bash script, like the following:

-------------------
#!/bin/bash
daphne "$1" vldp -framefile "/path/to/framefiles/$1.txt" -fullscreen
-----------------

if you copy between the '-'s and save as a .sh file, then set it executable (chmod +x script.sh), you can then execute it like this:

./script.sh ace

which would expand to:

daphne "ace" vldp -framefile "/path/to/framefiles/ace.txt" -fullscreen

I wasn't able to dig up how daphne stores the rom files, or how those are configured. If it's like mame, there should be an ini that sets up the path. If you're no-kidding looking to mount the disk image, then this is what you need:

http://www.cyberciti.biz/tips/how-to-mount-iso-image-under-linux.html

Note that you will need to create a folder to mount to (e.g. /media/DaphneDisk), as well as know the proper filesystem type to mount as. "mount" will check the filesystem type and return an error if there is a mismatch. I'm not sure "laserdisk" is a valid type or if you really need to go down that rabbit hole.

Hope that helps.

Regards,
Joseph
--
You received this message because you are subscribed to the Google Groups "Cabrio FE Development" group.
To unsubscribe from this group and stop receiving emails from it, send an email to cabrio-fe-de...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Wes Hodges

unread,
Feb 2, 2015, 3:51:35 PM2/2/15
to cabrio...@googlegroups.com
Nice. I will get cracking on this whenever I get home tonight! As always, I will post my findings so that someone else may be helped with a similar issue.

Wes Hodges

unread,
Feb 3, 2015, 1:47:36 AM2/3/15
to cabrio...@googlegroups.com
Well, thanks to you, I did make excellent progress in getting Daphne up and running. I did set up a Daphne emulator in config.xml and set it executable to /bin/bash and made a script placed in .cabrio that would launch a Daphne game from command line. Thing is, Daphne is a pain in the ass to set up....mega time.

You were correct about that command-line parameters, but the actual parameters look more like this (lol):
./daphne lair vldp -framefile /home/gamer/.daphne/framefile/lair.txt -blank_searches -min_seek_delay 1000 -seek_frames_per_ms 20 -homedir /home/gamer/.daphne -bank 0 11111000 -bank 1 00110111 -sound_buffer 1024 -volume_vldp 64 -fullscreen -x 640 -y 480 -opengl

yeah....

But after framefile editing, script editing, ld_export editing and Coors Light editing, I seem to have got it up and running for the most. There was absolutely no need for any iso mounting. There is a good bit that goes into setting her up, so if anyone wants a bit of help, I can try.


Funny thing is, by the time I got it working, I was too tired to play. haha



On Saturday, January 31, 2015 at 3:48:01 PM UTC-6, Wes Hodges wrote:
Reply all
Reply to author
Forward
0 new messages