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: GameLists: Multiple emuls in same list work-around solution  (Read 154126 times)

0 Members and 2 Guests are viewing this topic.

SGT

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1145
  • Last login:April 17, 2023, 08:29:42 pm
I thought some of you that have requested to use different versions of Mame or other emulators in one Mala gamelist might be interested in how I did it.  Why did I want to add this?  I use Aaron Giles Radikal Bikers emulator.  This emulator emulates that one game.  I didn't want to have to change emulators in Mala to show a game list with this one game by itself.  I also sometimes like to run different versions of Mame for those games that run better with earlier versions.  I also wanted other combinations like having Tiger Woods Pga Tour in a game list with Golden Tee.   I wanted to run Daytona with the new Model 2 emulator and have it show up in the same list as my other racing games.

The solution involves moving the roms for different emuls into subfolders.  If it is a game that doesn't have a rom, then a dummy rom is added to the sub-folder.  For example, moving all the roms for the new Model 2 emulator to a subfolder.  Then having Mala pass the %path% parameter to a batch file.  The batch file will know what emulator to use based upon the path variable that is passed to it.  The solution does NOT use the "Other Emu Config" section of Mala because that requires different game lists.

Adding games that are not part of the mame.xml is easy to do by adding a few lines to mame.xml.  Anyway, here's how I did it.  Suggestions for improvement are welcome.

1. Create a parent folder for the roms of the non-Mame or other versions of Mame such as:
Quote
C:\emulators\other_emus

2. Create a sub folder for every type of emu, for example
Quote
c:\emulators\other_emus\m2
c:\emulators\radikalb
c:\emulators\other_emus\pc_games

3. In Mala, add the path parameter to the command line making sure there is a space between the 2 parameters:
Mame Config>Additional>Command line:
Quote
%rom% %path%

4. Set a second rom path
Mame Config>Basics>Rom path
Choose Rom path =
Quote
2
Enter the path to the parent folder created in the 1st step:
Quote
c:\emulators\other_emus

Important! Click: Search in subfolders

5. Place the actual rom (or create a dummy file with a zip extension if a ROM isn't used) into one of the appropriate folders.  For example, move daytona.zip from the normal Mame roms folder to:
Quote
c:\emulators\other_emus\m2
You must not leave a copy of Daytona.zip in the Mame roms folder or Mame will run it instead of the Model 2 emulator.

6. In Mala, refresh the Main Games List.

7.  In the Mame folder, create a Mame.cmd which contains the following for example:

Code: [Select]
if "%2" == "C:\emulators\other_emus\radikalb" goto radikalb
if "%2" == "C:\emulators\other_emus\m2" goto m2
if "%2" == "C:\emulators\other_emus\pc_games" goto pc_games


mame.exe %1
exit

:radikalb
cd ..\radikal
closemul.exe radikalb.exe
exit

:m2
cd ..\m2emulator
closemul.exe emulator.exe zip %1 rar
exit

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

8.  In Mala, change the MAME executable to point to the Mame.cmd file that you created above instead of mame.exe.  
Mame Config>Basics>Mame executable
For example:
Code: [Select]
C:\emulators\mame116u3\mame.cmd
9.  If you want to add other emulators that run games that are not part of Mame, you can easily add them to the Mame xml file by adding (for example)
the following entry for each game to the very bottom of mame.xml:

Code: [Select]
<game name="Tigerw">
                                  <description>Tiger Woods PGA Tour 07</description>
                                  <year>2007</year>
                                  <manufacturer>EA Sports</manufacturer>
                                  <driver status="good" emulation="good"/>
</game>

A batch file could be written to take the file names in a folder and add the xml entries automatically though the description would have to be manually edited/added.  Year and manufacturer are optional.

Note that refreshing the main game list is usually necessary after changes.  Also note that custom game lists are not automatically refreshed.  For example, if you have Daytona already set to be run by Mame and you change it to be run by M2, the custom game list still points to the old rom location.  It will have to be removed and re-added to get the new settings.

« Last Edit: August 08, 2010, 02:35:50 am by loadman »

shock_

  • Wiki Contributor
  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 354
  • Last login:January 30, 2020, 06:23:29 pm
  • In Brisbane, it's GMT+10 all the time.
Re: Mala multiple emuls in same game list work-around solution
« Reply #1 on: July 02, 2007, 08:47:46 pm »
 :notworthy:

I should be able to use this to integrate Daphne and MAME I think.  Nice tip on appending the XML, which suddenly becomes useful with the integrated game list.  It all makes sense!

SGT

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1145
  • Last login:April 17, 2023, 08:29:42 pm
Re: Mala multiple emuls in same game list work-around solution
« Reply #2 on: July 02, 2007, 11:26:15 pm »
I should be able to use this to integrate Daphne and MAME I think.   Nice tip on appending the XML, which suddenly becomes useful with the integrated game list.  It all makes sense!


Shock_,

Yes, I just added Dragon's Lair and it runs and shows up in a game list with other Mame games.

I added the following to mame.xml:

Code: [Select]
<game name="lair">
                 <description>Dragon's Lair</description>
                 <year>1983</year>
                 <manufacturer>Cinematronics</manufacturer>
                 <driver status="good" emulation="good"/>
</game>

I added a subfolder under other_emus:
c:\emulators\other_emus\daphne

I created an empty text file in this sub-folder and then renamed it lair.zip. I did this because I have Mala set up to only show games with roms.

I refreshed the main game list and made sure it showed up.

I added a Daphne section to mame.cmd:
Code: [Select]
if "%2" == "C:\emulators\other_emus\radikalb" goto radikalb
if "%2" == "C:\emulators\other_emus\M2" goto m2
if "%2" == "C:\emulators\other_emus\pc_games" goto pc_games
if "%2" == "C:\emulators\other_emus\daphne" goto daphne

mame.exe %1
exit

:radikalb
cd ..\radikal
closemul.exe radikalb.exe
exit

:m2
cd ..\m2emulator
closemul.exe emulator.exe zip %1 rar
exit

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

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

:daphne
SET DAPHNE=C:\emulators\Daphne\daphne.exe
cd ..\daphne
if "%1" == "lair" start/wait %daphne% dle20 vldp -framefile C:\emulators\Daphne\vldp_dl\lair\lair.txt -fullscreen -blank_skips -blank_searches -preset 1
exit


You could actually modify the daphne section above so that you don't have to add a new line for each Daphne game as long as all your daphne txt files are in a sub folder with the same name as the txt file (which mine are not).  I think I will try to restructure my Daphne configuration so that I can use the following:
Code: [Select]
:daphne
SET DAPHNE=C:\emulators\Daphne\daphne.exe
cd ..\daphne
start/wait %daphne% dle20 vldp -framefile C:\emulators\Daphne\vldp_dl\%1\%1.txt -fullscreen -blank_skips -blank_searches -preset 1
exit

Word of caution.  The names of paths in the mame.cmd when comparing with == are case sensitive.

 :cheers:
« Last Edit: August 13, 2008, 10:00:19 pm by SGT »

SGT

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1145
  • Last login:April 17, 2023, 08:29:42 pm
Re: Mala multiple emuls in same game list work-around solution
« Reply #3 on: July 03, 2007, 12:49:25 am »
Check it out:
« Last Edit: August 14, 2007, 10:18:51 pm by SGT »

DaveMMR

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 3212
  • Last login:January 29, 2024, 11:49:01 am
    • TeeVee Games
Re: Mala multiple emuls in same game list work-around solution
« Reply #4 on: July 03, 2007, 04:46:21 pm »
Awe... Some... !

I will try it out this weekend.  Thanks!   :cheers:

CM

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 243
  • Last login:January 02, 2012, 08:59:17 pm
  • The internet?!? Is that thing still around?
Re: Mala multiple emuls in same game list work-around solution
« Reply #5 on: July 03, 2007, 05:11:58 pm »
Is your layout switching angled views of the CP for each game?  My cab's artwork only has top-down CP views.  If you have these for every game .. are they being distributed anywhere?  I must have missed this ...

SGT

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1145
  • Last login:April 17, 2023, 08:29:42 pm
Re: Mala multiple emuls in same game list work-around solution
« Reply #6 on: July 03, 2007, 08:38:19 pm »
Is your layout switching angled views of the CP for each game?  My cab's artwork only has top-down CP views.  If you have these for every game .. are they being distributed anywhere?  I must have missed this ...

I'm not sure where I downloaded these from about a year ago. Most are angled like Commando below.  Going through my lists, I finally found one like you are talking about (see Assault screenshot).  Of course I only have about 250 mame roms.  A few have none and therefore default to the background control panel underneath the image.

With the right software, that image could probably be manipulated to look a lot better.
« Last Edit: August 14, 2007, 10:11:33 pm by SGT »

shock_

  • Wiki Contributor
  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 354
  • Last login:January 30, 2020, 06:23:29 pm
  • In Brisbane, it's GMT+10 all the time.
Re: Mala multiple emuls in same game list work-around solution
« Reply #7 on: July 04, 2007, 07:18:51 am »
Looks to me like they're normal cpanel images but squished.  In MaLa this can be achieved by GUI » Options » untick "keep aspect ratio" - although beware, this will affect ALL your images, including snaps and videos - so use with caution unless you load a different Layout file for your vertical and horizontal layouts. (If you do that, you can make sure your snap regions are in the right aspect ratio)

Anubis_au

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 415
  • Last login:January 15, 2023, 10:12:32 pm
  • Ever danced with the Devil in the pale moonlight?
Re: Mala multiple emuls in same game list work-around solution
« Reply #8 on: July 09, 2007, 11:01:27 pm »
SGT, beautiful work. Thanks for such a well documented work-around.

I recently posted a thread re MaLa tree for all the different consoles etc but with this work around that all might be redundant.

 :cheers:

SGT

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1145
  • Last login:April 17, 2023, 08:29:42 pm
Re: Mala multiple emuls in same game list work-around solution
« Reply #9 on: July 10, 2007, 12:03:02 am »
SGT, beautiful work. Thanks for such a well documented work-around.

I recently posted a thread re MaLa tree for all the different consoles etc but with this work around that all might be redundant.

 :cheers:

Thanks man.  A blind hog will root up an acorn every once in a while.

hulkster

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 2382
  • Last login:September 05, 2021, 04:27:59 pm
  • HulkaMAMEia is runnin' wild!
Re: Mala multiple emuls in same game list work-around solution
« Reply #10 on: August 03, 2007, 06:26:33 pm »
im trying to follow these steps here...but im having problems getting dragons lair and space ace (my two daphne games) to show up in my main list.  here's my mame.cmd file:

if "%2" == "C:\arcade\emulators\other_emus\daphne" goto daphne

mame.exe %1
exit

:daphne
SET DAPHNE=C:\arcade\emulators\daphne\daphne.exe
cd ..\daphne
if "%1" == "lair" start/wait %daphne% dle20 vldp -framefile C:\arcade\emulators\daphne\framefile\lair.txt -fullscreen -blank_skips -blank_searches -preset 1
exit

:daphne
SET DAPHNE=C:\arcade\emulators\daphne\daphne.exe
cd ..\daphne
if "%1" == "ace" start/wait %daphne% dle20 vldp -framefile C:\arcade\emulators\daphne\framefile\ace.txt -fullscreen -blank_skips -blank_searches -preset 1
exit

help??

SGT

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1145
  • Last login:April 17, 2023, 08:29:42 pm
Re: Mala multiple emuls in same game list work-around solution
« Reply #11 on: August 03, 2007, 07:29:55 pm »
Hulkster,

I am assuming you want the Daphne games to show up in a gamelist with other Mame games.  If you only want them to be in Mala, it is much easier to set Daphne up in a separate emulator configuration. 

For the games to show up WITH the mame roms, you need:

1) Add an entry to the Mame.xml file.  To make it easier to maintain, I create an XML file called ADDITIONAL.XML.  I then combine MAME.XML and ADDITIONAL.XML into a COMBINED.XML by using the copy command:
Code: [Select]
copy mame.xml+additional.xml combined.xml
This way, if your mame.xml is ever regenerated, it will not wipe out your changes.  For each game in ADDITIONAL.XML it needs an entry like this:
Code: [Select]
<game name="dle20">
           <description>Dragon's Lair</description>
           <year>1983</year>
           <manufacturer>Cinematronics</manufacturer>
          <driver status="good" emulation="good"/>
</game>

You must also change your mame settings in Mala, to point to the new xml: COMBINED.XML instead of MAME.XML.

2) You must have a zip file in your C:\arcade\emulators\other_emus\daphne folder.  It should match the game name entry that you add to the additional.xml file.  In this example that would be dle20.zip.  It doesn't have to be a real zip file, just any file called dle20.zip.

3) Configure Mala to use a second rom path to point to C:\arcade\emulators\other_emus and then check off "search in subfolders".

4) You must refresh the main mame game list, by right-clicking and choosing refresh main game list.


Doing these 4 things should make the game show up.  To get it to run, you must modify your batch file to something like this:
Code: [Select]
if "%2" == "C:\arcade\emulators\other_emus\daphne" goto daphne

mame.exe %1
exit

:daphne
SET DAPHNE=C:\arcade\emulators\daphne\daphne.exe
cd ..\daphne
if "%1" == "lair" start/wait %daphne% dle20 vldp -framefile C:\arcade\emulators\daphne\framefile\lair.txt -fullscreen -blank_skips -blank_searches -preset 1
if "%1" == "ace" start/wait %daphne% ace vldp -framefile C:\arcade\emulators\daphne\framefile\ace.txt -fullscreen -blank_skips -blank_searches -preset 1

exit


NOTE: The line above "cd ..\daphne " will only work if the mame.cmd file is in a subfolder (such as Mame) under c:\arcade\emulators

If I were you I would make sure that you can run Daphne manually using the above command structure before going to too much trouble.  The system works well once its configured, but Daphne is probably the hardest for most people to get going because almost every Daphne install I see is different in some way.


Not to confuse things too much, but if you name your frame files to the same name as the game names, you don't have to have a separate line for each game in the above batch file.  You can instead use the %1 parameter:
Code: [Select]
start/wait daphne.exe %1 vldp -framefile C:\emulators\Daphne\framefile\%1.txt -fullscreen -blank_skips -blank_searches -preset 1

« Last Edit: August 14, 2007, 10:25:12 pm by SGT »

hulkster

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 2382
  • Last login:September 05, 2021, 04:27:59 pm
  • HulkaMAMEia is runnin' wild!
Re: Mala multiple emuls in same game list work-around solution
« Reply #12 on: August 10, 2007, 08:35:04 pm »
okay...still having problems.  i think it may be because my mame.cmd is not right.  you said before, it should be dle20....i dont know where that came from....i think i just copied from what you did.  mine should be lair.  my frame file is lair, my rom is lair.  everything is lair.  ive refreshed the list but nothing shows up in my mame games list. 

i did the combined thing you did, and it successfully made the combined.xml.  question though, it just stuck the game info at the very bottom of that xml file...so the </mame> tag above the game info.  im not sure what i have done wrong  :banghead:

SGT

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1145
  • Last login:April 17, 2023, 08:29:42 pm
Re: Mala multiple emuls in same game list work-around solution
« Reply #13 on: August 10, 2007, 08:49:21 pm »
okay...still having problems.  i think it may be because my mame.cmd is not right.  you said before, it should be dle20....i dont know where that came from....i think i just copied from what you did.  mine should be lair.  my frame file is lair, my rom is lair.  everything is lair.  ive refreshed the list but nothing shows up in my mame games list. 

Dle20 is the name of my rom for lair for whatever reason.  If you can get Dragon's Lair to work with lair as the rom name manually then by all means use that in the cmd file. To get it to show up in the list, you must:

1) Tell Mala to use combined.xml instead of mame.xml
2) Whatever the rom name that you put into the xml (lair or dle20), there must be a corresponding lair.zip or dle20.zip in the alternate rom path which in your case, I assume is a subfolder of C:\arcade\emulators\other_emus
3) You must set a second rom path to C:\arcade\emulators\other_emus
4) You must check the box in Mala to tell it to search in subfolders for roms
5) Then refresh the main game list once again.

i did the combined thing you did, and it successfully made the combined.xml.  question though, it just stuck the game info at the very bottom of that xml file...so the </mame> tag above the game info.  im not sure what i have done wrong  :banghead:

That's not a problem.  Mala ignores that tag and continues parsing the xml file.

Are you able to get Dragon's Lair to work outside of Mala (manually)?  I wouldn't even attempt to get it to work under Mala until you can get it to work manually from a command line.
« Last Edit: August 10, 2007, 08:53:13 pm by SGT »

hulkster

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 2382
  • Last login:September 05, 2021, 04:27:59 pm
  • HulkaMAMEia is runnin' wild!
Re: Mala multiple emuls in same game list work-around solution
« Reply #14 on: August 10, 2007, 09:10:53 pm »
okay, i went back over all the steps and made sure i was doing everything you said and ive got everything i think.  i can run dragons lair from the daphneloader just fine....here is the log before i stopped the loading process:

--DAPHNE version 0.99.6
--Command line is: C:\arcade\emulators\daphne\daphne.exe lair vldp -framefile C:\arcade\emulators\daphne\framefile\lair.txt -fullscreen

does that tell anything about file structure...or where i went wrong?

i guess my main problem is getting the game to show up in the game list right now...that should be the easy part.  ive got the entries in the xml file, and mala is pointing to the new combined.xml, and ive refreshed.  what am i missing?  and yes i have the search in subfolders selected.

SGT

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1145
  • Last login:April 17, 2023, 08:29:42 pm
Re: Mala multiple emuls in same game list work-around solution
« Reply #15 on: August 10, 2007, 09:27:22 pm »
i guess my main problem is getting the game to show up in the game list right now...that should be the easy part.  ive got the entries in the xml file, and mala is pointing to the new combined.xml, and ive refreshed.  what am i missing?  and yes i have the search in subfolders selected.

Do you have a dummy file called lair.zip in the following folder:
C:\arcade\emulators\other_emus\daphne

Do you have the following entry in combined.xml?:
<game name="lair">
   <description>Dragon's Lair</description>
   <year></year>
   <manufacturer></manufacturer>
   <driver status="good" emulation="good"/>
</game>

Those are really the only two external things that is required for an item to show up in the main game list.  Mala must see the rom name in the XML and it must see the corresponding rom.zip file (not to be confused with the Daphne rom).  If you have already done these things, post screenshots of Mala's mame configuration.


Also in Mala, what are you checking off for games to collect?  I am using:
Only games with roms
« Last Edit: August 14, 2007, 10:25:43 pm by SGT »

hulkster

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 2382
  • Last login:September 05, 2021, 04:27:59 pm
  • HulkaMAMEia is runnin' wild!
Re: Mala multiple emuls in same game list work-around solution
« Reply #16 on: August 10, 2007, 09:42:19 pm »
screens

hulkster

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 2382
  • Last login:September 05, 2021, 04:27:59 pm
  • HulkaMAMEia is runnin' wild!
Re: Mala multiple emuls in same game list work-around solution
« Reply #17 on: August 10, 2007, 09:43:06 pm »
more

btw....that last one of the additional.xml...thats just to show you whats in the combined.xml at the very bottom.

SGT

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1145
  • Last login:April 17, 2023, 08:29:42 pm
Re: Mala multiple emuls in same game list work-around solution
« Reply #18 on: August 10, 2007, 09:51:42 pm »
The only thing I see is where you are using:
Collect "Only Masters"

I would remove that check box and refresh the game list just to see if its causing the problem.  If it is the problem, there will have to be an addition to the XML entry so that Mala thinks the lair.zip is a Master rom.
« Last Edit: August 10, 2007, 10:05:00 pm by SGT »

hulkster

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 2382
  • Last login:September 05, 2021, 04:27:59 pm
  • HulkaMAMEia is runnin' wild!
Re: Mala multiple emuls in same game list work-around solution
« Reply #19 on: August 10, 2007, 10:01:13 pm »
The only thing is see is where you are using:
Collect "Only Masters"

I would remove that check box and refresh the game list just to see if its causing the problem.  If it is the problem, there will have to be an addition to the XML entry so that Mala thinks the lair.zip is a Master rom.

i removed the "only masters" thing and refreshed....no dragons lair :cry:

what the heck?!  this seems to be very simple.  im probably doing something really dumb.

SGT

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1145
  • Last login:April 17, 2023, 08:29:42 pm
Re: Mala multiple emuls in same game list work-around solution
« Reply #20 on: August 10, 2007, 10:10:09 pm »
We're almost to the bottom of it.

I put a check by "Only Working Games" and refreshed.  My Dragon's Lair disappeared.  Try removing and refresh it just to test it.

SGT

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1145
  • Last login:April 17, 2023, 08:29:42 pm
Re: Mala multiple emuls in same game list work-around solution
« Reply #21 on: August 10, 2007, 10:15:59 pm »
Okay.  The xml entry will have to have the following when using "Only Working Games":

Code: [Select]
<game name="lair">
      <description>Dragon's Lair</description>
      <year>1983</year>
      <manufacturer>Cinematronics</manufacturer>
      <driver status="good" emulation="good"/>
</game>

Notice the new entry:
emulation="good"

I don't use that option so I didn't know it was necessary.


hulkster

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 2382
  • Last login:September 05, 2021, 04:27:59 pm
  • HulkaMAMEia is runnin' wild!
Re: Mala multiple emuls in same game list work-around solution
« Reply #22 on: August 10, 2007, 10:28:10 pm »
okay i put that in there....still not showing up after a refresh.  i also unchecked all the filters (only working games, etc.) and refreshed...still nothing.  are you sure i dont have to put the <game name = "lair> etc etc BEFORE the </mame> tag?

hulkster

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 2382
  • Last login:September 05, 2021, 04:27:59 pm
  • HulkaMAMEia is runnin' wild!
Re: Mala multiple emuls in same game list work-around solution
« Reply #23 on: August 10, 2007, 10:30:03 pm »
k scratch that...space ace is showing up...but still no dragons lair.  im still looking into it..

SGT

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1145
  • Last login:April 17, 2023, 08:29:42 pm
Re: Mala multiple emuls in same game list work-around solution
« Reply #24 on: August 10, 2007, 10:33:17 pm »
I'm positive.  Here's the last part of my combined.xml:

Code: [Select]
</mame>


<game name="dle20">
<description>Dragon's Lair</description>
<year>1983</year>
<manufacturer>Cinematronics</manufacturer>
<driver status="good" emulation="good"/>
</game>
<game name="lair2">
<description>Dragon's Lair 2</description>
<year>1991</year>
<manufacturer>Leland</manufacturer>
<driver status="good" emulation="good"/>
</game>
<game name="bega">
<description>Bega's Battle</description>
<year>1983</year>
<manufacturer>Nihon Bussan</manufacturer>
<driver status="good" emulation="good"/>
</game>
<game name="badlands2">
<description>Badlands</description>
<year>1984</year>
<manufacturer>Konami</manufacturer>
<driver status="good" emulation="good"/>
</game>
<game name="astron">
<description>Astron Belt</description>
<year>1983</year>
<manufacturer>Sega</manufacturer>
<driver status="good" emulation="good"/>
</game>
<game name="cobra">
<description>Cobra Command</description>
<year>1984</year>
<manufacturer>Nihon Bussan</manufacturer>
<driver status="good" emulation="good"/>
</game>
<game name="esh">
<description>Esh's Aurunmilla</description>
<year>1984</year>
<manufacturer>Funai</manufacturer>
<driver status="good" emulation="good"/>
</game>
<game name="galaxy">
<description>Galaxy Ranger</description>
<year>1983</year>
<manufacturer>Bally Midway</manufacturer>
<driver status="good" emulation="good"/>
</game>
<game name="gpworld">
<description>GP World</description>
<year>1984</year>
<manufacturer>Sega</manufacturer>
<driver status="good" emulation="good"/>
</game>
<game name="interstellar">
<description>Interstellar</description>
<year>1983</year>
<manufacturer>Funai</manufacturer>
<driver status="good" emulation="good"/>
</game>
<game name="mach3">
<description>Mach 3</description>
<year>1983</year>
<manufacturer>Mylstar</manufacturer>
<driver status="good" emulation="good"/>
</game>
<game name="sdq">
<description>Super Don Quixote</description>
<year>1984</year>
<manufacturer>Universal</manufacturer>
<driver status="good" emulation="good"/>
</game>
<game name="cliff">
<description>Cliff Hanger</description>
<year>1983</year>
<manufacturer>Stern</manufacturer>
<driver status="good" emulation="good"/>
</game>
<game name="uvt">
<description>Us vs Them</description>
<year>1984</year>
<manufacturer>Mylstar</manufacturer>
<driver status="good" emulation="good"/>
</game>
<game name="ace2">
<description>Space Ace</description>
<year>1984</year>
<manufacturer>Cinematronics</manufacturer>
<driver status="good" emulation="good"/>
</game>
<game name="starfighter">
<description>The Last Starfighter</description>
<year></year>
<manufacturer></manufacturer>
<driver status="good" emulation="good"/>
</game>
<game name="roadblaster">
<description>Road Blaster</description>
<year>1985</year>
<manufacturer> Nihon Bussan</manufacturer>
<driver status="good" emulation="good"/>
</game>
<game name="mechatron">
<description>Mechatron</description>
<year></year>
<manufacturer></manufacturer>
<driver status="good" emulation="good"/>
</game>
<game name="gridwars">
<description>Grid Wars 2</description>
<year></year>
<manufacturer></manufacturer>
<driver status="good" emulation="good"/>
</game>
<game name="rogue">
<description>Rogue Squadron 3D</description>
<year></year>
<manufacturer></manufacturer>
<driver status="good" emulation="good"/>
</game>
<game name="feedingfrenzy">
<description>Feeding Frenzy 2</description>
<year></year>
<manufacturer></manufacturer>
<driver status="good" emulation="good"/>
</game>
<game name="minigolfm2">
<description>Mini Golf Master 2</description>
<year></year>
<manufacturer></manufacturer>
<driver status="good" emulation="good"/>
</game>
« Last Edit: August 14, 2007, 10:28:27 pm by SGT »

hulkster

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 2382
  • Last login:September 05, 2021, 04:27:59 pm
  • HulkaMAMEia is runnin' wild!
Re: Mala multiple emuls in same game list work-around solution
« Reply #25 on: August 10, 2007, 10:39:17 pm »
yeah, like i said, space ace is showing up and working from mala.   :applaud: 

however, dragons lair is no where to be found.  ive got both space ace and dragons lair dummy files in the other_emus folder labled "lair" and "ace".  if space ace is showing up, dragons lair should as well.  :banghead:  any more ideas?

SGT

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1145
  • Last login:April 17, 2023, 08:29:42 pm
Re: Mala multiple emuls in same game list work-around solution
« Reply #26 on: August 10, 2007, 10:39:54 pm »
k scratch that...space ace is showing up...but still no dragons lair.  im still looking into it..

I'm surprised that Space Ace is showing up.  This is because you are using ace as the game name.  There is already a Mame game with a rom called ace.  That's why when you look at my combined.xml that I just posted; I used ACE2.

SGT

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1145
  • Last login:April 17, 2023, 08:29:42 pm
Re: Mala multiple emuls in same game list work-around solution
« Reply #27 on: August 10, 2007, 10:42:21 pm »
yeah, like i said, space ace is showing up and working from mala.   :applaud: 

however, dragons lair is no where to be found.  ive got both space ace and dragons lair dummy files in the other_emus folder labled "lair" and "ace".  if space ace is showing up, dragons lair should as well.  :banghead:  any more ideas?

What version of Mame are you using?  Perhaps your mame.xml is greatly different than mine.

hulkster

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 2382
  • Last login:September 05, 2021, 04:27:59 pm
  • HulkaMAMEia is runnin' wild!
