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: Problems running PC games from GameLauncher  (Read 1196 times)

0 Members and 1 Guest are viewing this topic.

Justin

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 551
  • Last login:March 29, 2025, 09:39:08 am
    • Centipede MAME cabinet
Problems running PC games from GameLauncher
« on: August 31, 2003, 12:41:28 pm »
I've been using GL for quite a while now on my cab, running MAME.  Now I am in the process of adding other emulators, as well as PC games.  So far no problems with emus, but I am not being so lucky with PC games.

Part of the challenge here is to make GL work with standalone exe files (no roms associated).  So I figured a good idea would be to make a .bat file (and this would be the 'executable') and make the rom the actual game executable file itself.  This way I could make a list of pcgames and embed them in the pcgames.rom file, and be able to run all PC games from a single screen under GL menu.
So, my bat file 'startgame.bat' reads:
start %1

And GameLauncher would run this command: (verified via debug mode)
startgame.bat m:\games\PCgame\PCgame.exe

In theory this should work, because I tried running this command from a DOS prompt and all is fine.  However, GL doesn't like this. It launches the game but returns to the main menu immediately.  If I quit GL, the PC game is revealed running on the background, so clearly the game is being launched.

I also attempted a more direct (but ugly) approach, and managed to get GL to execute this directly, without relying on bat file:
m:\games\PCgame\PCgame.exe
Still, same problem.

The game I'm trying to get to work is called Mutant Storm  (an absolute gem!!!) and you can dl it here:
http://www.pompom.org.uk/

Any help appreciated.  I hate having to quit GL to play PC games  :(
"3 warps to Uranus" -- so I stopped playing!

Todd H

  • Trade Count: (+2)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 658
  • Last login:August 26, 2024, 02:23:32 pm
  • It's Gameday!
Re:Problems running PC games from GameLauncher
« Reply #1 on: September 01, 2003, 02:58:06 pm »
I use a program called Batchrun that lets me run programs or scripts in a particular order.  I have it set up so it first runs a batch file that closes Gamelauncher completely, then launches the PC game, then when the player exits the pc game it loads Gamelauncher again then closes batchrun.  Do a search on Google for batchrun.  I think the latest version is 4.1.
« Last Edit: September 01, 2003, 03:44:41 pm by Todd H »

Malachai

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 160
  • Last login:April 05, 2014, 11:07:00 pm
Re:Problems running PC games from GameLauncher
« Reply #2 on: September 10, 2003, 11:10:00 am »
When I ran into this problem I just added a pause command after the executible.  When you exit you PC program you just have to press any key to continue.  This will only work if you are using a keyboard interface though.  It's hard to press a keyboard key with a joypad.  ;)

You might be able to use one of HowardC's wrappers.  It's worth a look.

Justin

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 551
  • Last login:March 29, 2025, 09:39:08 am
    • Centipede MAME cabinet
Re:Problems running PC games from GameLauncher
« Reply #3 on: September 10, 2003, 07:54:14 pm »
I added the pause, and all I get now is a BLACK screen.  Game running behinf the black screen.

Could someone PLEASE PLEASE try MutantStorm demo and make it work with GL? Prove me wrong!    I've spent over 3 hours trying different things, and I never quite getting to run correctly from GL.   This game is SOOO worth the effort though.  Just getting frustrated, that's all.  :-\

Download at:
http://www.pompom.org.uk/
"3 warps to Uranus" -- so I stopped playing!

Katana Man

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 238
  • Last login:September 22, 2024, 12:10:44 pm
Re:Problems running PC games from GameLauncher
« Reply #4 on: September 10, 2003, 10:13:08 pm »
I feel your pain. I have the same problem with GL and other emulators. It runs in the background. It pretty much makes GL useless because the focus is wrong. The only way to get around this that I know of is to turn debug = yes.  This makes the focus work properly, but slows things down because you have to keep answering a DOS window "press any key to continue". Obviously debug mode was designed for troubleshooting and not to be used daily.

I'm using win 98.
« Last Edit: September 10, 2003, 10:25:26 pm by Katana Man »

Justin

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 551
  • Last login:March 29, 2025, 09:39:08 am
    • Centipede MAME cabinet
Re:Problems running PC games from GameLauncher
« Reply #5 on: September 10, 2003, 11:02:58 pm »
Katana:   Yes I noticed that too... turning debug ON makes it work, but defeats the purpose of having a frontend IMHO... I really don't want a DOS window showing in my cab!  grrrrrrrr!!!!!!!!!!!
"3 warps to Uranus" -- so I stopped playing!

Katana Man

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 238
  • Last login:September 22, 2024, 12:10:44 pm
Re:Problems running PC games from GameLauncher
« Reply #6 on: September 11, 2003, 01:49:00 pm »
Agreed.  I hope the author of GameLauncher fixes this.