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: Easy hibernate  (Read 814 times)

0 Members and 1 Guest are viewing this topic.

wpcmame

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 278
  • Last login:February 18, 2024, 01:27:00 pm
Easy hibernate
« on: December 15, 2004, 07:13:17 am »
Just wanted to share my solution to put the cabinet to sleep anytime (using XP).

1. Create a shortcut on the desktop with the following command
%windir%\system32\rundll32.exe powrprof.dll,SetSuspendState Hibernate

2. Set the shortcut key to one of the F1-F12 keys. I use F11.
(other keys will not work since they require ctrl+alt)

3. Map one of the buttons on the cabinet to the Fx key. I use shift+esc on my JPAC.

Now I can just press shift-esc anywhere (in a game, in the frontend etc) to close down.
Only problem I noticed is that textures on the graphics card is not restored after hibernate so some games (not mame) might look strange.