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: One touch shutdown.  (Read 1453 times)

0 Members and 1 Guest are viewing this topic.

Ropi Jo

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 201
  • Last login:January 30, 2024, 04:26:37 pm
  • I want to build my own arcade controls!
One touch shutdown.
« on: September 08, 2023, 02:23:02 pm »
Question is about one touch shutdown.

Mame running on a W7 PC, with Mala FE booting automatically.

I quit out of Mala by pressing 1P, and while holding it down also press 2P. This gets me back to the win desktop.

Then I can just press the mobo power button and it shuts down.

If I go straight to the mobo power button windows gives me a pop up to say waiting for Mala to close.

I have no buttons that will get me out of this without either plugging in a mouse or doing a hard shutdown by holding the mobo button.

If I do a hard shutdown windows wont boot without ma pressing a key on a keyboard.

This is not really a Mala question, I think, more is there a way of forcing windows to shut down from any state with just a single press of the power button?

I have been through the Mala options and cannot find anything that may achieve this, but I could be missing something obvious.

Thanks.

BadMouth

  • Trade Count: (+6)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 9272
  • Last login:Yesterday at 06:55:42 pm
  • ...
Re: One touch shutdown.
« Reply #1 on: September 08, 2023, 02:50:41 pm »
There is an option in Mala to have it shut down the pc.  Is there a reason you don't want to use that?  I've used it with windows 7 & 10 without a problem.

Don't remember where to find the option at the moment.  It's been a long time since I had to set anything up.

BadMouth

  • Trade Count: (+6)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 9272
  • Last login:Yesterday at 06:55:42 pm
  • ...
Re: One touch shutdown.
« Reply #2 on: September 08, 2023, 02:55:42 pm »
GUI>Mala Exit>Exit Action>Shutdown

BadMouth

  • Trade Count: (+6)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 9272
  • Last login:Yesterday at 06:55:42 pm
  • ...
Re: One touch shutdown.
« Reply #3 on: September 08, 2023, 03:00:41 pm »
If you want to exit to desktop after setting that, you still can by using a mouse to right click and exit Mala.

baritonomarchetto

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 822
  • Last login:Yesterday at 10:21:21 am
Re: One touch shutdown.
« Reply #4 on: September 08, 2023, 03:33:15 pm »
If toying with MALA options does not solve, you can easily write an autoit script to force pc shutdown at key/joy press
https://www.autoitscript.com/autoit3/docs/functions/Shutdown.htm

Ropi Jo

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 201
  • Last login:January 30, 2024, 04:26:37 pm
  • I want to build my own arcade controls!
Re: One touch shutdown.
« Reply #5 on: September 09, 2023, 03:18:43 pm »
Thank you fellas.

I'll try the built in Mala option which I've obviously missed. If no joy I'll get somebody who knows scripty things to look at that link.

 :cheers: