MAMEWorld >> EmuChat
View all threads Index   Flat Mode Flat  

krick
Get Fuzzy
Reged: 02/09/04
Posts: 4235
Send PM
Re: Mame Gives No Logs, PlzHlp!
06/12/18 05:42 AM Attachment: bench.zip 2 KB (0 downloads)


The part that I posted in the edit to my post and I highlighted in red text is the right way to do it.

Create 4 batch files and then call them each with start from the primary batch file


Code:

start "STARWARS" starwars.bat
timeout /t 7 /nobreak
start "ASTEROIDS" asteroid.bat
timeout /t 7 /nobreak
start "TEMPEST" tempest.bat
timeout /t 7 /nobreak
start "BATTLEZONE" bzone.bat



However, logging to a single file doesn't work with the start command because each start launches a separate process. So once the first one runs and opens the log file, none of the other processes will be able to write to the same log file.

Can't you just use a normal batch file and just run the MAME exe sequentially for each game? I do something similar with my benchmark script (attached).

You can use the seconds_to_run parameter to set how long the game should run instead of using "timeout".

I don't understand why you're so fixated on using the "start" command. What does it bring to the table?

Ultimately, what is your goal? What do you want this to do... EXACTLY?


GroovyMAME support forum on BYOAC

Edited by krick (06/12/18 06:01 AM)







Entire thread
Subject Posted by Posted on
* Mame Gives No Logs, PlzHlp! ThumpieBunnyEve 06/10/18 01:58 AM
. * Re: Mame Gives No Logs, PlzHlp! krick  06/10/18 05:01 AM
. * Re: Mame Gives No Logs, PlzHlp! John IV  06/10/18 03:20 AM
. * Re: Mame Gives No Logs, PlzHlp! ThumpieBunnyEve  06/10/18 01:09 PM
. * Re: Mame Gives No Logs, PlzHlp! RobbbertModerator  06/10/18 01:45 PM
. * Re: Mame Gives No Logs, PlzHlp! ThumpieBunnyEve  06/12/18 04:21 AM
. * Re: Mame Gives No Logs, PlzHlp! katananja  06/12/18 06:06 AM
. * Re: Mame Gives No Logs, PlzHlp! ThumpieBunnyEve  06/12/18 07:30 AM
. * Re: Mame Gives No Logs, PlzHlp! krick  06/13/18 03:44 AM
. * Re: Mame Gives No Logs, PlzHlp! ThumpieBunnyEve  06/17/18 10:36 AM
. * Re: Mame Gives No Logs, PlzHlp! Vas Crabb  06/17/18 11:03 AM
. * Re: Mame Gives No Logs, PlzHlp! ThumpieBunnyEve  06/17/18 10:49 PM
. * Re: Mame Gives No Logs, PlzHlp! Vas Crabb  06/18/18 01:42 AM
. * Re: Mame Gives No Logs, PlzHlp! ThumpieBunnyEve  06/18/18 07:46 AM
. * Re: Mame Gives No Logs, PlzHlp! ThumpieBunnyEve  06/18/18 07:56 AM
. * Re: Mame Gives No Logs, PlzHlp! ThumpieBunnyEve  06/13/18 08:43 PM
. * Re: Mame Gives No Logs, PlzHlp! krick  06/12/18 05:42 AM
. * Re: Mame Gives No Logs, PlzHlp! ThumpieBunnyEve  06/12/18 07:09 AM

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