Main Restorations Software Audio/Jukebox/MP3 Everything Else Buy/Sell/Trade
Project Announcements Monitor/Video GroovyMAME Merit/JVL Touchscreen Meet Up Retail Vendors
Driving & Racing Woodworking Software Support Forums Consoles Project Arcade Reviews
Automated Projects Artwork Frontend Support Forums Pinball Forum Discussion Old Boards
Raspberry Pi & Dev Board controls.dat Linux Miscellaneous Arcade Wiki Discussion Old Archives
Lightguns Arcade1Up Try the site in https mode Site News

Unread posts | New Replies | Recent posts | Rules | Chatroom | Wiki | File Repository | RSS | Submit news

  

Author Topic: mamewah, daphne and mame  (Read 3564 times)

0 Members and 1 Guest are viewing this topic.

btoddkelley

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 247
  • Last login:October 20, 2013, 04:52:05 pm
  • I want to Build My Own Arcade Controls!!
mamewah, daphne and mame
« on: April 09, 2004, 12:47:07 pm »
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?


Thanks
Todd
For it is not enough to have a good mind, rather the main thing is to apply it well.

- Descartes

Minwah

  • Trade Count: (+3)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 7662
  • Last login:January 18, 2019, 05:03:20 am
    • MAMEWAH
Re:mamewah, daphne and mame
« Reply #1 on: April 11, 2004, 10:56:33 am »
Not currently possible in MAMEWAH :(

Spaced Invader

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 585
  • Last login:July 15, 2008, 07:27:49 am
  • Resistance is... probably a good idea.
Re:mamewah, daphne and mame
« Reply #2 on: April 11, 2004, 05:27:27 pm »
It would be cool though if you could have a favorites menu that wasn't emulator specific...do any of the currently popular FE's do this. I think I recall someone saying DK could?
All Your Base Are Belong To Us!

visciouslymamed

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 68
  • Last login:December 02, 2011, 08:38:46 pm
  • I want to Build My Own Arcade Controls!!
Re:mamewah, daphne and mame
« Reply #3 on: April 11, 2004, 06:19:31 pm »
Quote
It would be cool though if you could have a favorites menu that wasn't emulator specific...do any of the currently popular FE's do this. I think I recall someone saying DK could?

DK and 3darcade can do this. :)

ErikRuud

  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1709
  • Last login:March 05, 2021, 10:20:27 am
  • I'll build a cab for only 99.99.99!!!
    • Erik's humble video game page
Re:mamewah, daphne and mame
« Reply #4 on: April 12, 2004, 01:43:06 pm »
You can mix emulators in GameLauncher if you use batch files instead of launching the emulator directly.

GL does not have a favorites function. But you could manually create a favorites list.
 
Real Life.  Still a poor substitute for video games!       
American Laser Games Wrapper
O2em Rom Utility

screaming

  • Sweet! I'mma go make me some popovers!
  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 2124
  • Last login:August 14, 2019, 03:15:34 pm
  • Registered lUser
    • shift eight (*) generation
Re:mamewah, daphne and mame
« Reply #5 on: April 20, 2004, 02:18:20 pm »
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:
Code: [Select]
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:
Code: [Select]
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:
Code: [Select]
arcade.js %1

6) Also in emus\, I created a JScript file and named it arcade.js:
Code: [Select]
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:
Code: [Select]
cd D:\emus\daphne-0.99.6\
daphne.exe %1 vldp -fullscreen -framefile mpeg2\%1.txt -x 800 -y 600
and
Code: [Select]
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

ErikRuud

  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1709
  • Last login:March 05, 2021, 10:20:27 am
  • I'll build a cab for only 99.99.99!!!
    • Erik's humble video game page
Re:mamewah, daphne and mame
« Reply #6 on: April 22, 2004, 01:21:14 pm »
Kymaera also supports mixing emulators within a list.  It even knows to look in the correct directories for the snapshots.
Real Life.  Still a poor substitute for video games!       
American Laser Games Wrapper
O2em Rom Utility

