Hard Light Productions Forums

Modding, Mission Design, and Coding => FS2 Open Coding - The Source Code Project (SCP) => Topic started by: Nightstorm on January 27, 2017, 11:27:22 am

Title: Controllers not detected on any build that requires SDL2.dll
Post by: Nightstorm on January 27, 2017, 11:27:22 am
Hello everyone,

I'm playing Diaspora latest release and patch on Windows 10 Pro x64.  I have a Thrustmaster Cougar HOTAS and CH Pro Pedals USB controllers that I've been using with Diaspora.  I use vJoy to install a virtual Joystick in Windows which is set as the default controller (controller 0) for older games such as the FreeSpace 2 engine.  I use Universal Joystick Remapper (UJR) to combine the axis of the rudder pedals and the HOTAS into one controller that is visible to Windows.

Everything works fine on the 7/14/16 3.7.5 build, the nightly immediately prior to the SDL2.dll requirement.  With any build after that my controllers are not detected.  I've tried three versions of the WXLauncher 10.1, 11, and 12 RC2.  I've selected the different controllers that are listed on the launcher but none of them are detected.  I've tried setting the HOTAS Cougar as the default stick and no change.  I've tried not using UJR but I have not yet uninstalled vJoy from my system.  That will be next.

I've opened a Mantis issue for this but if anyone has any ideas I'd be appreciative.

Thank you.
Title: Re: Controllers not detected on any build that requires SDL2.dll
Post by: The E on January 27, 2017, 11:28:39 am
Please post your fs2_open.log file.  Instructions on how to do this can be found in this post.
Title: Re: Controllers not detected on any build that requires SDL2.dll
Post by: krevett62 on January 27, 2017, 12:02:40 pm
Hello I had similar issue with my pad.

I used launcher 5.5g (the old one hehe) to see the registry and my controller was set to 9999999...

I set the value to 0, and then launched the game via wxlauncher (v0.12_RC2) and it worked!

Edit: I'm on windows 7 sorry, I don't think the old launcher works on win 10

Edit2: perhaps you can try the "use a different registry path" flag on the wxlauncher
Title: Re: Controllers not detected on any build that requires SDL2.dll
Post by: AdmiralRalwood on January 27, 2017, 03:59:09 pm
Edit2: perhaps you can try the "use a different registry path" flag on the wxlauncher
If you're using wxLauncher 0.11 or newer, and an SDL2 build of FSO, the registry isn't used at all.
Title: Re: Controllers not detected on any build that requires SDL2.dll
Post by: Nightstorm on January 27, 2017, 06:41:58 pm
When I got home tonight I started over with the latest nightly build 1/27/17.  I uninstalled Wxlauncher 0.11.0 and reinstalled 0.12.0-RC2.  I then set it up to use vJoy as my controller and everything worked.  I then tried the 64 bit version of the same build, and while last night it crashed even the .12 launcher now it works perfectly.  I didn't do anything different that I can think of other than I had a couple of beers first.

Maybe that was the key.

In any case it seems to be working perfectly now with the 64 bit version of the latest build with the latest launcher.

I'll try and cancel my Mantis bug report.

Thanks!