Re: Mala multiple emuls in same game list work-around solution
« Reply #28 on: August 10, 2007, 10:50:18 pm »
.102

okay so heres whats happened now...i now have two Space Ace files.  one of them is the "ace" game you talked about....and the other shows up as "Space Ace" but when i start it....its really dragons lair.   :dizzy:  i put the two screenshots of the games in the mame snaps folder, and then refreshed the list.  when i went down to space ace, it showed the screenshot for dragons lair.  im so confused beyond belief right now.

SGT

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1145
  • Last login:April 17, 2023, 08:29:42 pm
Re: Mala multiple emuls in same game list work-around solution
« Reply #29 on: August 10, 2007, 11:03:34 pm »
.102

okay so heres whats happened now...i now have two Space Ace files.  one of them is the "ace" game you talked about....and the other shows up as "Space Ace" but when i start it....its really dragons lair.   :dizzy:  i put the two screenshots of the games in the mame snaps folder, and then refreshed the list.  when i went down to space ace, it showed the screenshot for dragons lair.  im so confused beyond belief right now.

How about zipping up your combined.xml file and sending it to:
xxxxxxxxxxxxxx
« Last Edit: August 14, 2007, 10:29:14 pm by SGT »

hulkster

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 2382
  • Last login:September 05, 2021, 04:27:59 pm
  • HulkaMAMEia is runnin' wild!
Re: Mala multiple emuls in same game list work-around solution
« Reply #30 on: August 10, 2007, 11:28:50 pm »
if "%2" == "C:\arcade\emulators\other_emus\daphne" goto daphne

mame.exe %1
exit

:daphne
SET DAPHNE=C:\arcade\emulators\daphne\daphne.exe
cd ..\daphne
if "%1" == "lair" start/wait %daphne% lair vldp -framefile C:\arcade\emulators\daphne\framefile\lair.txt -fullscreen -blank_skips -blank_searches -preset 1
exit

:daphne
SET DAPHNE=C:\arcade\emulators\daphne\daphne.exe
cd ..\daphne
if "%1" == "ace" start/wait %daphne% ace vldp -framefile C:\arcade\emulators\daphne\framefile\ace.txt -fullscreen -blank_skips -blank_searches -preset 1
exit



im sending the .rar file (winrar) over to your email address.


oh and btw, i really appreciate your help!  :applaud:  files are sent, but its bed time for me. 

SGT

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1145
  • Last login:April 17, 2023, 08:29:42 pm
Re: Mala multiple emuls in same game list work-around solution
« Reply #31 on: August 10, 2007, 11:34:31 pm »
Your mame.cmd should be changed to:

Code: [Select]
If "%2" == "C:\arcade\emulators\other_emus\daphne" goto daphne

mame.exe %1
exit

:daphne
SET DAPHNE=C:\arcade\emulators\daphne\daphne.exe
cd ..\daphne
if "%1" == "lair" start/wait %daphne% lair vldp -framefile C:\arcade\emulators\daphne\framefile\lair.txt -fullscreen -blank_skips -blank_searches -preset 1
if "%1" == "ace" start/wait %daphne% ace vldp -framefile C:\arcade\emulators\daphne\framefile\ace.txt -fullscreen -blank_skips -blank_searches -preset 1

exit


SGT

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1145
  • Last login:April 17, 2023, 08:29:42 pm
Re: Mala multiple emuls in same game list work-around solution
« Reply #32 on: August 10, 2007, 11:50:04 pm »
Used your combined.xml file. Refreshed my Main Game List and it worked fine.  The file in:

C:\arcade\emulators\other_emus\daphne

is lair.zip and not lair.rar, correct?

What version of Mala are you using?  Please email me the Mala.ini file.

hulkster

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 2382
  • Last login:September 05, 2021, 04:27:59 pm
  • HulkaMAMEia is runnin' wild!
Re: Mala multiple emuls in same game list work-around solution
« Reply #33 on: August 11, 2007, 08:48:02 am »
yep, its lair.zip and ace.zip in the c:\arcade\emulators\other_emus\daphne folder. 

attached is my mala.ini file. 

SGT

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1145
  • Last login:April 17, 2023, 08:29:42 pm
Re: Mala multiple emuls in same game list work-around solution
« Reply #34 on: August 13, 2007, 01:24:48 am »
I loaded up your Mala folder that you sent me.  Your Main Game List was corrupted.  When I first loaded it, the only two roms I used were lair.zip and the gorf rom (just to have a normal Mame rom in the mix).  When I refreshed the Main Game List it came up like you reported:
 
Code: [Select]
Gorf
Space Ace

I selected Space Ace and right-clicked and chose remove game from list.  I then refreshed the Main Game List and all was well after that:

Code: [Select]
Dragon's Lair
Gorf

I added the rom and the entry for Space Ace and as you can see from the email screenshot attachment that I sent you, it came up.
 
Code: [Select]
Dragon's Lair
Gorf
Space Ace

 
Please note that I verified that if you check the box to use Only Working Games, every game's XML entry will need to include the following:
 
<driver status="good" emulation="good"/>
 
EDIT:

Forgot to mention that since there is already a Mame rom named ace.zip; you need to use a different name for Space Ace in both your XML entry, and the name of the dummy rom.  I personally use ace2.
« Last Edit: August 13, 2007, 09:58:30 am by SGT »

hulkster

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 2382
  • Last login:September 05, 2021, 04:27:59 pm
  • HulkaMAMEia is runnin' wild!
Re: Mala multiple emuls in same game list work-around solution
« Reply #35 on: August 14, 2007, 09:32:40 pm »
okay, im tackling zinc games now.   :dizzy:  the only question i have is for the mame.cmd file.  is the code underneath the directory for each emu, is that like the exe for the emu itself? 

:zinc
cd ..\zinc
???????????????what goes here for zinc
exit

SGT

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1145
  • Last login:April 17, 2023, 08:29:42 pm
Re: Mala multiple emuls in same game list work-around solution
« Reply #36 on: August 14, 2007, 09:49:11 pm »
Assuming you use Howard's wrapper like I do:

:zinc
cd ..\zinc
cmd-launch7.exe %1


Please note that with Zinc, no modifications to the XML is required. (I know, you probably already knew that)
« Last Edit: August 14, 2007, 10:06:46 pm by SGT »

loadman

  • Moderator
  • Trade Count: (+3)
  • Full Member
  • *****
  • Offline Offline
  • Posts: 4305
  • Last login:August 17, 2020, 03:23:55 am
  • Cocktail Cab owner and MaLa FE developer
    • MaLa
Re: Mala multiple emuls in same game list work-around solution
« Reply #37 on: August 14, 2007, 10:03:45 pm »
Hey SGT

to edit XML do you use just a text editor or something more sexy like...

XML Marker
http://symbolclick.com/

teknomedic

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 52
  • Last login:January 05, 2011, 10:14:11 pm
Re: Mala multiple emuls in same game list work-around solution
« Reply #38 on: August 14, 2007, 10:07:58 pm »
taggin this post for later.... awesome and thank you!!!!

SGT

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1145
  • Last login:April 17, 2023, 08:29:42 pm
Re: Mala multiple emuls in same game list work-around solution
« Reply #39 on: August 14, 2007, 10:08:44 pm »
Hey SGT

to edit XML do you use just a text editor or something more sexy like...

XML Marker
http://symbolclick.com/

Notepad is much sexier than that. :laugh2:

That looks interesting; I'm going to give that a try. Thanks! :applaud:


hulkster

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 2382
  • Last login:September 05, 2021, 04:27:59 pm
  • HulkaMAMEia is runnin' wild!
Re: Mala multiple emuls in same game list work-around solution
« Reply #40 on: August 14, 2007, 10:27:02 pm »
worked great!  thanks SGT!!!

diverdown

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 277
  • Last login:December 10, 2023, 12:40:05 am
Re: Mala multiple emuls in same game list work-around solution
« Reply #41 on: August 29, 2007, 07:56:46 am »
SGT  is your layout available for others to use.  I LOVE IT
If it ain't broke give it to me...i'll soon fix that

SGT

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1145
  • Last login:April 17, 2023, 08:29:42 pm
Re: Mala multiple emuls in same game list work-around solution
« Reply #42 on: August 29, 2007, 08:31:25 am »
SGT  is your layout available for others to use.  I LOVE IT

If you are referring to the one below, I can make it available.  If you're referring to the older plain one, I'll have to see if I still have it.  Let me know.

sega_mad

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 284
  • Last login:July 09, 2015, 04:03:08 am
Re: Mala multiple emuls in same game list work-around solution
« Reply #43 on: September 02, 2007, 01:31:13 am »
Hi SGT,

Back again, I have a  question relating to this thread.

Am wanting to add Daytona to my MALa list. I have followed your instructions, buy am confused when I get to number 7. I don't know how to create a mame.cmd.

Any help appreciated

Also, is Daytona and sega rally fully playable with model2 emulator?

I'm sure I will have more questions before I get this right!!

Cheers

SGT

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1145
  • Last login:April 17, 2023, 08:29:42 pm
Re: Mala multiple emuls in same game list work-around solution
« Reply #44 on: September 02, 2007, 10:41:29 am »
I don't know how to create a mame.cmd.

Just open notepad and copy & paste the contents quoted earlier.  Then modify it to suit your setup and save it to the your mame folder with the name "mame.cmd".


Also, is Daytona and sega rally fully playable with model2 emulator?

Yes, they are fully playable and a lot of fun.  The graphics are not 100% perfect yet. 

sega_mad

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 284
  • Last login:July 09, 2015, 04:03:08 am
Re: Mala multiple emuls in same game list work-around solution
« Reply #45 on: September 03, 2007, 12:47:27 am »
Cheers, Will have a go.

I'm running mame 1.14...will that be OK for sega rally, and Daytona?

Will these 2 games be supported in mame in the near future, so I wont have to run model 2?

thanks again


sega_mad

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 284
  • Last login:July 09, 2015, 04:03:08 am
Re: Mala multiple emuls in same game list work-around solution
« Reply #46 on: September 03, 2007, 01:43:44 am »
SGT

Please help. I can't get it working.

Here's what I did

In C drive I created a folder called "m2emulator" (this has the m2 exe emulator inside)

Also in C drive, I created a folder called "otheremulator" (this has a m2 folder, and inside this is the Daytona zip rom)

I followed your other instructions regarding mala, and had no problem there, so I think the problem must be with the mame.cmd file.

this is what's in my mame.cmd

if "%2" == "C:\otheremulator\m2" goto m2

mame.exe %1
exit

:m2
cd ..\m2emulator
closemul.exe emulator.exe zip %1 rar
exit

Hoping you can help,

Cheers,

Sega mad


SGT

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1145
  • Last login:April 17, 2023, 08:29:42 pm
Re: Mala multiple emuls in same game list work-around solution
« Reply #47 on: September 03, 2007, 09:44:11 am »
I'm running mame 1.14...will that be OK for sega rally, and Daytona?
Will these 2 games be supported in mame in the near future, so I wont have to run model 2?

Someone can correct me if I'm wrong, but I think it will be a long time before computers are fast enough for Mame to run Daytona at an acceptable speed.
« Last Edit: September 03, 2007, 10:00:34 am by SGT »

SGT

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1145
  • Last login:April 17, 2023, 08:29:42 pm
Re: Mala multiple emuls in same game list work-around solution
« Reply #48 on: September 03, 2007, 09:59:47 am »
Please help. I can't get it working.

Here's what I did

In C drive I created a folder called "m2emulator" (this has the m2 exe emulator inside)

Also in C drive, I created a folder called "otheremulator" (this has a m2 folder, and inside this is the Daytona zip rom)

I followed your other instructions regarding mala, and had no problem there, so I think the problem must be with the mame.cmd file.

this is what's in my mame.cmd

if "%2" == "C:\otheremulator\m2" goto m2

mame.exe %1
exit

:m2
cd ..\m2emulator
closemul.exe emulator.exe zip %1 rar
exit


1) First of all, are you able to run Daytona in the M2 emulator manually (not using Mala)?  In other words, at a C prompt in the m2emulator folder, does it work when you type:

Code: [Select]
closemul emulator.exe daytona

2) Is the m2emulator folder on the same folder level as the Mame folder?  If its not then the "cd..\m2emulator" command will not work.  In other words, if the Mame folder is here:

Code: [Select]
c:\emulators\mame
Then the m2emulator folder should be here:

Code: [Select]
c:\emulators\m2emulator


3) Also the folder names where the m2 rom is stored is case sensitive in the batch file.  Therefore since "\otheremulator\m2" is in your batch file, these actual folder names MUST be lower case.


4) Make sure there is not a Daytona rom in your mame roms folder or Mame will run the rom instead of the m2 emulator.


5) What are any errors you are getting? If you're not getting any errors, set Mala to NOT hide the command window.  Put a pause command into your batch file to help with troubleshooting.   For example:

Code: [Select]
:m2
pause
cd ..\m2emulator
closemul.exe emulator.exe zip %1 rar
exit

When you run Daytona from Mala, (if you unhide the command window) you should see a black command window and the code stopping on your pause command.  This will at least tell you whether the batch file is branching to the m2 section or not.

If none of that helps, you need to post screen shots of the pertinent Mala configuration screens that you have set up.  You also need to tell me what folder Mame is in and answer ALL the questions above.   ;)


« Last Edit: September 03, 2007, 10:18:02 am by SGT »

sega_mad

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 284
  • Last login:July 09, 2015, 04:03:08 am
Re: Mala multiple emuls in same game list work-around solution
« Reply #49 on: September 04, 2007, 12:29:49 am »
Hi again,

Man I feel stupid, I can't even complete question number 1...can you spell that out for me!!

I moved the m2emulator folder to the mame folder...no help

Did have the case (lower) correct

Daytona rom is not in mame

Not getting any errors....it wont run, just goes back to mala!!

I tried the pause in the batch file, and unhide the command window. but the black screen was gone so fast i couldn't read it!!

As for the last one, how do I post screen shots!!

So sorry for all the dumb questions, and thanks for your help so far.

Chees
« Last Edit: September 04, 2007, 12:52:04 am by sega_mad »

SGT

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1145
  • Last login:April 17, 2023, 08:29:42 pm
Re: Mala multiple emuls in same game list work-around solution
« Reply #50 on: September 04, 2007, 10:20:49 am »
I moved the m2emulator folder to the mame folder...no help

No, I just wanted to make sure that the m2emulator folder and the mame folder are subfolders that are side by side, so to speak.  For example, I have a folder called "emulators".  In that folder is my m2emulator folder *and* my mame folder.  It doesn't have to be this way, but that's the way it needs to be unless a change is made to the batch file.

I can't even complete question number 1...can you spell that out for me!!

Providing you have your folders set up as outlined as above:

Click START, then click RUN
Type CMD, then click OK


In the black window, type the following:

Code: [Select]
C: <ENTER>
CD \emulators\m2emulator <ENTER>
closemul emulator.exe daytona

What error if any do you get?



how do I post screen shots!!

Not sure if you're asking how to create a screenshot or how to attach one into this forum.

1)  Bring up the Mala option screen that you want.
2)  Press PrintScreen
3)  Click Programs>Accessories>Paint
4)  Click Edit>Paste
5)  If you know how, crop out all of the screen shot accept for the Mala options window
6)  Save the file.
7)  When posting a reply, choose Additional Options....
8 )  Browse for the attachment that you saved in the Paint program.


sega_mad

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 284
  • Last login:July 09, 2015, 04:03:08 am
Re: Mala multiple emuls in same game list work-around solution
« Reply #51 on: September 04, 2007, 03:42:09 pm »
Hi Sgt,

Many thanks for the instructions....very easy to follow!!

I have changed the folder around to how you have  it.....m2emulator inside emulators folder.

Here are the screen shots

Cheers,

Sega-mad


SGT

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1145
  • Last login:April 17, 2023, 08:29:42 pm
Re: Mala multiple emuls in same game list work-around solution
« Reply #52 on: September 04, 2007, 04:42:15 pm »
1) You need to open m2's emulator.ini file into notepad and make sure the Dir1 is pointing to your rom folder which I assume should be:

Code: [Select]
Dir1=\otheremulator\m2
2) You don't have the closemul program in your m2emulator folder.  This is a wrapper that allows for the ESC key to close the m2emulator.  You can download it at the link below.  Make sure you unzip into the m2emulator folder.

http://lustar.free.fr/clusters/closemul/

3) Retry the CMD steps again, but make sure you type it exactly.  Last time you had a typo.  Make sure it is NOT emutator :laugh2::
Code: [Select]
C: <ENTER>
CD \emulators\m2emulator <ENTER>
closemul emulator.exe daytona

4) Try the above step twice as I know that the closemul program creates the closemul.ini file the first time it is run. 

5) After the second try, post the error messages that you get.


EDIT ADDITION:

I didn't see a screenshot of your Mame command line.  Make sure it is:

Code: [Select]
%rom% %path%
Notice the space between %rom% and %path%
« Last Edit: September 04, 2007, 04:50:31 pm by SGT »

sega_mad

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 284
  • Last login:July 09, 2015, 04:03:08 am
Re: Mala multiple emuls in same game list work-around solution
« Reply #53 on: September 04, 2007, 05:00:50 pm »
Hi again,

Mame command line is correct (has space)

But the download for the esc wrapper does not work. When I try to extract the file it says "cannot open file.it does not  appear to be a valid archive"

Cheers

SGT

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1145
  • Last login:April 17, 2023, 08:29:42 pm
Re: Mala multiple emuls in same game list work-around solution
« Reply #54 on: September 04, 2007, 05:04:37 pm »
I can download and open it okay.  Sometimes when corruption occurs on downloads its necessary to do the following:
This time right-click the download link and choose "Save Target As".

Keep trying until the archive is valid.

sega_mad

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 284
  • Last login:July 09, 2015, 04:03:08 am
Re: Mala multiple emuls in same game list work-around solution
« Reply #55 on: September 04, 2007, 05:09:13 pm »
Tried that.

Am I missing something....this is the only file I can see to down load "Closemul v0.3.0.2"

sega_mad

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 284
  • Last login:July 09, 2015, 04:03:08 am
Re: Mala multiple emuls in same game list work-around solution
« Reply #56 on: September 04, 2007, 05:14:30 pm »
Tried it again, if I put my mouse over the file it says

"no zip file, bad zip file, or part of a spanned/split zip file"

SGT

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1145
  • Last login:April 17, 2023, 08:29:42 pm
Re: Mala multiple emuls in same game list work-around solution
« Reply #57 on: September 04, 2007, 06:07:09 pm »
Email attachment sent.

sega_mad

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 284
  • Last login:July 09, 2015, 04:03:08 am
Re: Mala multiple emuls in same game list work-around solution
« Reply #58 on: September 04, 2007, 11:25:34 pm »
Ok, think I'm making progress.

After I did the re install, now it looks like I can get to the m2 emulator from Mala, but there is a fault/error with the roms. I'm running mame 1.14...could that be the problem?

Cheers
« Last Edit: September 04, 2007, 11:27:08 pm by sega_mad »

SGT

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1145
  • Last login:April 17, 2023, 08:29:42 pm
Re: Mala multiple emuls in same game list work-around solution
« Reply #59 on: September 05, 2007, 08:21:19 am »
Ok, think I'm making progress.

After I did the re install, now it looks like I can get to the m2 emulator from Mala, but there is a fault/error with the roms. I'm running mame 1.14...could that be the problem?

Cheers

No, Mame has nothing to do with the M2 emulator.  I would say that either you have the wrong rom or M2 is not looking in the right folder.  Open the Daytona rom and see if the files that it says are missing are in there.  If the files aren't there, you have the wrong ROM.  If they are there, you need to check and make sure that the line in M2's emulator.ini file is pointing to the right folder for your roms.
« Last Edit: September 05, 2007, 08:37:22 am by SGT »

Lakersfan

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 213
  • Last login:February 05, 2024, 12:16:07 am
Re: Mala multiple emuls in same game list work-around solution
« Reply #60 on: December 21, 2007, 01:14:03 pm »
I was wondering if someone can help me out with this ... I am trying to get fceUltra to play Super Mario Bros. 2 (USA).zip and (of course) add this one game to my main list (which is primarily mame games).

If I open a command prompt, I can get this cmd line to run just fine:
Code: [Select]
Closemul.exe fceu.exe "I:\Emulators\emulators\fceUltra\roms\Super Mario Bros. 2 (USA).zip" so I don't think that's my problem.

I can get it listed in my games by editing the mame.xml file, adding this:
Code: [Select]
<game name="Super Mario Bros. 2 (USA)">
                                  <description>Super Mario Bros. 2</description>
                                  <driver status="good" emulation="good"/>
</game>

However, I'm pretty sure my screw up is somewhere in my mame.cmd file:
Code: [Select]
if "%2" == "I:\Emulators\emulators\fceUltra" goto fceUltra

mame.exe %1
exit

:fceUltra
cd ..\fceUltra
Closemul.exe fceu.exe "I:\Emulators\emulators\fceUltra\roms\Super Mario Bros. 2 (USA).zip"
exit
but I can't figure it out!

Any suggestions?

ps- attached a pic if helpful...

SGT

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1145
  • Last login:April 17, 2023, 08:29:42 pm
Re: Mala multiple emuls in same game list work-around solution
« Reply #61 on: December 21, 2007, 02:46:39 pm »
Where is fceUltra.exe located?  Is it located here?:
Code: [Select]
I:\Emulators\emulators\fceUltra
Where is mame.cmd located? Here?:
Code: [Select]
I:\Emulators\Mame
or here?:
Code: [Select]
I:\Emulators\emulators\mame

Lakersfan

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 213
  • Last login:February 05, 2024, 12:16:07 am
Re: Mala multiple emuls in same game list work-around solution
« Reply #62 on: December 21, 2007, 03:44:27 pm »
fceu.exe is located here: I:\Emulators\emulators\fceUltra

mame.cmd is located here: I:\Emulators\Programs\mame

SGT

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1145
  • Last login:April 17, 2023, 08:29:42 pm
Re: Mala multiple emuls in same game list work-around solution
« Reply #63 on: December 21, 2007, 04:24:50 pm »
That being the case, in mame.cmd change:

Code: [Select]
cd ..\fceUltrato:
Code: [Select]
cd \Emulators\emulators\fceUltra

Also %2 will equal the folder that the rom is actually in; therefore, change:

Code: [Select]
if "%2" == "I:\Emulators\emulators\fceUltra" goto fceUltrato:
Code: [Select]
if "%2" == "I:\Emulators\emulators\fceUltra\roms" goto fceUltra

Note that the path in the preceding line is case sensitive.  Once you get it working, you won't want to use the actual rom name in mame.cmd, but I'm guessing you probably already know that.  There may be more problems, but that is what jumps out at me right now.


SGT

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1145
  • Last login:April 17, 2023, 08:29:42 pm
Re: Mala multiple emuls in same game list work-around solution
« Reply #64 on: December 21, 2007, 04:29:38 pm »
Another thing that I'm not sure about is you have Mala to search subfolders under I:\Emulators\emulators which is correct, but the roms are two levels down instead of one level down.  I haven't tested Mala to know whether Mala searches for roms in subfolders of subfolders if you know what I mean.


Edit:  Nevermind.  A quick test shows Mala will search down more than one level of subfolders.
« Last Edit: December 21, 2007, 05:48:38 pm by SGT »

Lakersfan

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 213
  • Last login:February 05, 2024, 12:16:07 am
Re: Mala multiple emuls in same game list work-around solution
« Reply #65 on: December 21, 2007, 06:15:32 pm »
Well, before you posted your response I was trying to figure some things out. Sorry, but I'll have to re-verify a few things. My folders are now as follows:

Main- I:\Arcade
Mala- I:\Arcade\mala
Emulators- I:\Arcade\emulators
Mame- I:\Arcade\emulators\mame
fceUltra- I:\Arcade\emulators\fceUltra
fceUltra Roms- I:\Arcade\emulators\fceUltra\roms

Based on that, I changed my mame.cmd from
Code: [Select]
cd ..\fceUltra to
Code: [Select]
cd I:\Arcade\emulators\fceUltrawhich is where my fceu.exe emulator resides.

Also, you said,
Quote
Also %2 will equal the folder that the rom is actually in
so I changed my line to
Code: [Select]
if "%2" == "I:\Arcade\emulators\fceUltra\roms" goto fceUltraI refreshed my games and still no-go.

The error that pops up is so fast it's hard to read. But I think it says something along the lines of
Code: [Select]
I:\Arcade\emulators\mame>if "Mario" == "I:\Arcade\emulators\fceUltra\roms" goto fceUltra
I:\Arcade\emulators\mame>mame.exe Super

"Super" approximately matches the following:"
then it goes and list some mame roms.

Maybe this has something to do with the rom name of "Super Mario Bros. 2 (USA)" since it has spaces. Also, where is it getting "Mario" from in the first line?

Here's my latest mame.cmd file:
Code: [Select]
if "%2" == "I:\Arcade\emulators\fceUltra\roms" goto fceUltra

mame.exe %1
exit

:fceUltra
cd I:\Arcade\emulators\fceUltra
Closemul.exe fceu.exe "I:\Arcade\emulators\fceUltra\roms\Super Mario Bros. 2 (USA).zip"
exit

SGT

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1145
  • Last login:April 17, 2023, 08:29:42 pm
Re: Mala multiple emuls in same game list work-around solution
« Reply #66 on: December 21, 2007, 06:58:42 pm »
Yeah, the spaces in the rom name is causing a problem.  In Mala for the command line you'll need to enclose %rom% with quotation marks:
 
Code: [Select]
"%rom%" %path%

You also need to change:
Code: [Select]
cd I:\Arcade\emulators\fceUltrato:
Code: [Select]
cd \Arcade\emulators\fceUltra
You can include the drive letter in the cd command if you need to change drives if you use the /D parameter.  But in this case, its not needed.

TheManuel

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 805
  • Last login:August 07, 2020, 10:15:48 am
  • On and off hobbyist
Re: Mala multiple emuls in same game list work-around solution
« Reply #67 on: December 21, 2007, 10:07:31 pm »
Thank you for providing that work-around, SGT.

I just begun playing with Mala and, like you, I use one or more older versions of MAME for some games.  At a glance, I could not find a way to have all the games from the different versions show up on the same list so I figured I had not tried hard enough.
However after reading through your post, I am completely shocked that this is not a basic feature of such a powerful front-end considering how many different emulators are out there for arcade games even if MAME is so ubiquitous.  I imagine most people would like to have a list that includes all arcade games regardless of what emulator runs them.

At any rate, I know I should not look a gift horse in the mouth.  Your work-around sounds like a good deal so I will give it a try.

Regards.
"The Manuel"

SGT

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1145
  • Last login:April 17, 2023, 08:29:42 pm
Re: Mala multiple emuls in same game list work-around solution
« Reply #68 on: December 21, 2007, 10:34:42 pm »
@TheManuel  -  Thanks for the kudos. :cheers:


@Lakersfan  -  Be forewarned.  I have played around a little bit with fceUltra.  Adding the quotes around %rom% for Mala's mame commandline works for fceUltra, and it doesn't seem to affect Mame.  However, it did cause a problem with VivaNonno.  I haven't tested to see what problems it might cause with the other emus that I use in the Mame gamelists such as M2, Daphne, Zinc, Radikal Biker, Mjolnir, and PC Games.

Fortunately, Mala has the Advanced feature for the Mame command line which allows for conditional command lines.  I may be wrong, but I believe any problems can easily be resolved by adding a conditional command line based upon the rom path.

On another note, I noticed after exiting fceUltra that the Mala screen was scrambled.  When this has happened before, I usually resolve it by setting the emulator resolution to the same resolution used by Mala.   I wasn't able to run fceUltra at the same resolution without it crashing.  This is no big deal for me as I do not intend to run this emulator, but I wanted to give you a heads up in case you encounter the same problem.

