Front End Support > MaLa Frontend
GameLists: Multiple emuls in same list work-around solution
Lakersfan:
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: ---Closemul.exe fceu.exe "I:\Emulators\emulators\fceUltra\roms\Super Mario Bros. 2 (USA).zip"
--- End code ---
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: ---<game name="Super Mario Bros. 2 (USA)">
<description>Super Mario Bros. 2</description>
<driver status="good" emulation="good"/>
</game>
--- End code ---
However, I'm pretty sure my screw up is somewhere in my mame.cmd file:
--- Code: ---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
--- End code ---
but I can't figure it out!
Any suggestions?
ps- attached a pic if helpful...
SGT:
Where is fceUltra.exe located? Is it located here?:
--- Code: ---I:\Emulators\emulators\fceUltra
--- End code ---
Where is mame.cmd located? Here?:
--- Code: ---I:\Emulators\Mame
--- End code ---
or here?:
--- Code: ---I:\Emulators\emulators\mame
--- End code ---
Lakersfan:
fceu.exe is located here: I:\Emulators\emulators\fceUltra
mame.cmd is located here: I:\Emulators\Programs\mame
SGT:
That being the case, in mame.cmd change:
--- Code: ---cd ..\fceUltra
--- End code ---
to:
--- Code: ---cd \Emulators\emulators\fceUltra
--- End code ---
Also %2 will equal the folder that the rom is actually in; therefore, change:
--- Code: ---if "%2" == "I:\Emulators\emulators\fceUltra" goto fceUltra
--- End code ---
to:
--- Code: ---if "%2" == "I:\Emulators\emulators\fceUltra\roms" goto fceUltra
--- End code ---
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:
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.
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version