IDDQD
Trade Count:
( 0)
Full Member
 
Offline
Posts: 47
|
 |
« on: June 09, 2008, 04:37:55 PM » |
|
I think I read somewhere that this was possible, but I can't find anything about it -- is it possible to run one version of MAME for most games, and then have MaLa automatically run another version for specific games? In my case, Donkey Kong won't run in .125, which is what I'm using, but runs just fine in .112. Is there any way for me to tell MaLa to use .125 for all games but use .112 for Donkey Kong (and presumably others that run better as well)? I tried searching but found nothing... sorry if this has already been answered!
|
|
|
|
« Last Edit: July 13, 2008, 06:57:56 PM by loadman »
|
Logged
|
|
|
|
NOP
Trade Count:
( 0)
Full Member
 
Offline
Posts: 586
I stole my avatar.
|
 |
« Reply #1 on: June 09, 2008, 04:49:54 PM » |
|
The way I did it was to use a batch file that called various MAMEs. There is a thread around here about it, but I used a slightly different method: 1) in mala, instead of pointing the emulator to mame.exe, use mame.bat 2) move your various copies of mame.exe into their own folders - they need their own mame.ini files anyway, so they won't coexist in the same folder. Note you will need ini and roms folders in each mame folder too. 3) in mame.bat, I examine the rom being passed in from mala, and branch appropriately. (this is from memory) if %1==dkong goto mame112 if %1==pacman goto mame125 if %1==looping goto mame112
rem default MAME launch dmame %1 %2 %3 %4 %5 %6 goto end
:mame112 cd mame112 mame %1 %2 %3 %4 %5 %6 cd .. goto end
:mame125 cd mame125 mame %1 %2 %3 %4 %5 %6 cd .. goto end
:end
Note that the "default" case is to run a renamed mame.exe right there in the root folder where this batch file exists. I will gladly post my actual batch file if anyone is interested, but this should allow you to branch to whatever version you want. Works great for me! -jeff!
|
|
|
|
« Last Edit: June 09, 2008, 04:53:14 PM by NOP »
|
Logged
|
|
|
|
Ummon
Trade Count:
( +12)
Full Member
 
Offline
Posts: 5164
|
 |
« Reply #2 on: June 09, 2008, 04:53:43 PM » |
|
Looks neat an easy. IDDQD, there's also Multi-Mame.
|
|
|
|
|
Logged
|
Yo. Chocolate.
"Theoretical physics has been the most successful and cost-effective in all of science."
Stephen Hawking
People often confuse expressed observations with complaint, ridicule, or - even worse - self-pity.
|
|
|
Dizzle
Trade Count:
( 0)
Full Member
 
Offline
Posts: 279
|
 |
« Reply #3 on: June 09, 2008, 06:36:34 PM » |
|
I'd be interested in that batch file.  I was just searching the forum about the same issue!
|
|
|
|
|
Logged
|
|
|
|
juggle50
Trade Count:
( 0)
Full Member
 
Offline
Posts: 264
Your either on the bus or off the bus
|
 |
« Reply #4 on: June 09, 2008, 06:40:48 PM » |
|
I love SGTs method. It not only allows you to get multiple versions of MAME on your main gamelist but also allows you to have games from other emulators on the main gamelist as well as Daphne games on your main list! It's very similar to NOP's method. http://forum.arcadecontrols.com/index.php?topic=68419.0
|
|
|
|
|
Logged
|
|
|
|
Havok
Keeper of the __Blue_Stars___
Trade Count:
( +4)
Full Member
 
Offline
Posts: 3649
No law or ordinance is mightier than understanding
|
 |
« Reply #5 on: June 09, 2008, 09:32:27 PM » |
|
|
|
|
|
|
Logged
|
AtomicFE - We're bringing sexy back! 
|
|
|
IDDQD
Trade Count:
( 0)
Full Member
 
Offline
Posts: 47
|
 |
« Reply #6 on: June 10, 2008, 04:30:59 PM » |
|
I've tried both of these methods, and in both cases MaLa doesn't want to take the .bat or .cmd file, as it's looking specifically for the mame.exe file. What do I do?
E: Nevermind, I had to set up the .bat properly and force it to take it by typing it in the line.
|
|
|
|
« Last Edit: June 10, 2008, 04:39:00 PM by IDDQD »
|
Logged
|
|
|
|
IDDQD
Trade Count:
( 0)
Full Member
 
Offline
Posts: 47
|
 |
« Reply #7 on: June 10, 2008, 05:22:55 PM » |
|
Okay, here's my mame.bat (in a zip file) that I made according to NOP's method -- it's awesome! I had to play around to make it work, but it works now and is totally worth it... one completely unrelated question, though, does anyone know why the Metal Slug games don't work in .112? I thought they were supported by then...
|
mame.zip (0.23 KB - downloaded 200 times.)
|
|
|
Logged
|
|
|
|
NOP
Trade Count:
( 0)
Full Member
 
