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: Multiple Emus Gamelist - Emulator tries to run dummy files  (Read 2886 times)

0 Members and 1 Guest are viewing this topic.

BadMouth

  • Trade Count: (+6)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 9270
  • Last login:July 14, 2025, 01:30:54 pm
  • ...
Multiple Emus Gamelist - Emulator tries to run dummy files
« on: July 21, 2010, 08:44:02 pm »
I have Makaron launching from Other Emus in MALA with no problems.

But when trying to get it to launch from the main MAME list in MALA,
it tries to run the dummy zip file that I put in there to make it show up on the list.

To keep things simple, I put the .dat files that it needs to run into the same folder as the dummy .zip files.
(They are also still in the old rom folder with NAOMI.exe)

I know the problem is with Mame.cmd and it's probably an easy fix for someone who actually understands what the commands are about, but I don't have enough knowledge about it to know what I'm doing wrong.  (it's only persistence that has gotten me this far)

Here is my Mame.cmd:
Code: [Select]
if "%2" == "C:\Emulators\other_emus\pc_games" goto pc_games
if "%2" == "C:\Emulators\other_emus\zinc" goto zinc
if "%2" == "C:\Emulators\other_emus\m2" goto m2
if "%2" == "C:\Emulators\other_emus\Makaron" goto Makaron

mame.exe %1
exit

:pc_games
cd \emulators\pc_games
%1.cmd
exit

:zinc
cd \Emulators\Programs\Zinc
cmd-launch7.exe %1
exit

:m2
cd \Emulators\Programs\m2emulator
closemul.exe emulator.exe %1
exit

:Makaron

cd \Emulators\Programs\Makaron
closemul.exe NAOMI.exe %1.dat
exit

I've tried it with and without the .dat after %1
Either way, it tries to run the zip.

(zinc & m2emulator work fine)




BadMouth

  • Trade Count: (+6)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 9270
  • Last login:July 14, 2025, 01:30:54 pm
  • ...
Re: Multiple Emus Gamelist - Emulator tries to run dummy files
« Reply #1 on: July 22, 2010, 08:46:14 pm »
I thought I had found an easy solution.....

Makaron T12/3 will actually run some zipped MAME files, so I thought all problems solved...wouldn't even have to modify the MAME xml file.

Tried it, games show up in list perfect, but I still get an error message when Makaron launches from the main MAME list.

I thought it might have to do with the difference between the command line for MAME and for Makaron, but I made the MAME one the same as what I had for Makaron, refreshed the list, and it still won't launch them.

Gotta be something in the way my Mame.cmd is set up.   :-\ 
(soooo close to fighting game bliss)

BadMouth

  • Trade Count: (+6)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 9270
  • Last login:July 14, 2025, 01:30:54 pm
  • ...
Re: Multiple Emus Gamelist - Emulator tries to run dummy files
« Reply #2 on: July 22, 2010, 09:32:16 pm »
Almost there.  If I place the roms in the same folder as NAOMI.exe, they will launch now.
I made separate sections for the zip & dat files.  Both work now.  
Not all games that Makaron runs will run off the MAME zip, so I'm prepared for either.

Here is my latest Mame.cmd (everything works, it's just sloppy having the zip & dat files in the main Makaron folder) :

Code: [Select]
if "%2" == "C:\Emulators\other_emus\pc_games" goto pc_games
if "%2" == "C:\Emulators\other_emus\zinc" goto zinc
if "%2" == "C:\Emulators\other_emus\m2" goto m2
if "%2" == "C:\Emulators\other_emus\Makaron" goto Makaron
if "%2" == "C:\Emulators\other_emus\Makaron2" goto Makaron2

mame.exe %1
exit

:pc_games
cd \emulators\pc_games
%1.cmd
exit

:zinc
cd \Emulators\Programs\Zinc
cmd-launch7.exe %1
exit

:m2
cd \Emulators\Programs\m2emulator
closemul.exe emulator.exe %1
exit

:Makaron

cd \Emulators\Programs\Makaron
closemul.exe NAOMI.exe %1.zip
exit

:Makaron2

cd \Emulators\Programs\Makaron
closemul.exe NAOMI.exe %1.dat
exit

My question is, how do I get it to look in the Makaron\ROM subfolder instead?

Unfortunately, I won't be able to get back to this until Sunday, but at least I know that I got it working  ;D ....somehow this started with me trying to work on menus for the driving cab.......how did I end up with another emulator ???
« Last Edit: July 22, 2010, 10:05:02 pm by BadMouth »