Lakersfan

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 213
  • Last login:February 05, 2024, 12:16:07 am
Re: Mala multiple emuls in same game list work-around solution
« Reply #69 on: December 22, 2007, 12:54:33 am »
Thanks for the help, SGT. However, I still am unable to get it to work. One quick question after re-reading your post. Do I need a "dummy" file of Super Mario Bros 2 somewhere?

From what I can tell, I am getting the same error when trying to run the game ... it seems to be looking in mame roms for a game similar to Super Mario Bros. 2.

SGT

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1145
  • Last login:April 17, 2023, 08:29:42 pm
Re: Mala multiple emuls in same game list work-around solution
« Reply #70 on: December 22, 2007, 10:43:27 am »
In your case, you don't need a dummy file because the actual fceUltra rom is stored in the searchable rom path.  You really need to see exactly what variables Mala is passing to Mame.cmd.  To do this you can add the following two lines at the beginning of mame.cmd:

Code: [Select]
echo %1 > test.txt
echo %2 >> test.txt

After you have attempted to start that game, view the contents of test.txt which is in the mame folder.  The first line is your rom name and the second line is the rom path.  Post the contents of test.txt here if you want to.

Lakersfan

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 213
  • Last login:February 05, 2024, 12:16:07 am
Re: Mala multiple emuls in same game list work-around solution
« Reply #71 on: December 22, 2007, 11:53:57 am »
Thanks! Will give a try a bit later today after I'm done xmas shopping and a few other pre-Christmas chores. :p


Lakersfan

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 213
  • Last login:February 05, 2024, 12:16:07 am
Re: Mala multiple emuls in same game list work-around solution
« Reply #72 on: December 22, 2007, 01:07:39 pm »
Here's my test.txt:
Code: [Select]
"Super Mario Bros. 2 (USA)"
I:\Arcade\emulators\fceUltra

SGT

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1145
  • Last login:April 17, 2023, 08:29:42 pm
Re: Mala multiple emuls in same game list work-around solution
« Reply #73 on: December 22, 2007, 01:14:14 pm »
Wow.  Isn't your Super Mario Bros rom actually in?:

Code: [Select]
I:\Arcade\emulators\fceUltra\roms
Any chance you have a second copy of that rom sitting in?:

Code: [Select]
I:\Arcade\emulators\fceUltra

Lakersfan

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 213
  • Last login:February 05, 2024, 12:16:07 am
Re: Mala multiple emuls in same game list work-around solution
« Reply #74 on: December 22, 2007, 03:03:19 pm »
Yes, the rom is in I:\Arcade\emulators\fceUltra\roms

For whatever reason, I also had the rom in I:\Arcade\emulators\fceUltra... I took it out but I get the same exact log as above when I try to run it.

last mame.cmd file:
Code: [Select]
echo %1 > test.txt
echo %2 >> test.txt

if "%2" == "I:\Arcade\emulators\fceUltra\roms" goto fceUltra

mame.exe %1
exit

:fceUltra
cd \Arcade\emulators\fceUltra
Closemul.exe fceu.exe "I:\Arcade\emulators\fceUltra\roms\Super Mario Bros. 2 (USA).zip"
exit

Thanks so much for all your help with this.
« Last Edit: December 22, 2007, 03:05:06 pm by Lakersfan »

Lakersfan

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 213
  • Last login:February 05, 2024, 12:16:07 am
Re: Mala multiple emuls in same game list work-around solution
« Reply #75 on: December 22, 2007, 03:11:35 pm »
no wait .. it works now! I just had to do a refresh in mala... one of the most basic things.

Thanks for helping me out with this!!

SGT

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1145
  • Last login:April 17, 2023, 08:29:42 pm
Re: Mala multiple emuls in same game list work-around solution
« Reply #76 on: December 22, 2007, 03:25:40 pm »
Great!  :cheers:

TheManuel

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 805
  • Last login:August 07, 2020, 10:15:48 am
  • On and off hobbyist
Re: Mala multiple emuls in same game list work-around solution
« Reply #77 on: December 23, 2007, 12:30:58 am »
 :banghead:  :banghead:  :banghead:  :banghead:
I feel better now.

Hey SGT:
I can't get it to work with an older version of MAME.
Here is what my mame.cmd looks like:
Quote
if "%2" == "D:\MAME\roms104\Using" goto mame104


mamep.exe %1
exit

:mame104
cd D:\MAME\Emulator\MAMEplus_Intel_0.104
mame.exe
exit
The problem is that the rom name is not being passed to the alternate version of MAME described above.  It simply starts MAME as mame.exe and I get the quick text the command line version of MAME displays when you start it without a rom namea.

Any ideas where I can start looking?

Thanks.
"The Manuel"

SGT

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1145
  • Last login:April 17, 2023, 08:29:42 pm
Re: Mala multiple emuls in same game list work-around solution
« Reply #78 on: December 23, 2007, 07:49:13 am »
Two things to change and two things to check on:

Change
Code: [Select]
mame.exeto:
Code: [Select]
mame.exe %1
Change
Code: [Select]
cd D:\MAME\Emulator\MAMEplus_Intel_0.104to:
Code: [Select]
cd \MAME\Emulator\MAMEplus_Intel_0.104
Also the following is case sensitive, so make sure it matches the folder names exactly:
Code: [Select]
D:\MAME\roms104\Using
To verify that Mala is passing the exact same thing as the line above:
Put the following as the first line in the mame.cmd:
Code: [Select]
echo %2 > test.txt
After you attempt to run the game, check the contents of test.txt file which will be in the same folder as mame.cmd.  There will be one line in test.txt that should match EXACTLY (case included) the line below:
Code: [Select]
D:\MAME\roms104\Using
Also make sure that there is not a rom with the exact same name in your regular rom folder.  I am assuming you changed the mala settings as outlined earlier in this thread.

TheManuel

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 805
  • Last login:August 07, 2020, 10:15:48 am
  • On and off hobbyist
Re: Mala multiple emuls in same game list work-around solution
« Reply #79 on: December 23, 2007, 11:24:34 am »
Thank you SGT.

The %1 after mame.exe did it.
I will knock my head a few more times against the wall for not trying that after everything I did try.
I had assume %1 was rompath #1 and %2 rompath #2 when %1 is actually the rom name and %2 is the path.

I should point out that including the drive letter after cd does not affect the process.

Regards.
"The Manuel"

SGT

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1145
  • Last login:April 17, 2023, 08:29:42 pm
Re: Mala multiple emuls in same game list work-around solution
« Reply #80 on: December 23, 2007, 11:43:54 am »
I should point out that including the drive letter after cd does not affect the process.

It would make a difference if your mame.cmd file and the emulator you're trying to run were on different drives.  It will cause an error in that case.  However since the folder you're CDing to is on the same drive as the current drive, there's no error.  You can use the drive letter in the CD command but you have to add a /D parameter.  I knew it didn't contribute to your problem, but I wanted to correct it in case you reconfigure things down the road which might cause the error.

TheManuel

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 805
  • Last login:August 07, 2020, 10:15:48 am
  • On and off hobbyist
Re: Mala multiple emuls in same game list work-around solution
« Reply #81 on: December 23, 2007, 12:05:25 pm »
Gotcha.
I think I'm going to rewrite that so that it includes the /D parameter even if it is redundant right now so that I don't screw up in the future.

Would this be the correct syntax?
cd /D D:\MAME\Emulator\MAMEplus_Intel_0.104
"The Manuel"

SGT

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1145
  • Last login:April 17, 2023, 08:29:42 pm
Re: Mala multiple emuls in same game list work-around solution
« Reply #82 on: December 23, 2007, 12:36:56 pm »
Yep:
Code: [Select]
CD [/D] [drive:][path]
For just about any dos command, you can add a /? from the command prompt  to get the description and the syntax.  For example:
Code: [Select]
CD /?
Which yields:
Quote
Displays the name of or changes the current directory.

CHDIR [/D] [drive:][path]
CHDIR [..]
CD [/D] [drive:][path]
CD [..]

  ..   Specifies that you want to change to the parent directory.

Type CD drive: to display the current directory in the specified dr
Type CD without parameters to display the current drive and directo

Use the /D switch to change current drive in addition to changing c
directory for a drive.

If Command Extensions are enabled CHDIR changes as follows:

The current directory string is converted to use the same case as
the on disk names.  So CD C:\TEMP would actually set the current
directory to C:\Temp if that is the case on disk.

CHDIR command does not treat spaces as delimiters, so it is possibl
CD into a subdirectory name that contains a space without surroundi
the name with quotes.  For example:

    cd \winnt\profiles\username\programs\start menu

is the same as:

    cd "\winnt\profiles\username\programs\start menu"

which is what you would have to type if extensions were disabled.
« Last Edit: December 23, 2007, 12:39:22 pm by SGT »

TheManuel

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 805
  • Last login:August 07, 2020, 10:15:48 am
  • On and off hobbyist
Re: Mala multiple emuls in same game list work-around solution
« Reply #83 on: December 23, 2007, 12:47:57 pm »
Thank you.
"The Manuel"

Cakemeister

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1001
  • Last login:February 04, 2024, 10:15:45 pm
  • I'm a llama!
Re: Mala multiple emuls in same game list work-around solution
« Reply #84 on: December 23, 2007, 01:17:04 pm »
I think this whole thread may have been made obsolete.

Link to thread
Old, but not obsolete.

Lakersfan

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 213
  • Last login:February 05, 2024, 12:16:07 am
Re: Mala multiple emuls in same game list work-around solution
« Reply #85 on: December 27, 2007, 03:18:23 am »
Hi SGT,
One follow-up question to my NES setup.... How would my cmd file look if I wanted to run multiple roms using fceu?

How would I add the rom named: "R.C. Pro-Am (USA) (Rev A).zip"
Code: [Select]
if "%2" == "I:\Arcade\emulators\fceUltra\roms" goto fceUltra
if "%2" == "I:\Arcade\emulators\daphne\roms" goto daphne

mame.exe %1
exit

:fceUltra
cd \Arcade\emulators\fceUltra
fceu.exe "I:\Arcade\emulators\fceUltra\roms\Super Mario Bros. 2 (USA).zip"
exit

:daphne
cd \Arcade\emulators\daphne
daphne.exe lair vldp -framefile "I:\Arcade\emulators\daphne\vldp_dl\lair\lair.txt" -fullscreen -nohwaccel -fastboot
exit


Thanks!!

SGT

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1145
  • Last login:April 17, 2023, 08:29:42 pm
Re: Mala multiple emuls in same game list work-around solution
« Reply #86 on: December 27, 2007, 06:41:14 pm »
Well, what should be easy is complicated by a couple of problems.  Normally for most emulators you would change the following line:
Code: [Select]
fceu.exe "I:\Arcade\emulators\fceUltra\roms\Super Mario Bros. 2 (USA).zip"to:
Code: [Select]
fceu.exe %1.zip
This will in essence be translated when ran to:
Code: [Select]
fceu.exe "Super Mario Bros. 2 (USA)".zip
Unfortunately fecUltra doesn't like this for two reasons. 

Problem #1) fceUltra wants a path specfied to the rom.  I haven't seen an option in fceUltra to specify a default rom folder.


For problem #1 you'd think you could go with
Code: [Select]
fecu.exe %2\%1.zipWhich translates when ran to:
Code: [Select]
fceu .exe I:\Arcade\emulators\fceUltra\roms\"Super Mario Bros. 2 (USA)".zip
fceUltra doesn't like this because of

Problem #2) fceUltra wants quotation marks around the whole path and rom (not the rom), ala
Code: [Select]
"I:\Arcade\emulators\fceUltra\roms\Super Mario Bros. 2 (USA).zip"
Well we know we had to put quotes around the rom name because of the spaces in the rom name, so to get it like fceUltra wants it you think, let's add a third parameter to the Mala mame commandline.  So in Mala, instead of:
Code: [Select]
"%rom%" %path%we add the path and rom name to a third parameter, and the command line becomes:
Code: [Select]
"%rom%" %path% "%path%\%rom%.%ext%"Then we'll change the batch file to read
Code: [Select]
fecu.exe %3
This works!...........EXCEPT, when you close Mala, and re-open Mala, the command line is no longer there.  It has changed from:
Code: [Select]
"%rom%" %path% "%path%\%rom%.%ext%"to:
Code: [Select]
%rom%" %path% "%path%\%rom%.%ext%
Notice the missing quotation marks at the start and the end of the string.  I tried the advanced command line option in Mala, but the %rom% and %path% variables are not translated at run time for some reason.   I guess we need to ask Swindus to change this behavior in Mala.  If he doesn't want to, I'll write a wrapper for ultraFCE so it isn't so picky about the command line.  Fact is, a wrapper may already exist for it.

This other project, Multimame, has a lot of potential and will ultimately be a better solution if I can figure out how to use it.  I've looked at it a little bit, but I'm still confused.  Another solution would be if someone knows how to set up fceUltra so you do not have to specify a rom path on the command line.

Lakersfan

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 213
  • Last login:February 05, 2024, 12:16:07 am
Re: Mala multiple emuls in same game list work-around solution
« Reply #87 on: December 27, 2007, 08:02:26 pm »
 :o Thanks for the detailed answer.... I tried to look a multimame as well, but as you can see by earlier threads, I need a lot of hand holding at this point and there isn't really any how-to documentation to get me started with it, so I went back to this thread coupled with your help.  ;)

I'll give Loadman or Swindus a pm to see if they have any ideas why quotes disappear in mala...

Ya know, it's not really a BIG deal to get these few Nintendo roms running on my cab. I just wanted to replace a few of the mame playchoice games with these... If there is a better emulator for nes, I'd give it a shot.

Thanks, I really do appreciate all your help recently!

SGT

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1145
  • Last login:April 17, 2023, 08:29:42 pm
Re: Mala multiple emuls in same game list work-around solution
« Reply #88 on: December 27, 2007, 09:24:49 pm »
I think that Nestopia is arguably the most popular of the NES emulators.  I gave it a shot and it works like a charm.  This is the entry that I used in mame.cmd:

Code: [Select]
nestopia.exe %2\%1.zip

You will still need Mala's Mame command line to be:
Code: [Select]
"%rom%" %path%
If you give nestopia a shot, don't forget to remove the rom from the fceUltra folder before refreshing your game list.  You can change the exit key in nestopia to ESC after changing its default definition which toggles menus or something like that.  You can also set Nestopia to NOT confirm exit so it doesn't ask you if you are sure you want to exit.   Of course the path will need to be changed in mame.cmd, but you already know about that.

Here is the most recent version of Nestopia that I could find:
http://www.emulator-zone.com/doc.php/nes/nestopia.html
« Last Edit: December 27, 2007, 09:26:50 pm by SGT »

Lakersfan

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 213
  • Last login:February 05, 2024, 12:16:07 am
Re: Mala multiple emuls in same game list work-around solution
« Reply #89 on: December 27, 2007, 09:38:11 pm »
Thanks buddy. I'll give it a shot!

Lakersfan

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 213
  • Last login:February 05, 2024, 12:16:07 am
Re: Mala multiple emuls in same game list work-around solution
« Reply #90 on: December 28, 2007, 01:13:21 am »
Up and running! Got all my keys mapped correctly and everything looks good to go!! Thanks man.

SGT

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1145
  • Last login:April 17, 2023, 08:29:42 pm
Re: Mala multiple emuls in same game list work-around solution
« Reply #91 on: December 28, 2007, 08:35:01 am »
Up and running! Got all my keys mapped correctly and everything looks good to go!! Thanks man.
:cheers:

jasonbar

  • Trade Count: (+10)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 2247
  • Last login:July 30, 2023, 02:52:55 am
  • Dr. Inferno
    • The Infernolab
Re: Mala multiple emuls in same game list work-around solution
« Reply #92 on: April 13, 2008, 03:22:32 pm »
Hey SGT-

Great guide.  I bookmarked this months ago & finally got to this phase of my MAME cab development this week.

I got much of the way through this but am having an issue near the end.  I'm trying to incorporate my Daphne games first, & then I'll do the handful of MAME games that require different revs of MAME to run right (or at all).

I originally had Daphne set up in its own non-MAME list in MALA, w/ a launch bat for each file.

Here's an example:
C:\Emulators\Daphne\launch_bats\Astron_Belt.bat is:

C:\Emulators\Daphne\daphne.exe astron vldp -framefile C:\Emulators\Daphne\vldp\astron\astron.txt -min_seek_delay 1000 -seek_frames_per_ms 20 -homedir . -bank 0 00000000 -bank 1 00000000 -sound_buffer 2048 -fullscreen -x 800 -y 600


1 - did your additional.xml + mame.xml trick & put the various snaps, cabinets, panels, etc pics in my appropriate MAME directories.  My Daphne items show up great in the MaLa menu alongside my MAME games.

2 - set up MaLa with the %rom% %path% command line, pointed it to a 2nd rom path directory (C:\Emulators\Daphne\launch_bats) w/ dummy Daphne zip files, etc.

3 - made a mame.cmd file that looks like this (I'm using MAME 115, optimized for Pentium Pros, hence the funny executable name):

if "%2" == "C:\Emulators\Daphne\launch_bats" goto daphne

mamepp115.exe %1
exit

:daphne
start/wait C:\Emulators\Daphne\launch_bats\%1.bat
exit


4 - MAME games launch fine

5 - Daphne games flip to a blank screen then back to MaLa instantly.

6 - I added the echo code to my mame.cmd to see that the rom & path were being passed correctly to the mame.cmd script:
echo %1 > test.txt
echo %2 >> test.txt

creates this test.txt file:
Badlands_Laser
ECHO is on.

Shouldn't that 2nd line be the rom path that MaLa is passing to mame.cmd?  If so, the path obviously never looks like the path to my Daphne bats & zips, so mame.cmd is never getting to the daphne portion of that script.

I switched MaLa to not hide the command prompt window when launching games and, if I hold down the "1" key to repeatedly launch Badlands_Laser from MaLa, I can get  a better glimpse of the command prompt window and, indeed, it's still using the MAME app to try to launch the Daphne file (I can see it listing a few games that have approximate name matches).  I just tried this from the command prompt & confirmed it: mamepp115 Badlands_Laser returns the approximate name matches indeed.


Any ideas?


Thank you very much,
-Jason

SGT

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1145
  • Last login:April 17, 2023, 08:29:42 pm
Re: Mala multiple emuls in same game list work-around solution
« Reply #93 on: April 13, 2008, 04:01:57 pm »
That's really strange.

You're right.  As long as the Mame command line in Mala is:

Quote
%rom% %path%

...then Mala should pass the path to your batch file as the %2 parameter.  I would go to the game list editor and edit the game list that you are using for this game and choose edit for that game.  Mala will display something like the attached screen shot.

Note that I use badlands2  for Daphne since Mame already has a badlands rom.  Anyway, is the path that is displayed in the game list editor for that game, blank?


jasonbar

  • Trade Count: (+10)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 2247
  • Last login:July 30, 2023, 02:52:55 am
  • Dr. Inferno
    • The Infernolab
Re: Mala multiple emuls in same game list work-around solution
« Reply #94 on: April 14, 2008, 01:16:05 am »
 :notworthy:

SGT, you are the foshnizzle of the hizzle on my lazizzle Daphne games.  (I think I complimented you)

Indeed, I did not fill in the path & "zip" for those entries I'd added.

That made it work!

Still needed some tuning.  Since MaLa is set to hide the mame.cmd file it's launching, that command prompt window never shows.  But, since I was launching an individual bat *from* mame.cmd, that bat file was peeking up briefly.  Ugly clutter.

Just an easy matter of bring my 15 Daphne files into mame.cmd w/ 15 if-thens.  Unfortunately, I can't go back to using a clean 1-line daphne launch that has %1 in it, since some of my Daphne bats vary (dip switch settings seem to be the main offender, to the best of my memory).

No matter--I seem to be in business!

Next up, getting 2-3 more MAME versions in there to run the handful of troublesome games that that MAMEPP115 isn't running to my liking (or at all).

Thanks!!!
-Jason

loadman

  • Moderator
  • Trade Count: (+3)
  • Full Member
  • *****
  • Offline Offline
  • Posts: 4305
  • Last login:August 17, 2020, 03:23:55 am
  • Cocktail Cab owner and MaLa FE developer
    • MaLa
Re: Mala multiple emuls in same game list work-around solution
« Reply #95 on: April 14, 2008, 07:17:22 am »
:notworthy: :notworthy: :notworthy: :notworthy: :notworthy: :notworthy: :notworthy: :notworthy:

SGT

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1145
  • Last login:April 17, 2023, 08:29:42 pm
Re: Mala multiple emuls in same game list work-around solution
« Reply #96 on: April 14, 2008, 08:13:54 am »
Indeed, I did not fill in the path & "zip" for those entries I'd added.

You shouldn't have had to fill that in as Mala does it automatically when it finds the rom.  Not sure what's going on there.  Glad you got it going anyway.   :applaud:

SGT

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1145
  • Last login:April 17, 2023, 08:29:42 pm
Re: Mala multiple emuls in same game list work-around solution
« Reply #97 on: April 14, 2008, 08:16:43 am »
:notworthy:

LOL, Loadman.  I take care of your light stuff.  In regards to Mala, you're Batman, I'm Robin.  ;D
« Last Edit: April 14, 2008, 08:23:12 am by SGT »

youki

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1612
  • Last login:November 19, 2016, 01:07:33 pm
  • Atomic Front End Creator
    • Atomic Front End
Re: Mala multiple emuls in same game list work-around solution
« Reply #98 on: April 14, 2008, 08:24:15 am »



 ;D

SGT

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1145
  • Last login:April 17, 2023, 08:29:42 pm
Re: Mala multiple emuls in same game list work-around solution
« Reply #99 on: April 14, 2008, 09:31:24 am »
Dead?  I don't think so.  Loadman has something for you, Youki:


jasonbar

  • Trade Count: (+10)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 2247
  • Last login:July 30, 2023, 02:52:55 am
  • Dr. Inferno
    • The Infernolab
Re: Mala multiple emuls in same game list work-around solution
« Reply #100 on: April 14, 2008, 10:50:53 am »
I miiight know why the path & "zip" fields weren't filled in in MaLa Game List.

At first, I had spaces in my Daphne bat filenames & the "launch bats" directory.

When troubleshooting my mame.cmd, I knew that there was a problem either with my if/then logic or the launch command, so I had to narrow it down to find out which of those 2 items was causing my problems.

So, I copied & pasted the launch command into a command line window & it was clearly barfing on the spaces in my folder & file names.


Soooo, I had to go back & rename *a lot* of files (fake ROM zip, cabinet pics, cpanel pics, snap pics, etc.).  Perhaps MaLa took offense to the fact that I'd created the Daphne entries in my truncated game list & then gone & changed their locations...so those fields that were supposed to be populated automatically might've become blanked out...


Thanks again, Caped Crusader & Boy Wonder!  Next up, putting 2-3 more MAMEs in my cab for the handful of troublemaker games, then trying to compile them to remove the nag screens...

-Jason
« Last Edit: April 14, 2008, 08:31:22 pm by jasonbar »

loadman

  • Moderator
  • Trade Count: (+3)
  • Full Member
  • *****
  • Offline Offline
  • Posts: 4305
  • Last login:August 17, 2020, 03:23:55 am
  • Cocktail Cab owner and MaLa FE developer
    • MaLa
Re: Mala multiple emuls in same game list work-around solution
« Reply #101 on: April 14, 2008, 08:43:32 pm »
:notworthy:

LOL, Loadman.  I take care of your light stuff.  In regards to Mala, you're Batman, I'm Robin.  ;D

Together we will defeat the evil Youki   ;D


youki

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1612
  • Last login:November 19, 2016, 01:07:33 pm
  • Atomic Front End Creator
    • Atomic Front End
Re: Mala multiple emuls in same game list work-around solution
« Reply #102 on: April 15, 2008, 03:45:52 am »
Your last picture is quite comprising...  ;D

loadman

  • Moderator
  • Trade Count: (+3)
  • Full Member
  • *****
  • Offline Offline
  • Posts: 4305
  • Last login:August 17, 2020, 03:23:55 am
  • Cocktail Cab owner and MaLa FE developer
    • MaLa
Re: Mala multiple emuls in same game list work-around solution
« Reply #103 on: April 15, 2008, 06:14:20 am »
Your last picture is quite comprising...  ;D

It looks cold up on that building. I'm sure they were just trying to stay warm and cuddle up   :laugh2:

Ego-X

  • Trade Count: (0)
  • Jr. Member
  • **
  • Offline Offline
  • Posts: 3
  • Last login:December 19, 2008, 03:18:27 pm
Re: Mala multiple emuls in same game list work-around solution
« Reply #104 on: May 06, 2008, 11:46:36 am »
Any way to do this using relative paths to compare against %2 in the cmd file? I've tried to do it but it seems to take whatever you type literally so .\folder2 become just that and not drive\folder1\folder2

TheShanMan

  • Trade Count: (+2)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1911
  • Last login:October 16, 2023, 03:35:12 pm
    • My Arcade (updated 1/30/13)
Re: Mala multiple emuls in same game list work-around solution
« Reply #105 on: May 06, 2008, 01:22:07 pm »
Hey loadman,

Any chance the next version will have built in support for merged emulator lists? I hate having Dragon's Lair separate from mame games. I know I could do this hack (and may if I ever get around to it), but it would be so nice to have direct support for it.
My Collection: Mame cab, 38 dedicated vids, pin, skeeball, coin op air hockey table, Ice Cold Beer, Megatouch, 2 token machines, and payphone (VAPS, pics at Arcade Crusade)

Add Ambience to your mame cab setup

loadman

  • Moderator
  • Trade Count: (+3)
  • Full Member
  • *****
  • Offline Offline
  • Posts: 4305
  • Last login:August 17, 2020, 03:23:55 am
  • Cocktail Cab owner and MaLa FE developer
    • MaLa
Re: Mala multiple emuls in same game list work-around solution
« Reply #106 on: May 06, 2008, 06:09:05 pm »
Hey loadman,

Any chance the next version will have built in support for merged emulator lists? I hate having Dragon's Lair separate from mame games. I know I could do this hack (and may if I ever get around to it), but it would be so nice to have direct support for it.

Not the next version but will be on the Wish List. I would try the work-around for now as that works well

jasonbar

  • Trade Count: (+10)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 2247
  • Last login:July 30, 2023, 02:52:55 am
  • Dr. Inferno
    • The Infernolab
Re: Mala multiple emuls in same game list work-around solution
« Reply #107 on: May 06, 2008, 06:16:16 pm »
Hey loadman,

Any chance the next version will have built in support for merged emulator lists? I hate having Dragon's Lair separate from mame games. I know I could do this hack (and may if I ever get around to it), but it would be so nice to have direct support for it.


As a software/config flunky, let me endorse this method as a good way to combine multiple MAME + Daphne games (and whatever else you want) into 1 list.  It's not too hard after you start working on it, and SGT & Loadman are always patient & helpful w/ people like me, who have lots of basic questions.  It should take only a few hours to figure out, max.

Bottom line: if I can do it, then anybody can do it.  :)

-Jason

Infinity_Yak

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 21
  • Last login:November 14, 2010, 12:34:10 pm
  • I want to build my own arcade controls!
Re: Mala multiple emuls in same game list work-around solution
« Reply #108 on: May 19, 2008, 12:11:51 am »
Doh!  If I had known you could have done this kind of stuff in MaLa, I probably wouldn't have written my own frontend from scratch just to support multiple emulators in a single list... Oh well! ;)

TheManuel

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 805
  • Last login:August 07, 2020, 10:15:48 am
  • On and off hobbyist
Re: Mala multiple emuls in same game list work-around solution
« Reply #109 on: July 06, 2008, 10:37:58 pm »
Hi SGT.

