Community Event / Creation Sx2vJoy; get your 3DConnexion device working like a 3D joystick (formerly SN2vJoy)

Dear Lasse B.!

Thanks again for a great tool, and for your continued improvements and support!

I've found something, that, although a fault of a third party prevents me from using the device/sx2vjoy with most multiplayer games protected by PB anti-cheat software (such as Battlefield 4 and would likely affect upcoming StarWars Battlefront), which didn't use to happen back when it was an AHK script and not an app-detecting EXE. Would it be possible to fork it? And if not, what is the latest version I can downgrade to (before the change to .exe was made) and it's matching vJoy version?

Thanks oodles, upon oodles!
 
Unfortunately I don't have the time to maintain two versions. I also don't have older versions anymore.

The app detection stuff can be easily removed though. Simply delete lines 198 to 200 and lines 1382 to 1395. This is for the current test build found here:
https://github.com/Lasse-B/Sx2vJoy-test
It's only in the "test" branch because I haven't gotten around to putting the finishing touches on it yet, which are only a couple cosmetic changes.

There are other calls to DLLs though, like the one necessary for the automatic update on profile changes, so let's see if and when this works.
 
Great!

I will have to do some more testing to be sure, but reshack editing those lines out seems to have worked.



Unfortunately I don't have the time to maintain two versions. I also don't have older versions anymore.

The app detection stuff can be easily removed though. Simply delete lines 198 to 200 and lines 1382 to 1395. This is for the current test build found here:
https://github.com/Lasse-B/Sx2vJoy-test
It's only in the "test" branch because I haven't gotten around to putting the finishing touches on it yet, which are only a couple cosmetic changes.

There are other calls to DLLs though, like the one necessary for the automatic update on profile changes, so let's see if and when this works.
 
You can also compile your own version from the source code. All you need is AutoHotkey from www.ahkscript.org and their SciTe Editor. They're both free software.

One more thing you could try is to run the unaltered executable of Sx2vJoy through MPress and see if the resulting packed executable is able to pass PB's checks.
 
Last edited:
I didn't get around to doing a proper compile (though it's good to know where to start when/if I'll actually need to), but over the last couple of days it's clear that the lines specified were what gave PB an upset tummy :D

You can also compile your own version from the source code. All you need is AutoHotkey from www.ahkscript.org and their SciTe Editor. They're both free software.

One more thing you could try is to run the unaltered executable of Sx2vJoy through MPress and see if the resulting packed executable is able to pass PB's checks.
 
Is it possibly to get this two controllers work together ?

Hello Lasse.b. and thanks for a really good app




I got a T16000 and one 3dconnexion controller
is it possibly to just "strafe" left and right and increase or decrease speed with the 3dc
and control the rest whit the T16000 :rolleyes:?
IMG_1536.jpg
 
I haven't tried this particular setup yet but it should well be possible. Just remember to put one axis into throttle mode in the Sx2vJoy GUI.
 
It's like early Christmas with this flight stick /space mouse pro settings,
works like charm :)

Thanks again Lasse.b for tips and tricks on this thread and for the awesome application you godly made possible for us other pilots.

Over and out/
Mogge from Sweden :)
 
Glad you enjoy it. Too bad 6DOF controllers still have a niche existence. They're really great for 3D games and if given some further development could maybe even be the controllers of choice in VR environments.

Have fun!
Lasse from Germany ;)
 
Hi Lasse B.,

I am running Windows 10 x64, just installed the latest vJoy and the latest 3DConnexion drivers for my SpaceNavigator. When I attempt to launch the test branch version of Sx2vJoy.exe it exits immediately and writes some fairly cryptic windows error logs. (ntdll fault)

Here's the event log in the event it is useful in diagnosing:
Faulting application name: Sx2vJoy.exe, version: 1.2.5.4, time stamp: 0x5529bd8c
Faulting module name: ntdll.dll, version: 10.0.10240.16430, time stamp: 0x55c599e1
Exception code: 0xc0000374
Fault offset: 0x000d5c0c
Faulting process id: 0x24bb8
Faulting application start time: 0x01d13ab66b81bbd0
Faulting application path: C:\Users\schned\Desktop\Sx2vJoy-test-master\Sx2vJoy.exe
Faulting module path: C:\WINDOWS\SYSTEM32\ntdll.dll
Report Id: 6fc8eea1-ac0d-47fa-904f-4cdb5a093534
Faulting package full name:
Faulting package-relative application ID:

