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: Exit AtomicFE from a game???  (Read 1387 times)

0 Members and 1 Guest are viewing this topic.

LCDSCREEN

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 10
  • Last login:November 22, 2008, 11:36:48 pm
Exit AtomicFE from a game???
« on: July 27, 2008, 09:35:07 pm »
So, right now I have my Mame cabinet booting right into NBA Jam, everything is fine but once I exit the game it goes back to AtomicFE. Id much rather have it just shut down Windows. Im not the kind of guy who likes having a lot of games, I just want the one, so when the game exits to Atomic and theres only one game on the list, it doesn't look so nice. :P So, any help would be nice.

Oh, oh, also, whenever I start the game it asks me to press enter (I have Enter as my Credit button, so its not that big a deal) and Id like to loose that as well. If theres a version of Mame without it, let me know! :)

Thanks in advance, back to NBA Jam.

youki

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1612
  • Last login:November 19, 2016, 01:07:33 pm
  • Atomic Front End Creator
    • Atomic Front End
Re: Exit AtomicFE from a game???
« Reply #1 on: July 28, 2008, 03:59:29 am »
humm... why do you need Atomic , if you run only one game? 

you could do a simple .BAT file that run your game and put it in windows start folder.

anyway, If you want shutdown directly windows when you exit the game using Atomic, it should be possible using "run programe before going back to FE" option (on external command tab)

and putting :  c:\windws\system32\shutdown.exe -s     

as command.

(should works on XP and Win2K , not sure if this command is in standard in win98)

Space Fractal

  • Wiki Master
  • Trade Count: (+1)
  • Full Member
  • *****
  • Offline Offline
  • Posts: 1888
  • Last login:September 26, 2023, 11:32:13 am
  • Space Fractal
    • Space Fractal
Re: Exit AtomicFE from a game???
« Reply #2 on: July 28, 2008, 06:18:02 am »
no need to use a frontend to just one game.

First download poweroff from http://users.pandora.be/jbosman/poweroff/poweroff.htm, which I use for poweroff from any windows version (since that command is a bit diffecent from windows version to windows version).

and then as youki said, just write a batch file to do something this and put that into the start folder:

Code: [Select]
c:
c:\mame
mame romname
Poweroff shutdown -notray -nocancel -force

You might want to remove -nocancel. so you have a change to quit to windows instead shutdown winwdows. otherwice you can go into failsafe and remove that, if you need some mainframe.

(I asume you put poweroff.exe to the mame folder).



Decade Old Work: MultiFE, ArcadeMusicBox
Today Works: Various Spectrum Next games from Rusty Pixels and html5 games.

Teknique

  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 204
  • Last login:October 02, 2015, 10:35:46 am
  • I'm a Gauntlet wizard in real life
Re: Exit AtomicFE from a game???
« Reply #3 on: July 28, 2008, 03:58:22 pm »
(edited) see youki's example or just type 'esc' into box to get you back to desktop.
Your screen name has been added to my frag list.