I hope you are still keeping an eye on this topic.
If I have merged ROM's, can I still do this or am I basically screwed?

I think MALA does not separate out all the clones from merged set but to use the method described here, I have to let Mala generate the game list.

I can always un-merge the set but if there is a way to make it work as is, I would like to know.

Thanks.
"The Manuel"

TheManuel

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 805
  • Last login:August 07, 2020, 10:15:48 am
  • On and off hobbyist
Re: Mala multiple emuls in same game list work-around solution
« Reply #110 on: July 06, 2008, 11:01:03 pm »
Before I waste anybody's time, I just realized there are many ways to skin this cat.
I could either force Mala to to include all games and not just the ones found in the directory or generate a MAME only list using ROMlister and a non-MAME list using Mala and then combining  both with the Gamelist editor.

I still reserve the right to ask for help if I get stuck  ;D
"The Manuel"

TheManuel

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 805
  • Last login:August 07, 2020, 10:15:48 am
  • On and off hobbyist
If I Did It, Here's How it Happened
« Reply #111 on: July 07, 2008, 09:56:03 am »
Well, the solution to the problem was a variation of the alternatives on my last post.

When you tell Mala to refresh the main game list and unckeck the says "only include games found in the rom directory", Mala adds all the games from MAME's xml file but does not add the paths so all games from your "Other Emu" subdirectory will be sent to your main MAME executable which is not what I wanted.

If you have a merged MAME rom set and want to apply SGT's method, here is what you must do:

1. If you want to play some of the games on a different version of MAME, you must split those roms.  If you leave them merged, Mala will only pickup the master when generating the games list.
2. Generate a Mala gamelist by specifying only the directory with the main roms set and uncheck the box: "only include games found in the rom directory"  This will create a Mala list with the full MAME found the main MAME xml file but with no paths but no problem because Mala will go to that path by default if you followed SGT's method correctly.
3. Save the gamelist under a name you will be able to find (you don't want to leave it as "All Games" or it will be overwritten in the next few steps.
4. Open up the new gamelist with the gamelist editor and remove those games that you want to play with a different version of MAME or a different emulator, clones and all
5. Now specify the "Other Emu" directory with the roms for the other emulators and MAME versions and create the gamelist again but first check the box "only include games found in the rom directory".  This will create a new small gamelist with paths.
6. Now open up the gamelist editor and add the gamelist you created in steps 2 and 3.
7. Done.  Now you should have everything on the "All Games" list or whatever you want to call it.

This will probably not be useful for a lot of people but let me know if you have this situation and have problems figuring all this out.
"The Manuel"

swamprat96

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 241
  • Last login:January 10, 2012, 03:29:46 pm
Re: GameLists: Multiple emuls in same list work-around solution
« Reply #112 on: April 23, 2009, 03:23:50 am »
OK I've had this solution working fine for just M2 and mame. I went to add big buck hunter today- all four versions. I am using pretty much SGT's layout so I have the roms as so
Quote
c:\emulators\other_emus\m2
c:\emulators\other_emus\pc_games
Problem 1 -games don't appear in the all games list in Mala

In the pc_ games directory I have four dummy roms- bbh1.zip, bbh2.zip,bbh3.zip and bbh4.zip.

I have added 4 entries to mame.xml and renamed it to combined.xml. Also pointed Mala to this
Entries are
Quote
<game name="bbh1">
   <description> Big Buck Hunter 1</description>
   <year>2001</year>
   <manufacturer>Midway</manufacturer>
   <driver status"good" emulation"good"/>
   </game>
        <game name="bbh2">
   <description> Big Buck Hunter 2</description>
   <year>2002</year>
   <manufacturer>Midway</manufacturer>
   <driver status"good" emulation"good"/>
   </game>
   <game name="bbh3">
   <description> Big Buck Hunter Shooters Challenge</description>
   <year>2004</year>
   <manufacturer>Midway</manufacturer>
   <driver status"good" emulation"good"/>
   </game>
   <game name="bbh4">
   <description> Big Buck Hunter Call of the Wild</description>
   <year>2006</year>
   <manufacturer>Midway</manufacturer>
   <driver status"good" emulation"good"/>
   </game>
I have refreshed the all games list and none of these entries appear. I can't workout what I'm doing wrong. remember that my M2 entries are just fine
Problem 2- I can't start them via my Mame.cmd
Quote
if "%2" == "C:\emulators\other_emus\m2" goto m2
if "%2" == "C:\emulators\other_emus\pc_games" goto pc_games

mame.exe %1
exit

:m2
CD\
cd\emulators\m2emulator
closemul.exe emulator.exe zip %1 rar
exit

:pc_games
cd emulators\pc_games
%1.cmd
exit

I really don't understand the.cmd file here. The four games are in C:\emulators\BBH1,C:\emulators\BBH2 etc. How does the .exe get fired by the mame.cmd? I suspect I need some path changes and additional entries here susch as cd emulators\BBH1 etc?
« Last Edit: April 23, 2009, 03:34:16 am by swamprat96 »

fargo

  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 13
  • Last login:April 28, 2021, 11:50:40 am
Re: GameLists: Multiple emuls in same list work-around solution
« Reply #113 on: April 23, 2009, 02:07:16 pm »
What do you have set up in MALA under Options -> Basics tab...  Rom path?  You have a path set to c:\emulators\other_emus and have the 'search in subfolders' checked?

As for the command.com - that's just a batch file where you set up whatever is needed to launch your game command-line style.  What you have to work with appears to be %1 and %2 variables which are rom name and rom path.  So assuming you do get your games to appear in the list, what will be passed to command.com would be  %1 = bbh1  and %2 = c:\emulators\other_emus_pc games.  Not really enough info to launch without adding in some additional logic.

you first need to know how to launch these from command line.  from there, you could script that into your pc_games section.  You could do an if statement for each...   like   if "%1" == "bbh1" <do this... what ever it takes to launch>
and so on...

swamprat96

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 241
  • Last login:January 10, 2012, 03:29:46 pm
Re: GameLists: Multiple emuls in same list work-around solution
« Reply #114 on: April 23, 2009, 04:31:18 pm »
Yes I have the subfolders checked. Its set up the same as my m2 roms which appear.

As to the .cmd- that will be easier to work out once I have the names appearing

swamprat96

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 241
  • Last login:January 10, 2012, 03:29:46 pm
Re: GameLists: Multiple emuls in same list work-around solution
« Reply #115 on: April 23, 2009, 11:10:07 pm »
I cheated. I used romlister to make a mala game list and so now have the games appearing on the games list

Now I'm wrestling with the mame.cmd file

SGT

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1145
  • Last login:April 17, 2023, 08:29:42 pm
Re: GameLists: Multiple emuls in same list work-around solution
« Reply #116 on: April 23, 2009, 11:44:14 pm »
Here is my mame.cmd:
Code: [Select]
if "%2" == "E:\emulators\other_emus\radikalb" goto rAdikalb
if "%2" == "E:\emulators\other_emus\M2" goto m2
if "%2" == "E:\emulators\other_emus\daphne" goto daphne
if "%2" == "E:\emulators\other_emus\zinc" goto zinc
if "%2" == "E:\emulators\other_emus\pcgames" goto pcgames
if "%2" == "E:\emulators\other_emus\mjolnir" goto mjolnir
if "%2" == "E:\emulators\other_emus\vivanonno" goto vivanonno
if "%2" == "E:\emulators\other_emus\nestopia" goto nestopia

mame.exe %1
exit

:radikalb
cd ..\radikal
closemul.exe radikalb.exe
exit

:m2
cd ..\m2emulator
closemul.exe emulator.exe zip %1 rar
exit

:pcgames
cd ..\pc_games\roms
%1.lnk
exit


:daphne
cd \emulators\daphne
if "%1" == "badlands2" goto badlands
IF "%1" == "ace2" goto ace
start/wait daphne.exe %1 vldp -framefile E:\emulators\Daphne\framefile\%1.txt -fullscreen -blank_skips -blank_searches -preset 1
exit
:badlands
start/wait daphne.exe badlands vldp -framefile E:\emulators\Daphne\framefile\badlands.txt -fullscreen -blank_skips -blank_searches -preset 1
exit
:ace
start/wait daphne.exe ace vldp -framefile E:\emulators\Daphne\framefile\ace.txt -fullscreen -blank_skips -blank_searches -preset 1
exit


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


:mjolnir
cd ..\mjolnir
mjolnir.exe %1
exit


:vivanonno
cd ..\vivanonno
if "%1" == "ridger2a" AutoVivanonno rrs1
if "%1" == "raveracw" AutoVivanonno rv2
exit


:nestopia
cd ..\nestopia
nestopia.exe %2\%1.zip
exit

:set_resolution
cd ..\utilities\qres
qres.exe /x 1440 /y 900
exit


As you can see, I have shortcuts to the pc games themselves.  Shortcuts have the extension LNK.  The shortcuts have the same name as the dummy rom.  The difference is the dummy rom has the extension ZIP and of course the shortcut has the extension LNK.  I used to use CMD files which uses the same concept.  You need one folder with name.zip files and another folder with name.cmd files.  LNK files are just easier for some in that you don't have to create a CMD file for each PC Game, but just let windows create the shortcut for you.  Notice that my dummy files folder is pcgames and is located here:
Code: [Select]
E:\emulators\other_emus\pcgames
My lnk folder is pc_games:
Code: [Select]
E:\emulators\pc_games\roms
Probably a little more confusing than it should have been.  Hope this helps.
« Last Edit: April 24, 2009, 12:04:45 am by SGT »

SGT

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1145
  • Last login:April 17, 2023, 08:29:42 pm
Re: GameLists: Multiple emuls in same list work-around solution
« Reply #117 on: April 23, 2009, 11:57:29 pm »
Also regarding why they're not showing up in the game list.  I notice the xml entries has:
Code: [Select]
   <driver status"good" emulation"good"/>

There are equal signs missing, and if you have the option to only have working roms, Mala may be filtering these back out because it doesn't recognize that the driver status="good".  Example:

Code: [Select]
<game name="tigerwoods">
<description>Tiger Woods PGA Tour 07</description>
<year></year>
<manufacturer></manufacturer>
<driver status="good"/>
</game>

Now I haven't analyzed later versions of Mame.  So if mame devs have changed the format of mame.xml, disregard my drivel.
« Last Edit: April 23, 2009, 11:59:25 pm by SGT »

swamprat96

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 241
  • Last login:January 10, 2012, 03:29:46 pm
Re: GameLists: Multiple emuls in same list work-around solution
« Reply #118 on: April 24, 2009, 01:13:10 am »
Thanks SGT- that XML was the problem. I also got the cmd file going now based on your input.  :cheers:

SGT

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1145
  • Last login:April 17, 2023, 08:29:42 pm
Re: GameLists: Multiple emuls in same list work-around solution
« Reply #119 on: April 24, 2009, 02:03:54 am »
 :cheers:    I'll have my martini shaken, not stirred.   8)

loadman

  • Moderator
  • Trade Count: (+3)
  • Full Member
  • *****
  • Offline Offline
  • Posts: 4305
  • Last login:August 17, 2020, 03:23:55 am
  • Cocktail Cab owner and MaLa FE developer
    • MaLa
Re: GameLists: Multiple emuls in same list work-around solution
« Reply #120 on: April 24, 2009, 06:53:43 am »
:cheers:    I'll have my martini shaken, not stirred.   8)

 :cheers:

swamprat96

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 241
  • Last login:January 10, 2012, 03:29:46 pm
Re: GameLists: Multiple emuls in same list work-around solution
« Reply #121 on: April 24, 2009, 07:31:26 am »
"Do I look like I give a damn?" (Casino Royale)
« Last Edit: April 24, 2009, 06:35:33 pm by swamprat96 »

SGT

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1145
  • Last login:April 17, 2023, 08:29:42 pm
Re: GameLists: Multiple emuls in same list work-around solution
« Reply #122 on: April 24, 2009, 08:55:22 pm »
"Do I look like I give a damn?" (Casino Royale)

No need for the source, I knew where it came from.  ;D

loadman

  • Moderator
  • Trade Count: (+3)
  • Full Member
  • *****
  • Offline Offline
  • Posts: 4305
  • Last login:August 17, 2020, 03:23:55 am
  • Cocktail Cab owner and MaLa FE developer
    • MaLa
Re: GameLists: Multiple emuls in same list work-around solution
« Reply #123 on: April 24, 2009, 09:01:54 pm »

swamprat96

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 241
  • Last login:January 10, 2012, 03:29:46 pm
Re: GameLists: Multiple emuls in same list work-around solution
« Reply #124 on: April 25, 2009, 05:10:03 pm »
I'm glad you knew the source- was not out to offend! ;D :cheers:

darkling27

  • Trade Count: (0)
  • Jr. Member
  • **
  • Offline Offline
  • Posts: 7
  • Last login:April 13, 2010, 02:27:19 pm
Re: GameLists: Multiple emuls in same list work-around solution
« Reply #125 on: July 20, 2009, 09:03:37 am »
Hey there, sorry to bump an old post... But i cant find any other threads about this.

Im having trouble getting the pc games to work on my singular game list. I have them appearing on the list with their attact video and Marquee working fine. But when i try to launch them from the list, the command box flashes up and closes too fast too see and the game doesnt start.

The dummy .zip files are in ... F:\MAME\MameUI32\other_games\pc
and the .lnk files can be found in ... F:\MAME\MameUI32\other_games\pclink

I have my mame.cmd file as...
------------------
If "%2" == "F:\MAME\MameUI32\other_games\pc" goto pcgames


mame.exe %1
exit

:pcgames
cd ..\other_games\pclink
%1.lnk
exit
-----------------------

Any help would be great =]

SGT

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1145
  • Last login:April 17, 2023, 08:29:42 pm
Re: GameLists: Multiple emuls in same list work-around solution
« Reply #126 on: July 20, 2009, 10:58:41 am »
You might try changing:
Code: [Select]
cd ..\other_games\pclinkto:
Code: [Select]
cd \MAME\MameUI32\other_games\pclink
If this doesn't work, set Mala to run the command in a normal window instead of a hidden one.  Then, put "pause" in your batch file so you can read the error that the batch file gives after it tries to execute the pc game:


Code: [Select]
:pcgames
cd \MAME\MameUI32\other_games\pclink
%1.lnk
pause
exit


One last thing to check is the upper and lower case in this line:
Code: [Select]
If "%2" == "F:\MAME\MameUI32\other_games\pc" goto pcgames
It is case sensitive therefore the \MAME\MameUI32\other-games\pc must match your actual folder names exactly.

darkling27

  • Trade Count: (0)
  • Jr. Member
  • **
  • Offline Offline
  • Posts: 7
  • Last login:April 13, 2010, 02:27:19 pm
Re: GameLists: Multiple emuls in same list work-around solution
« Reply #127 on: July 20, 2009, 12:13:26 pm »
Ah, i have just realised this is happening to everything on my list, not just the pc games.
When i change the MAME executable back to the MameUI32.exe the mame games work again, but the pc games wont (obviously)

I just removed the ...
------
mame.exe %1
exit
-------
...part of the .cmd file and the pc games now work!!! but the MAME ones dont

So im guessing thats the problem.

I put a pause between the 'mame.exe %1' and the 'exit' and tried to play dr mario (MAME game) it says

-------
F:\MAME\MameUI32>if "" == "F:\MAME\MameUI32\other_games\pc" goto pcgames

F:\MAME\MameUI32>mame.exe drmario
'mame.exe' is not recognised as an internal or external command, operable program or batch file.

F:\MAME\MameUI32>pause
press any key to continue . . .
--------

Am i missing something? =S

SGT

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1145
  • Last login:April 17, 2023, 08:29:42 pm
Re: GameLists: Multiple emuls in same list work-around solution
« Reply #128 on: July 20, 2009, 05:20:38 pm »
Yeah, it needs to be mameui32.exe since you're not using the command line version of Mame.  The problem is with your IF statement.  It doesn't match exactly the rom path that mala is sending to it.  To find out exactly what Mala is sending as %2 put the following as the first 3 lines of your mame.cmd:

Code: [Select]
@echo off
echo %2
pause

Then run it.  The first line that displays in the black command window with be the contents of %2 which is also equal to the rom path in Mala.  In your case it should equal exactly (including upper and lower case):
Code: [Select]
F:\MAME\MameUI32\other_games\pc
If it doesn't, then there's your problem.

darkling27

  • Trade Count: (0)
  • Jr. Member
  • **
  • Offline Offline
  • Posts: 7
  • Last login:April 13, 2010, 02:27:19 pm
Re: GameLists: Multiple emuls in same list work-around solution
« Reply #129 on: July 20, 2009, 07:38:04 pm »
This is my command file currently...
------
@echo off
echo %2
pause

IF "%2" == "F:\MAME\MameUI32\other_games\pc" goto pcgames


MameUI32.exe %1
exit

:pcgames
cd \MAME\MameUI32\other_games\pclink
%1.lnk
pause
exit
---------------

All that comes up when trying to play a PC games is...

--------------
ECHO is off.
Press any key to continue
-------------
pressing a key, the wondow closes and no game starts and no 'F:\MAME\MameUI32\other_games\pc' line

Im sure the higher and lower case is fine in the addresses  :-\

SGT

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1145
  • Last login:April 17, 2023, 08:29:42 pm
Re: GameLists: Multiple emuls in same list work-around solution
« Reply #130 on: July 20, 2009, 08:28:23 pm »
Hang in there, its something simple.

It looks like mala is not passing the rom path to the batch file.  In Mala the Mame command line should be:
Code: [Select]
%rom% %path%
If it is already set to that, then go to the game list editor and choose one of your pc games and see what the rom path is for it.  You get to this screen by right clicking on a game and choosing edit:
« Last Edit: July 20, 2009, 08:32:31 pm by SGT »

darkling27

  • Trade Count: (0)
  • Jr. Member
  • **
  • Offline Offline
  • Posts: 7
  • Last login:April 13, 2010, 02:27:19 pm
Re: GameLists: Multiple emuls in same list work-around solution
« Reply #131 on: July 21, 2009, 01:52:14 pm »
Ah, none of my pcgames have a path or an .zip extention witten.

filling these spaces in and saving the gamelist doesnt seem to work. Have i missed a step out or just being dozey and not doing what i am ment too? lol

(thanks for the help btw  :) )

SGT

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1145
  • Last login:April 17, 2023, 08:29:42 pm
Re: GameLists: Multiple emuls in same list work-around solution
« Reply #132 on: July 21, 2009, 10:55:37 pm »
Try refreshing the main game list by right-clicking and choosing that option.

darkling27

  • Trade Count: (0)
  • Jr. Member
  • **
  • Offline Offline
  • Posts: 7
  • Last login:April 13, 2010, 02:27:19 pm
Re: GameLists: Multiple emuls in same list work-around solution
« Reply #133 on: July 22, 2009, 01:10:41 am »
I now have the pc games and the mame games running  ;D
It would seem that the path and '.zip' fields get reseted when i do something... But the fact is, its working atm, lol!

but now there is one small problem. When i play a pc game, the attract video will still play behind it, which not only is annoying with the sound overlapping the pc game. But it also slows the games frame rate down also... Is there anyway i can stop this from happening? I really would not rather have to turn the videos off or only use a picture for each pc game on the list  :P

SGT

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1145
  • Last login:April 17, 2023, 08:29:42 pm
Re: GameLists: Multiple emuls in same list work-around solution
« Reply #134 on: July 22, 2009, 06:32:28 pm »
but now there is one small problem. When i play a pc game, the attract video will still play behind it, which not only is annoying with the sound overlapping the pc game. But it also slows the games frame rate down also... Is there anyway i can stop this from happening? I really would not rather have to turn the videos off or only use a picture for each pc game on the list  :P

You probably need to start a separate thread with this question so that more people will see it.  I'm not sure what the answer might be.

javeryh

  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 7901
  • Last login:March 17, 2024, 05:35:40 pm
Re: GameLists: Multiple emuls in same list work-around solution
« Reply #135 on: August 09, 2009, 06:07:17 pm »
OK, I'm having a bit of trouble with this... Here is my set up:

mame is located at C:\Arcade\Mame\mame.exe
misfit mame is located at C:\Arcade\MisfitMAME\mis.exe

I added the info to the mame.xml file which is located at C:Arcade\Mame\mame.xml and the rom appears in the main gamelist now after refreshing.

Using Notepad, I created a file called mame.cmd in the mame directory that says:

if "%2" == "C:\ArcadeMisfitMAME\roms" goto misfitmame

mame.exe %1
exit

:misfitmame
cd C:\Arcade\MisfitMAME
mis.exe %1 -skip_gameinfo
exit

In MALA, under Mame config>basic>command line, I added the path parameter "%rom% %path%"

I also specified an additional rom path - I selected rom path 2, and entered C:\Arcade\MisfitMAME\roms (where the rom is that I want added to the list).

Finally, I changed the mame executable to c:\Arcade\Mame\mame.cmd

Any ideas where I went wrong?  When I click on mis.exe in windows explorer, the emulator launches and I can load up d2k but not from MaLa...
« Last Edit: August 09, 2009, 08:05:32 pm by javeryh »

SGT

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1145
  • Last login:April 17, 2023, 08:29:42 pm
Re: GameLists: Multiple emuls in same list work-around solution
« Reply #136 on: August 09, 2009, 06:51:42 pm »
There may be more than one thing wrong, but this jumped out at me.  Shouldn't this:
Code: [Select]
if "%2" == "C:\misfitmame\roms" goto misfitmame
be:
Code: [Select]
if "%2" == "C:\Arcade\MisfitMAME\roms" goto misfitmame
Not just Arcade missing, but this line is case-sensitive.


javeryh

  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 7901
  • Last login:March 17, 2024, 05:35:40 pm
Re: GameLists: Multiple emuls in same list work-around solution
« Reply #137 on: August 09, 2009, 08:04:50 pm »
There may be more than one thing wrong, but this jumped out at me.  Shouldn't this:
Code: [Select]
if "%2" == "C:\misfitmame\roms" goto misfitmame
be:
Code: [Select]
if "%2" == "C:\Arcade\MisfitMAME\roms" goto misfitmame
Not just Arcade missing, but this line is case-sensitive.



Dang it.  Typo above that I'll fix.  I made sure to match the case for everything... 

SGT

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1145
  • Last login:April 17, 2023, 08:29:42 pm
Re: GameLists: Multiple emuls in same list work-around solution
« Reply #138 on: August 09, 2009, 08:13:39 pm »
So you're saying its a typo in the batch file or just a typo in your message?  Is it still not working?  You probably need to go to the gamelist editor and see what Mala lists for your rom path for one of the misfit roms.  Sometimes a main game list refresh is in order.

javeryh

  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 7901
  • Last login:March 17, 2024, 05:35:40 pm
Re: GameLists: Multiple emuls in same list work-around solution
« Reply #139 on: August 09, 2009, 08:23:22 pm »
I meant a typo in my message above.  I don't have anything filled in for "Path" like shown in your picture and "zip" isn't there either.  Maybe this is the problem?  Hang on...

EDIT: Also, do I have to configure "Other Emus" to set up Misfit MAME?
« Last Edit: August 09, 2009, 08:27:02 pm by javeryh »

SGT

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1145
  • Last login:April 17, 2023, 08:29:42 pm
Re: GameLists: Multiple emuls in same list work-around solution
« Reply #140 on: August 09, 2009, 08:50:32 pm »
No, you do not use "other emus" configuration.  The rom path in the game list editor should have been filled out automatically.  Try right clicking in Mala while your mame game list is showing and choose "refresh main game list".  Then, see if that rom path is filled out correctly for your misfit roms.

javeryh

  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 7901
  • Last login:March 17, 2024, 05:35:40 pm
Re: GameLists: Multiple emuls in same list work-around solution
« Reply #141 on: August 09, 2009, 09:03:16 pm »
That did it!  Thanks!  I refreshed the main gamelist but the path still didn't get filled out - it's not there for any of the MAME roms either... I never thought it mattered.   :cheers:

SGT

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1145
  • Last login:April 17, 2023, 08:29:42 pm
Re: GameLists: Multiple emuls in same list work-around solution
« Reply #142 on: August 09, 2009, 09:33:26 pm »
Glad you got it working.  Usually the rom path doesn't matter because Mame knows where the rom path is.  However in this work-around, we need the rom path filled out so it can be passed to the batch file for decision making purposes.

I always had the understanding that refreshing the main game list filled out the rom path.  Have you actually quit out of the game list editor and went back in after you refreshed the main game list?

Irregardless, the main thing is its working!  :cheers:

javeryh

  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 7901
  • Last login:March 17, 2024, 05:35:40 pm
Re: GameLists: Multiple emuls in same list work-around solution
« Reply #143 on: August 09, 2009, 10:25:27 pm »
yeah, I refreshed the main list a few times during the process and I guess the path never got filled in.  Thanks for the help - I'm really happy I got this working.

javeryh

  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 7901
  • Last login:March 17, 2024, 05:35:40 pm
Re: GameLists: Multiple emuls in same list work-around solution
« Reply #144 on: August 15, 2009, 09:22:20 am »
Could spaces in the folder names be causing problems?  Would it be better to name folders "Arcade_Games" instead of "Arcade Games"?  Does it matter?  I've been playing around with my setup and I can't seem to duplicate my success on another machine in the house and I'm following the same steps - this is all I can think of...   :cheers:

SGT

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1145
  • Last login:April 17, 2023, 08:29:42 pm
Re: GameLists: Multiple emuls in same list work-around solution
« Reply #145 on: August 15, 2009, 01:28:05 pm »
Possibly is a problem.  A batch file will determine parameters by delimiting them with spaces.  Therefore characters after the first space and before a second space is %2.  Characters after the second space and before any third space is %3, etc...

You can try enclosing the %path% with quotation marks in Mala under the command line parameters:

Code: [Select]
%rom% "%path%"

javeryh

  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 7901
  • Last login:March 17, 2024, 05:35:40 pm
Re: GameLists: Multiple emuls in same list work-around solution
« Reply #146 on: August 16, 2009, 08:58:20 am »
No luck.  I spent about an hour with it and I just can't seem to figure it out... oh well.  I tried copying the other setup exactly (other than the folder names) and it just won't work.  DK2 shows up in the gamelist but won't launch.  It works by independently launching MisfitMAME but I can't launch it through MaLa and the gamelist.   :-\

SGT

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1145
  • Last login:April 17, 2023, 08:29:42 pm
Re: GameLists: Multiple emuls in same list work-around solution
« Reply #147 on: August 16, 2009, 12:41:23 pm »
The easiest way to trouble shoot is to find out what the batch file is receiving from Mala.  I usually put a couple of lines at the start of the batch file such as:

Code: [Select]
echo %2
pause

This of course displays the %2 variable and then pauses the execution so you can read it.  Make sure in Mala that you have the window set to normal instead of hidden so you can see the black command screen.  After this "test" is run, make sure your "if" statements match what the test echo produces, CASE included.

javeryh

  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 7901
  • Last login:March 17, 2024, 05:35:40 pm
Re: GameLists: Multiple emuls in same list work-around solution
« Reply #148 on: August 19, 2009, 12:11:14 am »
Hmmm... I think I figured out the problem.  For whatever reason when I go to manually input "zip" and "C:\Arcade\MisfitMAME\roms" for the path when I'm editing "Donkey Kong 2" in the gamelist it does not get saved.  Each time I save the new gamelist and exit out when I go back in the path is no longer there and "zip" is gone too.  I had to save an entirely new gamelist (not save over top of the existing one) and this seemed to fix the problem.  I'm not sure why this was happening... either way, the little bit of tinkering was easily worth it. 

SGT

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1145
  • Last login:April 17, 2023, 08:29:42 pm
