Build Your Own Arcade Controls Forum

Main => Main Forum => Topic started by: Serpent on May 10, 2004, 06:41:46 am

Title: Quit MAME = quit windows
Post by: Serpent on May 10, 2004, 06:41:46 am
Is there any version of MAME32, or better, a way to tweak windows or MAME32, so that when I quit MAME32, windows automatically shutdowns?
Title: Re:Quit MAME = quit windows
Post by: abrannan on May 10, 2004, 08:22:25 am
Some of the frontends will do that.  I know MameWah can.
Title: Re:Quit MAME = quit windows
Post by: Apollo on May 10, 2004, 04:29:27 pm
Change to windows command line MAME and MAMEWAH, they are surprisingly easy to set up and will do exactly as you say possibly with some better game performance as an added bonus.
Title: Re:Quit MAME = quit windows
Post by: Gradius on May 10, 2004, 04:43:07 pm
Sorry but I like MAME32's gui. It's powerful and fast.
Title: Re:Quit MAME = quit windows
Post by: Apollo on May 10, 2004, 04:48:48 pm
Powerful and fast, hmmmmm tried a few others have you? LMAO.
Title: Re:Quit MAME = quit windows
Post by: maraxle on May 10, 2004, 07:19:41 pm
There's probably some program out there that can watch the running processes on your machine and make sure mame32.exe (or whatever it's called) is running.  If it's not running, execute a shutdown command.  I don't know of a specific program that will do this, but your friend Google can probably help.
Title: Re:Quit MAME = quit windows
Post by: maraxle on May 10, 2004, 07:22:45 pm
Better yet, just find a program that will shutdown the system.  I had one called shutdown.exe before.  Then, make a batch file that you launch instead of launching mame32.exe.  The batch file would contain:

mame32.exe
shutdown.exe

Once you close mame32, it'll run the next line in the batch file.
Title: Re:Quit MAME = quit windows
Post by: Witchboard on May 10, 2004, 08:32:23 pm
You can try a registry edit, but I wouldn't unless you have the computer networked so you can change it back if you need to.  I'm thinking you can change your shell program from explorer to whatever emu you want.  When you exit the emu, windows shuts down.  We used to mess with people at work all the time by replacing their shell with minesweeper.  They would log on, minesweeper would open, they would be like, "WTF?", close minesweeper, windows would shut down.

I'll see if I can find the correct registry key tonight.  Which version of Windows are you using?
Title: Re:Quit MAME = quit windows
Post by: rsoandrew on May 10, 2004, 09:18:45 pm
I was planning on using windows to shut down Mame without quiting it. It should force quit without user input just fine.

I am going to put a shutdown and reset button someplace out of reach probably on the upper side of the cabinet and use my ipac to setup a custom key combination that will invoke the windows shutdown command when I press the key. The reset button will go to the motherboard. I'm also planning on replacing my startup screen.

Here are some links for what I'm planning.
Download a new Mame XP startup screen (http://www.xpthemes.com/skins.asp?searchtext=mame&sort=Name&order=Descending&library=32)
and program to install it. (http://download.com.com/redir?pid=10261834&merid=80664&mfgid=80664&edId=3&siteId=4&oId=3000-2105-10261834&ontId=2105&ltype=dl_dlnow&lop=link&destUrl=/3001-2105-10261834.html)
Change Shutdown screens (modify the startup bmp) (http://www.annoyances.org/exec/show/article02-011)
Win XP shutdown command line switches (http://www.planetz.com/forums/viewtopic.php?topic=10733&forum=3&1)
The link above explains how to create a shortcut and then program the hot keys. My plan is to setup a button in the ipac to generate the shutdown shortcut hotkey combo.

Of course if my cabinet would ever come :-[, I'd let you know if this actually works.
Title: Re:Quit MAME = quit windows
Post by: gyruss on May 10, 2004, 09:40:55 pm
A pgm called HotExit can be used in a batch file to shutdown.
Or you can use AutoIT to shutdown when mame32 is no longer active. Both pgms are free. I use AutoIT to shutdown the Visual Pinball editor after you exit from playing a pinball game.