Front End Support > MaLa Frontend
GameLists: Multiple emuls in same list work-around solution
Lakersfan:
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: ---cd ..\fceUltra
--- End code ---
to
--- Code: ---cd I:\Arcade\emulators\fceUltra
--- End code ---
which is where my fceu.exe emulator resides.
Also, you said,
--- Quote ---Also %2 will equal the folder that the rom is actually in
--- End quote ---
so I changed my line to
--- Code: ---if "%2" == "I:\Arcade\emulators\fceUltra\roms" goto fceUltra
--- End code ---
I 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: ---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:"
--- End code ---
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: ---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
--- End code ---
SGT:
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: ---"%rom%" %path%
--- End code ---
You also need to change:
--- Code: ---cd I:\Arcade\emulators\fceUltra
--- End code ---
to:
--- Code: ---cd \Arcade\emulators\fceUltra
--- End code ---
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:
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.
SGT:
@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:
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.
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version