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: Running single game on computer setup  (Read 3164 times)

0 Members and 1 Guest are viewing this topic.

Nimbus

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 60
  • Last login:December 21, 2019, 08:08:57 pm
Running single game on computer setup
« on: April 07, 2011, 11:35:21 pm »
I am considering building a cabinet for a single game to run on a computer. I am not talking about MAME. I am talking about purchasing one game and using the computer just for that game. The game would be running on Windows.

In particular, I am wondering if you can set up the computer to go STRAIGHT to the game, and not to windows. That way it would look and act like an arcade game, minus the quarters. Is this possible? I have read about people hiding Windows entirely. I figure it would be similar.

I did some searching to no avail. I kept finding tons of other threads not pertaining to this subject.

Please help point me in the right direction. I am sorry if this info has been posted regularly and I couldn't find it.

Thanks!

Donkbaca

  • Our reptillian overlords would be pleased
  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 2648
  • Last login:May 09, 2012, 06:28:10 pm
    • Slim built MAME/Xbox cab
Re: Running single game on computer setup
« Reply #1 on: April 08, 2011, 12:53:29 am »
If you used instant sheller you could do it and have your startup folder boot the game.

MacGyver

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 317
  • Last login:December 18, 2023, 12:49:00 am
    • Project Build
Re: Running single game on computer setup
« Reply #2 on: April 08, 2011, 01:49:50 am »
With XP you make a batch file, and change the windows shell from "explorer.exe" to the batch file. ie.   "C:\launchgame.bat"

1) Open regedit (start menu > run, and type in regedit)
2) Go to: HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon
3) Change "explorer.exe" to "C:\launchgame.bat"

In the "launchgame.bat" batch file put something like.

Code: [Select]
@echo off
"c:\progra~1\yourgamedir\yourprogram.exe"
"c:\progra~1\yourgamedir\yourprogram.exe"
"c:\progra~1\yourgamedir\yourprogram.exe"
"c:\progra~1\yourgamedir\yourprogram.exe"
c:\windows\explorer.exe    or    shutdown /s /t 0