Re: GameLists: Multiple emuls in same list work-around solution
« Reply #149 on: August 20, 2009, 05:27:05 pm »
Hmmm... I think I figured out the problem.  For whatever reason when I go to manually input "zip" and "C:\Arcade\MisfitMAME\roms" for the path when I'm editing "Donkey Kong 2" in the gamelist it does not get saved.  Each time I save the new gamelist and exit out when I go back in the path is no longer there and "zip" is gone too.  I had to save an entirely new gamelist (not save over top of the existing one) and this seemed to fix the problem.  I'm not sure why this was happening... either way, the little bit of tinkering was easily worth it. 

Any chance that gamelist had its file attribute set to read-only?  Got to thinking that if you moved the game list from one computer to another using a CD or DVD, I have seen the file attributes become read-only after copying from CD to hard drive.
« Last Edit: August 20, 2009, 06:24:55 pm by SGT »

javeryh

  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 7901
  • Last login:March 17, 2024, 05:35:40 pm
Re: GameLists: Multiple emuls in same list work-around solution
« Reply #150 on: August 21, 2009, 01:43:53 am »
Hmmm... I think I figured out the problem.  For whatever reason when I go to manually input "zip" and "C:\Arcade\MisfitMAME\roms" for the path when I'm editing "Donkey Kong 2" in the gamelist it does not get saved.  Each time I save the new gamelist and exit out when I go back in the path is no longer there and "zip" is gone too.  I had to save an entirely new gamelist (not save over top of the existing one) and this seemed to fix the problem.  I'm not sure why this was happening... either way, the little bit of tinkering was easily worth it. 

Any chance that gamelist had its file attribute set to read-only?  Got to thinking that if you moved the game list from one computer to another using a CD or DVD, I have seen the file attributes become read-only after copying from CD to hard drive.

Hmmm... good idea - I will check.  Off hand, could this also be the reason MAME decided to stop saving high scores?  It worked yesterday and now everytime I turn the cabinet on all the scores are gone.  It wont even save them when I exit out of a game back to the MaLa gamelist.

SGT

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1145
  • Last login:April 17, 2023, 08:29:42 pm
Re: GameLists: Multiple emuls in same list work-around solution
« Reply #151 on: August 22, 2009, 09:40:21 pm »
Hmmm... good idea - I will check.  Off hand, could this also be the reason MAME decided to stop saving high scores?  It worked yesterday and now everytime I turn the cabinet on all the scores are gone.  It wont even save them when I exit out of a game back to the MaLa gamelist.

Its possible, though high scores can be finicky.  At some time, you patched the Mame source code and recompiled, etc...?

BamBam

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 283
  • Last login:November 03, 2011, 07:18:19 am
  • This is better than Disney Land man!
Re: Mala multiple emuls in same game list work-around solution
« Reply #152 on: October 13, 2009, 07:18:08 pm »
Check it out:

Once again SGt, you never seize to amaze me  :notworthy:, but how did you get your control panels to look like they are at the perfect angle on your arcade?
Galaga... Was there any other game?

SGT

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1145
  • Last login:April 17, 2023, 08:29:42 pm
Re: GameLists: Multiple emuls in same list work-around solution
« Reply #153 on: October 13, 2009, 09:50:39 pm »
but how did you get your control panels to look like they are at the perfect angle on your arcade?

Thanks.  It really helped the looks to build up the photo of the black cabinet much higher on the sides than it originally was.  It helped to hide a lot of the imperfections and made the control panels blend in better.

I really did nothing to the control panel snaps.  Not all of the control panels look perfect, but a large number are already at the perfect angle.   I have only recently started to photo manipulate those that are angled severely by rotating and stretching and shrinking, etc...  I am not extremely picky on this.  

Many of the photos of the control panels and marquees are diffferent shapes and sizes so its important to tell Mala to NOT keep the aspect ratio for layout snaps so that it resizes in all directions.  This makes it look a LOT better though its not for the purists that want a historically accurate photo.
« Last Edit: October 13, 2009, 09:54:05 pm by SGT »

kanon

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 16
  • Last login:June 14, 2010, 12:05:47 am
Re: GameLists: Multiple emuls in same list work-around solution
« Reply #154 on: October 28, 2009, 12:19:45 am »
sorry for my ingles..

all roms appers in mala but emulator dont star. cps3


if "%2" == "C:\juegos\emuladores\cps3" goto cps3


mame.exe %1
exit



:cps3
cd ..\juegos\emuladores\cps3
emulator.exe % rar
exit

SGT

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1145
  • Last login:April 17, 2023, 08:29:42 pm
Re: GameLists: Multiple emuls in same list work-around solution
« Reply #155 on: October 28, 2009, 01:33:10 am »
Kanon Hola y bienvenidos!

What folder contains the cps3 roms?  Is it?:
Code: [Select]
C:\juegos\emuladores\cps3

What folder contains emulator.exe? Is it?:
Code: [Select]
C:\juegos\emuladores\cps3

What folder contains mame.cmd?  Is it?:
Code: [Select]
C:\juegos\emuladores\mame

This line:
Code: [Select]
emulator.exe % rarshould be:
Code: [Select]
emulator.exe %1
There may be more wrong, but I will not know until you answer my questions above.

kanon

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 16
  • Last login:June 14, 2010, 12:05:47 am
Re: GameLists: Multiple emuls in same list work-around solution
« Reply #156 on: October 28, 2009, 10:22:44 am »
yea de roms and emulator, in same folder, wiht pacht rom2 C:\juegos\emuladores\cps3
and cmd in C:\juegos\mame\mame.cmd
thanks for you time and help  :applaud:
mame work god.
« Last Edit: October 28, 2009, 10:27:25 am by kanon »

SGT

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1145
  • Last login:April 17, 2023, 08:29:42 pm
Re: GameLists: Multiple emuls in same list work-around solution
« Reply #157 on: October 28, 2009, 05:48:46 pm »
The following should work.  Have you tried this yet?

Code: [Select]
if "%2" == "C:\juegos\emuladores\cps3" goto cps3

mame.exe %1
exit

:cps3
cd ..\juegos\emuladores\cps3
emulator.exe %1
exit


Don't forget that in Mala, your commandline for Mame should be:
Code: [Select]
%rom% %path%
Also its always a good idea to refresh the main game list.

kanon

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 16
  • Last login:June 14, 2010, 12:05:47 am
Re: GameLists: Multiple emuls in same list work-around solution
« Reply #158 on: October 29, 2009, 01:36:17 am »
tanks but dont work, ill test but not work emulator dont star, im read all post.. sorry for my ingles mala is a nice front end

SGT

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1145
  • Last login:April 17, 2023, 08:29:42 pm
Re: GameLists: Multiple emuls in same list work-around solution
« Reply #159 on: October 29, 2009, 05:31:51 pm »
It works fine for me.  Does CPS3 emulator work fine by itself (without Mala)?  If it works fine by itself, please attach screenshots of your Mala configuration for Mame and the new contents of your mame.cmd file.  Did you refresh the main game list?

kanon

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 16
  • Last login:June 14, 2010, 12:05:47 am
Re: GameLists: Multiple emuls in same list work-around solution
« Reply #160 on: October 29, 2009, 06:36:26 pm »
cdm.

if "%2" == "C:\juegos\emuladores\cps3" goto cps3

mame.exe %1
exit

:cps3
cd ..\juegos\emuladores\cps3
emulator.exe %1
exit

« Last Edit: October 29, 2009, 06:44:08 pm by kanon »

SGT

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1145
  • Last login:April 17, 2023, 08:29:42 pm
Re: GameLists: Multiple emuls in same list work-around solution
« Reply #161 on: October 29, 2009, 10:18:08 pm »
I see you have a roms sub-folder in the cps3 folder.

Are your roms here:
Code: [Select]
C:\juegos\emuladores\cps3or are your roms here:
Code: [Select]
C:\juegos\emuladores\cps3\roms
Have you refreshed your main game list?

kanon

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 16
  • Last login:June 14, 2010, 12:05:47 am
Re: GameLists: Multiple emuls in same list work-around solution
« Reply #162 on: October 29, 2009, 10:22:37 pm »
 CPS3  c: \ Juegos \ Emuladores \ CPS3 \ roms

SGT

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1145
  • Last login:April 17, 2023, 08:29:42 pm
Re: GameLists: Multiple emuls in same list work-around solution
« Reply #163 on: October 29, 2009, 10:23:40 pm »
Also I just realized that your mame.cmd is here:
Code: [Select]
C:\juegos\mame\mame.cmdinstead of:
Code: [Select]
C:\juegos\emuladores\mame\mame.cmd
Which means that
Code: [Select]
cd ..\juegos\emuladores\cps3will not work and should be this instead:
Code: [Select]
cd \juegos\emuladores\cps3

SGT

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1145
  • Last login:April 17, 2023, 08:29:42 pm
Re: GameLists: Multiple emuls in same list work-around solution
« Reply #164 on: October 29, 2009, 10:26:27 pm »
Just saw your other reply so I think your mame.cmd should be:
if "%2" == "C:\juegos\emuladores\cps3\roms" goto cps3

mame.exe %1
exit

:cps3
cd \juegos\emuladores\cps3
emulator.exe %1
exit

kanon

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 16
  • Last login:June 14, 2010, 12:05:47 am
Re: GameLists: Multiple emuls in same list work-around solution
« Reply #165 on: October 29, 2009, 10:30:02 pm »
translator no good... :soapbox:
« Last Edit: October 30, 2009, 08:55:43 pm by kanon »

SGT

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1145
  • Last login:April 17, 2023, 08:29:42 pm
Re: GameLists: Multiple emuls in same list work-around solution
« Reply #166 on: October 29, 2009, 10:35:29 pm »
ok also mame emulators will have it within a folder by Cepar and cmd file would go into mame



I'm sorry I do not know what you mean?

Just leave everything where it is and use this as your mame.cmd:
if "%2" == "C:\juegos\emuladores\cps3\roms" goto cps3

mame.exe %1
exit

:cps3
cd \juegos\emuladores\cps3
emulator.exe %1
exit

kanon

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 16
  • Last login:June 14, 2010, 12:05:47 am
Re: GameLists: Multiple emuls in same list work-around solution
« Reply #167 on: October 29, 2009, 11:15:40 pm »
tanks man now work realy good  :applaud:  :cheers: now gion with zinc

yahoo zinc work too tanks

my cmd:

if "%2" == "C:\juegos\emuladores\cps3\roms" goto cps3
if "%2" == "C:\juegos\emuladores\zinc\roms" goto zinc

mame.exe %1
exit

:cps3
cd \juegos\emuladores\cps3
3d emulator.exe %1
exit

:zinc
cd \juegos\emuladores\zinc
3d zinc.exe %1
exit
« Last Edit: October 30, 2009, 08:55:06 pm by kanon »

SGT

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1145
  • Last login:April 17, 2023, 08:29:42 pm
Re: GameLists: Multiple emuls in same list work-around solution
« Reply #168 on: October 30, 2009, 12:36:53 am »
Good job kanon!    :applaud:

I have a question:

What does the 3D in your mame.cmd do?

« Last Edit: October 30, 2009, 12:41:31 am by SGT »

kanon

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 16
  • Last login:June 14, 2010, 12:05:47 am
Re: GameLists: Multiple emuls in same list work-around solution
« Reply #169 on: October 30, 2009, 04:25:33 pm »
3d is closemul and wrapper renamed 3d, man one question, for emulator m2, star ok but not close totality whit closemul what key code is to close m2.

closemul parameters esc defaul=27  but not worck..

[Parameters]
Exit Key 1=27
Exit Key 2=
Extract=
Extracted Ext 1=
Extracted Ext 2=
Pre Command=
Post Command=
Mount Program=
Mount Device=
Mount Parameters=
Registry File=
Automation=
Automation Steps=
Automation Delay=
Program=emulator.exe      
Program 2=
Param Before File=
Param After File=
File=
Snap 1 Search=
Snap 2 Search=
Snap Extension=
Snap Source Folder=
Snap 1 Dest Folder=
Snap 2 Dest Folder=
Quit Management=7
Quit TimeOut=
Disable Quotes=

my cmd

if "%2" == "C:\juegos\emuladores\cps3\roms" goto cps3
if "%2" == "C:\juegos\emuladores\zinc\roms" goto zinc
if "%2" == "C:\juegos\emuladores\sega\roms" goto sega

mame.exe %1
exit

:cps3
cd \juegos\emuladores\cps3
3d emulator.exe %1
exit

:zinc
cd \juegos\emuladores\zinc
3d zinc.exe %1
exit

:sega
cd \juegos\emuladores\sega
3d emulator.exe %1
exit
« Last Edit: October 30, 2009, 04:27:51 pm by kanon »

kanon

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 16
  • Last login:June 14, 2010, 12:05:47 am
Re: GameLists: Multiple emuls in same list work-around solution
« Reply #170 on: October 30, 2009, 05:34:33 pm »
ready this line.

Quit Management=7

for

Quit Management=

work good. :cheers:
« Last Edit: October 30, 2009, 08:54:24 pm by kanon »

SGT

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1145
  • Last login:April 17, 2023, 08:29:42 pm
Re: GameLists: Multiple emuls in same list work-around solution
« Reply #171 on: October 30, 2009, 09:03:31 pm »

By default, closemul uses ESC to exit.  I also use closemul to close M2, but I don't set any settings and it works perfectly:

Code: [Select]
[Parameters]
Exit Key 1=
Exit Key 2=
Extract=
Extracted Ext 1=
Extracted Ext 2=
Pre Command=
Post Command=
Mount Program=
Mount Device=
Mount Parameters=
Registry File=
Automation=
Automation Steps=
Automation Delay=
Program=
Program 2=
Param Before File=
Param After File=
File=
Snap 1 Search=
Snap 2 Search=
Snap Extension=
Snap Source Folder=
Snap 1 Dest Folder=
Snap 2 Dest Folder=
Quit Management=
Quit TimeOut=
Disable Quotes=

kanon

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 16
  • Last login:June 14, 2010, 12:05:47 am
Re: GameLists: Multiple emuls in same list work-around solution
« Reply #172 on: October 30, 2009, 11:52:31 pm »
i like zuma deluxe how to run a .exe is a pc game

kanon

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 16
  • Last login:June 14, 2010, 12:05:47 am
Re: GameLists: Multiple emuls in same list work-around solution
« Reply #173 on: October 31, 2009, 12:12:32 am »
cool dude thanks for respondin you are the man, how do i make shortcut in cmd
i owe you a bud light... now my english is better today

SGT

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1145
  • Last login:April 17, 2023, 08:29:42 pm
Re: GameLists: Multiple emuls in same list work-around solution
« Reply #174 on: October 31, 2009, 09:08:07 pm »
cool dude thanks for respondin you are the man, how do i make shortcut in cmd
i owe you a bud light... now my english is better today

How did your english get better that quickly?!?  You must have had a couple of Bud Lights!   :laugh2:


I use Windows to create a shortcut.  These shortcuts are LNK files.  I then move all the LNK files to one folder.  Since the mame configuration in mala has to see a zip file, I create a empty zip file for every LNK file so the game will be added to the game list in Mala.  For example, I have a tigerwoods.zip file (that is empty), and I have a tigerwoods.LNK file (which is a shortcut to the Tiger Woods game.

My zip files for pc games are in:
Code: [Select]
E:\emulators\other_emus\pcgames
My LNK files for pc games are in:
Code: [Select]
E:\emulators\pc_games\roms
Then in my mame.cmd file:
Code: [Select]
if "%2" == "E:\emulators\other_emus\pcgames" goto pcgames

:pcgames
cd \emulators\pc_games\roms
%1.LNK
exit


Your folders are set up a little different, but you get the idea?
« Last Edit: October 31, 2009, 09:14:37 pm by SGT »

kanon

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 16
  • Last login:June 14, 2010, 12:05:47 am
Re: GameLists: Multiple emuls in same list work-around solution
« Reply #175 on: November 03, 2009, 01:04:23 am »
they are magic one made me talk english ,drink a tecate mexican beer so you can talk spanish
thanks for all the tips
 when i am done i will upload a video so you can see my arcade
 :cheers: :cheers: :cheers:

Bobulus

  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 165
  • Last login:July 11, 2014, 10:42:28 am
Re: GameLists: Multiple emuls in same list work-around solution
« Reply #176 on: November 09, 2009, 10:05:09 pm »
If you're only doing this for one game (like, say, adding Dragon's Lair to a mame listing), you could just do a

Code: [Select]
if "%1" == "lair" goto dragonslair
instead of the %2 path stuff, right?

SGT

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1145
  • Last login:April 17, 2023, 08:29:42 pm
Re: GameLists: Multiple emuls in same list work-around solution
« Reply #177 on: November 09, 2009, 10:47:46 pm »
If you're only doing this for one game (like, say, adding Dragon's Lair to a mame listing), you could just do a

Code: [Select]
if "%1" == "lair" goto dragonslair
instead of the %2 path stuff, right?

Absolutely

drventure

  • Trade Count: (+2)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 4152
  • Last login:June 25, 2023, 02:23:57 pm
  • Laser Death Ray Bargain Bin! Make me an offer!
Re: GameLists: Multiple emuls in same list work-around solution
« Reply #178 on: November 13, 2009, 11:50:24 pm »
That XML Editor looks pretty decent

I've been using one called Cooktop that has really nice XSLT transform functions in it (if you need that sort of thing)

http://www.xmlcooktop.com/

but that editor looks a tad nicer for just editing.

EvilTwin

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 22
  • Last login:November 29, 2011, 10:06:22 pm
Re: GameLists: Multiple emuls in same list work-around solution
« Reply #179 on: November 26, 2009, 02:07:59 am »
Hi SGT,

Thanks for the great write-up. I've been trying to get this to work for a good while and I'm stuck and going a bit crazy. What I want to do is launch some games in fastmame, since my computer is a little slow for some games like Mortal Kombat 3.

Mame is in C:/Mame
fastmame is in c:/fastmame

So, here's what I've done so far:
1) In MaLa, changed the command line to %rom% %path%  and made sure there is a space in between
2) my 1st rom path is c:/Mame/roms. I set up a 2nd one, c:/fastmame  and search in subfolders is checked.
3) I've moved mk3.zip from the mame rom folder to fastmame's rom folder
4) I've made a mame.cmd file, and changed the mame executable to c:/Mame/mame.cmd
5) Here's the mame.cmd file:

Quote
if "%2" == "C:\fastmame" goto fastmame

mame.exe %1
exit

:fastmame
cd ..\fastmame
closemul.exe fastmame.exe zip %1
exit

I have refreshed the game list. Now, when I click on Mortal Kombat 3 in my "All Games" list, the window pops up and it says the following:

c:\mame> if "" == c:/fastmame goto fastmame
c:\mame> mame.exe mk3

Then it goes through the contents of mk3.zip and then says
Error: required files are missing, the game cannot be run.

I've gone into the gamelist editor and added the info for mk3, and I've refreshed the list after.

I'm not sure what's going on here, any help is appreciated.  I have fastmame as another game list and the game still runs there, so I know it's functional.

SGT

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1145
  • Last login:April 17, 2023, 08:29:42 pm
Re: GameLists: Multiple emuls in same list work-around solution
« Reply #180 on: November 26, 2009, 01:40:12 pm »
Hey EvilTwin,

The missing files error is coming from fastmame.   Sound like the mk3 rom (mk3.zip) is not compatible with the version of fastmame that you are running.  That is, Mk3.zip does not contain all the files that fastmame requires.

Rom sets change often.  Do your versions of mame and fastmame vary greatly?

EvilTwin

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 22
  • Last login:November 29, 2011, 10:06:22 pm
Re: GameLists: Multiple emuls in same list work-around solution
« Reply #181 on: November 26, 2009, 02:10:16 pm »
Somewhat, fastmame is version 0.92 and MK3 is version 0.126.

But the thing is, I have fastmame set up on another list currently, and the game runs perfectly, using the same rom and everything, so that can't be it, I don't think.

The roms for fastmame are in c:\fastmame\roms  though I don't know if that matters. My rom path has search in subfolders highlighted so it should be okay?
« Last Edit: November 26, 2009, 02:33:33 pm by EvilTwin »

SGT

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1145
  • Last login:April 17, 2023, 08:29:42 pm
Re: GameLists: Multiple emuls in same list work-around solution
« Reply #182 on: November 26, 2009, 05:36:02 pm »
It may be that the first line is failing in your batch file and mame (not fastmame) is trying to run it and cannot find the rom.  You will get a mame error message about missing files if its the wrong rom or the rom is not there.  

I just noticed that the first line in your batch file should refer to wherever the mk3.zip is located:
Code: [Select]
if "%2" == "C:\fastmame\roms" goto fastmame
You need to go to the gamelist editor for your mame game list and make sure that the path is there (C:\fastmame\roms).  Mala should have put the entry there after refreshing the main game list.  Below is an example. Remember the case (upper or lower) is important in the line above.


Also I don't use fastmame, but the line in the batch file that launches fast mame should probably be:

Code: [Select]
closemul.exe fastmame.exe %1





« Last Edit: November 26, 2009, 05:48:37 pm by SGT »

EvilTwin

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 22
  • Last login:November 29, 2011, 10:06:22 pm
Re: GameLists: Multiple emuls in same list work-around solution
« Reply #183 on: November 26, 2009, 10:31:55 pm »
 :notworthy: :notworthy: :notworthy:

I got it working! Thanks so much. I had to change to:

if "%2" == "C:\fastmame\roms" goto fastmame

like you mentioned. Also, the fastmame launch should look like this:


:fastmame
cd ..\fastmame
closemul.exe fastmame.exe %1.zip
exit

I made sure that the rom itself was updated in the gamelist, and I was good to go!

Thanks for your time man!

loadman

  • Moderator
  • Trade Count: (+3)
  • Full Member
  • *****
  • Offline Offline
  • Posts: 4305
  • Last login:August 17, 2020, 03:23:55 am
  • Cocktail Cab owner and MaLa FE developer
    • MaLa
Re: GameLists: Multiple emuls in same list work-around solution
« Reply #184 on: November 28, 2009, 05:59:45 am »
Bond is Best

We need a MaLa 007 edition.

kanon

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 16
  • Last login:June 14, 2010, 12:05:47 am
Re: GameLists: Multiple emuls in same list work-around solution
« Reply #185 on: December 06, 2009, 04:56:03 pm »
i am here again, how can i run naomi with mala? i have tried with wraper but it gives me error 76 when its loading the emulator  :badmood:

i have tried a few loader and nothin in .lts .bin .cdi   the emulator runs good on its own just with the frontend gives me error 76

cheers 007   :cheers: :cheers: :cheers:
« Last Edit: December 06, 2009, 05:11:31 pm by kanon »

SGT

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1145
  • Last login:April 17, 2023, 08:29:42 pm
Re: GameLists: Multiple emuls in same list work-around solution
« Reply #186 on: December 06, 2009, 07:34:15 pm »
i am here again, how can i run naomi with mala? i have tried with wraper but it gives me error 76 when its loading the emulator  :badmood:

i have tri

What emulator are you using for naomi?

kanon

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 16
  • Last login:June 14, 2010, 12:05:47 am
Re: GameLists: Multiple emuls in same list work-around solution
« Reply #187 on: December 07, 2009, 04:29:19 pm »
 emulator,  makaron t12 naomi

SGT

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1145
  • Last login:April 17, 2023, 08:29:42 pm
Re: GameLists: Multiple emuls in same list work-around solution
« Reply #188 on: December 07, 2009, 07:07:32 pm »
I don't run that emulator.  I would try it but my computer graphics doesn't support T&L.   Can you run a rom and emulator from a command line?  If so, what does the command line look like?

kanon

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 16
  • Last login:June 14, 2010, 12:05:47 am

pubjoe

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 59
  • Last login:March 14, 2024, 06:13:07 pm
Re: GameLists: Multiple emuls in same list work-around solution
« Reply #190 on: December 14, 2009, 03:28:08 pm »
Hi sgt.

Thanks for posting this, but I can't get it to work.

I am trying to add D2K (Jumpman returns) to the main list.  I can get it to appear in the list, but when attempting to run it, mame.cmd runs, but then terminates as soon as it gets to the first instance of the command "exit".  Then I am returned to mala.

My folder structure:

MAME: C:\MAME Plus! XT\mamepXT.exe
mismame: C:\mismame\mis.exe
d2k rom: C:\mismame\ROMS

My mamepXT.cmd content:
Code: [Select]
if "%2" == "C:\mismame\ROMS" goto mismame

mamepXT.exe %1
exit

:mismame
cd ..\mismame
mis.exe %1
exit

Mala Stuff:


What am I doing wrong?

It works if I use:
Code: [Select]
if "%1" == "d2k" goto mismame...So my cmd file must be ok.

Mala just isn't sending %2 correctly.

I have tried adding a comma separator in the mala command line, but still no good.

I am using windows xp64 and mala v1.05[1.0.5.8].

Thanks.
« Last Edit: December 15, 2009, 05:40:35 am by pubjoe »

pubjoe

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 59
  • Last login:March 14, 2024, 06:13:07 pm
Re: GameLists: Multiple emuls in same list work-around solution
« Reply #191 on: December 14, 2009, 06:54:21 pm »
[double post]
« Last Edit: December 14, 2009, 07:05:52 pm by pubjoe »

R5

  • Trade Count: (0)
  • Jr. Member
  • **
  • Offline Offline
  • Posts: 7
  • Last login:December 12, 2010, 08:18:51 am
Re: GameLists: Multiple emuls in same list work-around solution
« Reply #192 on: February 19, 2010, 06:33:50 pm »
Here is a solution I wrote in C# using the freely downloadable Visual Studio Express from Microsoft.  All I cared about was Daphne, specifically Dragons Lair and Space Ace.  I didn't want multiple emulators for 2 games.  Oh, and I just found out about MulitMAME right before I typed this, but I figure the time spent writing this app was less than figuring out MultiMAME.  I tried the batch file thing, but was having issues with additional command line parameters, and once again, the C# app seemed easier.

I'm running 1.05 of MaLa, there's a bug with it that assumes the name of the .ini file is the same as the mame exe, but only until you try to change aspect ratios, where it only uses mame.ini.  So, I renamed mame.exe -> mamedaph.exe and called my program mame.exe and put in the same directory as Mame.  All good, no reconfiguration needed in MaLa.  I added 2 entries into the xml file for dragonslair and spaceace (actually, I just copied their existing entries, renamed the rom file and set their status to 'good') and put two bogus zip files in the rom directory (dragonslair.zip and spaceace.zip).  If my program sees either of those two roms being run, it passes the job off to daphne, otherwise passes everything else to mamedaph.exe (the original Mame).  You could easily add more emulators here, and it could read other files, but like I said, this solved my problem.

So, I'm a hack, somewhat lazy, and I realize this program could be much better (it's probably how MultiMAME got so flexible), but this worked for me, and if it works for you, enjoy!  If someone wants me to post the Visual Studio Solution, I will, otherwise here's my source for the command line application, just create a new Command Line application in Visual Studio, paste everything here, and build.  Your exe will be in the bin directory for your project.

Code: [Select]
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Diagnostics;

namespace mamedaph
{
    class Program
    {
        static void Main(string[] args)
        {
            DetermineEmu(args);
        }


        static void DetermineEmu(string[] args)
        {
               if (args[0] == "dragonslair")
                    {
                        string daphneCMD = "lair vldp -fullscreen -framefile C:\\daphne\\vldp_dl\\lair\\lair.txt -blank_searches";
                        LaunchCommandLineApp("daphne", daphneCMD);
                    }
                    else if (args[0] == "spaceace")
                    {
                        string daphneCMD = "ace vldp -fullscreen -framefile C:\\daphne\\vldp_dl\\ace\\ace.txt -blank_searches"; ;
                        LaunchCommandLineApp("daphne", daphneCMD);
                    }
                    else
                    {
                        LaunchCommandLineApp("mame", myCommandLine(args));
                    }
        }

        static string myCommandLine(string[] args)
        {
            string myCommandLine = "";
            foreach (string arg in args)
            {
                myCommandLine += " " + arg;
            }
            return myCommandLine.Trim();
        }


        static void LaunchCommandLineApp(string emulator, string CommandLine)
        {
            ProcessStartInfo startInfo = new ProcessStartInfo();
            if (emulator == "mame")
            {
                startInfo.CreateNoWindow = false;
                startInfo.UseShellExecute = false;
                startInfo.WorkingDirectory = "c:\\mame";
                startInfo.FileName = "c:\\mame\\mamedaph.exe";
                startInfo.WindowStyle = ProcessWindowStyle.Hidden;
                startInfo.Arguments = CommandLine;
            }
            else
            {
                startInfo.CreateNoWindow = false;
                startInfo.UseShellExecute = false;
                startInfo.WorkingDirectory = "c:\\daphne";
                startInfo.FileName = "c:\\daphne\\daphne.exe";
                startInfo.WindowStyle = ProcessWindowStyle.Hidden;
                startInfo.Arguments = CommandLine;
            }

            try
            {
                using (Process exeProcess = Process.Start(startInfo))
                {
                    exeProcess.WaitForExit();
                }
            }
            catch
            {
                // Log error.
            }
        }
    }
}
« Last Edit: February 22, 2010, 01:07:27 pm by R5 »

Cisek

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 104
  • Last login:May 19, 2023, 07:35:14 am
Re: GameLists: Multiple emuls in same list work-around solution
« Reply #193 on: February 22, 2010, 12:35:26 pm »
Hi
I can't choose mame.cmd in Mala. It wants only exe. How can I select it?

SGT

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1145
  • Last login:April 17, 2023, 08:29:42 pm
Re: GameLists: Multiple emuls in same list work-around solution
« Reply #194 on: February 22, 2010, 04:33:14 pm »
Hi
I can't choose mame.cmd in Mala. It wants only exe. How can I select it?

Instead of browsing to it, just type it and the path in.

swamprat96

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 241
  • Last login:January 10, 2012, 03:29:46 pm
Re: GameLists: Multiple emuls in same list work-around solution-FIXED
« Reply #195 on: April 25, 2010, 03:39:53 am »
I'm Back.

I have a mame cocktail cab that runs 127 for all older cocktail cab games. They all work fine except for galaxian where player 2's sprites are screwed. 129 fixes this but breaks digdug. So I want to run 129 for galaxian only

1. Changed Mala command Line to %rom% %path%
2. My directory structure is for normal mame
C:\mame\MAME  - has a standard mame layout with ROMs in the normal roms directory
3. so my new folder is C:\mame\otheremus\galaxian - inside this directory is a mame129 structure and I cut galaxian.zip from the standard install and copied it into C:\mame\otheremus\galaxian\roms
4. Added a second rom path to Mala - C:\mala\otheremus and ticked the check subdirectory box
5. Changed mala.exe to mala.cmd
Code: [Select]
if "%2" == "C:\mame\otheremus\galaxian" goto galaxian


mame.exe %1
exit

:galaxian
cd..\otheremus\galaxian
mame.exe galaxian
exit

Now I can see with the debug window in mala that its still trying to call mame.exe from C:\mame\MAME. I can't work out what I've done wrong

EDIT: the path  being passed was c:\mame\otheremus\galaxian\roms whereas my code missed "roms". simple stupid :angry:
 

« Last Edit: April 25, 2010, 05:29:39 pm by swamprat96 »

kanon

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 16
  • Last login:June 14, 2010, 12:05:47 am
Re: GameLists: Multiple emuls in same list work-around solution
« Reply #196 on: June 14, 2010, 12:05:47 am »
one more question
can make a single list of several emulators
mame leaving off the list
example
cps, sega, atari, Demul
thanks for your time
007

massive88

  • Trade Count: (+2)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 938
  • Last login:February 26, 2024, 02:21:01 pm
Re: GameLists: Multiple emuls in same list work-around solution
« Reply #197 on: September 19, 2010, 03:39:03 pm »
Im trying to get this to work for a list that has 2 snes, 2 nes, and 2 genesis games.  Is it possible do it through the "Other Emulators" section of MaLa?  I would think it is, but I cant get it working.

I have the 6 games with zips in the correct directories, and I made an executable called solo.cmd which is as so:

Code: [Select]
if "%2" == "C:\VGT2K10\Games\solo\gen" goto gen
if "%2" == "C:\VGT2K10\Games\solo\nes" goto nes
if "%2" == "C:\VGT2K10\Games\solo\snes" goto snes

exit

:gen
cd c:\VGT2K10\Emulators\Genesis\Kega
closemul.exe fusion.exe %1
exit

:nes
cd C:\VGT2k10\Emulators\NES\Nestopia
nestopia.exe %1
exit

:snes
cd C:\VGT2k10\Emulators\Snes\bsnes
bsnes.exe %1
exit

MaLa generates the game list fine from the "Other Emulator" entry I made, but it wont launch anything.  It just gives me the error:

Quote
Failed to execute program "solo.cmd MegaMan2 C:\VGT2K10\Games\solo\nes". Error Code 2

thatgammon

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 108
  • Last login:July 03, 2020, 05:25:03 am
Re: GameLists: Multiple emuls in same list work-around solution
« Reply #198 on: November 17, 2010, 03:01:00 am »
To all,

I am struggling to achieve two mame versions in one game list. I have tried NOP's method and now am attempting this one.

NOP's method is to point mala to a batch file (mame.bat)  and this method is to point to mame.cmd.

After trying both ways I am still none the wiser as after typing in these two files types at the mame executable, the error returns unknown format please select a valid file.

I have tried mala versions 1.05 thru to present to see if it is that, nothing!  :banghead:  :hissy:

Thanks to previous help and to any further! Any takers?

SGT

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1145
  • Last login:April 17, 2023, 08:29:42 pm
Re: GameLists: Multiple emuls in same list work-around solution
« Reply #199 on: November 26, 2010, 12:37:44 pm »

After trying both ways I am still none the wiser as after typing in these two files types at the mame executable, the error returns unknown format please select a valid file.


I vaguely remember Mala having that "feature".  I think if you browse out to your cmd file, Mala returns that error because it only looks for an exe file.  Therefore you must type the path and the file name in that field instead of browsing to it.   Yours will be different, but for example type the following without the quotations marks:  "c:\emulators\mame\mame.cmd"

I am only going on memory, because of a hard drive crash.  I have yet to restore my files. 

thatgammon

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 108
  • Last login:July 03, 2020, 05:25:03 am
Re: GameLists: Multiple emuls in same list work-around solution
« Reply #200 on: November 26, 2010, 03:31:00 pm »
Thanks SGT but I am typing it in and I still get the error.

Definetly is the right path and filename.

I have the same question on NOPs method and Loadman is on the case, I have posted a screenshot of the files properties.

(although that is for the .bat file)

Thanks in advance.

sega_mad

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 284
  • Last login:July 09, 2015, 04:03:08 am
Re: GameLists: Multiple emuls in same list work-around solution
« Reply #201 on: January 29, 2011, 11:47:04 pm »
Hi SGT.

I'm trying to get Donkey Kong 2 running in my Mala setup. It runs perfectly under cmd mame. I recompiled mame 141 and its all good. My setup is running mame 102 and 114, and would like to add 141 for DK2 (it wont run under 102 as the sound stutters!!)

I've tried to follow your post, but I'm only guessing, and it's not working (all though you got it working for mame 102)

Any thought?

Thanks


thatgammon

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 108
  • Last login:July 03, 2020, 05:25:03 am
Re: GameLists: Multiple emuls in same list work-around solution
« Reply #202 on: January 30, 2011, 06:28:12 am »
modified an old post..
« Last Edit: July 17, 2011, 08:08:39 am by thatgammon »

thatgammon

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 108
  • Last login:July 03, 2020, 05:25:03 am
Re: GameLists: Multiple emuls in same list work-around solution
« Reply #203 on: July 17, 2011, 08:09:59 am »
Using this method is it possible to set the windows state to hidden in the batch file so non mame emulators hide their splash screens etc??

lettuce

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1900
  • Last login:December 31, 2021, 01:46:10 pm
  • Make It So!
Re: GameLists: Multiple emuls in same list work-around solution
« Reply #204 on: November 30, 2011, 03:52:24 pm »
So if i want 3 different versions of mame to display all in 1 list and all sharing the same rom folder how do i go about doing this please??

Celsius

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 81
  • Last login:May 10, 2015, 11:40:41 am
    • Rcade project
Re: GameLists: Multiple emuls in same list work-around solution
« Reply #205 on: February 26, 2012, 09:03:11 am »
Found this very complete post on a french forum (based on  :notworthy: SGT's awesomeness) which has the xml's for zinc, model 2, daphne, demul and supermodel to merge with mame's xml...saved me alot of time, enjoy
http://www.gamoover.net/Forums/index.php?PHPSESSID=038eb9e1c64fda99204bfa62f2d75b42&topic=21826.0

SGT

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1145
  • Last login:April 17, 2023, 08:29:42 pm
Re: GameLists: Multiple emuls in same list work-around solution
« Reply #206 on: February 26, 2012, 10:31:45 am »
Found this very complete post on a french forum (based on  :notworthy: SGT's awesomeness) which has the xml's for zinc, model 2, daphne, demul and supermodel to merge with mame's xml...saved me alot of time, enjoy
http://www.gamoover.net/Forums/index.php?PHPSESSID=038eb9e1c64fda99204bfa62f2d75b42&topic=21826.0

 :cheers:

PaTrYcK

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 150
  • Last login:May 02, 2020, 05:22:19 am
Re: GameLists: Multiple emuls in same list work-around solution
« Reply #207 on: March 24, 2012, 08:25:22 pm »
Hi, thanks to SGT for this great solution for have one list for many emulator  :applaud: .

I would use this method to have a single list for Mame, Model2, daphne and epsxe (tekken3), but I have a problem in step 8:

8.  In Mala, change the MAME executable to point to the Mame.cmd file that you created above instead of mame.exe.  
Mame Config>Basics>Mame executable
For example:
Code: [Select]
C:\emulators\mame116u3\mame.cmd

I cannot  set mame.cmd, mala want only executable file (.exe), what can I do x this problem?
Thanks  :)



« Last Edit: March 24, 2012, 08:30:10 pm by PaTrYcK »

thatgammon

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 108
  • Last login:July 03, 2020, 05:25:03 am
Re: GameLists: Multiple emuls in same list work-around solution
« Reply #208 on: March 25, 2012, 06:28:12 am »
Dont browse for the file.
Either manually type in the full address or copy and paste it from my computer.

PaTrYcK

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 150
  • Last login:May 02, 2020, 05:22:19 am
Re: GameLists: Multiple emuls in same list work-around solution
« Reply #209 on: March 25, 2012, 08:31:16 am »
Dont browse for the file.
Either manually type in the full address or copy and paste it from my computer.

I do it in mala.ini (Exe=D:\Emulatori\Mame\Mame.cmd)  but when i start mala:




thatgammon

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 108
  • Last login:July 03, 2020, 05:25:03 am
Re: GameLists: Multiple emuls in same list work-around solution
« Reply #210 on: March 25, 2012, 10:00:46 am »
mala.ini?? not sure I follow...

I would say first point mala to your mame exe (in basics)
then point or create xml
then rom path

once thats working (ie can play roms) go back in and manually type the path to the cmd

Did you save the cmd properly (not as .txt)???

PaTrYcK

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 150
  • Last login:May 02, 2020, 05:22:19 am
Re: GameLists: Multiple emuls in same list work-around solution
« Reply #211 on: March 25, 2012, 10:30:08 am »
thatgammon thanks for your answer...

I tryed to:
-browse the file on mala
-copy the directory in the windows
-modify directly the mala.ini

but not work...mala not accept mame.cmd, want only .exe :(

thatgammon

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 108
  • Last login:July 03, 2020, 05:25:03 am
Re: GameLists: Multiple emuls in same list work-around solution
« Reply #212 on: March 25, 2012, 10:35:42 am »
dont browse the file! (type it in)
forget the ini

can you post your cmd

PaTrYcK

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 150
  • Last login:May 02, 2020, 05:22:19 am
Re: GameLists: Multiple emuls in same list work-around solution
« Reply #213 on: March 25, 2012, 10:50:14 am »
dont browse the file! (type it in)
forget the ini

can you post your cmd

In the windows i digit: D:\Mamecab\Mame\mame.cmd

thatgammon

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 108
  • Last login:July 03, 2020, 05:25:03 am
Re: GameLists: Multiple emuls in same list work-around solution
« Reply #214 on: March 25, 2012, 10:51:20 am »
so it works?

PaTrYcK

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 150
  • Last login:May 02, 2020, 05:22:19 am
Re: GameLists: Multiple emuls in same list work-around solution
« Reply #215 on: March 25, 2012, 10:55:56 am »
so it works?

No, if i put it mala show :


thatgammon

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 108
  • Last login:July 03, 2020, 05:25:03 am
Re: GameLists: Multiple emuls in same list work-around solution
« Reply #216 on: March 25, 2012, 10:58:29 am »
ok because you changed your ini is where the problem lies.
change it back to point to mame.exe
When mala runs mame ok come back here and post a screenshot of your cmd and upload the cmd.

PaTrYcK

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 150
  • Last login:May 02, 2020, 05:22:19 am
Re: GameLists: Multiple emuls in same list work-around solution
« Reply #217 on: March 25, 2012, 11:10:50 am »
I have set mame32.exe on mala.ini, is ok...

Now i put the new command on mala:



I click ok, but mala show:


thatgammon

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 108
  • Last login:July 03, 2020, 05:25:03 am
Re: GameLists: Multiple emuls in same list work-around solution
« Reply #218 on: March 25, 2012, 11:17:50 am »
post a screenshot of your cmd and upload the cmd.

am thinking the cmd isnt right. a photo of the file as well as the file please!

PaTrYcK

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 150
  • Last login:May 02, 2020, 05:22:19 am
Re: GameLists: Multiple emuls in same list work-around solution
« Reply #219 on: March 25, 2012, 11:27:57 am »
I think that the error is because mala accept only exe file...

but if you think that not is correct data inside the file mame.cmd i check it...

thatgammon

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 108
  • Last login:July 03, 2020, 05:25:03 am
Re: GameLists: Multiple emuls in same list work-around solution
« Reply #220 on: March 25, 2012, 11:30:17 am »
mala will accept a cmd if it is valid.
I need to see a screenshot of it.......

PaTrYcK

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 150
  • Last login:May 02, 2020, 05:22:19 am
Re: GameLists: Multiple emuls in same list work-around solution
« Reply #221 on: March 25, 2012, 11:51:23 am »
Ok, i think that not is correct the data in the file, now i check it, thanks!

thatgammon

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 108
  • Last login:July 03, 2020, 05:25:03 am
Re: GameLists: Multiple emuls in same list work-around solution
« Reply #222 on: March 25, 2012, 11:54:01 am »
ok well all i can say is make sure you saved the cmd properly (ie not .txt)
dont edit the ini, leave that to mala.

Make sure the address for the cmd is correct.
Type in the address, don't browse for it.

Should work. Peace

PaTrYcK

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 150
  • Last login:May 02, 2020, 05:22:19 am
Re: GameLists: Multiple emuls in same list work-around solution
« Reply #223 on: March 25, 2012, 12:30:15 pm »
Thanks for your post...after i check my mame.cmd  ;)

thatgammon

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 108
  • Last login:July 03, 2020, 05:25:03 am
Re: GameLists: Multiple emuls in same list work-around solution
« Reply #224 on: March 25, 2012, 02:32:44 pm »
No problem,

It sounds like either you are not saving the cmd correctly OR you're not typing the right address for it...

let me know

PaTrYcK

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 150
  • Last login:May 02, 2020, 05:22:19 am
Re: GameLists: Multiple emuls in same list work-around solution
« Reply #225 on: March 25, 2012, 04:47:03 pm »
Hi, i check the file, now mala accept it and ask to refresh the list...

This is data in mame.cmd file:


if "%2" == "D:\Emulatori\Other_emu\m2emulator" goto m2


mame32.exe %1
exit


:m2
cd ..\m2emulator
closemul.exe emulator.exe zip %1 rar
exit


I have the model2 emulator in the folder:
D:\Emulatori\model2

i have set second rom path:
D:\Emulatori\Other_emu\m2emulator\roms

now i see the the game of model2 emulator, but not start...where i can check?

Thanks
« Last Edit: March 26, 2012, 05:05:46 am by PaTrYcK »

thatgammon

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 108
  • Last login:July 03, 2020, 05:25:03 am
Re: GameLists: Multiple emuls in same list work-around solution
« Reply #226 on: March 25, 2012, 07:14:51 pm »
 :applaud:

make sure only collect roms in rom folder is checked
« Last Edit: March 25, 2012, 07:33:13 pm by thatgammon »

PaTrYcK

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 150
  • Last login:May 02, 2020, 05:22:19 am
Re: GameLists: Multiple emuls in same list work-around solution
« Reply #227 on: March 25, 2012, 07:51:04 pm »
Re-check it...
« Last Edit: March 26, 2012, 05:06:59 am by PaTrYcK »

PaTrYcK

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 150
  • Last login:May 02, 2020, 05:22:19 am
Re: GameLists: Multiple emuls in same list work-around solution
« Reply #228 on: March 26, 2012, 05:23:24 am »
I don't find the error...

The game of model2 now there are in the list with mame game!
Mame game start, but model2 game no...if i run the game direclty on model2 emulator work fine!

This is data on mala:



Screen of model2 folder:



This is the screen of error if i start model2 game from mala fe (not find file...)



In mame.cmd:
"if "%2" == "D:\Emulatori\Other_emu\m2emulator" goto m2

mame32.exe %1
exit

:m2
cd ..\m2emulator
closemul.exe emulator.exe zip %1 rar
exit"


Where i can check the error?

Thanks!
« Last Edit: March 26, 2012, 05:37:13 am by PaTrYcK »

thatgammon

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 108
  • Last login:July 03, 2020, 05:25:03 am
Re: GameLists: Multiple emuls in same list work-around solution
« Reply #229 on: March 26, 2012, 06:37:38 am »
ok we're nearly there...

make sure no mdel2 roms are in the mame roms folder! IMPORTANT!

does your model2.ini specify the correct rom path????


go back to mala refresh games list again...


PaTrYcK

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 150
  • Last login:May 02, 2020, 05:22:19 am
Re: GameLists: Multiple emuls in same list work-around solution
« Reply #230 on: March 26, 2012, 06:52:06 am »
Hi, thanks for your support thatgammon!

make sure no mdel2 roms are in the mame roms folder! IMPORTANT!
In mame roms folder no roms of model2 emu

does your model2.ini specify the correct rom path????
Yes, infact if i run the game direclty to model2 emulator work perfectly!

go back to mala refresh games list again...
I do it, but m2 game not start ;(

Mame.cmd data is correct?


thatgammon

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 108
  • Last login:July 03, 2020, 05:25:03 am
Re: GameLists: Multiple emuls in same list work-around solution
« Reply #231 on: March 26, 2012, 06:59:21 am »
yes seems to be right..

just eliminating errors..

shouldn't closemul.exe be in the model2 folder?

PaTrYcK

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 150
  • Last login:May 02, 2020, 05:22:19 am
Re: GameLists: Multiple emuls in same list work-around solution
« Reply #232 on: March 26, 2012, 07:06:30 am »
I not have closemul, now i download it!!!

thatgammon

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 108
  • Last login:July 03, 2020, 05:25:03 am
Re: GameLists: Multiple emuls in same list work-around solution
« Reply #233 on: March 26, 2012, 07:10:09 am »
i dont think you need it tbh...

"if "%2" == "D:\Emulatori\Other_emu\m2emulator" goto m2

mame32.exe %1
exit

:m2
cd ..\m2emulator
emulator.exe zip %1 rar
exit

PaTrYcK

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 150
  • Last login:May 02, 2020, 05:22:19 am
Re: GameLists: Multiple emuls in same list work-around solution
« Reply #234 on: March 26, 2012, 07:15:26 am »
I have put closemul.exe in the folder with emulator.exe, i think that i must editi closemul.ini file for use it, right?

I try to edit without closemul

"cd ..\m2emulator
emulator.exe zip %1 rar"

but the problem is alwais the same:


thatgammon

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 108
  • Last login:July 03, 2020, 05:25:03 am
Re: GameLists: Multiple emuls in same list work-around solution
« Reply #235 on: March 26, 2012, 07:24:45 am »
"if "%2" == "D:\Emulatori\Other_emu\m2emulator\ROMS" goto m2

mame32.exe %1
exit

:m2
cd ..\m2emulator
closemul.exe emulator.exe zip %1 rar
exit"


TRY THAT

PaTrYcK

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 150
  • Last login:May 02, 2020, 05:22:19 am
Re: GameLists: Multiple emuls in same list work-around solution
« Reply #236 on: March 26, 2012, 07:34:18 am »
Not work :(

I try it wit closemul and without it...but the situation is the same...

Why is needed closemul.exe?
emulator.exe not start without it?

thatgammon

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 108
  • Last login:July 03, 2020, 05:25:03 am
Re: GameLists: Multiple emuls in same list work-around solution
« Reply #237 on: March 26, 2012, 07:43:20 am »
ok

look at your last screenshot...
it is saying that %2 (the rom path) is different than malas rom path..

then is running mame to load daytona!!

i think that is looking in the wrong directory..

try this for me... copy exacty

if "%2" == "D:\Emulatori\Other_emu\m2emulator\ROMS" goto m2

mame32.exe %1
exit

:m2
dir
pause
exit

it will say hit a key to continue or something (i hope!) POST SCREEN SHOT OF THAT, I NEED TO KNOW WHERE THE PATH IS

thatgammon

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 108
  • Last login:July 03, 2020, 05:25:03 am
Re: GameLists: Multiple emuls in same list work-around solution
« Reply #238 on: March 26, 2012, 07:51:45 am »
to answer your question.. closemul will exit out of m2 properly, just using emulator will result in model2 still there after you quit.

PaTrYcK

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 150
  • Last login:May 02, 2020, 05:22:19 am
Re: GameLists: Multiple emuls in same list work-around solution
« Reply #239 on: March 26, 2012, 07:54:02 am »
look at your last screenshot...
it is saying that %2 (the rom path) is different than malas rom path..

then is running mame to load daytona!!
i think that is looking in the wrong directory..
Yes correct!!!

try this for me... copy exacty

if "%2" == "D:\Emulatori\Other_emu\m2emulator\ROMS" goto m2

mame32.exe %1
exit

:m2
dir
pause
exit

it will say hit a key to continue or something (i hope!) POST SCREEN SHOT OF THAT, I NEED TO KNOW WHERE THE PATH IS

I do it... but the situation is the same, running mame to load daytona!
He know where is the rom of daytona, but not start emulator.exe...

Thanks!

thatgammon

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 108
  • Last login:July 03, 2020, 05:25:03 am
Re: GameLists: Multiple emuls in same list work-around solution
« Reply #240 on: March 26, 2012, 07:55:56 am »
so you figured it out??

PaTrYcK

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 150
  • Last login:May 02, 2020, 05:22:19 am
Re: GameLists: Multiple emuls in same list work-around solution
« Reply #241 on: March 26, 2012, 08:00:56 am »
so you figured it out??

i modify my mame.cmd with your data:

if "%2" == "D:\Emulatori\Other_emu\m2emulator\ROMS" goto m2

mame32.exe %1
exit

:m2
dir
pause
exit

but mala show alwais:



 :dunno

thatgammon

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 108
  • Last login:July 03, 2020, 05:25:03 am
Re: GameLists: Multiple emuls in same list work-around solution
« Reply #242 on: March 26, 2012, 08:10:09 am »
ok thanks...

this is a test, do this for me....

if %1 == daytona goto m2

mame32.exe %1
exit

:m2
dir
pause
exit

SCREENSHOT PLEASE

PaTrYcK

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 150
  • Last login:May 02, 2020, 05:22:19 am
Re: GameLists: Multiple emuls in same list work-around solution
« Reply #243 on: March 26, 2012, 08:18:26 am »
If i use your last data i have only this screen:




If i modify :

"if %1 == daytona goto m2" to "if %2 == daytona goto m2" (dir where is the daytona roms) i have alwais:




thatgammon

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 108
  • Last login:July 03, 2020, 05:25:03 am
Re: GameLists: Multiple emuls in same list work-around solution
« Reply #244 on: March 26, 2012, 08:23:01 am »
if %1 == daytona goto m2

mame32.exe %1
exit

:m2
cd..
cd Other_emu\m2emulator
closemul.exe emulator.exe zip %1 rar
exit


FINGERS CROSSED!! IF IT WORKS WILL ONLY WORK FOR DAYTONA ATM!

PaTrYcK

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 150
  • Last login:May 02, 2020, 05:22:19 am
Re: GameLists: Multiple emuls in same list work-around solution
« Reply #245 on: March 26, 2012, 08:25:50 am »
Yes!

Work fine!


thatgammon

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 108
  • Last login:July 03, 2020, 05:25:03 am
Re: GameLists: Multiple emuls in same list work-around solution
« Reply #246 on: March 26, 2012, 08:29:11 am »
 :applaud: :applaud: :applaud: :applaud: :applaud: :applaud: :applaud:


Ok now copy the top line and add all your m2 games on there.......

if %1 == daytona goto m2
if %1 == next game goto m2
if %1 == next game goto m2 etc etc

mame32.exe %1
exit

:m2
cd..
cd Other_emu\m2emulator
closemul.exe emulator.exe zip %1 rar
exit


go in to m2 and set full screen and you should be good to go!

PaTrYcK

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 150
  • Last login:May 02, 2020, 05:22:19 am
Re: GameLists: Multiple emuls in same list work-around solution
« Reply #247 on: March 26, 2012, 08:31:31 am »
Ok, i try it!

i have 2 question

1) why you use if %1...what is this 1?
2)why not is possible point to folder as show in first post?

Thanks!

thatgammon

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 108
  • Last login:July 03, 2020, 05:25:03 am
Re: GameLists: Multiple emuls in same list work-around solution
« Reply #248 on: March 26, 2012, 08:35:28 am »
ok %1 is the rom name
%2 is the rom path.

For some reason it was not recognising the rom path (%2). It may be something so easy to fix but without seeing your setup, this was an easy escape!

SGT's method is better than what we have done here.
But it works right?

PaTrYcK

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 150
  • Last login:May 02, 2020, 05:22:19 am
Re: GameLists: Multiple emuls in same list work-around solution
« Reply #249 on: March 26, 2012, 08:41:13 am »
Ok  :applaud:

Yes work fine, thanks!

The problem is that i have many roms and many emu...i must to write string for each game :)
But now is ok, i try to resolve the %2  rom path, if not is possible i start to write all game ;)

thatgammon

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 108
  • Last login:July 03, 2020, 05:25:03 am
Re: GameLists: Multiple emuls in same list work-around solution
« Reply #250 on: March 26, 2012, 08:47:01 am »
well ok... if you want to have another go??

the problem is that the rom path isnt matching the rom path in the cmd.

Try going back to your cmd version, take off the roms bit  that we added.

if "%2" == "D:\Emulatori\Other_emu\m2emulator" goto m2

mame32.exe %1
exit

:m2
cd ..\m2emulator
closemul.exe emulator.exe zip %1 rar
exit"

refresh gameslist in mala

PaTrYcK

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 150
  • Last login:May 02, 2020, 05:22:19 am
Re: GameLists: Multiple emuls in same list work-around solution
« Reply #251 on: March 26, 2012, 08:51:47 am »
I take your last info and modify mame.cmd:


