Jump to content
LaunchBox Community Forums

Best way to launch control emulation program (or any other program) before launching a specific game


Flope

Recommended Posts

Hi, 

Setup: I have an arcade cabinet with bigbox. Controls: Ipac2. 

To be able to play some windows games with 2 players. I need to emulate a 360 controller with the keyboard (Ipac2) for the 2nd player. 

I managed to do that using UCR - Interception - ViGem. Now, I need to load UCR (with a specific parameter) before launching the game.

Is AHK the best way? I noticed that Launchbox comes with AHK. So, I should create an AHK script and make launchbox to launch the AHK script?
So, something like:

...
run, c:/UCR/UCR.exe -p "profile"
run, c:/Games/game.exe
.... 

I take a similar approach (AHK script) when I need to remap keys for a game that does not allow remapping. 

Thanks, 

Flope

Edited by Flope
Link to comment
Share on other sites

I have to admit, most of this is over my head, but I just wanted to make you aware of the "additional apps" feature, if you weren't already. It can start a program before launch.

image.thumb.png.eca6ad0432a6f16a9978f11f88ec158a.pngI'm not at all sure this is what you need, but its worth investigating I think. You can access this on a per game basis by right clicking a game, going to "edit" and then "additional apps".

Edited by fromlostdays
Link to comment
Share on other sites

Thanks, guys. 

I have done what you recommended to me.  Now, I can play smoothly in the arcade cabinet 2-players games when one of them is required to use a 360 controller.  

FYI, for whatever reason, my UCR looks for the pluggin subfolder in the working directory (directory in which I am executing UCR from). it would give me an error about not finding the pluggin folder if it wasn't executed from the UCR folder. Not sure if that was the intended behavior.  So, I had to use something like this in ahk to execute it. 

Run, C:\Users\flope\LaunchBox\UCR\UCR.exe, C:\Users\flope\LaunchBox\UCR

The 2nd parameter indicates the working directory.

Thanks

F

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