MAMEWorld >> EmuChat
View all threads Index   Threaded Mode Threaded  

Pages: 1

Chappie
MAME Fan
Reged: 03/31/09
Posts: 43
Send PM


Mame.bat stopped working
#345758 - 10/02/15 11:58 PM


I have been running a mame.bat for quite awhile that directs about 8 games to two different versions of mame to get them to run properly. All was well. I run Mala and the mame.bat was manually entered into the Mame Executable path since it only looks for .exe. Like I said it was running well and if one of the games was selected it would change directories and execute with the proper mame.exe and load up the game. Now, the only games that will not load are those games. So the .bat does not seem to be doing it's job. No changes to the file, directories or mame upgrades. The only thing that has been upgraded is Win7 files through normal updates. Pulling my hair out.



abelenki
Super Drunk
Reged: 10/20/03
Posts: 962
Loc: Perm, Russia
Send PM


Re: Mame.bat stopped working new [Re: Chappie]
#345761 - 10/03/15 02:26 AM


> So the .bat does not seem to be doing it's job.

so, you want us to guess the contents of your .bat file, then tell you why it's not working?



MAME Stuff | MAME favorites | Bubble Bobble Series chart / wiki | PC configuration



Chappie
MAME Fan
Reged: 03/31/09
Posts: 43
Send PM


Re: Mame.bat stopped working new [Re: abelenki]
#345766 - 10/03/15 10:22 AM


Sorry, I had edited the original post right after posting it with that info, but it looks like it did not take. Anyways, here is partial of the bat file that shows two of the games that are loaded out of the mame136 folder:

if %1==hogalley goto hogalley
if %1==duckhunt goto duckhunt

rem default MAME launch
mame %1 %2 %3 %4 %5 %6
goto end

:hogalley
cd mame136
mame hogalley
cd..
goto end

:duckhunt
cd mame136
mame duckhunt
cd..
goto end

Again, this had worked...but I just don't get a sense it is going to the proper directory. What I mean is these two commands assume that I am already in my root mame folder and the mame136 folder is just one level down (which it is) from where it is starting from. I wonder if somehow I am no longer in that root folder when it starts these commands.

Steve

Edited by Chappie (10/03/15 10:28 AM)


Pages: 1

MAMEWorld >> EmuChat
View all threads Index   Threaded Mode Threaded  

Extra information Permissions
Moderator:  Robbbert, Tafoid 
0 registered and 460 anonymous users are browsing this forum.
You cannot start new topics
You cannot reply to topics
HTML is enabled
UBBCode is enabled
Thread views: 1210