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: Launch Daphne (via DOS batch file) from Mame?  (Read 2950 times)

0 Members and 1 Guest are viewing this topic.

Smeghead

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 415
  • Last login:November 05, 2015, 11:41:08 pm
  • Better Smeg than dead
    • MY MAME BUILDS
Launch Daphne (via DOS batch file) from Mame?
« 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
« Last Edit: May 26, 2010, 09:15:36 am by Smeghead »
My MAME Build:


leapinlew

  • Some questionable things going on in this room with cheetos
  • Trade Count: (+4)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 7919
  • Last login:August 18, 2025, 07:06:41 pm
Re: Launch Daphne (via DOS batch file) from Mame?
« Reply #1 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.

helpmebuild

  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 128
  • Last login:November 28, 2010, 06:32:26 pm
Re: Launch Daphne (via DOS batch file) from Mame?
« Reply #2 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

Smeghead

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 415
  • Last login:November 05, 2015, 11:41:08 pm
  • Better Smeg than dead
    • MY MAME BUILDS
Re: Launch Daphne (via DOS batch file) from Mame?
« Reply #3 on: May 26, 2010, 09:22:44 am »
Sorry yes im using AtomicFE
My MAME Build:


Havok

  • Keeper of the __Blue_Stars___
  • Trade Count: (+17)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 4530
  • Last login:August 18, 2025, 12:44:57 am
  • Insufficient facts always invite danger.
Re: Launch Daphne (via DOS batch file) from Mame?
« Reply #4 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...

Smeghead

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 415
  • Last login:November 05, 2015, 11:41:08 pm
  • Better Smeg than dead
    • MY MAME BUILDS
Re: Launch Daphne (via DOS batch file) from Mame?
« Reply #5 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
« Last Edit: May 26, 2010, 12:52:14 pm by Smeghead »
My MAME Build:


Havok

  • Keeper of the __Blue_Stars___
  • Trade Count: (+17)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 4530
  • Last login:August 18, 2025, 12:44:57 am
  • Insufficient facts always invite danger.
Re: Launch Daphne (via DOS batch file) from Mame?
« Reply #6 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?

Smeghead

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 415
  • Last login:November 05, 2015, 11:41:08 pm
  • Better Smeg than dead
    • MY MAME BUILDS
Re: Launch Daphne (via DOS batch file) from Mame?
« Reply #7 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
My MAME Build:


Havok

  • Keeper of the __Blue_Stars___
  • Trade Count: (+17)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 4530
  • Last login:August 18, 2025, 12:44:57 am
  • Insufficient facts always invite danger.
Re: Launch Daphne (via DOS batch file) from Mame?
« Reply #8 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.

  • Open Atomic Studio
  • Open your project
  • On the right side, right-click on the screen that is there and select remove from hierarchy.
  • Click on New Screen, select a menu to select emulators, click OK
  • Give it a name (Main is fine - this won't show when Atomic starts up)

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

  • Click on New Screen, select a list of games to launch. Give it a name (LaserDisc, or Daphne - this will show up in Atomic, so choose something appropriate) click OK
  • Choose LaserDisc for the emulator type
  • Browse to the Daphne program for the emulator exe (daphne.exe - not the loader)
  • Browse to the Roms folder
  • Browse to the Snaps folder and then click OK

Now we need to configure the Daphne Screen:

  • Right-click on the Daphne Screen and select Define Exceptions.
  • Select one Rom at a time and under the command line option below, point to the corresponding batch file for each of your Daphne games that you already use, which is probably easier for you since you already have the command lines with switches, or just put the actual command line in there.
  • Repeat for each Rom.

(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:

  • Drag the Main screen to the right
  • Drag the original mame one you created from before on top of the main one. It should indent to the right to indicate it's a sub-menu
  • Repeat for the Laser screen

Save your project:

  • Click the Save Project button on the left
  • Click the Activate and Run button to test and see if it works properly.

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




Smeghead

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 415
  • Last login:November 05, 2015, 11:41:08 pm
  • Better Smeg than dead
    • MY MAME BUILDS
Re: Launch Daphne (via DOS batch file) from Mame?
« Reply #9 on: May 27, 2010, 11:15:38 am »
I've never even opened studio but I'll give it a try, THANKS!
My MAME Build:


Havok

  • Keeper of the __Blue_Stars___
  • Trade Count: (+17)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 4530
  • Last login:August 18, 2025, 12:44:57 am
  • Insufficient facts always invite danger.
Re: Launch Daphne (via DOS batch file) from Mame?
« Reply #10 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...

Smeghead

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 415
  • Last login:November 05, 2015, 11:41:08 pm
  • Better Smeg than dead
    • MY MAME BUILDS
Re: Launch Daphne (via DOS batch file) from Mame?
« Reply #11 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
My MAME Build: