Jump to content
HyperSync, HyperList and FTP are now back online ×

Archived

This topic is now archived and is closed to further replies.

violentsingalong

VJoy issue FIX!

Recommended Posts

So.. I love VJoy for what it is, however some games/programs hate it. The usual undesirable behavior I run into is the game detecting a joystick giving "UP" or "LEFT" constantly, disallowing menu navigation, controller re-mapping, etc.. I was trying to configure some PC games this morning (Crawl and Guilty Gear Xrd) and finally got FED UP with it.

 

After doing some research, I found a solution. DEVCON (Windows Device Console) is a tool out of some Windows SDK kit (read more here if you're interested). I peeled out just the necessary EXE file (devcon.exe) and have written a bat file that will disable/enable VJoy. 

  • "vjoy disable.bat" - Calls devcon to disable vjoy devices in windows device manager
  • "vjoy enable.bat" - Calls devcon to enable vjoy devices in windows device manager

You'll need to right-click devcon.exe and set to "Run this program as an administrator". Run the bat files with windows device manager open a few times and make sure the VJoy device enable/disable files are working as intended. If they're working you should see the icon for the VJoy device change when disabled and go-back when re-enabled.

 

You can set these BAT files to run on launch and upon exit of a given game within PC launcher. Depending on what state you want VJoy in by default will determine which order you run them in.

 

Here's how I run mine on games that freak out when VJoy is enabled:

 

PreLaunch: "vjoy disable.bat"

PostExit: "vjoy enable.bat"

 

Download devcon with vjoy bat files HERE

 

I know I can't be the only one running into this issue. Hopefully this keeps someone from putting their fist through a wall.. :)

Share this post


Link to post
Share on other sites

Nice.

I also discovered Devcon back when MKX came out as it's the only way to get that game to work on a cab (with 2-players).

And like you I wrote an AHK script to enable/disable it.

However since I've updated to Windows 10 my script no longer works. Are you running Win 10? I'll check your scripts out and if yours are working in 10 I'll replace mine with yours and be very, very happy. Thanks man!

PS: Were you trying to run Guilty Gear Xrd with VJoy or was it just conflicting? I just remapped GGXrd quickly using AHK in the RL Keymapper.

Share this post


Link to post
Share on other sites

Nice.

I also discovered Devcon back when MKX came out as it's the only way to get that game to work on a cab (with 2-players).

And like you I wrote an AHK script to enable/disable it.

However since I've updated to Windows 10 my script no longer works. Are you running Win 10? I'll check your scripts out and if yours are working in 10 I'll replace mine with yours and be very, very happy. Thanks man!

PS: Were you trying to run Guilty Gear Xrd with VJoy or was it just conflicting? I just remapped GGXrd quickly using AHK in the RL Keymapper.

 

It was just conflicting. I'm running Windows 7 myself.. give the .bat files a spin on your machine and see what you get. I tested it out on my laptop (Windows 8.1) and the .bat files weren't working until I set devcon to run as a system admin. After I did that, the .bat files working like a charm on Windows 8. I'd guess based on the documentation site that it would work on Windows 10 as well..

Share this post


Link to post
Share on other sites

Yeah, so far no luck. It acts like it executes fine, but the drivers never actually flip. I'll play with it a bit.

 

EDIT: Are you running Devcon from the Windows/System32 folder like the instructions say or somewhere else? Also where are you keeping the bat files on your system?

Share this post


Link to post
Share on other sites

Yeah, so far no luck. It acts like it executes fine, but the drivers never actually flip. I'll play with it a bit.

I'll give it a shot on my W10 machine at some point to see if there's anything that can be done.

Sent from my SAMSUNG-SM-G920A using Tapatalk

Share this post


Link to post
Share on other sites

I've run devcon scripts via RL (User Functions) in Windows 10 without issues so if it isn't working and the syntax is correct then it's most likely a permissions issue.

Share this post


Link to post
Share on other sites

Well had some luck. I replaced the Devcon I had been using with yours (in system32) and switched it to Win 7 compatability and your bat files are now switching it correctly, so that's awesome!

However RocketLauncher is saying there is a problem launching the bats. Says to make sure they are a valid executable. Did you get the same error and is there anything special there you are doing?

 

EDIT: Converted the bats to exe's and that didn't work either. I'm probably overlooking something simple.

Share this post


Link to post
Share on other sites

Well after testing it, it doesn't seem like VJoy is compatable with Win 10. Even on, drivers on, profiles loaded it won't register. Won't even interfere with games it normally screws up or AAE which will crash when you run it. Checked the developer and they show Win 8 as the last compatible windows version. Tried running it in Win 7 mode and it still behaves like it isn't there. I'll try re-installing and messing with it later on.

Maybe that's why RL fails to prelaunch the .bat?

Share this post


Link to post
Share on other sites

Try joy2key?

Doesn't that just turn pad inputs to keyboard inputs?

VJoy takes keyboard inputs and turns them into pad inputs. So does the Xinput hack, but it doesn't work with MK10 or Injustice... which is a bummer.

Share this post


Link to post
Share on other sites

×
×
  • Create New...