[SOLVED] 3.811 Gamelist and Daphne

Installing ARpiCADE for the first time? Having issues? Check here first for solutions and tips on installing.

Moderator: dee2eR

pinhead77
Community Member
Community Member
Posts: 20
Joined: Sat Mar 10, 2018 2:40 pm
Location: Italy

Re: 3.811 Gamelist and Daphne

Post by pinhead77 » Sat Mar 24, 2018 1:05 pm

dee2eR wrote:
Fri Mar 23, 2018 10:54 pm
You're using the correct set for FBA, not sure why so much stuff is missing from the fba.lst file though. I just checked a list and the games missing descriptions should be supported in FBA. I prefer to use MAME when possible so hadn't noticed before. The FBA version in use will change at the next release but I think the roms will be the same, my understanding is FBA is using a modified MAME173 set.
Ok, i will do more tests later.
UPDATE: yes, the problem is that the FBA rom names do not correspond to those in the fba.lst
The solution is the manual editing of their name (...) and of the image name, or changing emulator: i don't think there is another fix to it, at this moment.
Thanks to all for help, now i know where are .lst files and how to edit them.
Problem "solved".

dee2eR wrote:
Fri Mar 23, 2018 10:54 pm
Also not sure if a .commands file will work or not without further fiddling in Daphne. The setup will be a bit different to RetroPie. Sorry I'm really not a Daphne expert, the couple of games I had for it worked and I moved on. It's certainly possible to implement it or something similar through the /boot/launchers/daphne.sh launcher. If the commands files are not native to Daphne you could edit in per game options into the launcher directly too.
.commands files are native to Daphne, but i think i understood where is the issue.
Now, I'm definitely sure it's a problem of ownership. I can see that owner of /boot/roms (and subfolders) is user "root", but, starting the Daphne games for the first time, the emulator creates .dat files and tries to write them in /boot/roms/daphne/framefile/[game folder] as "pi". So, i have to change permissions of /boot/roms (or /boot/roms/daphne/framefile/[game folder]) from "root" to "pi". I tried to do this with command "chown" as "root", but i always got the error "changing ownership of `/boot/roms': Operation not permitted". I think it's because the filesystem of BOOT partition is FAT32, and ownership changing with "chown" is not possibile in non-Linux partitions.

Maybe this can help.
Last edited by pinhead77 on Thu Mar 29, 2018 10:17 pm, edited 2 times in total.

bravebluerx
Contributing Member
Contributing Member
Posts: 27
Joined: Fri Sep 22, 2017 5:27 pm

Re: 3.811 Gamelist and Daphne

Post by bravebluerx » Wed Mar 28, 2018 11:11 pm

I found that Daphne games would only work on arpicade when I had the appropriate .dat file to go along with the .m2v file and.ogg file. You can get the .dat files generated from the daphne windows emulator daphne-emu.com, you will need to point daphne to an appropriate disc image to generate the files on your computer. They recommend the 20th anniversary DVD-VIDEO edition not the PC dvd-rom for space ace

pinhead77
Community Member
Community Member
Posts: 20
Joined: Sat Mar 10, 2018 2:40 pm
Location: Italy

Re: 3.811 Gamelist and Daphne

Post by pinhead77 » Wed Mar 28, 2018 11:20 pm

bravebluerx wrote:
Wed Mar 28, 2018 11:11 pm
I found that Daphne games would only work on arpicade when I had the appropriate .dat file to go along with the .m2v file and.ogg file. You can get the .dat files generated from the daphne windows emulator daphne-emu.com, you will need to point daphne to an appropriate disc image to generate the files on your computer. They recommend the 20th anniversary DVD-VIDEO edition not the PC dvd-rom for space ace
Ok, i have got the right DVDs: i generated my .m2v and .ogg files for Daphne with daphneloader using 20th anniversary DVD-VIDEO edition (boxset).

So, Daphne games will work on Arpicade with .dat generated from windows? Very good, i will try soon and then i will come back with my answer! Thank you very much


dee2eR wrote:
Fri Mar 23, 2018 10:54 pm
It's certainly possible to implement it or something similar through the /boot/launchers/daphne.sh launcher. If the commands files are not native to Daphne you could edit in per game options into the launcher directly too.
How could i implement these codes (see below) into the launcher? Daphne uses them (located in the same folder of framefiles) to set options ingame (lifes, difficulty level).

Dragon's Lair

Code: Select all

/opt/retropie/emulators/daphne/daphne.bin dle21 vldp -framefile /home/pi/RetroPie/roms/daphne/dle21.daphne/dle21.txt -blank_searches -min_seek_delay 1000 -seek_frames_per_ms 20 -homedir /opt/retropie/emulators/daphne -bank 0 11011000 -bank 1 00110111 -sound_buffer 2048 -x 640 -y 480 
Space Ace

Code: Select all

/opt/retropie/emulators/daphne/daphne.bin sae vldp -framefile /home/pi/RetroPie/roms/daphne/sae.daphne/sae.txt -blank_searches -min_seek_delay 1000 -seek_frames_per_ms 20 -homedir /opt/retropie/emulators/daphne -bank 0 10011000 -bank 1 00100111 -sound_buffer 2048 -x 640 -y 480 
Above, you can see the correct .commands working on my other Raspberry with Retropie.

