Metamonk Posted March 19, 2022 Share Posted March 19, 2022 Hi all, I have been having so many issues with trying to make my arcade cabinet a "set it and forget" when using Big Box with the Sinden Lightgun; either Sinden doesn't start automatically when I turn on my computer, and if it does, then the border doesn't work, or if I do set up everything first, then when I go back into Big Box, some P.C. games that worked fine before, suddenly only play in the background. It's been very frustrating! I saw that some users recommend launching the Sinden app just for lightgun games using the Additional Apps feature from LaunchBox, (which would be awesome!), but I'm not sure how I would close the app when I exit out of the game. It looks like some people use AHK or create BAT files (neither of which I've had much luck with making in the past), or they write an exit script (which I don't see how to do for individual games). Would anyone please be able to tell me if it would work to just add the Sinden app to individual games, and then what would be the easiest most simple way of automatically closing the app when I exit out of the game? Thank you so much for your time and help! Quote Link to comment Share on other sites More sharing options...
ladysman214 Posted March 30, 2022 Share Posted March 30, 2022 Hop on the discord if you want specific answers. It's pretty easy to create 2 separate autohotkey scripts, one to launch the software: Run, Run, C:\arcade\sinden\Player1.lnk and one to close it: Process,Close,Lightgun.exe Run,taskkill /im "Lightgun.exe" /F WinActivate LaunchBox Big Box ;this line might not be needed but it can't hurt either. You can use one as the startup app and one as the exit app. It's weird you mention Windows games not being in focus. I would try creating a shortcut to the lightgun.exe file and right clicking>properties>target and add -silent to the end of the target so it looks like this: C:\arcade\sinden\player1\Lightgun.exe -silent That way the shortcut will launch the Sinden software minimized. I know there are some issues with the current software minimizing to tray so keep that setting off. Keeping the software minimized might help with the Windows games playing in the background. Quote Link to comment Share on other sites More sharing options...
atalec Posted October 28, 2022 Share Posted October 28, 2022 Hi everyone, I want to launch Sinden App when I launch a rail gun shooter but not for other game type. But, I can't put a ahk script for a game, only for emulator that's right ? Someone help me please ? Thx Quote Link to comment Share on other sites More sharing options...
JoeViking245 Posted October 28, 2022 Share Posted October 28, 2022 6 hours ago, atalec said: Hi everyone, I want to launch Sinden App when I launch a rail gun shooter but not for other game type. But, I can't put a ahk script for a game, only for emulator that's right ? Someone help me please ? Thx You can use additional apps for this purpose. You'll need to create 2 additional apps (AHK scripts) to do what you're wanting. One that will Automatically Run Before Main Application (load the Sinden app) and that will Automatically Run After Main Application (close the Sinden app). Create the 2 respective AHK scripts and then add them to your game as outlined here. Check the appropriate box to run Before/After for each additional app. 1 Quote Link to comment Share on other sites More sharing options...
atalec Posted November 3, 2022 Share Posted November 3, 2022 Ok I follow what you say. My sinden app launch correctly but when I exit game with alt+F4 or esc, the process is not killed and if I want to launch another rail shooter my sinden can't start again and give me an issue. Thx Quote Link to comment Share on other sites More sharing options...
JoeViking245 Posted November 3, 2022 Share Posted November 3, 2022 1 hour ago, atalec said: Ok I follow what you say. My sinden app launch correctly but when I exit game with alt+F4 or esc, the process is not killed and if I want to launch another rail shooter my sinden can't start again and give me an issue. Thx Can you show me both your scripts? (the one that loads it and the one that [is supposed to] kill it) Can you also show screenshots of the 2 Additional Apps? Edit each Additional App and share those [edit] screens. Quote Link to comment Share on other sites More sharing options...
atalec Posted November 4, 2022 Share Posted November 4, 2022 Ok, this is my scripts To launch sinden app Run, D:\LaunchBox\Sinden Player 1.lnk,,Min To Stop app ~Esc:: Process,Close,Lightgun.exe Run,taskkill /im "Lightgun.exe" /F sleep, 500 ExitApp return And the 2 screenshots Thanks for your help 1 Quote Link to comment Share on other sites More sharing options...
JoeViking245 Posted November 4, 2022 Share Posted November 4, 2022 1st thought is to change ~Esc:: to $Esc:: If that still don't work, verify that the exit script is even getting touched. After the $Esc:: line, add in something like "SoundBeep,1000,500". Add it several times if you'd like. Then when in the game, press ESC and see if you hear the beeps. If you press ALT+F4, it won't work. Quote Link to comment Share on other sites More sharing options...
atalec Posted November 5, 2022 Share Posted November 5, 2022 (edited) I have changed ~ by $ but I can't try if it works because when I push Esc nothing happen only when I launch my game from Bigbox Edited November 5, 2022 by atalec Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.