scoodidabop Posted October 1, 2015 Share Posted October 1, 2015 I'd like to use Vjoy for Mortal Kombat 9, Injustice, and a couple Sega Model 2 games (for multiplayer - Daytona, Virtual On etc). Is there a way to launch Vjoy for single games, then have Vjoy close when you close the game? I'm using HyperLaunch HQ 1.1.1.1 Thanks! Link to comment Share on other sites More sharing options...
scoodidabop Posted October 1, 2015 Author Share Posted October 1, 2015 Nevermind. Figured out a solution. I wrote a couple .exe files using autohotkey called VJoyOPEN.exe and VJoyCLOSE.exe and set them as to run before and after the games I want. That way VJoy launches when starting the game and closes when you exit. EDIT: I spoke too soon. How do you make the PostLaunch program run only after you close the game? Or is there another field I should use for the VjoyCLOSE.exe? I would just use an Esc::ExitApp command in the VjoyOPEN.exe program but you use "Esc" in Mortal Kombat for menu access and such. Double EDIT: Added VjoyCLOSE.exe to PostExit field. Problem solved! Link to comment Share on other sites More sharing options...
getnbizzy Posted April 7, 2016 Share Posted April 7, 2016 Would you care to explain better how to do this. I too need to make pc games automatically open and close vjoy and I'm clueless. Link to comment Share on other sites More sharing options...
scoodidabop Posted April 8, 2016 Author Share Posted April 8, 2016 In the heat of the moment I wrote an AHK for opening VJOY but it's not necessary. In your MODULES tab click the EDIT GLOBAL MODULES button, then hit the ROM SETTINGS tab. Find PRELAUNCH and navigate to your Vjoy.exe - this will open VJOY prior to launching the game. Now, in POSTEXIT you need a special .ahk to close VJOY. Grab the ahk attachment I wrote, put it wherever you want (mine is directly in the hyperspin main folder) and navigate to it in the POSTEXIT option. Let me know if it works out for you! VjoyCLOSE.exe https://www.dropbox.com/s/u7alwsnxt2utafz/VjoyCLOSE.exe?dl=0 Link to comment Share on other sites More sharing options...
Metalzoic Posted April 8, 2016 Share Posted April 8, 2016 The problem I found with doing it that way is that it still leaves the VJoy drivers active and the conflict with other programs and games. for example AAE #2 emulator will crash at launch if VJoy drivers are active, Broforce, Street Fighter IV can act weird etc... So to play Mortal Kombat X I need to first activate the drivers. However I didn't think it was needed to turn on/off VJoy itself at all. Can't you just set it to auto-work for individual games right in the RocketLauncher keymapper? You even set your key binds there if I remember right. I think that's how I did mine. Link to comment Share on other sites More sharing options...
scoodidabop Posted April 8, 2016 Author Share Posted April 8, 2016 The problem I found with doing it that way is that it still leaves the VJoy drivers active and the conflict with other programs and games. for example AAE #2 emulator will crash at launch if VJoy drivers are active, Broforce, Street Fighter IV can act weird etc... So to play Mortal Kombat X I need to first activate the drivers. However I didn't think it was needed to turn on/off VJoy itself at all. Can't you just set it to auto-work for individual games right in the RocketLauncher keymapper? You even set your key binds there if I remember right. I think that's how I did mine. Hmm... never had that issue but then again I use MAME for vector games. The VjoyCLOSE.exe seems to close Vjoy and all drivers but I'm not certain. Link to comment Share on other sites More sharing options...
getnbizzy Posted April 26, 2016 Share Posted April 26, 2016 In the heat of the moment I wrote an AHK for opening VJOY but it's not necessary. In your MODULES tab click the EDIT GLOBAL MODULES button, then hit the ROM SETTINGS tab. Find PRELAUNCH and navigate to your Vjoy.exe - this will open VJOY prior to launching the game. Now, in POSTEXIT you need a special .ahk to close VJOY. Grab the ahk attachment I wrote, put it wherever you want (mine is directly in the hyperspin main folder) and navigate to it in the POSTEXIT option. Let me know if it works out for you! VjoyCLOSE.exe https://www.dropbox.com/s/u7alwsnxt2utafz/VjoyCLOSE.exe?dl=0 Thanks for this. I will try it out and follow up. Link to comment Share on other sites More sharing options...
Metalzoic Posted April 26, 2016 Share Posted April 26, 2016 Hmm... never had that issue but then again I use MAME for vector games. The VjoyCLOSE.exe seems to close Vjoy and all drivers but I'm not certain. The only way I know of to close the drivers is through the device manager and actually disable the drivers themselves. The VJoy script I originally used did this automatically for you using DeVcon, but that script no longer works in Win 10. Now I just keep the VJoy drivers disabled all the time because I keep running into PC games it conflicts with. Link to comment Share on other sites More sharing options...
marten Posted August 22, 2016 Share Posted August 22, 2016 same problem For MK use this http://www.xgaming.com/support/questions/137/Mortal+Kombat+X+and+Komplete+Edition+PC+Setup works like a charm Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.