if "%2" == "D:\Emulatori\Other_emu\m2emulator" goto m2

mame32.exe %1
exit

:m2
cd..
cd Other_emu\m2emulator
closemul emulator.exe zip %1 rar
exit


i return in the forum and you have write the same data  ;D


« Last Edit: March 26, 2012, 08:53:20 am by PaTrYcK »

thatgammon

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 108
  • Last login:July 03, 2020, 05:25:03 am
Re: GameLists: Multiple emuls in same list work-around solution
« Reply #252 on: March 26, 2012, 08:53:56 am »
Yeah there was a directory out..


Glad I did the %1 step now!!!!!

Thank ---fudgesicle--- for that!!!!

What other emu's have you got?

PaTrYcK

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 150
  • Last login:May 02, 2020, 05:22:19 am
Re: GameLists: Multiple emuls in same list work-around solution
« Reply #253 on: March 26, 2012, 09:00:02 am »
Yes work fine, but i had to modify:

if "%2" == "D:\Emulatori\Other_emu\m2emulator" goto m2

to:

if "%2" == "D:\Emulatori\Other_emu\m2emulator\roms" goto m2
(roms are in roms folder)

Yeah there was a directory out..


What other emu's have you got?
I have daphne for laser game and epsx for tekken3 :)

I also winuae but i prefer leave it in a separate list

thatgammon

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 108
  • Last login:July 03, 2020, 05:25:03 am
Re: GameLists: Multiple emuls in same list work-around solution
« Reply #254 on: March 26, 2012, 09:10:00 am »

if "%2" == "D:\Emulatori\Other_emu\m2emulator\ROMS" goto m2


Ok well we got there in the end!! Always refresh the games list when you change anything
would be a pointer for future development.

Try this emulator :
http://www.supermodel3.com
for daytona2 and other model3 games!!!!

Anyhow nice talking to ya man.
Glad its now working... peace
 :cheers:

PaTrYcK

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 150
  • Last login:May 02, 2020, 05:22:19 am
Re: GameLists: Multiple emuls in same list work-around solution
« Reply #255 on: March 26, 2012, 09:17:38 am »
thatgammon you are the best...now i can have only one list  :applaud:ù




PaTrYcK

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 150
  • Last login:May 02, 2020, 05:22:19 am
Re: GameLists: Multiple emuls in same list work-around solution
« Reply #256 on: March 26, 2012, 10:29:21 am »
I'm here...for new question!

I want add game emulated in epsxe.exe emulator, only one game, Tekken3 because in mame is unplayable!

For play it i click on tekken3.bat, the problem is that this file is bat file, not zip file...

This is the screen of tekken3 folder:



In tekken.bat file the info for start the game there are:
ePSXe.exe -loadbin tekken.iso -nogui -noaudiocd

i try to modify the mame.cmd with:
"if %1 == tekken3 goto tekken3"
but i don't know how set :tekken3 for bat file, infact tekken3 game not appear in the game list!

How i can configure it for accept roms with bat extension?
Thanks!

« Last Edit: March 26, 2012, 11:07:31 am by PaTrYcK »

thatgammon

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 108
  • Last login:July 03, 2020, 05:25:03 am
Re: GameLists: Multiple emuls in same list work-around solution
« Reply #257 on: March 26, 2012, 11:47:47 am »
put the contents of the batch file in the cmd :

:tekken
the batch file
exit

PaTrYcK

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 150
  • Last login:May 02, 2020, 05:22:19 am
Re: GameLists: Multiple emuls in same list work-around solution
« Reply #258 on: March 26, 2012, 11:58:06 am »
Now in the mame.cmd i have:

if "%2" == "D:\Emulatori\Other_emu\m2emulator\roms" goto m2
if %1 == tekken3 goto tekken3


mame32.exe %1
exit

:m2
cd..
cd Other_emu\m2emulator
closemul emulator.exe zip %1 rar
exit

:tekken3
ePSXe.exe -loadbin tekken.iso -nogui -noaudiocd
exit

but the problem is that mala not show tekken3 in gamelist, accept only zip?
« Last Edit: March 26, 2012, 12:00:23 pm by PaTrYcK »

thatgammon

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 108
  • Last login:July 03, 2020, 05:25:03 am
Re: GameLists: Multiple emuls in same list work-around solution
« Reply #259 on: March 26, 2012, 12:06:35 pm »
rename tekken.iso to tekken3.iso
copy it and put in mame rom folder


change cmd to

....-loadbin tekken3.iso -nogui etc etc


remember to refresh!

PaTrYcK

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 150
  • Last login:May 02, 2020, 05:22:19 am
Re: GameLists: Multiple emuls in same list work-around solution
« Reply #260 on: March 26, 2012, 12:09:45 pm »
why put it in mame folder?


PaTrYcK

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 150
  • Last login:May 02, 2020, 05:22:19 am
Re: GameLists: Multiple emuls in same list work-around solution
« Reply #261 on: March 26, 2012, 12:16:57 pm »
rename tekken.iso to tekken3.iso
copy it and put in mame rom folder


change cmd to

....-loadbin tekken3.iso -nogui etc etc


remember to refresh!

i do it but not see tekken3 in the list :(

thatgammon

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 108
  • Last login:July 03, 2020, 05:25:03 am
Re: GameLists: Multiple emuls in same list work-around solution
« Reply #262 on: March 26, 2012, 12:52:20 pm »
ok scrub that....

create a dummy rom (zip file) could be anything but called tekken3.zip (it will only be used for the gameslist)
put in in your epsxe folder, delete the mame one.

refresh list should be in there.

if%1=tekken3 goto tekken (the dummy zip)


:tekken
run the iso



PaTrYcK

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 150
  • Last login:May 02, 2020, 05:22:19 am
Re: GameLists: Multiple emuls in same list work-around solution
« Reply #263 on: March 26, 2012, 02:27:22 pm »
Hi, now i see  tekken3 in the gamelist, but not start... i try different way, last cmd is :

if "%2" == "D:\Emulatori\Other_emu\m2emulator\roms" goto m2
if %1 == tekken3 goto tekken3

mame32.exe %1
exit

:m2
cd..
cd Other_emu\m2emulator
closemul emulator.exe zip %1 rar
exit

:tekken3
run tekken3.iso

 :banghead:

thatgammon

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 108
  • Last login:July 03, 2020, 05:25:03 am
Re: GameLists: Multiple emuls in same list work-around solution
« Reply #264 on: March 26, 2012, 02:39:42 pm »
no i meant :

if "%2" == "D:\Emulatori\Other_emu\m2emulator\roms" goto m2
if %1 == tekken3 goto tekken3

mame32.exe %1
exit

:m2
cd..
cd Other_emu\m2emulator
closemul emulator.exe zip %1 rar
exit

:tekken3
ePSXe.exe -loadbin tekken.iso -nogui -noaudiocd
exit


remember refresh

thatgammon

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 108
  • Last login:July 03, 2020, 05:25:03 am
Re: GameLists: Multiple emuls in same list work-around solution
« Reply #265 on: March 26, 2012, 02:41:03 pm »
might have to change directories in there as well
cd..
cd other_emus\epsxe

PaTrYcK

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 150
  • Last login:May 02, 2020, 05:22:19 am
Re: GameLists: Multiple emuls in same list work-around solution
« Reply #266 on: March 26, 2012, 02:46:59 pm »
Now is:



if "%2" == "D:\Emulatori\Other_emu\m2emulator\roms" goto m2
if %1 == tekken3 goto tekken3

mame32.exe %1
exit

:m2
cd..
cd Other_emu\m2emulator
closemul emulator.exe zip %1 rar
exit

:tekken3
cd..
cd other_emus\Tekken3
ePSXe.exe -loadbin tekken.iso -nogui -noaudiocd
exit


but not start :(

thatgammon

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 108
  • Last login:July 03, 2020, 05:25:03 am
Re: GameLists: Multiple emuls in same list work-around solution
« Reply #267 on: March 26, 2012, 02:49:43 pm »
:tekken3
cd..
cd other_emus\Tekken3                                                     cd other_emu\                     change that
ePSXe.exe -loadbin tekken.iso -nogui -noaudiocd
exit

thatgammon

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 108
  • Last login:July 03, 2020, 05:25:03 am
Re: GameLists: Multiple emuls in same list work-around solution
« Reply #268 on: March 26, 2012, 02:51:32 pm »
i just mean take the s out!

PaTrYcK

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 150
  • Last login:May 02, 2020, 05:22:19 am
Re: GameLists: Multiple emuls in same list work-around solution
« Reply #269 on: March 26, 2012, 03:31:42 pm »
"s" is out, but i change the name tekken3 to tekken 3 because in gamelist appear as tekken 3!

now seems to start, but :


thatgammon

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 108
  • Last login:July 03, 2020, 05:25:03 am
Re: GameLists: Multiple emuls in same list work-around solution
« Reply #270 on: March 26, 2012, 03:41:31 pm »
no change it back to tekken3!

ok where were we?

can you post a screenshot of your epsxe folder?
change this then post a screenshot please?

if "%2" == "D:\Emulatori\Other_emu\m2emulator\roms" goto m2
if %1 == tekken3 goto tekken3

mame32.exe %1
exit

:m2
cd..
cd Other_emu\m2emulator
closemul emulator.exe zip %1 rar
exit

:tekken3
cd..
cd other_emus\Tekken3
dir
pause
exit

PaTrYcK

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 150
  • Last login:May 02, 2020, 05:22:19 am
Re: GameLists: Multiple emuls in same list work-around solution
« Reply #271 on: March 26, 2012, 03:58:34 pm »
Screen of epsxe folder:



mame.cmd now is:

if "%2" == "D:\Emulatori\Other_emu\m2emulator\roms" goto m2
if %1 == tekken3 goto tekken3

mame32.exe %1
exit

:m2
cd..
cd Other_emu\m2emulator
closemul emulator.exe zip %1 rar
exit

:tekken3
cd..
cd other_emus\Tekken3
dir
pause
exit

screenshot:


thatgammon

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 108
  • Last login:July 03, 2020, 05:25:03 am
Re: GameLists: Multiple emuls in same list work-around solution
« Reply #272 on: March 26, 2012, 04:07:55 pm »
ok thank you.

sorry i put that spelling mistake in again (take out the S)
also why is the directory called tekken3 where it is epsxe?

change to cd other_emu\epsxe

and screenshot again

(we nearly there)

PaTrYcK

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 150
  • Last login:May 02, 2020, 05:22:19 am
Re: GameLists: Multiple emuls in same list work-around solution
« Reply #273 on: March 26, 2012, 04:17:02 pm »
Now i have:

if "%2" == "D:\Emulatori\Other_emu\m2emulator\roms" goto m2
if %1 == tekken3 goto tekken3

mame32.exe %1
exit

:m2
cd..
cd Other_emu\m2emulator
closemul emulator.exe zip %1 rar
exit

:tekken3
cd..
cd other_emu\ePSXe
dir
pause
exit


screenshot:


thatgammon

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 108
  • Last login:July 03, 2020, 05:25:03 am
Re: GameLists: Multiple emuls in same list work-around solution
« Reply #274 on: March 26, 2012, 04:19:30 pm »
perfect!
change this bit....


:tekken3
cd..
cd other_emu\ePSXe
ePSXe.exe -loadbin tekken.iso -nogui -noaudiocd
exit


refresh and fingers crossed

PaTrYcK

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 150
  • Last login:May 02, 2020, 05:22:19 am
Re: GameLists: Multiple emuls in same list work-around solution
« Reply #275 on: March 26, 2012, 04:31:16 pm »
ePSXe.exe -loadbin tekken.iso -nogui -noaudiocd

i modify it with:
ePSXe.exe -loadbin tekken3.iso -nogui -noaudiocd

and...





 :cheers: :cheers: :cheers:

thatgammon

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 108
  • Last login:July 03, 2020, 05:25:03 am
Re: GameLists: Multiple emuls in same list work-around solution
« Reply #276 on: March 26, 2012, 04:33:01 pm »
yeah my bad!!!

 :cheers:

enjoy!

PaTrYcK

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 150
  • Last login:May 02, 2020, 05:22:19 am
Re: GameLists: Multiple emuls in same list work-around solution
« Reply #277 on: March 26, 2012, 04:38:14 pm »
Thanks thatgammon, tomorrow i try to set last emulator...daphne ;)

thatgammon

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 108
  • Last login:July 03, 2020, 05:25:03 am
Re: GameLists: Multiple emuls in same list work-around solution
« Reply #278 on: March 26, 2012, 04:45:31 pm »
haha your pushing it now!!!!!


where did you get that one???? I couldnt find it.


PaTrYcK

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 150
  • Last login:May 02, 2020, 05:22:19 am
Re: GameLists: Multiple emuls in same list work-around solution
« Reply #279 on: March 26, 2012, 04:50:15 pm »
haha your pushing it now!!!!!


where did you get that one???? I couldnt find it.
What are you looking for?

thatgammon

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 108
  • Last login:July 03, 2020, 05:25:03 am
Re: GameLists: Multiple emuls in same list work-around solution
« Reply #280 on: March 26, 2012, 04:51:48 pm »
daphne, i couldnt work it all out...

PaTrYcK

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 150
  • Last login:May 02, 2020, 05:22:19 am
Re: GameLists: Multiple emuls in same list work-around solution
« Reply #281 on: March 26, 2012, 04:54:09 pm »
sorry but my english not is good :)
you ask me where i have take daphne?

thatgammon

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 108
  • Last login:July 03, 2020, 05:25:03 am
Re: GameLists: Multiple emuls in same list work-around solution
« Reply #282 on: March 26, 2012, 05:13:19 pm »
i found the website..

but coudn't figure it out..

Tomorrow!

PaTrYcK

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 150
  • Last login:May 02, 2020, 05:22:19 am
Re: GameLists: Multiple emuls in same list work-around solution
« Reply #283 on: March 26, 2012, 05:15:02 pm »
Oh yes...thanks!!!

PaTrYcK

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 150
  • Last login:May 02, 2020, 05:22:19 am
Re: GameLists: Multiple emuls in same list work-around solution
« Reply #284 on: March 27, 2012, 04:38:22 am »
Daphne!
For this emulator i read http://forum.arcadecontrols.com/index.php?topic=68419.msg697032#msg697032

if "%2" == "C:\emulators\other_emus\daphne" goto daphne

:daphne
SET DAPHNE=C:\emulators\Daphne\daphne.exe
cd ..\daphne
if "%1" == "lair" start/wait %daphne% dle20 vldp -framefile C:\emulators\Daphne\vldp_dl\lair\lair.txt -fullscreen -blank_skips -blank_searches -preset 1
exit

I see in to mame.xml that space ace exist and i created zip file spaceace.zip, refresh and now space ace is in game list.
To start this emulator is needed bat file, example to start game space ace i click on file ace.bat with this data:

@echo off
D:\Emulatori\Other_emu\Daphne\Daphne.exe ace vldp -framefile "D:\Emulatori\Other_emu\Daphne\vldp\ace\ace.txt" -fullscreen -nohwaccel


mame.cmd:

if "%2" == "D:\Emulatori\Other_emu\daphne\roms" goto daphne

mame32.exe %1
exit

:daphne
SET DAPHNE=C:\emulators\Daphne\daphne.exe
cd..
cd Other_emu\daphne
daphne.exe ace vldp -framefile "D:\Emulatori\Other_emu\Daphne\vldp\ace\ace.txt" -fullscreen -nohwaccel




« Last Edit: March 27, 2012, 06:25:19 am by PaTrYcK »

thatgammon

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 108
  • Last login:July 03, 2020, 05:25:03 am
Re: GameLists: Multiple emuls in same list work-around solution
« Reply #285 on: March 27, 2012, 06:19:35 am »
ok first thing is I have daphne but no roms yet...

What is the smallest in size rom (I'm running out of net usage!)


just by looking at your code..


:daphne
SET DAPHNE=C:\emulators\other_emu\Daphne\daphne.exe
cd..
cd Other_emu\daphne
daphne.exe ace vldp -framefile "C:\Emulatori\Other_emu\Daphne\vldp\ace\ace.txt" -fullscreen -nohwaccel
exit


try that also you have emulators and emulatori in there??? c: & d:   choose one of each

PaTrYcK

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 150
  • Last login:May 02, 2020, 05:22:19 am
Re: GameLists: Multiple emuls in same list work-around solution
« Reply #286 on: March 27, 2012, 06:34:27 am »
ok first thing is I have daphne but no roms yet...
MP

:daphne
SET DAPHNE=C:\emulators\other_emu\Daphne\daphne.exe
cd..
cd Other_emu\daphne
daphne.exe ace vldp -framefile "C:\Emulatori\Other_emu\Daphne\vldp\ace\ace.txt" -fullscreen -nohwaccel
exit

try that also you have emulators and emulatori in there??? c: & d:   choose one of each

yes, right, the correct dir is:

:daphne
cd..
daphne.exe ace vldp -framefile "D:\Emulatori\Other_emu\Daphne\vldp\ace\ace.txt" -fullscreen -nohwaccel


is possible run it with rom path if "%1" == "ace" ?
« Last Edit: March 27, 2012, 06:37:25 am by PaTrYcK »

thatgammon

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 108
  • Last login:July 03, 2020, 05:25:03 am
Re: GameLists: Multiple emuls in same list work-around solution
« Reply #287 on: March 27, 2012, 06:51:11 am »
yeah I would say


:daphne
cd..
if %1 == ace daphne.exe ace vldp -framefile "D:\Emulatori\Other_emu\Daphne\vldp\ace\ace.txt" -fullscreen -nohwaccelif
if %1 == dlair etc etc

can you tell me the smallest size daphne rom and I'll try this method...

PaTrYcK

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 150
  • Last login:May 02, 2020, 05:22:19 am
Re: GameLists: Multiple emuls in same list work-around solution
« Reply #288 on: March 27, 2012, 06:57:58 am »
small size?
mmm there are alwais 700/800 mb...

you have read pm that i send to you?

thatgammon

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 108
  • Last login:July 03, 2020, 05:25:03 am
Re: GameLists: Multiple emuls in same list work-around solution
« Reply #289 on: March 27, 2012, 07:02:25 am »
ah thats what MP meant. You meant PM!!

Yeah thank you. I will have to wait until 1st April as I have no internet usage left..


So is working now for you?

PaTrYcK

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 150
  • Last login:May 02, 2020, 05:22:19 am
Re: GameLists: Multiple emuls in same list work-around solution
« Reply #290 on: March 27, 2012, 07:07:44 am »
In italian is "messaggio personale"= MP :D

So is working now for you?
What it means?


thatgammon

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 108
  • Last login:July 03, 2020, 05:25:03 am
Re: GameLists: Multiple emuls in same list work-around solution
« Reply #291 on: March 27, 2012, 07:10:38 am »
oh ok!!!  :lol


So daphne is now working ok?

PaTrYcK

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 150
  • Last login:May 02, 2020, 05:22:19 am
Re: GameLists: Multiple emuls in same list work-around solution
« Reply #292 on: March 27, 2012, 07:19:43 am »
Work perfectly!


thatgammon

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 108
  • Last login:July 03, 2020, 05:25:03 am
Re: GameLists: Multiple emuls in same list work-around solution
« Reply #293 on: March 27, 2012, 07:26:29 am »
ok thanks for that mp...

I will get some roms 1st April and follow your code...


Nice talking to you man.

Glad to have helped...

 :cheers: :cheers: :cheers:
peace.

PaTrYcK

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 150
  • Last login:May 02, 2020, 05:22:19 am
Re: GameLists: Multiple emuls in same list work-around solution
« Reply #294 on: March 27, 2012, 07:31:28 am »
Thanks to you...see you soon!

SGT

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1145
  • Last login:April 17, 2023, 08:29:42 pm
Re: GameLists: Multiple emuls in same list work-around solution
« Reply #295 on: March 28, 2012, 10:18:36 pm »
ok thanks for that mp...

I will get some roms 1st April and follow your code...


Nice talking to you man.

Glad to have helped...


peace.
 
Excellent job thatgammon!   :applaud:

thatgammon

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 108
  • Last login:July 03, 2020, 05:25:03 am
Re: GameLists: Multiple emuls in same list work-around solution
« Reply #296 on: March 29, 2012, 03:04:29 am »
Why thank you sir! :)

PaTrYcK

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 150
  • Last login:May 02, 2020, 05:22:19 am
Re: GameLists: Multiple emuls in same list work-around solution
« Reply #297 on: March 29, 2012, 03:15:52 pm »
Excellent job thatgammon!   :applaud:
Yes, great thatgammon, i wait you for daphne ;)

mooseman1

  • Trade Count: (0)
  • Jr. Member
  • **
  • Offline Offline
  • Posts: 9
  • Last login:March 10, 2013, 05:46:01 pm
  • I want to build my own arcade controls!
Re: GameLists: Multiple emuls in same list work-around solution
« Reply #298 on: August 19, 2012, 05:25:13 pm »
Ok, I have this sorted for one game so far just to test, I got House of the Dead running on the M2 emulator.

The only problem is, when I select the game, the emulator appears, then the cmd window, then they both disappear. If I alt-tab to the emulator it's frozen - I have to close the cmd window for it to load properly, then the game loads fine. Any ideas what's happening?

mooseman1

  • Trade Count: (0)
  • Jr. Member
  • **
  • Offline Offline
  • Posts: 9
  • Last login:March 10, 2013, 05:46:01 pm
  • I want to build my own arcade controls!
Re: GameLists: Multiple emuls in same list work-around solution
« Reply #299 on: August 21, 2012, 01:20:46 pm »
Ok, I have Supermodel working fine with this method, but the M2 emulator still has the problem with the .cmd file hanging until I close it.

BadMouth

  • Trade Count: (+6)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 9226
  • Last login:March 17, 2024, 08:21:52 pm
  • ...
Re: GameLists: Multiple emuls in same list work-around solution
« Reply #300 on: August 23, 2012, 01:50:22 pm »
Ok, I have this sorted for one game so far just to test, I got House of the Dead running on the M2 emulator.

The only problem is, when I select the game, the emulator appears, then the cmd window, then they both disappear. If I alt-tab to the emulator it's frozen - I have to close the cmd window for it to load properly, then the game loads fine. Any ideas what's happening?

Post a copy of your cmd file.

mooseman1

  • Trade Count: (0)
  • Jr. Member
  • **
  • Offline Offline
  • Posts: 9
  • Last login:March 10, 2013, 05:46:01 pm
  • I want to build my own arcade controls!
Re: GameLists: Multiple emuls in same list work-around solution
« Reply #301 on: August 23, 2012, 04:57:06 pm »
Code: [Select]
if "%2" == "C:\Games\Arcade\emulators\m2\roms" goto m2
if "%2" == "C:\Games\Arcade\emulators\Supermodel\roms" goto supermodel

mame.exe %1
exit

:m2
cd "..\m2"
closemul.exe emulator_multicpu.exe %1
exit

:supermodel
cd "..\Supermodel"
supermodel %1.zip
exit

I want to keep all the roms in their emulator folders, so Mala is at C:\Games\Arcade, and in that folder there's an \emulators folder.

BadMouth

  • Trade Count: (+6)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 9226
  • Last login:March 17, 2024, 08:21:52 pm
  • ...
Re: GameLists: Multiple emuls in same list work-around solution
« Reply #302 on: August 24, 2012, 10:16:02 am »
Here is what I have for Model 2

closemul.exe emulator_multicpu.exe zip %1

I also wanted to keep the roms in their emulator folder, but needed more than 3 paths., so here is what I did:
Made an other_emus folder/subfolders and had Mala search subfolders per SGT's instructions in this thread.
Made up a dummy text file in notepad and zipped it.
Repeatedly copied and renamed that dummy zip file with the same name as the roms and put them in the appropriate other_emus folder.
The zip files in the other_emus folder aren't used for anything other than giving the batch file a way to sort things.
The emulators still have their original paths set and use the rom folder located in the same folder as the exe.


« Last Edit: August 24, 2012, 10:38:55 am by BadMouth »

mooseman1

  • Trade Count: (0)
  • Jr. Member
  • **
  • Offline Offline
  • Posts: 9
  • Last login:March 10, 2013, 05:46:01 pm
  • I want to build my own arcade controls!
Re: GameLists: Multiple emuls in same list work-around solution
« Reply #303 on: August 27, 2012, 01:19:59 pm »
What's the purpose of the zip part? If it's for the rom extension, shouldn't it be after the %1? Anyway, I tried it with and without the zip, still does the same thing though.

EDIT 1: I think I figured it out, I removed the script for HOTD that runs the borderless program, that makes it run normally. Now to just figure out how to get them both working together.

EDIT 2: God this never ends. Removing the scripts made it run normally, now my batch file looks like this for anyone who might be interested:

Code: [Select]
:m2
cd "..\m2"
start RamjetM2Borderless.exe
closemul.exe emulator_multicpu.exe %1
exit

But now I have another problem - all the games run fine apart from Behind Enemy Lines (bel.zip) which doesn't seem to like closemul. I tried running it from the command line but the emulator just opens and sits there. Removing closemul lets it run fine, but then of course I can't close the emulator with escape.
« Last Edit: August 27, 2012, 04:32:50 pm by mooseman1 »

mitsurugi

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 49
  • Last login:April 10, 2020, 01:46:41 pm
  • I want to build my own arcade controls!
Re: GameLists: Multiple emuls in same list work-around solution
« Reply #304 on: March 16, 2013, 11:48:22 am »
Hello. I'm trying to launch 2 makaron games.
I have 2 mame roms directories and another rom directory for other games.
When i try to add mame.chd, mala said: mala set not set or found.
My mame.chd:

if "%3" == "D:\ROMS\Dummies roms\Ikaruga" goto ikaruga
if "%3" == "D:\ROMS\Dummies roms\vs2_2k" goto vs2_2k

groovymame.exe %1 %2
exit

:ikaruga
cd ..\ikarugaemulator
closemul.exe
exit

:vs2_2k
cd ..\VirtuaStriker2emulator
closemul.exe
exit

Where could be the problem?
thanks.

BadMouth

  • Trade Count: (+6)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 9226
  • Last login:March 17, 2024, 08:21:52 pm
  • ...
Re: GameLists: Multiple emuls in same list work-around solution
« Reply #305 on: March 16, 2013, 02:15:30 pm »
Hello. I'm trying to launch 2 makaron games.
I have 2 mame roms directories and another rom directory for other games.
When i try to add mame.chd, mala said: mala set not set or found.
My mame.chd:

if "%3" == "D:\ROMS\Dummies roms\Ikaruga" goto ikaruga
if "%3" == "D:\ROMS\Dummies roms\vs2_2k" goto vs2_2k

groovymame.exe %1 %2
exit

:ikaruga
cd ..\ikarugaemulator
closemul.exe
exit

:vs2_2k
cd ..\VirtuaStriker2emulator
closemul.exe
exit

Where could be the problem?
thanks.

Do you mean mame.cmd (not mame.chd)?
Do the games show up in your gamelist?

mitsurugi

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 49
  • Last login:April 10, 2020, 01:46:41 pm
  • I want to build my own arcade controls!
Re: GameLists: Multiple emuls in same list work-around solution
« Reply #306 on: March 16, 2013, 03:27:23 pm »
Thanks. The problem was in *.chd. I have put mame.cmd and no error appears, but when i try to launch ikaruga or vs2_2k mala does nothing...

BadMouth

  • Trade Count: (+6)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 9226
  • Last login:March 17, 2024, 08:21:52 pm
  • ...
Re: GameLists: Multiple emuls in same list work-around solution
« Reply #307 on: March 17, 2013, 05:35:16 pm »
Thanks. The problem was in *.chd. I have put mame.cmd and no error appears, but when i try to launch ikaruga or vs2_2k mala does nothing...

