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: Game Launcher as XP Shell  (Read 7138 times)

0 Members and 1 Guest are viewing this topic.

jets

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 80
  • Last login:February 25, 2005, 06:40:39 pm
  • all your base are belong to us
Game Launcher as XP Shell
« on: February 26, 2003, 09:34:30 am »
I have been trying to get Game Launcher to run at startup and I have not been able to get it to work. I read a number of messages all over but it seems GL is a little strange beacause it will not work like regular programs...it needs to find _gl32.exe and the glaunch.dat file so it needs a little extra something to work. I use XP Pro and I've tried to add it to the startup folder, HKCU run, HKLM run, and none get the job done.
 
I tried what this person did but it does not seem to like the script that the batch file uses to run GL at startup. If I just run the batch file now it will work but not at startup? Has anyone pulled this off?

Thanks.

mikej

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 13
  • Last login:February 25, 2003, 02:22:23 pm
    • Lunchpicker
Re:Game Launcher as XP Shell
« Reply #1 on: February 26, 2003, 12:44:40 pm »
Here's what worked for me...

1) Unzip and place the following app in the same directory as glaunch.exe.
http://www.lunchpicker.net/LaunchAfterDelay.zip

2) Place a shortcut to this app in the startup folder with the following command line arguments.
  "-d 10 -f c:\gamelauncher\glaunch.exe" (substitute your path to glaunch.exe)

This works for me on XP Pro.  The app is basically a VB app that runs in the background and waits 10 seconds (or whatever you pass after "-d" and then launches the file passed after "-f".  Let me know if you have any questions.

Mike

Dariusz

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 195
  • Last login:November 23, 2018, 02:41:36 pm
  • I want to Build My Own Arcade Controls!!
Re:Game Launcher as XP Shell
« Reply #2 on: February 26, 2003, 04:54:37 pm »
Hi Mike,

Have you also been able to when exiting GL, to shutdown XP automaticaly?

Lookforward to your response.

Kind Regards,

Dariusz


Here's what worked for me...

1) Unzip and place the following app in the same directory as glaunch.exe.
http://www.lunchpicker.net/LaunchAfterDelay.zip

2) Place a shortcut to this app in the startup folder with the following command line arguments.
  "-d 10 -f c:\gamelauncher\glaunch.exe" (substitute your path to glaunch.exe)

