Jump to content
LaunchBox Community Forums

Shell Blocking Game [Big Box Only]


Scorpion_83

Recommended Posts

Hello,

First post here.  I've been trying to find a way to get antimicro to run then launch a game.  Then, when the game exits, so does antimicro.  This is my first time scripting and it looks like I've got it right.  It works in Launchbox, but in Big Box the shell [cmd window] stays active on the screen instead of the game.  At this point I would need keyboard or mouse interaction to continue, which I do not want.  Any suggestions?

Here's my script so far:

cd C:\Program Files (x86)\AntiMicro
start antimicro.exe
cd C:\LaunchBox\Games\Windows\Mortal Kombat 4
start /b /wait mk4.exe
cd C:\Program Files (x86)\AntiMicro
taskkill /F /IM antimicro.exe

Link to comment
Share on other sites

1 hour ago, Scorpion_83 said:

the shell [cmd window] stays active on the screen

Not sure if this will work in your case, but... create a shortcut to your batch file. Then right click the shortcut and select Properties.  Then in the Shortcut tab, for Run:, select "Minimized" and click OK.

Then point to the shortcut instead of the batch file itself.

Link to comment
Share on other sites

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...