Build Your Own Arcade Controls Forum

Main => Main Forum => Topic started by: Smeghead on May 26, 2010, 09:03:45 am

Title: Launch Daphne (via DOS batch file) from Mame?
Post by: Smeghead on May 26, 2010, 09:03:45 am
Just like it says..........
Is there any way to launch a batch file from Mame? Could you fool Mame that instead of launching a Mame game kick off a .bat instead?
My Daphne games launch from a DOS batch file (from within Windows) but it'd be cool to be able to go from Mame to a laserdisc game using only the joystick/buttons

This maybe a simple NO answer, just wondering as I dont know much about how Mame works

Maybe I could just set one of the IPAC inputs to input a key combination that windows is set to watch for then launch Daphne
Title: Re: Launch Daphne (via DOS batch file) from Mame?
Post by: leapinlew on May 26, 2010, 09:19:34 am
Whats your front end, I've been told MALA can do it, but I haven't had any luck yet. If I remember right, there is a post by UncleT floating around which gives instructions on how to do this. Another thing that would be useful is launching games from different versions of Mame. So you could have fast Ms. Pac and Fast Galaga shoot in the same list.
Title: Re: Launch Daphne (via DOS batch file) from Mame?
Post by: helpmebuild on May 26, 2010, 09:20:47 am
are you not using a front end of any sort?

to be honest just using a FE would prob be a more logical way to have Daphne launch
Title: Re: Launch Daphne (via DOS batch file) from Mame?
Post by: Smeghead on May 26, 2010, 09:22:44 am
Sorry yes im using AtomicFE
Title: Re: Launch Daphne (via DOS batch file) from Mame?
Post by: Havok on May 26, 2010, 12:41:30 pm
Sorry yes im using AtomicFE

Excellent choice!

I'm at work now, but tonight I can post the command lines for Atomic - I have all the Daphne games working on my cab...
Title: Re: Launch Daphne (via DOS batch file) from Mame?
Post by: Smeghead on May 26, 2010, 12:48:12 pm
Thanks!
I have them all working, you launch them from a batch file which just executes a really really long command line
If you know how to use AtomicFE to do that, that'd be awesome

I was actually going to use a menu-batch file to LAUNCH AtomicFE on startup
That way, when you quit out of AtomicFE, it would drop back to a menu system where you could choose Daphne or AtomicFE again
Title: Re: Launch Daphne (via DOS batch file) from Mame?
Post by: Havok on May 26, 2010, 01:35:58 pm
You can do it all in AtomicFE - I have separate menus for LaserDisc games, but you could just include them in a Mame list as well. Of course, you'd want to keep the list fairly small as they would be buried in there. Which way would you like to setup Atomic - one list, or separate ones?
Title: Re: Launch Daphne (via DOS batch file) from Mame?
Post by: Smeghead on May 26, 2010, 01:52:59 pm
Im kind of new to it right now, I currently have everything I have bundled altogether.
I need to make some favorites or something.
Just any way to seperate them or make them easily findable would be cool
Title: Re: Launch Daphne (via DOS batch file) from Mame?
Post by: Havok on May 26, 2010, 10:16:40 pm
No problem - here's what you'll need to do:

Since two menu screens would be best, we'll have to start a hierarchy.


You should have a screen for Mame already on left, so we need to create one for Daphne:


Now we need to configure the Daphne Screen:


(Normally, you would just put a command line with switches, which is why you can't browse to a file here.)


Now we can build the hierarchy:


Save your project:


Let me know if I missed something (going mostly on memory) or if it doesn't work correctly.



Title: Re: Launch Daphne (via DOS batch file) from Mame?
Post by: Smeghead on May 27, 2010, 11:15:38 am
I've never even opened studio but I'll give it a try, THANKS!
Title: Re: Launch Daphne (via DOS batch file) from Mame?
Post by: Havok on May 27, 2010, 11:44:22 am
No problem - the only other thing you may need to do is create a project and create a Mame screen. Let me know if you have any questions...
Title: Re: Launch Daphne (via DOS batch file) from Mame?
Post by: Smeghead on May 27, 2010, 01:59:14 pm
Just remembered I need to do this for another couple of games I have, Light Cycles and Space Paranoids but they are both just .EXEs so the same principle should work