Offline
Posts: 586
I stole my avatar.
|
 |
« Reply #8 on: June 10, 2008, 10:00:11 PM » |
|
after having a look at my official mame.bat file, it appears my memory is as good as I hoped it was-it's virtually identical to what I posted and what you're using, except I have a longer list of games to branch off of, and I'm using 3 different copies of mame.
so, cool to hear that this worked for you too, and that there appears to be no need for me to post my official batch.
|
|
|
|
|
Logged
|
|
|
|
IDDQD
Trade Count:
( 0)
Full Member
 
Offline
Posts: 47
|
 |
« Reply #9 on: June 11, 2008, 12:49:55 PM » |
|
I expanded my list last night, so things are working better even than in that batch!
I also discovered that if you have a U360, you can have it program the stick for 4-way controls, 8-way controls, etc., from the batch file! I can post my .bat again with that update, but it shouldn't be too hard to figure out, just cd to the right directory and then put the filename in the bat, and then run mame.
|
|
|
|
|
Logged
|
|
|
|
NOP
Trade Count:
( 0)
Full Member
 
Offline
Posts: 586
I stole my avatar.
|
 |
« Reply #10 on: June 11, 2008, 04:53:13 PM » |
|
Excellent idea.
I'm using fatfingers' plugin for the u360 for my setup, but yeah, I could see that working nicely too if there is any misinformation contained in your mala game list that is telling the plugin the wrong U360 settings.
If you use the retro arcade front end layout, it shows graphically what controls and buttons are used on each game, including 4way and 8way sticks. (4way sticks have 4 little dashes around the joystick image) If it's showing wrong, then it's passing the wrong data to the FF 360 plugin too. This would be a great override for that.
|
|
|
|
|
Logged
|
|
|
|
pinballjim
The vast majority of blanket statements are false.
Trade Count:
( +3)
Full Member
 
Offline
Posts: 4743
Nicest opioniated a-hole you'll ever meet.
|
 |
« Reply #11 on: June 11, 2008, 05:10:14 PM » |
|
|
|
|
|
|
Logged
|
Burn my hair, I like that action, make me look like Michael Jackson
|
|
|
Dizzle
Trade Count:
( 0)
Full Member
 
Offline
Posts: 279
|
 |
« Reply #12 on: June 12, 2008, 11:17:42 PM » |
|
IDDQD, Thanks for posting the .bat file!  I'm gonna give it a whirl tonight to see how it goes. NOP, thanks for your help too!!
|
|
|
|
« Last Edit: June 13, 2008, 12:35:03 AM by Dizzle »
|
Logged
|
|
|
|
ncflagg
Trade Count:
( 0)
Full Member
 
Offline
Posts: 187
Oh, yeah. Idaho IS right next to Iowa.
|
 |
« Reply #13 on: June 28, 2008, 04:36:14 PM » |
|
Is there any way to get the batch file to run minimized or hidden? - nevermind. Window state option in Mala Config. 
|
|
|
|
« Last Edit: June 28, 2008, 04:38:28 PM by ncflagg »
|
Logged
|
|
|
|
Lilwolf
Trade Count:
( +1)
Full Member
 
Offline
Posts: 4737
|
 |
« Reply #14 on: July 27, 2008, 07:01:47 AM » |
|
MultiMAME was designed to do stuff like this. It brings multiple emulators into one mame looking exe file. So you can have daphne called when you run "mame dlair" and also have the dragons lair stuff show up in your listxml output to populate the frontend. http://multimame.wikidot.com/It's not as easy as a batch file, but you can do a tons of things for it. (even change the configuration for specific types of games, like swap around the 1-3 buttons and 4-6 buttons for all 2 player 8way 6 button games)
|
|
|
|
|
Logged
|
|
|
|
TheShanMan
Trade Count:
( +2)
Full Member
 
Offline
Posts: 1732
6 Time World Champion Pittsburgh Steelers!
|
 |
« Reply #15 on: July 27, 2008, 11:01:35 AM » |
|
Thanks Lilwolf. I've heard of it before but didn't realize it could do other emulators too. This is definitely worth looking at and may turn out to be helpful for me, so thanks for the quick summary!
|
|
|
|
|
Logged
|
My Arcade on ArcadeCrusade.com (Tron, Defender, Tournament Cyberball 2072, MAME cab w/swappable panels, Rowe BC-25 change machine) Newest additions: DK and Ms Pacman!!! Add Ambience to your mame cab setup!
|
|
|
BobbyG66
Trade Count:
( 0)
Full Member
 
