The NEW Build Your Own Arcade Controls

Main => Software Forum => Topic started by: AwesomeAlbert on July 21, 2007, 11:06:23 pm

Title: need help with bat file and info screen
Post by: AwesomeAlbert on July 21, 2007, 11:06:23 pm
Never done this before, I'm learning and trying to figure out as I go. Need info, input.  I installed Spystyle's CD on a 133MHz $5 computer i bought at a garage sale (told them they can keep the monitor) worked great (thanks spystyle).  I made a bat (Mame.bat) file to start Mame donkey kong instead of GL (glaunch.bat) (going to put it in a dk cab). I exit mame and it starts GL (to take advantage of the computer in the cab, i can play more than just one game if i wanted).
my  bat file is this

cd mame
mame dkong
cd\
glaunch.bat

(change last line the autoexec.bat file to mame.bat from glaunch.bat)

works ok, but when i exit mame i see text on the pc screen for a second before it loads gamelauncher. Is there a way i can do this without seeing anything on the screen? just turn on the pc, go to donkey kong, escape, blackscreen, gamelauncher?

my second delima, when i turn on the machine it goes straight to the game but it stays on the info screen.  i been trying to read to learn how to compile mame, to take the info screens off. but i havnt found anything for mame36. i need step by step by step instructions. can anyone point me in the right direction.  Better yet do it for me !!!

thanks in advance
You guys are the best

awesomealbert


Title: Re: need help with bat file and info screen
Post by: headkaze on July 22, 2007, 01:14:06 am
Try something like

Code: [Select]
@ECHO OFF
CLS
CD MAME
MAME dkong
CD \
GLAUNCH.BAT
Title: Re: need help with bat file and info screen
Post by: AwesomeAlbert on July 22, 2007, 06:42:13 pm
thanks headkaze

it somewhat worked, now i only see two lines of text when gamelauncher loads. im getting closer. i need a dos for dummies book.  Im really bothered by the info screen though.

Title: Re: need help with bat file and info screen
Post by: headkaze on July 22, 2007, 08:25:48 pm
You will have to compile your own version of Mame to remove the info screens. I'm guessing that since your using an old PC your using an old version of Mame? Perhaps someone has one compiled that has these removed?

If your getting two lines of text when gamelauncher loads, chances are there is stuff being echoed in the GLAUNCH.BAT

Add the @ECHO OFF and CLS lines to GLAUNCH.BAT

If an application is outputting text to the console you can remove that by adding
PROGRAM.EXE >nul:

This redirects the output to nothing instead of the console.
Title: Re: need help with bat file and info screen
Post by: AwesomeAlbert on July 22, 2007, 09:47:45 pm
thanks headkaze, that works great, just how i wanted it!!! you have been alot of help.

now i need to do is learn how to compile mame, im running mame36 (its a 133mhz with 24mb of ram).
i cant find a step by step tutorial. can anyone show me the way? better yet , do it for me?

thanks in advance

you are the best
Title: Re: need help with bat file and info screen
Post by: headkaze on July 23, 2007, 01:28:13 am
Sorry I can't help with compiling that old version of Mame. Maybe if you find the source code for it...
Title: Re: need help with bat file and info screen
Post by: AwesomeAlbert on July 23, 2007, 02:20:22 pm
I found a tutorial and sourcecode for mame36. the tutorial is for win95 or 98. i have xp !! can anyone help me out here??
thanks
 http://www.mame.net/compile036dos.html (http://www.mame.net/compile036dos.html)