Minwah

  • Trade Count: (+3)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 7662
  • Last login:January 18, 2019, 05:03:20 am
    • MAMEWAH
Re:mamewah, daphne and mame
« Reply #7 on: April 22, 2004, 01:33:02 pm »
Kymaera also supports mixing emulators within a list.  It even knows to look in the correct directories for the snapshots.


Yep :)

MAMEWAH doesn't actually support this atm, so screaming's workaround is very ingenious! :)

Radical

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 64
  • Last login:March 12, 2022, 03:39:21 pm
  • Yes
Re:mamewah, daphne and mame
« Reply #8 on: April 22, 2004, 02:05:26 pm »
AdvanceMENU can put them altogether also.  It's what I use anyway.   Mamewah no go on Linux, eh?

jelwell

  • Wiki Master
  • Trade Count: (0)
  • Full Member
  • *****
  • Offline Offline
  • Posts: 460
  • Last login:December 24, 2014, 03:47:21 pm
  • I'm a llama!
Re:mamewah, daphne and mame
« Reply #9 on: October 27, 2004, 02:08:42 pm »
Is this reported as working in 1.52? I'd really like to incorporate Dragon's Lair I & II, Space Ace and Super Don Quix-ote into my MAME emulator list. Seems kind of pointless to have them off on their own when they're *all* just Arcade games.

I did try, but I had a no go. MAMEWAH barfed something immense; screwed up the layout, overrun buffers, etc. I'm wondering if I've done things wrong, or if this simply doesn't work anymore.
Joseph Elwell.

screaming

  • Sweet! I'mma go make me some popovers!
  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 2124
  • Last login:August 14, 2019, 03:15:34 pm
  • Registered lUser
    • shift eight (*) generation
Re:mamewah, daphne and mame
« Reply #10 on: October 27, 2004, 02:29:12 pm »
Is this reported as working in 1.52? I'd really like to incorporate Dragon's Lair I & II, Space Ace and Super Don Quix-ote into my MAME emulator list. Seems kind of pointless to have them off on their own when they're *all* just Arcade games.

I did try, but I had a no go. MAMEWAH barfed something immense; screwed up the layout, overrun buffers, etc. I'm wondering if I've done things wrong, or if this simply doesn't work anymore.
Joseph Elwell.

  The file names are different, but the logic should still work.  I haven't verified it yet in my MAMEWAH 1.52 installation, but I should get to it by this weekend.

  It sounds like you have more issues than this though, if your MAMEWAH layouts are getting all screwed up and you're getting buffer underruns.

  I will post my results.

-Steve

papaschtroumpf

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 972
  • Last login:July 23, 2013, 11:41:10 pm
  • Have a Cow!
Re:mamewah, daphne and mame
« Reply #11 on: October 27, 2004, 02:54:56 pm »
I'm doing something similar to Screaming's method, albeit not for Daphne but for "mixed emulator" pinball games.
Basically the trick is to add an "indirection layer" between mamewah and calling the real emulator.

Screaming uses javascript, I use perl, but the idea is the sme: process the ROM name to figure out how to really launch it.
Since Daphne has so few roms, you could simple write a series of "if" statements in the batch file without resorting to an addition js/Perl script, which might reduce the delay Screaming is tlaking about (I don't have one but I don;t know if it's because I used Perl, or because I have a fast machine in my cab).

something like:

if %1=="Daphne_romname.zip" daphne.bat %1


Edit: I kindof like the idea of having the computer speak the name of the rom being launched (well, the name of the game, not the 8 letter rom name). What kind of problems are you running into? I would guess the text-to-speech engine is mispronouncing some of the names? (e.g. "1941" becomes "One Thousand Nine Hundred and Fourty One", or worse "One Nine Four One"

Unreal Tournament 2004 (PC game) which I play regularly uses test-to-speech to "read" the texxt chat in-game and doesn't always do a good job a reading it , although most of the time it works.
« Last Edit: October 27, 2004, 02:59:43 pm by papaschtroumpf »