Hi folks, just wondering if anyone might be able to help me with this issue. Basically I've used Zombeaver's excellent guide to get ParaJVE set up, configured, and working in Launchbox. Lovely little emu, and for the most part, plays lovely with LB. That is, until I went to start a game...damn, no controller support in ParaJVE. So I figured I needed a mapper, so I used Xpadder, which again, works perfectly. I can now launch, play, and exit games in ParaJVE through LB. Cool.
Next problem, I need Xpadder to launch before ParaJVE...no problem, LB has me covered. I use the Additional Apps feature to configure Xpadder to start before ParaJVE starts, and it works flawlessly. I now boot a game, Xpadder will launch, it'll load the profile, ParaJVE will launch, the game will boot, I play the game, and exit it. Perfect. Only problem is Xpadder remains active/running. Fine, I'll add a second instance of an Additional App configuration to stop Xpadder when ParaJVE is closed down.
Here's where the problems begin. For whatever reason, LB cannot 'see' what the status of ParaJVE is, because when I create a second instance of Additional Apps to close Xpadder upon exiting ParaJVE (automatically run after main application), Xpadder will close right after it's launched. No matter what way I configure the additional app settings to close Xpadder, it just either won't close, or closes while ParaJVE is still running. I can't get it to close Xpadder, when I exit ParaJVE.
So after some research, I found suggestions of maybe creating a autohotkey script. This one (tailored for my needs) is the one I've tried:
#SingleInstance, Force
#Persistent
SetTitleMatchMode, 2
DetectHiddenWindows, On
SetTimer, ProcessCheckTimer, 3000
Return
ProcessCheckTimer:
Process, Exist, javaw.exe
pid1 := ErrorLevel
If (!pid1)
{
Process, Close, Xpadder.exe
ExitApp
}
Return
^^ I'm no scripter, but from what I understand, the above basically is asking that the process "javaw.exe" is checked to be running or not (this is needed for ParaJVE), and if it's not found to be running, then the process of Xpadder.exe is closed. However, it doesn't work. When I quit ParaJVE, Xpadder still will not close.
Has anyone any ideas on how to get Launchbox to close Xpadder when I quit ParaJVE? Pretty please??
Edit:
Windows 10 fully updated
Launchbox Premium fully updated
Xpadder 2014.01.01