After Mala launches mame.cmd, Mala's job is done.

I don't see anything in your mame.cmd that would launch makaron.
You direct it to the folder and launch closemul, but I don't see where you have the command line to launch makaron.
I have two different sections for Makaron because some of my roms are in zip files and some of them are in the dat format that the author used in earlier versions.

Code: [Select]
:Makaron

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

:Makaron2

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

Before doing any of this you should be able to launch a game from the command prompt or via a batch file.
Then you'll understand what Mala, or in this case mame.cmd needs to send in order to launch the game.



mitsurugi

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 49
  • Last login:April 10, 2020, 01:46:41 pm
  • I want to build my own arcade controls!
Re: GameLists: Multiple emuls in same list work-around solution
« Reply #308 on: March 23, 2013, 10:04:13 am »
Thank you very much for your help. I think there are a error in mame.cmd, because makaron never runs.
I have configured mala in other emus for launch makaron and works fine. Exe launcher: closemul.exe and command line: "%path%\%rom%.%ext%"
in closemul config i have enter naomi.exe as executable.
When i try to launch virtua striker 2 (vs2_2k) in mame gamelist, makaron never runs.
I have try with:
:vs2_2k
cd ..\VirtuaStriker2emulator
closemul.exe NAOMI.exe %1.zip
exit

and with:
:vs2_2k
cd ..\VirtuaStriker2emulator
closemul.exe "%path%\%rom%.%ext%"
exit

and with:
:vs2_2k
cd ..\VirtuaStriker2emulator
closemul.exe NAOMI.exe %1.zip
exit

But nevers works. The other mame roms works fine.
My mame romset normal folder is: 1, makaron roms are in folder 2, and mame chd folder are in 3. I think i must use %2 in mame.cmd for makaron roms (ikaruga and vs2_2k).
What could be the error?
Thanks.

BadMouth

  • Trade Count: (+6)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 9226
  • Last login:March 17, 2024, 08:21:52 pm
  • ...
Re: GameLists: Multiple emuls in same list work-around solution
« Reply #309 on: March 25, 2013, 12:27:24 pm »
try specifying the full path instead of having cd ..\
If you're going to have a different section for each game, use the rom name instead of %1

Also make sure you've removed the rom from your MAME romset.

%1 is the rom name, has nothing to do with what folder it's in.

Can you launch the Makaron game via command line?
What is the exact command line you're using to do that?

mitsurugi

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 49
  • Last login:April 10, 2020, 01:46:41 pm
  • I want to build my own arcade controls!
Re: GameLists: Multiple emuls in same list work-around solution
« Reply #310 on: April 04, 2013, 06:22:10 pm »
With windows console (cmd) i have enter in: D:\ROMS\Dummies roms\vs2_2k and then put.-
cd ..\VirtuaStriker2emulator
closemul.exe "D:\ROMS\Dummies roms\vs2_2k\vs2_2k.zip"

and makaron works fine.

But when I try it in mala, nothing happens. I'm sure the error is in the first line, mala don't enter in ::vs2_2k
mame.cmd.-

if "%2%" == "vs2_2k" goto vs2_2k

groovymame.exe %1 %3

exit

:vs2_2k
cd ..\VirtuaStriker2emulator
closemul.exe "D:\ROMS\Dummies roms\vs2_2k\vs2_2k.zip"
exit

Javy3

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 24
  • Last login:June 17, 2013, 09:54:24 am
Re: GameLists: Multiple emuls in same list work-around solution
« Reply #311 on: April 05, 2013, 03:10:12 pm »
nice

cavepainter

  • Trade Count: (0)
  • Jr. Member
  • **
  • Offline Offline
  • Posts: 9
  • Last login:March 04, 2017, 08:40:19 pm
Re: GameLists: Multiple emuls in same list work-around solution
« Reply #312 on: June 06, 2013, 03:08:50 pm »
I'm trying to get in on this now myself and running into a problem.

I can't seem to be able to get mala to pass %2 to mame.cmd. Is anybody willing to throw some ideas in my general direction?

Here's my mala log of my attempt to run Dragon's Lair via the dle21 rom, which is location in my Daphne\roms folder:

2013/06/06  13:50:01.07   Info: CtrlStartGame: MAME: FMameCommandline (config) = %rom% %path%
2013/06/06  13:50:01.08   Debug **: CtrlStartGame: MAME Command Line replaced %path% = %rom%
2013/06/06  13:50:01.08   Debug **: CtrlStartGame: MAME Command Line replaced %rom% = dle21
2013/06/06  13:50:01.09   Debug **: CtrlStartGame: MAME Command Line replaced %parent% = dle21
2013/06/06  13:50:01.09   Debug **: CtrlStartGame: MAME Command Line replaced %ext% = dle21
2013/06/06  13:50:01.09   Info: CtrlStartGame: MAME: Converted Commandline = mame.cmd dle21
2013/06/06  13:50:01.09   Info: Saving game list: D:\Games\mala\1983.mlg
2013/06/06  13:50:01.10   Debug **: Sound Trigger (if set) SOUND_STARTGAME(or Muzac) ---------------------------------------------------
2013/06/06  13:50:01.10   Info: Starte: Dir = D:\Games\mame\
2013/06/06  13:50:01.11   Info: Starte: Command Line = mame.cmd dle21
2013/06/06  13:50:01.11   Info: Starte: Current Memory used: 42,440 K
2013/06/06  13:50:01.11   Info: Starte: Cancel any Display & Video Delay due to game start
2013/06/06  13:50:01.11   Debug **: Starte: Video windows Disabled as Game is about to be launched
2013/06/06  13:50:01.12   Info: Starte: Set dir: D:\Games\mame\
2013/06/06  13:50:01.12   Info: Starte: Starting: dle21
2013/06/06  13:50:01.12   Info: Starte: Create process: mame.cmd dle21
2013/06/06  13:50:01.18   Info: Starte: Ending Game:  >>>>>>>>>>>>>>>>> Quit:

cavepainter

  • Trade Count: (0)
  • Jr. Member
  • **
  • Offline Offline
  • Posts: 9
  • Last login:March 04, 2017, 08:40:19 pm
Re: GameLists: Multiple emuls in same list work-around solution
« Reply #313 on: June 06, 2013, 03:45:26 pm »
Re: my own issue of mala not passing along the path....

I've made a little bit of progress. In the mala gamelist editor I added the path to the rom listing. I thought mala was supposed to find this automatically somehow, but apparently it isn't doing it. As it is now, I'll have to add the paths by hand for every game that I want to run with an emulator other than mame.

Clearly you guys aren't doing this. Any idea why mala would not be finding the rom path automatically? I have 3 rom paths set up in the options and search subfolders enabled.   :dunno

BadMouth

  • Trade Count: (+6)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 9226
  • Last login:March 17, 2024, 08:21:52 pm
  • ...
Re: GameLists: Multiple emuls in same list work-around solution
« Reply #314 on: June 07, 2013, 03:00:35 pm »
Re: my own issue of mala not passing along the path....

I've made a little bit of progress. In the mala gamelist editor I added the path to the rom listing. I thought mala was supposed to find this automatically somehow, but apparently it isn't doing it. As it is now, I'll have to add the paths by hand for every game that I want to run with an emulator other than mame.

Clearly you guys aren't doing this. Any idea why mala would not be finding the rom path automatically? I have 3 rom paths set up in the options and search subfolders enabled.   :dunno

I had the same problem.  It's buried somewhere in this thread, but even digging back through the thread knowing it's there, I can't find it. 
One of the options needs to be unchecked in the advance features where you set the rom path.  I think maybe it was "only working games" even though I had changed them to working in the xml and they show up in the list.  Try that, refresh, then check the paths again.

sega_mad

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 284
  • Last login:July 09, 2015, 04:03:08 am
Re: GameLists: Multiple emuls in same list work-around solution
« Reply #315 on: October 31, 2014, 09:20:55 pm »
Hi,

Hoping someone can help??

I have multiple versions of MAME, plus models 2 and supermodel running, now I'm trying to setting up outrun coast 2 coast

In Mala, I pointed the game list to "C:\emulators\other_emus\pc_games"

My MAME cmd file is......

if "%2" == "C:\emulators\other_emus\pc_games" goto pc_games

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

I created a dummy ROM inside the pc_games folder

Note: I can run this from the command line....so not sure what I'm doing wrong??

Thanks in advance

Sega_Mad






« Last Edit: November 06, 2014, 12:42:06 pm by sega_mad »

sega_mad

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 284
  • Last login:July 09, 2015, 04:03:08 am
Re: GameLists: Multiple emuls in same list work-around solution
« Reply #316 on: November 06, 2014, 01:22:53 pm »
Solved  ;D ;D

Just ran a AHK script (copied my model 2 script, and modified)....here it is.

setworkingdir, C:\emulators\pc_games
run OR2006C2C %1%


WinWaitActive, Model
WinWaitNotActive, Model
sleep 500

esc::
soundget, volume ;stores the current level of the master volume in a variable called "volume"
soundset, 0 ;sets the master volume to 0, aka mute
send !{F4}
sleep 500 ;this can be adjusted as necessary
soundset, %volume% ;sets the master level to it's level before we muted it
exitapp ;exits the script

Happy happy happy  :)

BorgDog

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 436
  • Last login:August 22, 2021, 02:22:52 pm
  • Not a hipster for over 50 years!
Re: GameLists: Multiple emuls in same list work-around solution
« Reply #317 on: November 27, 2014, 10:06:45 pm »
First of all thanks SGT for the awesome write up for the work around.

I have a fairly limited list of mame games I run from my youth at the arcade in late 70s and very early 80's.  After running across this thread I decided to add in the main NES games from my daughters growing up years.. ie Super Mario Brothers.  Anyway, I have them showing up in MaLa and using this tutorial they all run just fine.

Now for the issue.  I am just starting building a bartop that will have a rotate-able monitor.  Mala is set to follow the Mame rotation and seems to work fine for that  The issue is that if I have run a vertical oriented game and put the monitor in vertical mode then the next one I run is one of the Super Mario Bros which correctly plays horizontally when i exit and go back to Mala it goes back to the vertical mode it was just in.  I am using MESS to run the NES games.  Hopefully that makes sense.

Any way to get MaLa to rotate to the direction of the MESS games that are really in the MAME list? Or is there an easier way to get this to work?  Basically just looking for 1 list for all games and have all games play the correct direction and then MaLa follow that direction afterward.  It is a manually rotated monitor so there is no other code going on to do that.

Thanks,
Dan
My Projects:
MisSpent Youth a Vigolix bartop,  Little Bastard a rotating tablet/display bartop,
Pin-Dog a mini pin-cab on vpforums.org  Star Wars a wedgehead pincab on vpinball.com

BadMouth

  • Trade Count: (+6)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 9226
  • Last login:March 17, 2024, 08:21:52 pm
  • ...
Re: GameLists: Multiple emuls in same list work-around solution
« Reply #318 on: December 01, 2014, 11:22:23 am »
First of all thanks SGT for the awesome write up for the work around.

I have a fairly limited list of mame games I run from my youth at the arcade in late 70s and very early 80's.  After running across this thread I decided to add in the main NES games from my daughters growing up years.. ie Super Mario Brothers.  Anyway, I have them showing up in MaLa and using this tutorial they all run just fine.

Now for the issue.  I am just starting building a bartop that will have a rotate-able monitor.  Mala is set to follow the Mame rotation and seems to work fine for that  The issue is that if I have run a vertical oriented game and put the monitor in vertical mode then the next one I run is one of the Super Mario Bros which correctly plays horizontally when i exit and go back to Mala it goes back to the vertical mode it was just in.  I am using MESS to run the NES games.  Hopefully that makes sense.

Any way to get MaLa to rotate to the direction of the MESS games that are really in the MAME list? Or is there an easier way to get this to work?  Basically just looking for 1 list for all games and have all games play the correct direction and then MaLa follow that direction afterward.  It is a manually rotated monitor so there is no other code going on to do that.

Thanks,
Dan

Do you have the NES games flagged as horizontal in mame.xml ?

This should work.  I have an automatically rotating monitor with a half dozen emulators launched using SGT's workaround.
As long as the xml is correct, Mala should rotate.

Keep in mind that the rotation info Mala uses on the fly is stored in the mala gamelist.
If just using the all games list, you'll have to refresh the main gamelist to get the changes to take effect.
If using a gamelist other than the all games list, refreshing doesn't work.  You'll have to delete the game from the list, refresh the all games list, then add it back to the smaller list.


BorgDog

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 436
  • Last login:August 22, 2021, 02:22:52 pm
  • Not a hipster for over 50 years!
Re: GameLists: Multiple emuls in same list work-around solution
« Reply #319 on: December 01, 2014, 12:51:20 pm »

Do you have the NES games flagged as horizontal in mame.xml ?

This should work.  I have an automatically rotating monitor with a half dozen emulators launched using SGT's workaround.
As long as the xml is correct, Mala should rotate.

Keep in mind that the rotation info Mala uses on the fly is stored in the mala gamelist.
If just using the all games list, you'll have to refresh the main gamelist to get the changes to take effect.
If using a gamelist other than the all games list, refreshing doesn't work.  You'll have to delete the game from the list, refresh the all games list, then add it back to the smaller list.

Ah, that would be the problem, I didn't see anything in this posting about orientation (but may have easily missed it) so I will have to figure out how to add that to the mame.xml.  And yes, just using the all games list, so thanks also for the reminder to refresh the list. 

OK, I've done some searching and can't find for sure how to tag the NES games as horizontal.  Is it done with a line like this: <display tag="screen" type="raster" rotate="90"  />

Or is there an easier method?
« Last Edit: December 01, 2014, 02:38:45 pm by BorgDog »
My Projects:
MisSpent Youth a Vigolix bartop,  Little Bastard a rotating tablet/display bartop,
Pin-Dog a mini pin-cab on vpforums.org  Star Wars a wedgehead pincab on vpinball.com

BadMouth

  • Trade Count: (+6)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 9226
  • Last login:March 17, 2024, 08:21:52 pm
  • ...
Re: GameLists: Multiple emuls in same list work-around solution
« Reply #320 on: December 01, 2014, 03:04:37 pm »

Do you have the NES games flagged as horizontal in mame.xml ?

This should work.  I have an automatically rotating monitor with a half dozen emulators launched using SGT's workaround.
As long as the xml is correct, Mala should rotate.

Keep in mind that the rotation info Mala uses on the fly is stored in the mala gamelist.
If just using the all games list, you'll have to refresh the main gamelist to get the changes to take effect.
If using a gamelist other than the all games list, refreshing doesn't work.  You'll have to delete the game from the list, refresh the all games list, then add it back to the smaller list.

Ah, that would be the problem, I didn't see anything in this posting about orientation (but may have easily missed it) so I will have to figure out how to add that to the mame.xml.  And yes, just using the all games list, so thanks also for the reminder to refresh the list. 

OK, I've done some searching and can't find for sure how to tag the NES games as horizontal.  Is it done with a line like this: <display tag="screen" type="raster" rotate="90"  />

Or is there an easier method?

I didn't post an example because I didn't remember it exactly.
It's the rotate="90" part
IIRC, "0" is horizontal, 90 is rotated right, 180 is upside down 270 is rotated left
Look at a horizontal game in MAME as an example.

mala will put up the vertical orientation for either the 90 or the 270.


BorgDog

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 436
  • Last login:August 22, 2021, 02:22:52 pm
  • Not a hipster for over 50 years!
Re: GameLists: Multiple emuls in same list work-around solution
« Reply #321 on: December 01, 2014, 09:31:52 pm »

I didn't post an example because I didn't remember it exactly.
It's the rotate="90" part
IIRC, "0" is horizontal, 90 is rotated right, 180 is upside down 270 is rotated left
Look at a horizontal game in MAME as an example.

mala will put up the vertical orientation for either the 90 or the 270.

That worked great thanks.  I just added in a <display rotate="0"> into the Mario game section, refreshed the main list and everything worked.
My Projects:
MisSpent Youth a Vigolix bartop,  Little Bastard a rotating tablet/display bartop,
Pin-Dog a mini pin-cab on vpforums.org  Star Wars a wedgehead pincab on vpinball.com

Blueic5

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 92
  • Last login:December 16, 2018, 05:31:20 pm
  • I want to build my own arcade controls!
Re: GameLists: Multiple emuls in same list work-around solution
« Reply #322 on: March 13, 2015, 10:00:17 am »
im struggling with this and wanted to check a couple of things before I continue troubleshooting.  Im trying to get mess to work with a .nes file is this even possible I can get it to work from a command line ie mess64.exe nes -cart test.nes  .  Trying to get the mame,cmd to work is driving me mad but it may just be a limitation of mala or I need to tell it some how to use a .nes extension any suggestions? 

Code: [Select]
echo %1 > test.txt
echo %2 >> test.txt

if "%2" == "d:\Emulators\mess\" goto mess

mame.exe %1
exit

:mess
SET MESS=d:\Emulators\mess\mess64.exe
cd ..\Emulators\mess
mess64.exe nes -cart
exit

ive managed to get the game added to mame.xml and showing in the mala game list but I think im missing something obvious

Edit I going to play around again but I assume now I need it to say

mess64.exe nes -cart %1.nes

Is that right?

Oh mame and mess folders are on the same tree level
« Last Edit: March 13, 2015, 06:01:27 pm by Blueic5 »

BorgDog

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 436
  • Last login:August 22, 2021, 02:22:52 pm
  • Not a hipster for over 50 years!
Re: GameLists: Multiple emuls in same list work-around solution
« Reply #323 on: March 13, 2015, 06:15:29 pm »
That looks right as long as you are passing the right %1 and %2

I only wanted to add the Super Mario Bros so just did each direct like:

mess64.exe nes -cart "c:\mess\games\smario.nes" -skip_gameinfo

« Last Edit: March 13, 2015, 06:23:56 pm by BorgDog »
My Projects:
MisSpent Youth a Vigolix bartop,  Little Bastard a rotating tablet/display bartop,
Pin-Dog a mini pin-cab on vpforums.org  Star Wars a wedgehead pincab on vpinball.com

Blueic5

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 92
  • Last login:December 16, 2018, 05:31:20 pm
  • I want to build my own arcade controls!
Re: GameLists: Multiple emuls in same list work-around solution
« Reply #324 on: March 14, 2015, 03:00:29 am »
Do you need the quotes?

Blueic5

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 92
  • Last login:December 16, 2018, 05:31:20 pm
  • I want to build my own arcade controls!
Re: GameLists: Multiple emuls in same list work-around solution
« Reply #325 on: March 14, 2015, 05:40:28 am »
A question will mala only see .Zip files as roms in games list is that why you may need a dummy zip file? Also on some of the examples it shows

emulator.exe zip %1 rar

But I don't get why it has a zip before the rom name and then rar?

BorgDog

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 436
  • Last login:August 22, 2021, 02:22:52 pm
  • Not a hipster for over 50 years!
Re: GameLists: Multiple emuls in same list work-around solution
« Reply #326 on: March 14, 2015, 12:12:01 pm »
Do you need the quotes?

good question, they may be not necessary, but it worked so I left them... let me try it out without them... 

2 minutes later
seems to work fine without them, at least for that case, as long as there are no spaces in folder or file names it should work.  In fact I shortened all my file names just to not have to deal with that, so "Super Mario Bros. (Japan, USA).nes" became smario.nes
« Last Edit: March 14, 2015, 12:29:34 pm by BorgDog »
My Projects:
MisSpent Youth a Vigolix bartop,  Little Bastard a rotating tablet/display bartop,
Pin-Dog a mini pin-cab on vpforums.org  Star Wars a wedgehead pincab on vpinball.com

Blueic5

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 92
  • Last login:December 16, 2018, 05:31:20 pm
  • I want to build my own arcade controls!
Re: GameLists: Multiple emuls in same list work-around solution
« Reply #327 on: March 16, 2015, 05:54:23 am »
Im struggling from what I can see in the test.txt the right rom name and rom path are being sent, but I think its just running mess rome name rather that mess64 nes -cart path\romname.nes

Code: [Select]
echo %1 > test.txt
echo %2 >> test.txt

if "%2" == "d:\Emulators\other_roms\nes\" goto mess

mame.exe %1
exit

:mess
SET MESS=d:\Emulators\mess\mess64.exe
cd ..\Emulators\mess
mess64.exe nes -cart %2\%1.nes
exit

is there a way to stop the dos prompt vanishing so quickly?

BorgDog

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 436
  • Last login:August 22, 2021, 02:22:52 pm
  • Not a hipster for over 50 years!
Re: GameLists: Multiple emuls in same list work-around solution
« Reply #328 on: March 16, 2015, 08:54:12 am »
put a line that contains "pause" without the quotes after your mess64 line, should stop the dos window and let you see what is going on.

Are you sure you are getting to the right directory with the "cd ..\Emulators\mess"?  that would definitely cause issues. what directory are you running the cmd file from.
« Last Edit: March 16, 2015, 08:57:44 am by BorgDog »
My Projects:
MisSpent Youth a Vigolix bartop,  Little Bastard a rotating tablet/display bartop,
Pin-Dog a mini pin-cab on vpforums.org  Star Wars a wedgehead pincab on vpinball.com

Blueic5

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 92
  • Last login:December 16, 2018, 05:31:20 pm
  • I want to build my own arcade controls!
Re: GameLists: Multiple emuls in same list work-around solution
« Reply #329 on: March 16, 2015, 12:30:07 pm »
right im getting somewhere I can get it working finally if I # out the mame lines otherwise it just trys to run mame instead of mess for some reason.  Not sure why its not calling mess when it can see the directory the rom is located in.  I changed my batch file to read

Code: [Select]
d:
cd \Emulators\mess

which seems to be working .

So now I just cant work out why its trying to run the other_roms\nes under mame rather than mess. 

edit It would seem after using that pause command its ot going to the :mess section of the script and I can t see why

Code: [Select]
if "%2" == "d:\Emulators\other_roms\nes\" goto mess

mame.exe %1
pause
exit

:mess
cd \
d:
cd Emulators\mess
mess64.exe nes -cart %2\%1.nes
pause
exit

output

Code: [Select]
D:\Emulators\mame>if "D:\Emulators\other_roms\nes" == "d:\D:\Emulators\other_roms\nes\" goto mess

D:\Emulators\mame>mame.exe rom_name._(USA)
Unknown system rom_name._(USA)'

"rom_name._(USA)" approximately matches the follow
supported games (best match first):

ac1shid           Super Hi De Hi (Ace) (ACESYS1) (set 1)
ac1shida          Super Hi De Hi (Ace) (ACESYS1) (set 2)
ad5sslam          Super Slam (Bellfruit) (Adder 5) (set 1)
ad5sslama         Super Slam (Bellfruit) (Adder 5) (set 2)
ad5sslamb         Super Slam (Bellfruit) (Adder 5) (set 3)
ad5sslamc         Super Slam (Bellfruit) (Adder 5) (set 4)
ad5sslamd         Super Slam (Bellfruit) (Adder 5) (set 5)
ad5sslame         Super Slam (Bellfruit) (Adder 5) (set 6)
ad5sslamf         Super Slam (Bellfruit) (Adder 5) (set 7)
arac6000          Super Six Plus II English Mark Darts
as_sld            Super Little Devil (Astra, V700)
as_slda           Super Little Devil (Astra, V600)
as_sldb           Super Little Devil (Astra, V500)
as_sldc           Super Little Devil (Astra, V400)
as_sldd           Super Little Devil (Astra, V200)
as_slde           Super Little Devil (Astra, V101)

D:\Emulators\mame>pause
Press any key to continue . . .
« Last Edit: March 16, 2015, 12:44:59 pm by Blueic5 »

BorgDog

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 436
  • Last login:August 22, 2021, 02:22:52 pm
  • Not a hipster for over 50 years!
Re: GameLists: Multiple emuls in same list work-around solution
« Reply #330 on: March 16, 2015, 12:41:50 pm »
it's trying to run mame?  The only way I see that happening is if the "if "%2" == "d:\Emulators\other_roms\nes\" goto mess" line is not triggering the goto.  Do you need the \ on the end of the path? and I assume that matches what you are capturing in your test.txt.
My Projects:
MisSpent Youth a Vigolix bartop,  Little Bastard a rotating tablet/display bartop,
Pin-Dog a mini pin-cab on vpforums.org  Star Wars a wedgehead pincab on vpinball.com

Blueic5

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 92
  • Last login:December 16, 2018, 05:31:20 pm
  • I want to build my own arcade controls!
Re: GameLists: Multiple emuls in same list work-around solution
« Reply #331 on: March 16, 2015, 12:46:11 pm »
I remove the text file output as it seemed to show things correctly, anyway ive updated my post above for troubleshooting

BorgDog

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 436
  • Last login:August 22, 2021, 02:22:52 pm
  • Not a hipster for over 50 years!
Re: GameLists: Multiple emuls in same list work-around solution
« Reply #332 on: March 16, 2015, 01:13:56 pm »
Quote
D:\Emulators\mame>if "D:\Emulators\other_roms\nes" == "d:\D:\Emulators\other_roms\nes\" goto mess

take the \ off the end of your if statement as obviously those two are not equal
My Projects:
MisSpent Youth a Vigolix bartop,  Little Bastard a rotating tablet/display bartop,
Pin-Dog a mini pin-cab on vpforums.org  Star Wars a wedgehead pincab on vpinball.com

Blueic5

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 92
  • Last login:December 16, 2018, 05:31:20 pm
  • I want to build my own arcade controls!
Re: GameLists: Multiple emuls in same list work-around solution
« Reply #333 on: March 16, 2015, 01:41:53 pm »
Cheers I'll try that tomorrow and let you know...
Just a note
I had a lot of issues with the spaces in the rom name and gave up wouldn't work for me with or without ".   Also there seemed to be a rom name length limit when executing the script.

BorgDog

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 436
  • Last login:August 22, 2021, 02:22:52 pm
  • Not a hipster for over 50 years!
Re: GameLists: Multiple emuls in same list work-around solution
« Reply #334 on: March 16, 2015, 10:40:00 pm »
I just looked at it again and you have "d:\D:\" in there too, not sure where that is coming from, but it could be an issue as well.
My Projects:
MisSpent Youth a Vigolix bartop,  Little Bastard a rotating tablet/display bartop,
Pin-Dog a mini pin-cab on vpforums.org  Star Wars a wedgehead pincab on vpinball.com

Blueic5

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 92
  • Last login:December 16, 2018, 05:31:20 pm
  • I want to build my own arcade controls!
Re: GameLists: Multiple emuls in same list work-around solution
« Reply #335 on: March 17, 2015, 10:12:46 am »
I think that was me typing it in, but it did solve the issue which was I needed a uppercase D: rather than the lower case and I also got rid of that "\" .  Thanks for your help and blimey its very picky and case sensitive .   

BorgDog

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 436
  • Last login:August 22, 2021, 02:22:52 pm
  • Not a hipster for over 50 years!
Re: GameLists: Multiple emuls in same list work-around solution
« Reply #336 on: March 17, 2015, 11:02:11 am »
Glad to hear you got it working.  :applaud:
My Projects:
MisSpent Youth a Vigolix bartop,  Little Bastard a rotating tablet/display bartop,
Pin-Dog a mini pin-cab on vpforums.org  Star Wars a wedgehead pincab on vpinball.com

Pedro felinni

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 10
  • Last login:August 20, 2019, 04:11:35 am
  • I want to build my own arcade controls!
Re: GameLists: Multiple emuls in same list work-around solution
« Reply #337 on: September 04, 2016, 05:46:32 am »

I do not know how to run the Final Burn Alpha on the same list with Mame.
Can someone help me?  :cry:

C:\Users\felinni\Desktop\MaLa174\others\fba\fba.exe
C:\Users\felinni\Desktop\MaLa174\mame125\mame125.exe