Offline
Posts: 561
Current project: Dodgeball
|
 |
« Reply #16 on: October 21, 2008, 11:34:21 AM » |
|
Is there a list of what game works best in which mame version?
|
|
|
|
|
Logged
|
Half of the people you meet are below average.
|
|
|
Ummon
Trade Count:
( +12)
Full Member
 
Offline
Posts: 5164
|
 |
« Reply #17 on: October 21, 2008, 03:27:28 PM » |
|
That's something totally unrelated to this topic. I'm suspecting the answer is 'no', though perhaps a better place to ask is 'main'.
|
|
|
|
|
Logged
|
Yo. Chocolate.
"Theoretical physics has been the most successful and cost-effective in all of science."
Stephen Hawking
People often confuse expressed observations with complaint, ridicule, or - even worse - self-pity.
|
|
|
Todd H
Trade Count:
( +2)
Full Member
 
Offline
Posts: 619
Go Dawgs!
|
 |
« Reply #18 on: November 06, 2008, 08:52:01 AM » |
|
Any chance of maybe adding this as a feature to Mala in the future? I know you can do it with either MultiMAME or with the BAT file example in this thread, but it seems like it would be a neat feature to combine lists in Mala.
|
|
|
|
|
Logged
|
|
|
|
Stormrider
Trade Count:
( 0)
Full Member
 
Offline
Posts: 240
|
 |
« Reply #19 on: April 05, 2009, 04:41:34 PM » |
|
Great! I've used this batch file some games, which I prefer to run with a different version of MAME. I've also used this to add my mugen game. This needs editing mame.xml and catver.ini. It works perfectly. 
|
|
|
|
« Last Edit: April 05, 2009, 04:50:00 PM by Stormrider »
|
Logged
|
|
|
|
BurgerKingDiamond
Trade Count:
( 0)
Full Member
 
Offline
Posts: 49
|
 |
« Reply #20 on: October 05, 2009, 10:10:22 PM » |
|
IDDQD, could you please go into some more detail on this whole process? I've never used a batch file before, and have very little programming experience (1 C++ class). Looking at the batch file it sort of makes sense, but I don't know where to put and how to actually use it. Thank you and  in advance.
|
|
|
|
|
Logged
|
-Welcome to the Fantasy Zone.
|
|
|
SGT
Trade Count:
( 0)
Full Member
 
Offline
Posts: 1089
|
 |
« Reply #21 on: October 06, 2009, 11:46:12 PM » |
|
If you look at NOP's example above, you will see references to %1, %2. These variables are the parameters that Mala passes to the batch file. So if you look in Mala for what the command line is, you will see %rom% variable which represents the rom name for the chosen game. When the batch file receives this first parameter it assigns it to the %1 variable. If there are any other variables in the Mala command line setting, they will be assigned %2, %3, and so forth.
Therefore using this method, you can branch off to different areas in the batch file based upon what the rom name is. Of course you branch off to different areas in order to use a different version of the mame executable.
Some people will add the %path% variable (which will become %2) to the command line setting in Mala in order to branch off based upon which folder the rom is located in. This is useful if you have a lot of roms that you want to run with different versions of Mame (or any other emulator). Using this method, you simply move all the roms you want to run in with a certain version of mame to one folder. This alleviates you from having to put a line for each rom in your batch file.
Hope that wasn't too confusing...
|
|
|
|
|
Logged
|
|
|
|
BurgerKingDiamond
Trade Count:
( 0)
Full Member
 
Offline
Posts: 49
|
 |
« Reply #22 on: October 07, 2009, 10:14:02 AM » |
|
@SGT. I understand that in principle, but I haven't got it to work yet. I'm actually trying to to it the way that you showed in your own thread, using the %path% variable. There are still some other parts of the mame.cmd that you wrote that I don't understand. On the desktop I have a folder called MamewMala that has everything for Mala. Inside that I made a folder called other_emus. Inside that folder is another one called roms_2 with all the roms that I want to run with an older version of mame. I put the other executable (MameUI32) in other_emus (is that right?). Could you write me the mame.cmd file from this info? I think seeing it already written for me would make it easier to understand what's going on. 
|
|
|
|
|
Logged
|
-Welcome to the Fantasy Zone.
|
|
|
BurgerKingDiamond
Trade Count:
( 0)
Full Member
 
Offline
Posts: 49
|
 |
« Reply #23 on: October 07, 2009, 12:25:37 PM » |
|
@SGT, I got it working. Your guide is great. It was my computer ignorance to blame. Later tonight I'm gonna try to get my PC Touhou games to work. I may have a question or two for you about that. Thanks.
|
|
|
|
|
Logged
|
-Welcome to the Fantasy Zone.
|
|
|
|