Basically, for Arpicade i'd have to change:
- location of "daphne .bin"
- location of framefile
- homedir (location of ? Daphne.bin? Daphne.sh)

and implement it in the launcher. But how?

dee2eR
Inventor
Inventor
Posts: 2113
Joined: Tue Aug 22, 2017 2:07 pm

Re: 3.811 Gamelist and Daphne

Post by dee2eR » Thu Mar 29, 2018 11:44 am

pinhead77 wrote:
Wed Mar 28, 2018 11:20 pm

How could i implement these codes (see below) into the launcher? Daphne uses them (located in the same folder of framefiles) to set options ingame (lifes, difficulty level).

Dragon's Lair

Code: Select all

/opt/retropie/emulators/daphne/daphne.bin dle21 vldp -framefile /home/pi/RetroPie/roms/daphne/dle21.daphne/dle21.txt -blank_searches -min_seek_delay 1000 -seek_frames_per_ms 20 -homedir /opt/retropie/emulators/daphne -bank 0 11011000 -bank 1 00110111 -sound_buffer 2048 -x 640 -y 480 
Space Ace

Code: Select all

/opt/retropie/emulators/daphne/daphne.bin sae vldp -framefile /home/pi/RetroPie/roms/daphne/sae.daphne/sae.txt -blank_searches -min_seek_delay 1000 -seek_frames_per_ms 20 -homedir /opt/retropie/emulators/daphne -bank 0 10011000 -bank 1 00100111 -sound_buffer 2048 -x 640 -y 480 
Above, you can see the correct .commands working on my other Raspberry with Retropie.

Basically, for Arpicade i'd have to change:
- location of "daphne .bin"
- location of framefile
- homedir (location of ? Daphne.bin? Daphne.sh)

and implement it in the launcher. But how?
Check out /boot/launchers/daphne.sh you will need to add a conditional statement to run per game customised daphne commands. Something like
if [ $1 == sea ]; then
daphne.bin sae vldp -framefile /boot/roms/daphne/framefiles/sae/sae.txt -blank_searches -min_seek_delay 1000 -seek_frames_per_ms 20 -bank 0 10011000 -bank 1 00100111 -sound_buffer 2048 -x 640 -y 480
elif [ $1 == dle21 ]; then
*custom command for that*
else
*default comand to be used for anything not customised*
fi

Obviously thats not the code you need but hoprefully the idea can help you do it. I don't think you will need to move the roms folders around (I could be wrong). The current executable line in /boot/launchers/daphne.sh should also help you translate the settings from the other builds you use. I'll be happy to help further when I'm back online properly if you haven't had any luck.

pinhead77
Community Member
Community Member
Posts: 20
Joined: Sat Mar 10, 2018 2:40 pm
Location: Italy

Re: 3.811 Gamelist and Daphne

Post by pinhead77 » Thu Mar 29, 2018 1:32 pm

bravebluerx wrote:
Wed Mar 28, 2018 11:11 pm
I found that Daphne games would only work on arpicade when I had the appropriate .dat file to go along with the .m2v file and.ogg file. You can get the .dat files generated from the daphne windows emulator daphne-emu.com, you will need to point daphne to an appropriate disc image to generate the files on your computer. They recommend the 20th anniversary DVD-VIDEO edition not the PC dvd-rom for space ace
... and that's it! After copying .dat files generated by Windows Daphneloader in the /daphne/framefile/[game folder], Space Ace (and also the two "Dragon's Lair") started to work! Thank you very much for helping me, bravebluerx.
Problem solved.

dee2eR wrote:
Thu Mar 29, 2018 11:44 am
Obviously thats not the code you need but hoprefully the idea can help you do it. I don't think you will need to move the roms folders around (I could be wrong). The current executable line in /boot/launchers/daphne.sh should also help you translate the settings from the other builds you use. I'll be happy to help further when I'm back online properly if you haven't had any luck.
Yeah! This did the trick. I edited the "#launch game" section of daphne.sh (see below)

Code: Select all

# launch game
if [ $1 == sae ]; then
/home/pi/daphne/daphne.bin sae vldp -framefile /boot/roms/daphne/framefile/sae/sae.txt -fastboot -fullscreen -bank 0 10011000 -bank 1 00100111
elif [ $1 == dle21 ]; then
/home/pi/daphne/daphne.bin dle21 vldp -framefile /boot/roms/daphne/framefile/dle21/dle21.txt -fastboot -fullscreen -bank 0 11011000 -bank 1 00110111
else
/home/pi/daphne/daphne.bin $1 vldp -framefile /boot/roms/daphne/framefile/$1/$1.txt -fastboot -fullscreen
fi
and now my favourite ingame options are correctly setted up for Space Ace (Enhanced v1.0) and Dragon's Lair (Enhanced v2.1).
For those who are interested in, the correct values for "bank 0" and "bank 1" virtual dipswitches can be easily found in the command line generated by Windows Daphneloader. If different options (more lifes, harder level of difficulty) are selected before launching the game with Daphneloader, the values in the command line will be different too.
Thank you very much for your help, Dee2er.
Problem solved.

Post Reply