MAMEWorld >> EmuChat
View all threads Index   Flat Mode Flat  

ThumpieBunnyEve
Techno Mistress
Reged: 11/04/10
Posts: 13
Send PM
Re: Mame Gives No Logs, PlzHlp!
06/12/18 07:30 AM


having thought more about it and with some insight from user:krick I've come to the conclusion that i want something similar to your line with a simple name change:

Code:


> asteroidsLog.txt |more 2>&1
> starwarsLog.txt |more 2>&1
> tempestLog.txt |more 2>&1


and so on. using ">>" to append is a bad idea after all. and trying point all 4 running mames to log to the same log file was ill-planned on my part. So far however getting any of them to do logging from use of the "start" option has been nightmareish. but I've read using "start" is the only way to handle some of the future aspects ill be working with, such as starting in windowed fullscreen mode without a tital-bar, and setting each to always on top, so they are not obscured by other programs.

as noted elsewhere i only use the "timeout" line to delay the opening of the 4 instances running on each display. as d3d doesn't like to be initialised 4 times at the same time. i get no errors however if i give each d3d a moment to get past preloading. otherwise theres an error list of canot create dicrect3d resources. which repeats till the availibility to begin a new preloading of a d3d instance finally opens.

example output to make that easier to grasp:

Code:

start "STARWARS"
began a d3d process.
start "ASTEROIDS"
cannot create d3d process. is it busy?
cannot create d3d process. is it busy?
cannot create d3d process. is it busy?
cannot create d3d process. is it busy?
began a d3d process.
start "TEMPEST"
cannot create d3d process. is it busy?
cannot create d3d process. is it busy?
cannot create d3d process. is it busy?
cannot create d3d process. is it busy?
cannot create d3d process. is it busy?
cannot create d3d process. is it busy?
cannot create d3d process. is it busy?
cannot create d3d process. is it busy?
began a d3d process.
start "BATTLEZONE"
cannot create d3d process. is it busy?
cannot create d3d process. is it busy?
cannot create d3d process. is it busy?
cannot create d3d process. is it busy?
cannot create d3d process. is it busy?
cannot create d3d process. is it busy?
cannot create d3d process. is it busy?
cannot create d3d process. is it busy?
cannot create d3d process. is it busy?
cannot create d3d process. is it busy?
cannot create d3d process. is it busy?
cannot create d3d process. is it busy?
cannot create d3d process. is it busy?
cannot create d3d process. is it busy?
began a d3d process.



each one is progressively longer in log file error, only because all 4 are started figuratively at the same time

however when i add the timeout line, its just a pause of 7 seconds before automatically resuming the script. "Timeout" is just the command called "pause" with the option to "resume at the next command when user has not pressed a key". that's all timeout is. it's a good way to Sleep the script for a few seconds. or allow me to skip the sleep by pressing any key :}

EDIT
i think im going to toy with "DxWnd" (v2_04_79_build.rar)
it can force a fullscreen-DirectX game to be windowed mode, and has a lot of switches i can call on to do things like maximize, and remove tital-bar i think. not sure if i can do "always on top" with it. but i know cmd: "start" can do that.
EDIT2
Nope fail drats! DxWnd works only on x86 (32 bit) processes. >.< its not recognizing my mame64 at all. Ill try GameCompanion(2.4 by BUDA20) or Borderless-Gaming (https://github.com/Codeusa/Borderless-Gaming)
though...
still need an effective way of still using start, and getting a log file from the mame that runs. maybe i can try a
Code:

start "asteroids" mame.exe asteroids.zip "> asteroidsLog.txt |more 2>&1"

sort of thing using quotes so its escaped once and sent as a parameter for mame to use and not for that bat to use.

Edited by ThumpieBunnyEve (06/12/18 08:28 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 151 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