This works for me on XP Pro.  The app is basically a VB app that runs in the background and waits 10 seconds (or whatever you pass after "-d" and then launches the file passed after "-f".  Let me know if you have any questions.

Mike

romid

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 106
  • Last login:November 17, 2008, 02:33:12 pm
  • MAME rox your socks!
    • Temp MAME pics
Re:Game Launcher as XP Shell
« Reply #3 on: February 26, 2003, 06:26:18 pm »
suprisingly, I was able to put glaunch in my startup folder in XP and it automatically starts up.  What did not work was setting my shell to be glaunch.exe  that produced an error which told me to check the logs, unfortuntely it didnt log anything.  :(

Has anyone else had problems w/ using glaunch as their shell instead of explorer?  Or on the flip side, has anyone successfully done it?   As I mentioned earlier, Im running winXP.

Jakobud

  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1962
  • Last login:June 30, 2025, 02:20:39 pm
Re:Game Launcher as XP Shell
« Reply #4 on: February 26, 2003, 07:04:12 pm »
Why is it that XP has this problem of not starting GL when its in the Startup folder?

romid

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 106
  • Last login:November 17, 2008, 02:33:12 pm
  • MAME rox your socks!
    • Temp MAME pics
Re:Game Launcher as XP Shell
« Reply #5 on: February 26, 2003, 07:51:49 pm »
Look here for Dave's (the author of gamelauncher) reply regarding using it as the shell:

http://sourceforge.net/mailarchive/forum.php?thread_id=1693842&forum_id=3285

"Unfortunately, GL cannot be used directly as a shell replacement, it's probably not too difficult to hack up a simple shell that does nothing but launch GL, wait for it to exit, and shut down the PC."

Dariusz

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 195
  • Last login:November 23, 2018, 02:41:36 pm
  • I want to Build My Own Arcade Controls!!
Re:Game Launcher as XP Shell
« Reply #6 on: February 26, 2003, 09:03:03 pm »
Hi,

Does anyone know how to create the shell that launched and exits GL or even better has on available that they can share and provide instructions on installing/using the shell.

Kind Regards,

Dariusz

Look here for Dave's (the author of gamelauncher) reply regarding using it as the shell:

http://sourceforge.net/mailarchive/forum.php?thread_id=1693842&forum_id=3285

"Unfortunately, GL cannot be used directly as a shell replacement, it's probably not too difficult to hack up a simple shell that does nothing but launch GL, wait for it to exit, and shut down the PC."

Howard_Casto

  • Idiot Police
  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 19427
  • Last login:July 13, 2025, 11:38:27 am
  • Your Post's Soul is MINE!!! .......Again??
    • The Dragon King
Re:Game Launcher as XP Shell
« Reply #7 on: February 26, 2003, 10:39:08 pm »
make a bat file that navigates to the game launcher directory, launches gamelauncher, waits for it to exit and then launches one of those nifty "shutdown on execution" apps......  i used to do it back in the day so i know it works.... btw gl can't be launched from a 98 startup menu either....  it uses multiple files and thus it won't work with a bat that simply sets the path prior to execution.....

hope that helps...

Dave Dribin

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 152
  • Last login:May 26, 2007, 11:17:39 pm
  • ugh... yeah
    • Dave Dribin's Home Page
Re:Game Launcher as XP Shell
« Reply #8 on: February 27, 2003, 11:35:12 am »

jets

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 80
  • Last login:February 25, 2005, 06:40:39 pm
  • all your base are belong to us
Re:Game Launcher as XP Shell
« Reply #9 on: February 28, 2003, 09:58:02 am »
I  thank everyone on the board for all the help. I finally got my cab to boot and shutdown with minimal user intervention and there is really only one problem.

My goal is to have a single button to startup and shutdown the cabinet by someone who understands nothing about computers. Bootup is taken care of but here is the problem with shutdown. In the XP control panel power options you can specify 'shutdown' when the power button is pressed. If I am in Game Launcher and press power, the program will hang and just look like windows which is a no-no plus the enter button needs to be pressed for "OK" to complete the shutdown. On the other hand, if P1 and P2 start (ESC) are pressed GL exits and automatically shuts down windows (using the Auto it run script) without a hitch. That may be too complicated for some people so what is the best solution for this?

Here's what I think I'm going to try. I am going to change the button that GL uses to exit itself to the most obscure key I can think of and at the same time wire the PC "on/off" switch to that same keypress. After thats done, I just go into power options and tell the PC to do nothing when power is pressed. GL exits and the script shuts down the PC.

Here's the final 2 questions:

1) Are the PC power switches momentary "on only when presseed" OR regular "click on/click off" switches? I Haven't tested since I'm at work...I just thought of this.

2) What is the most obscure keypress you can think of?

Carsten Carlos

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 579
  • Last login:June 28, 2014, 05:06:25 am
  • Projects: Centipede extended, Asteroids
    • Carlos' Centipede-extended
Re:Game Launcher as XP Shell
« Reply #10 on: February 28, 2003, 10:16:53 am »
Can't you just set your PC in the "Ruhezustand", guess it's called doze-mode in english?

I mean the mode where it writes all the RAM to your harddisk and then turns the PC off. So the next time you reboot/press button it continues at the same stage! You can map this function directly to your power-button.

to 1) - it's a momentary switch.



rampy

  • *shrug*
  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 2910
  • Last login:March 02, 2007, 11:32:16 am
  • ...as useless as a JPG is to Helen Keller
    • Build Your Own PVR
Re:Game Launcher as XP Shell
« Reply #11 on: February 28, 2003, 10:23:18 am »

1) Are the PC power switches momentary "on only when presseed" OR regular "click on/click off" switches? I Haven't tested since I'm at work...I just thought of this.

2) What is the most obscure keypress you can think of?

#1 most MODERN atx style cases/powersupplies/mobo are momentary (doorbell-esque) type switches...

#2 *shrug*

rampy

jets

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 80
  • Last login:February 25, 2005, 06:40:39 pm
  • all your base are belong to us
Re:Game Launcher as XP Shell
« Reply #12 on: February 28, 2003, 04:43:38 pm »
Can't you just set your PC in the "Ruhezustand", guess it's called doze-mode in english?

I mean the mode where it writes all the RAM to your harddisk and then turns the PC off. So the next time you reboot/press button it continues at the same stage! You can map this function directly to your power-button.


Ah, that's "hibernate" mode. I thought about that but then I'd have to see that message that says "windows is now resuming...." which I don't wanna see. I made my own XP boot/login screens so the only thing seen that I don't really want to see is the mouse pointer as it's booting. No big deal. Hibernation is a good suggestion though. Thanks for the replys  ;)