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: launching glovepie from command line issues  (Read 4493 times)

0 Members and 1 Guest are viewing this topic.

dezblack

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 28
  • Last login:June 04, 2012, 01:37:01 am
launching glovepie from command line issues
« on: October 08, 2009, 06:40:25 pm »
if I launch glovepie from a command line useing:

D:\SYS_Apps\GlovePIE\glovepie.exe -D:\SYS_Apps\GlovePIE\WiimoteScripts\MAME_IR_PPJoy_x2.PIE

I can then open mame and play a game correctly.

If I put the launch script in a "launch before", it freezes and will not launch MAME. If I manually close it during the process, Mame will continue to launch immediately.

Is there a switch i need to use to make glovepie stop whatever its doing and continue on to launch mame?

Neverending Project

  • Trade Count: (+3)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 851
  • Last login:April 06, 2015, 10:07:43 pm
    • Arcade Fixer
Re: launching glovepie from command line issues
« Reply #1 on: October 08, 2009, 06:59:25 pm »
If I put the launch script in a "launch before"

What do you mean by this? Are you using a batch file to launch? Or are you simply typing this command somewhere to have it execute before MAME launches?

dezblack

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 28
  • Last login:June 04, 2012, 01:37:01 am
Re: launching glovepie from command line issues
« Reply #2 on: October 08, 2009, 07:06:34 pm »
I found a cheap wiimote and decided to try glovepie for a quasi-lightgun.

I have it working really well, minus the obvious problems associated with doing this. I want to be able to launch glove pie from a command line before it starts an EMU or app so I can specify which profile to use. This works from a command line:

D:\SYS_Apps\GlovePIE\glovepie.exe -D:\SYS_Apps\GlovePIE\WiimoteScripts\MAME_IR_PPJoy_x2.PIE

and I use this to close after it closes,and it works from Gameex:

TASKKILL /F /IM glovepie.exe /T

My problem is, whenever I try to launch mame with the launch before (gameex lets me specify a command to be run before something is launched, as well as specifying something to run after the app closes), it comes up to a black screen for a few minutes and then mame closes and goes back to Gameex. If I remove the launch before, and manually start GlovePIE, I am able to play a game and then GlovePIE closes when I close back to gameex. If I use the launch before option, it launches GlovePIE, stalls, closes back to gameex and GlovePIE is still open, so it looks like MAME isn't even launching!

I tried to use a bat to launch it instead using:

@echo off
start /MIN D:\SYS_Apps\GlovePIE\glovepie.exe -D:\SYS_Apps\GlovePIE\WiimoteScripts\MAME_IR_PPJoy_x2.PIE

but the result is the same.
« Last Edit: October 08, 2009, 07:10:47 pm by dezblack »

dezblack

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 28
  • Last login:June 04, 2012, 01:37:01 am
Re: launching glovepie from command line issues
« Reply #3 on: October 09, 2009, 05:48:24 pm »
I got this resolved, thanks to some help from the Gammex frontend forum guys.

I'm using an ahk script to launch glovepie and its working great.