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 --- Bug Reports --- Site News

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

  

Author Topic: Batch files  (Read 1321 times)

0 Members and 1 Guest are viewing this topic.

thatgammon

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 108
  • Last login:July 03, 2020, 05:25:03 am
Batch files
« on: March 31, 2020, 11:46:15 am »
Is it possible to goto a bat or cmd file from other emulators.

I want to be able to say in a bat/cmd file
if %1=rom name then condition?

for some reason i cant get the variable to recognise anything from the command line in other emus...

The only time I have done so is from the mame command line as in SGTs multiple mame workaround and not from other emus as i cant seem to work out how, or am I missing a trick here???

Thanks in advance.. :badmood:

SGT

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1144
  • Last login:February 26, 2021, 12:20:01 pm
Re: Batch files
« Reply #1 on: December 28, 2020, 08:47:35 pm »
@thatgammon - I know this is an old question, but better late than never?

If understand you correctly, you want to use the Other Emu Config in Mala to launch a batch file and have Mala pass the rom name to the batch file so you can use an "if %1" statement to perform some logic based upon the rom name.

I just ran a quick test, and it appears Mala can do this with no problem.  Its working for me, so feel free to respond and we can troubleshoot why its not working for you.