Thanks!
 
Last edited:
Hi Lasse B.,

I am running Windows 10 x64, just installed the latest vJoy and the latest 3DConnexion drivers for my SpaceNavigator. When I attempt to launch the test branch version of Sx2vJoy.exe it exits immediately and writes some fairly cryptic windows error logs. (ntdll fault)
Recently switched over to Win10 and right to version 1511 build 10586 and also noticed crashes when launching Sx2vJoy. Sometimes it took like five to seven attempts for it to launch clean and work, but not without causing vJoy to spam error messages in the Windows System log.

I got this stuff sorted in my current build, but when Sx2vJoy disconnects from vJoy there's still two entries in the Windows System log that I just can't seem to be able to prevent. Sx2vJoy has been starting up and running nicely though for a week, so without further ado:

New build
 
Last edited:
v1.2 build 5 test 7
- fixed startup issues when using Russian, French and likely a couple other keyboard input locales
- fixed error message when closing Sx2vJoy on controller and vJoy target device selection window
 
Hi Lasse B.,
i testing win 10 on a VM to see if all of my hardware devices are fully working (G940, G13, Spacemouse Pro,...) with all the software like simffb, throttlelights and so on.
I've installed vjoy and sx2vjoy. All the axis on the Spacemouse are working fine, only the buttons are not working. I'configured 15 buttons (like on Win 7), i can see all the buttons in gamecontroller, but no funktion.

Have you any advice for this?

Thanks
Marcus
 
Last edited:
Thank you Lasse.

I manage to put Spacemouse pro to work with ED on every single way. Or complex!
Using it for lateral trust and in galaxy menu.
Is amazing, the only thing I'm worry is that when in game, we do things with a lot more force, hope this 3dx thing is strong...
Good flight everyone, see you in game if lucky.

Ocean, for me, at first the buttons partialy work. But if I set the 3dConnexion setup with no axis inputs and remap all it's buttons on a ED config instance, that way buttons work. but I need to remap every time I change it.
On the sx2vjoy side, I put a crescent sequencial button numbers for every each button, from 1 to 15.
 
Last edited:
All the axis on the Spacemouse are working fine, only the buttons are not working. I'configured 15 buttons (like on Win 7), i can see all the buttons in gamecontroller, but no funktion.

Hey Marcus,

sorry for the late reply. Looks like thread subscriptions don't work as well as I expected them to :(

Usually the buttons on a 3DConnexion device work just fine without having to go through Sx2vJoy. That's why there's no default button mapping and thus no reaction in the Game Controllers window when you press buttons. If for some reason the game doesn't recognize buttons pressed on the controller directly, you need to set up your own button mapping in the Sx2vJoy GUI. To set up your button mappings, click on "Choose Your Device..." in the "Assign Buttons" section of the GUI, pick your SpaceMouse Pro from the list and set everything up the way you want.
 
Meanwhile i've tried the version v1.2 build 4, which works fine for me under win 7 and not the actual test version from the link in the thread. Now everything works, i can see all axis and buttons.
But i have the same problem with the not saving profiles / remapping, even if i don't need this in ED. Perhaps its a problem with the rights management, because on the VM sx2vjoy is installed on c?

Marcus
 
The location shouldn't matter at all. I've had it on numerous drives in numerous subdirectories and never noticed any odd behavior because of that.

As for setting up a profile, the way this works is that you make a new profile first via clicking the "New Profile..." button and only then make all the required adjustments. The Sx2vJoy GUI applies all settings immediately when you make them, so saving your current settings to a new profile doesn't work. It's got to be the other way around. First the new profile, then the new settings for it.

I also noticed that "as (last) selected in GUI" for "Profile Activation Method" doesn't work quite the way it's supposed to (thought I had that fixed a while ago), so whenever you select a profile from the drop down menu under "Currently Selected Profile", you also have to pick either "as (last) set in GUI" again or use "always active" for your selected profile to actually activate. Did I mention I hate writing GUIs? :p

I don't have any experiences running Win10 and Sx2vJoy in a VM, but since Sx2vJoy seems to be starting up in your VM with your SpaceMouse connected, it should work. Sx2vJoy wouldn't start if it didn't see any 3DC device.
 
Back
Top Bottom