Main Restorations Software Audio/Jukebox/MP3 Everything Else Buy/Sell/Trade
Project Announcements Monitor/Video GroovyMAME Merit/JVL Touchscreen Meet Up Retail Vendors
Driving & Racing Woodworking Software Support Forums Consoles Project Arcade Reviews
Automated Projects Artwork Frontend Support Forums Pinball Forum Discussion Old Boards
Raspberry Pi & Dev Board controls.dat Linux Miscellaneous Arcade Wiki Discussion Old Archives
Lightguns Arcade1Up Try the site in https mode Site News

Unread posts | New Replies | Recent posts | Rules | Chatroom | Wiki | File Repository | RSS | Submit news

  

Author Topic: How to shutdown  (Read 3655 times)

0 Members and 1 Guest are viewing this topic.

cdbrown

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1241
  • Last login:October 16, 2017, 09:52:03 pm
  • Bowowow
How to shutdown
« on: May 15, 2002, 08:15:33 am »
This may be a very lame question  :-[ but how do those of you that use windows exit out of mame and shutdown.  Have you wired a windows button or something like that or do you just turn off the power to the cab?

I guess the same question applies to starting the computer and running the frontends.  I was thinking about having a couple of different emulators so how can I get them to run using the control panel (4 joysticks, no trackball)?

Thanks in advance
Craig
« Last Edit: December 31, 1969, 07:00:00 pm by 1026619200 »

aramis

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 94
  • Last login:November 26, 2002, 09:24:04 pm
  • mame cab ALMOST done!
Re: How to shutdown
« Reply #1 on: May 15, 2002, 08:32:38 am »
Several front-ends can be configured to automatically shut down Windows for you when you exit them. For example, EmuWizard and Raging Dragon can do this, and I'm sure there are others. I do a shift+P1 start on mine (I use an IPAC) as an ESC to exit the front-end and shut down nicely.

Some people don't do it this way, and simply power off the cab. They then have their BIOS configured to re-power up automatically when power is turned back on. No need to actually hit the power button.

As far as starting, you can simply put a shortcut to the front-end .exe into your startup folder.

The front-ends I mentioned above (EmuWizard and Raging Dragon) also support multiple emulators. I currently am using Windows Mame (NOT Mame32) and the Daphne emulator for laserdisc games.

Note: You didn't mention what version of Mame you are using...keep in mind there are 2 windows versions, a Windows Mame (mame.exe) and Mame32. Mame32 has it's own GUI for ease of use, but is not intended to be used with other front-ends. Windows Mame is command-line based and is easy to set up with a seperate front-end.

« Last Edit: December 31, 1969, 07:00:00 pm by 1026619200 »

Zipper

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 92
  • Last login:November 26, 2022, 12:32:50 pm
  • I've Built My Own Arcade Controls!!
Re: How to shutdown
« Reply #2 on: May 15, 2002, 09:36:05 am »
I use MAME32 in my cab, and have an i-pac shifted key which shuts down the computer.

Get the free copy of 'hot keyboard' to assign any key as a 'shut-down' key. Search for it on google. You can shut down at any time - even whilst playing - it's very fast.

As for starting the cabinet up....
I have MAME32 in the start-up folder (so it's ok once the machine is running, but I have to put my hand inside the coin door to press the power switch to a laptop inside. :( Not the most ideal solution, but it will do for now.
« Last Edit: December 31, 1969, 07:00:00 pm by 1026619200 »

Zipper

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 92
  • Last login:November 26, 2022, 12:32:50 pm
  • I've Built My Own Arcade Controls!!
Re: How to shutdown
« Reply #3 on: May 15, 2002, 09:39:46 am »
I will be looking to use a more dedicated front end in the next couple of days though....
Probably Raging Dragon or Arcade FX. Especially as Hot Keyboard isn't Freeware.
« Last Edit: December 31, 1969, 07:00:00 pm by 1026619200 »

gajaman

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 137
  • Last login:July 19, 2011, 02:50:33 pm
  • The GajaCab is here......
    • The Gaja Project
Re: How to shutdown
« Reply #4 on: May 15, 2002, 11:00:02 am »
I use an i-pac and have configured two of the buttons to be ALT and F4 when in shift mode. All I have to do is hold the shift button then the ALT and F4 (player one buttons 4 & 5) and Arcade FX or anything else shuts straight down.

I also use it to exit windows again then use shift and joystick one left to enter the quit windows command - easy.

« Last Edit: December 31, 1969, 07:00:00 pm by 1026619200 »

planetjay

  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 547
  • Last login:April 22, 2019, 10:50:57 pm
  • Ex-Evil Admin Monkey.
    • planetjay.com
Re: How to shutdown
« Reply #5 on: May 15, 2002, 11:35:38 am »
Quote
This may be a very lame question
« Last Edit: December 31, 1969, 07:00:00 pm by 1026619200 »
planetjay.com. Still in Chicago. Still no hurricanes!

MuscleSprout

  • Guest
  • Trade Count: (0)
Re: How to shutdown
« Reply #6 on: May 15, 2002, 02:33:10 pm »
Does arcadeOS have this shut down feature?  Would powering off the somputer not cause scan disk to check every time it's powered back on, or can you turn that off?  Just wondering....
« Last Edit: December 31, 1969, 07:00:00 pm by 1026619200 »

johnpurs

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 75
  • Last login:April 26, 2022, 10:59:30 pm
    • John &ampamp; Mad's MAME2000 Cabinet
Re: How to shutdown
« Reply #7 on: May 15, 2002, 03:01:47 pm »
Quote
Does arcadeOS have this shut down feature?
MAME2K

Pins:Devil'sDare*Taxi*Meteor*Fireball 2*WC Soccer 94*WhiteWater*Catacomb*FunHouse*Nine Ball*Space Shuttle*Flight2000**SeaWitch*Centaur*Paragon*Big Game*F-14 Tomcat*

Ghoul

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 137
  • Last login:September 15, 2004, 08:59:06 am
  • Karate Fish Master
Re: How to shutdown
« Reply #8 on: May 15, 2002, 05:01:26 pm »
The best method for starting up a cab is using a motherboard that can be set up to power on at the press of a keyboard key (ie one of your pushbuttons).

This is what I plan on doing and lots of mobos support it, but it probably won't work for you  :-/

For shutting down I always imagined going through windows and just leaving the monitor running in that standby mode it goes into when your comp shuts down.
« Last Edit: December 31, 1969, 07:00:00 pm by 1026619200 »

ampapa

  • Guest
  • Trade Count: (0)
Re: How to shutdown
« Reply #9 on: May 15, 2002, 07:27:00 pm »
I run in a pure DOS mode mode but the idea is the same for windows by running a batch file you can shutdown the system...

e.g. The batch file starts ArcadeOS as the PC boots or from DOS, while ArcadeOS is running everthing is hunky dory! When you exit ArcadeOS the remaining part of the batch file resumes and shuts the PC down...

"If you are using Windows and want to shut the sytem down use the file rundll32.exe similar to the following (c:\windows\rundll32.exe user,exitwindows)."

If you use the above in a batch file it will shut the computer down.

Here's a link to the full conversation on the ArcadeOS forum...http://www.mameworld.net/cgi-bin/wwwthreads/showpost.pl?Board=mameworldarcadepcjamma&Number=1436&page=&view=&mode=threaded&sb=#Post1436


Here is a link to my site if you interested...
www.webajm.com/ajmconsulting
« Last Edit: December 31, 1969, 07:00:00 pm by 1026619200 »

cdbrown

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1241
  • Last login:October 16, 2017, 09:52:03 pm
  • Bowowow
Re: How to shutdown
« Reply #10 on: May 16, 2002, 01:10:14 am »
Quote
I will be looking to use a more dedicated front end in the next couple of days though....
Probably Raging Dragon or Arcade FX. Especially as Hot Keyboard isn't Freeware.


Have now downloaded Raging Dragon and noticed it has the shutdown function in the dragon.ini file :).  Now just have to learn how to use it properly.
-cdbrown
« Last Edit: December 31, 1969, 07:00:00 pm by 1026619200 »

Howard_Casto

  • Idiot Police
  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 19400
  • Last login:April 21, 2024, 11:59:54 pm
  • Your Post's Soul is MINE!!! .......Again??
    • The Dragon King
Re: How to shutdown
« Reply #11 on: May 16, 2002, 01:51:21 am »
Quote

"If you are using Windows and want to shut the sytem down use the file rundll32.exe similar to the following (c:\windows\rundll32.exe user,exitwindows)."


I wish this still worked or else I wouldn't have had to write all this goofy code for rd....  In an NT-based environment this old trick won't work as they're are various security procedures to kill.  If I ever find a non-code based solution for nt/2000/xp I'll post it though.  It's like 4 case statments and 12-20 calls of windows proceses to do it now.
« Last Edit: December 31, 1969, 07:00:00 pm by 1026619200 »

Skeleton

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 25
  • Last login:September 26, 2002, 05:45:22 pm
    • Skeleton's Arcade
Re: How to shutdown
« Reply #12 on: May 16, 2002, 06:21:02 am »
I've given this topic a lot of consideration and I've come up with a pretty good solution for my MAGMA project. What I wanted was a one button power-on / power-off that shut windows down in a nice way at any time, whether you are in the frontend or in the middle of a game. You could just hook a button up to the PC power button. This turns it on and you can configure it to shut down this way too, but it is not an unconditional shutdown. If you are in the middle of a game an ugly popup window will appear telling you that you must exit the game before shutting down.
  I solved this problem with a momentary pushbutton and a DPDT 12V Relay. The pushbutton is wired across both common terminals of the relay. The NC contacts are wired across the power button of the PC. The NO contacts are wired to a KE72 input. The Relay coil is wired to 12V from the PC power supply. When the system is off the pushbutton is essentially connected to the PC power button. This allows you to turn it on. As soon as power comes on the relay activates and the pushbutton is then connected across the KE72 input. In windows I created a shortcut that has a Hotkey combination like Ctrl-Alt-K (be careful that there is no way you can activate whatever hotkey combo you choose while playing MAME). This shortcut points to an unconditional shutdown program (you can find this on the web). The KE72 input is programmed to send this Hotkey combination when the pushbutton is pressed. This allows the same pushbutton to power off the machine in a nice controlled, windows-friendly way even if you are in the middle of playing a game.
  For people that have IPAC's this solution doesn't work since it can't send a macro to activate the shortcut. Since my next machine will likely have an IPAC I am working on a different solution. I'm thinking about hooking the NO contacts of the relay to something like the RingIndicator line on a serial port and creating a VB program that performs an unconditional shutdown on a RingIndicator event running in the background. I still have to work on this though.
  This can power up the whole cabinet. You just need to switch the AC power to your powerstrip that powers the rest of the cabinet with a 12V Relay that is powered by the 12V from the PC power supply. Just make sure it can handle 120VAC at enough current (I would estimate that 10A would be a minimum rating).
  I still need to update my website with this info so I don't have to keep re-typing it every time someone asks this question. Hope this helps someone.
« Last Edit: December 31, 1969, 07:00:00 pm by 1026619200 »