Jump to content
LaunchBox Community Forums

Recommended Posts

Posted (edited)

Hello, I have LED Blinky configured properly and when I launch a table the lights are properly lit and mapped through LED Blinky but when the table completely loads the lights go off.  I believe the issue is that Future Pinball is launched through a .ahk script that I made which then loads FPLoader.exe that THEN launches a number of things including Future Pinball.exe (I do not believe FP Loader remains open).  LED Blinky believes that Future Pinball is closed because the program that initially runs does not remain active (I assume).  I am trying to find a work around for this but launching Future pinball has become quite complicated on my machine because I also enable a couple of things during launch (pinscape controller gets activated, joytokey gets activated and tables launched).  

I have read that some people are able to keep FPloader active somehow to keep LED Blinky operating but I do not fully understand the AHK code.  My script is below (the .bat files enable my D.O.F. controller).  I am also wanting to close Joytokey at the end of the script but this is non critical and just figured I would add it to this issue.  This initial script was built through trial and error and help via the forums because I do not fully understand ahk...  

I also included a screenshot of the forum post I read that addresses this issue but I don't know how to implement this on my end and really I am hoping there is a simpler way?

******************************************************************************

Run, "C:\Users\Arcade\LaunchBox\Tools\DevManView\pinscape_enable.bat"
Sleep, 500

Run, "C:\Program Files (x86)\JoyToKey\JoyToKey.exe"
Sleep, 500

Run, "dmdext.exe" mirror --source=futurepinball -q --virtual-stay-on-top --fps 60 -g "[GAMENAME]" --use-ini="C:\Visual Pinball\VPinMAME\FP_DmdDevice.ini", C:\Visual Pinball\VPinMAME, Min

Run, "C:\Games\Future Pinball\BAM\FPLoader.exe" /play /exit /open "%1%"
Sleep, 10000

While WinExist("ahk_exe Future Pinball.exe")
  sleep 700    

Process, WaitClose, dmdext.exe
Run, "C:\Users\Arcade\LaunchBox\Tools\DevManView\pinscape_disable.bat"
ExitApp

*******************************************************************************

Screenshot 2025-04-17 164518.png

20250417_170525.jpg

Screenshot 2025-04-17 165147.png

Edited by AceEsCloud

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...