I know I may be dreaming here, but is there any way to mix the daphne games in with the mame games on one layout? I have one of the layouts that looks like a cab (shows screens, marquee ect) and I would like to be able to have the daphne games in the same list. I have another layout for daphne but they are both arcade games. This way you could have a layout for arcade, then a different one for each home system. Any thoughts?
I have somehow cludged this to work on my Windows XP machine. Right now I have all my Daphne games in the same list as the MAME games, and it seems to run everything just fine so far. I'm sure there are problems, so if you find any please let me know!
Using Microsoft Agent and Windows XP's Speech synthesis functionality, I'm also working on getting it to say the name of the game before it runs it (like a computer voice that says "Starting Burger Time. Have fun!"). Once I have that working decent enough I will post it as well.
For your information, here is what I did:
1) Configured Emulator 1 to be MAME games and got all my games showing up just how I want them.
2) Configured Emulator 2 to be Daphne games and got all my games showing up just how I want them.
3) Opened files\emu2-0.lst in notepad and prepended 'Daphne_' before the romname (every 14th line). Here's a sample of what it looks like once it's done:
Daphne_INTERSTELLAR
Interstellar
Daphne_SDQ
Super Don Quix-ote
Daphne_SDQSHORT
Super Don Quix-ote (short scenes)
Daphne_TQ
Thayer's Quest
then I copied everything in this file and appended it directly to files\emu1-0.lst.
4) Configured, in files\emu1.cfg:
Emulator Executable = D:\fes\mamewah\emus\arcade.bat
Send ROM Path = False
Send ROM Extension = False
Use Long Filenames = False
Show DOS Box = 0
Default Options = mame daphne
5) In a directory I created, emus\, I created a simple dos batch file and named it arcade.bat:
arcade.js %1
6) Also in emus\, I created a JScript file and named it arcade.js:
var wsh = new ActiveXObject("WScript.Shell");
var runDaphne = 0;
romName = WScript.Arguments(0);
if (romName.substr(0, 7) == 'Daphne_') {
romName = romName.substr(7);
runDaphne = 1;
}
if (runDaphne) {
wsh.Run("daphne.bat " + romName, 0);
} else {
wsh.Run("mame.bat " + romName, 0);
}
WScript.Quit();
7) In the same emus\ directory, there are daphne.bat and mame.bat:
cd D:\emus\daphne-0.99.6\
daphne.exe %1 vldp -fullscreen -framefile mpeg2\%1.txt -x 800 -y 600
and
cd d:\emus\noname-0.81u3.09
nonamexp.exe %1
respectively.
8) To get your artwork (screenshots, etc) to show up, 'daphne_' needs to be prepended to the filename (to match the romname) and then put into the same directory as the respective MAME artwork.
9) Save everything, exit everything and load up MAMEWAH. Go to your MAME (Arcade, now) list and you should have your Daphne games intermingled with your MAME games!
Try running both and make sure they work. If not, make sure your paths are right in all the batch files. Make sure, especially, that you can run arcade.js <romname> from the command line and have it work.
There seems to be a slight delay from when I click to start a game to when it actually plays that makes it seem like it's not doing anything for a second or two. I'm working on this problem now, and will post a solution when I find it.
If you have any questions, post them here.
/Steve