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: Running multiple MAME versions with a script. . .  (Read 2697 times)

0 Members and 1 Guest are viewing this topic.

Zobeid

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 238
  • Last login:April 21, 2021, 10:36:32 pm
Running multiple MAME versions with a script. . .
« on: September 28, 2009, 09:05:45 pm »
I want to call an older version of MAME for a couple of games.  Somebody suggested having Mala call a .cmd script, which then would look at its arguments and call the appropriate version of MAME.  That sounded easy enough. . .

But Mala won't accept it!  When I try to point it to my script instead of a MAME executable, it complains that the file isn't valid and won't accept it.  It should be possible to do this, right?  What am I doing wrong?


ivwshane

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1039
  • Last login:April 23, 2025, 06:30:06 pm
    • My first mame cab! (WIP)
Re: Running multiple MAME versions with a script. . .
« Reply #1 on: September 28, 2009, 10:10:31 pm »

SGT

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1146
  • Last login:May 31, 2025, 10:10:32 pm
Re: Running multiple MAME versions with a script. . .
« Reply #2 on: September 28, 2009, 11:55:08 pm »
As I mentioned in the other thread, and haven't heard your response on:

If you have "Hide extensions for known file types" checked in Windows, you may be unable to see that the batch file you created actually has a txt file extension instead of cmd like it should be.

Open a folder on your drive C, at the top click Tools, then Folder options.  Click the View tab at the top. Uncheck "Hide extensions for known file types".

If after doing this you see that the file is named mame.cmd.txt  rename it to mame.cmd.