That way when your computer boots, it runs your batch file instead of the normal shell, and if you accidentally exit out of the game, it will launch it again 3 more times.  The last part will either launch the normal shell "explorer.exe" or shutdown after you exit the game 4 times. (I would use explorer.exe, as it will let you use your computer normally after the game has exited so you can fix things, using shutdown will shut it down, but you will have to use a "Live" version of Windows with Regedit.exe and load the hive registry of the windows install just undo it or fix things.

Use some of the key words or registry paths listed above in Google to get a better understanding of what it all means.
ALWAYS HAVE A BACKUP, AND BE PREPARED TO LOSE EVERYTHING ON THE COMPUTER WHEN MESSING WITH THE SHELL!!!


fallacy

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 992
  • Last login:March 11, 2025, 01:20:39 am
Re: Running single game on computer setup
« Reply #3 on: April 08, 2011, 02:18:10 am »
Regardless you have to wait for windows to load before you can run anything in windows.

Also Windows 7 loads alot faster then XP that's for damn sure.
« Last Edit: April 08, 2011, 02:22:44 am by fallacy »

LeedsFan

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1042
  • Last login:January 17, 2021, 06:14:23 am
Re: Running single game on computer setup
« Reply #4 on: April 08, 2011, 03:29:35 am »
Also Windows 7 loads alot faster then XP that's for damn sure.

But Windows 7 cannot be shelled or hidden completely like XP can.

grasspuddle

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 20
  • Last login:August 21, 2011, 12:43:26 pm
Re: Running single game on computer setup
« Reply #5 on: April 08, 2011, 11:19:32 am »
Quickest way is to just copy a shortcut of the program into the 'startup' folder of your programs list. Windows runs all these programs during the startup.

fallacy

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 992
  • Last login:March 11, 2025, 01:20:39 am
Re: Running single game on computer setup
« Reply #6 on: April 08, 2011, 11:44:04 am »
This fool is not talking about hiding windows. He wants a computer to act like a JAMMA board and just launch a game on power up.

Donkbaca

  • Our reptillian overlords would be pleased
  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 2648
  • Last login:May 09, 2012, 06:28:10 pm
    • Slim built MAME/Xbox cab
Re: Running single game on computer setup
« Reply #7 on: April 08, 2011, 11:54:38 am »
really?  Since the OP said:
Quote
The game would be running on Windows.

I assumed that what he wants is to shell windows and boot straight to the game.

Mikezilla

  • I have a hairy back and everything!
  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1676
  • Last login:July 18, 2017, 07:06:56 pm
  • I can't see the picture darn it!!!
Re: Running single game on computer setup
« Reply #8 on: April 08, 2011, 11:56:43 am »
This fool is not talking about hiding windows. He wants a computer to act like a JAMMA board and just launch a game on power up.

Why is he a fool?
Pictures are overrated anyway.

Cynicaster

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 407
  • Last login:March 19, 2025, 09:31:43 pm
Re: Running single game on computer setup
« Reply #9 on: April 08, 2011, 01:17:40 pm »
A really simple (but maybe a bit cheesy) way of doing it would be to use a MaLa front end with command-line MAME.  I just started using MaLa and still have a lot to learn but there is a setting on there to automatically launch MaLa on every startup, and I believe there is one to load a specific game on startup. 

fallacy

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 992
  • Last login:March 11, 2025, 01:20:39 am
Re: Running single game on computer setup
« Reply #10 on: April 08, 2011, 01:30:37 pm »

Quote
In particular, I am wondering if you can set up the computer to go STRAIGHT to the game, and not to windows.

Mikezilla

  • I have a hairy back and everything!
  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1676
  • Last login:July 18, 2017, 07:06:56 pm
  • I can't see the picture darn it!!!
Re: Running single game on computer setup
« Reply #11 on: April 08, 2011, 01:50:56 pm »
ok must have missed that.  :lol
Pictures are overrated anyway.

Nimbus

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 60
  • Last login:December 21, 2019, 08:08:57 pm
Re: Running single game on computer setup
« Reply #12 on: April 08, 2011, 01:56:13 pm »
Thanks for all of the help. Lots of great options and info presented here.

Quote
In particular, I am wondering if you can set up the computer to go STRAIGHT to the game, and not to windows.

Oops!! I definitely described that poorly. I know it has to run on Windows. I meant that I wanted it to go straight to the game, and not the Windows loading screen.

It looks like I have plenty of options to try out now thanks to you guys. This should be a fun project either way.

Thanks again!! :)

fallacy

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 992
  • Last login:March 11, 2025, 01:20:39 am
Re: Running single game on computer setup
« Reply #13 on: April 09, 2011, 01:25:35 am »
Quote
Oops!! I definitely described that poorly. I know it has to run on Windows. I meant that I wanted it to go straight to the game, and not the Windows loading screen.

It looks like I have plenty of options to try out now thanks to you guys. This should be a fun project either way.

Thanks again!! Smiley


You can definitely replace the windows loading screen graphic with a black picture so it does not show.

This thread should help with hiding windows.

http://forum.arcadecontrols.com/index.php?topic=53467.0

Nimbus

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 60
  • Last login:December 21, 2019, 08:08:57 pm
Re: Running single game on computer setup
« Reply #14 on: April 09, 2011, 02:29:08 am »
Thanks fallacy! I really appreciate the info.

CapriRS302

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 89
  • Last login:June 02, 2011, 01:26:47 pm
Re: Running single game on computer setup
« Reply #15 on: April 11, 2011, 12:40:47 pm »
Just my two cents...

Change the windows loading screen with a bootscreen loader.  You can design a new one based on te game you are loading, maybe a title screen snapshot.  The only drawback is that it has to be in 256 colors.
 You cannot hide the bootscreen as far as I know, but you could simply just make it all "black" including the little status bars that move from side to side, then no one would know it was there.


Then you have to go into the windows registry and replace explorer.exe with the executable file for your game.  Windows should load your game instead of the explorer shell.

If you need windows after that, you will need to boot into safe mode.

Necro

  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1031
  • Last login:November 29, 2022, 08:22:22 pm
  • Building a 'Classic' MAME Cab
Re: Running single game on computer setup
« Reply #16 on: April 11, 2011, 12:53:54 pm »
If you need windows after that, you will need to boot into safe mode.

You can still bring up Task Manager via CTRL-ALT-DEL and then just run explorer.exe and it should load the shell up.