Author Topic: Controllers not detected on any build that requires SDL2.dll  (Read 1606 times)

0 Members and 1 Guest are viewing this topic.

Controllers not detected on any build that requires SDL2.dll
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.

 

Offline The E

  • He's Ebeneezer Goode
  • Moderator
  • 213
  • Nothing personal, just tech support.
    • Steam
    • Twitter
Re: Controllers not detected on any build that requires SDL2.dll
Please post your fs2_open.log file.  Instructions on how to do this can be found in this post.
If I'm just aching this can't go on
I came from chasing dreams to feel alone
There must be changes, miss to feel strong
I really need lifе to touch me
--Evergrey, Where August Mourns

 
Re: Controllers not detected on any build that requires SDL2.dll
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
« Last Edit: January 27, 2017, 12:06:11 pm by krevett62 »

 

Offline AdmiralRalwood

  • 211
  • The Cthulhu programmer himself!
    • Skype
    • Steam
    • Twitter
Re: Controllers not detected on any build that requires SDL2.dll
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.
Ph'nglui mglw'nafh Codethulhu GitHub wgah'nagl fhtagn.

schrödinbug (noun) - a bug that manifests itself in running software after a programmer notices that the code should never have worked in the first place.

When you gaze long into BMPMAN, BMPMAN also gazes into you.

"I am one of the best FREDders on Earth" -General Battuta

<Aesaar> literary criticism is vladimir putin

<MageKing17> "There's probably a reason the code is the way it is" is a very dangerous line of thought. :P
<MageKing17> Because the "reason" often turns out to be "nobody noticed it was wrong".
(the very next day)
<MageKing17> this ****ing code did it to me again
<MageKing17> "That doesn't really make sense to me, but I'll assume it was being done for a reason."
<MageKing17> **** ME
<MageKing17> THE REASON IS PEOPLE ARE STUPID
<MageKing17> ESPECIALLY ME

<MageKing17> God damn, I do not understand how this is breaking.
<MageKing17> Everything points to "this should work fine", and yet it's clearly not working.
<MjnMixael> 2 hours later... "God damn, how did this ever work at all?!"
(...)
<MageKing17> so
<MageKing17> more than two hours
<MageKing17> but once again we have reached the inevitable conclusion
<MageKing17> How did this code ever work in the first place!?

<@The_E> Welcome to OpenGL, where standards compliance is optional, and error reporting inconsistent

<MageKing17> It was all working perfectly until I actually tried it on an actual mission.

<IronWorks> I am useful for FSO stuff again. This is a red-letter day!
* z64555 erases "Thursday" and rewrites it in red ink

<MageKing17> TIL the entire homing code is held up by shoestrings and duct tape, basically.

 
Re: Controllers not detected on any build that requires SDL2.dll
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!