nlight Posted October 8, 2014 Author Share Posted October 8, 2014 Clicking on the game controller button on the toolbar to launch the config window causes x86 vanilla KSP 0.25 to crash. Is the OP aware of this already? If not, I can send a bug report. And I just got the issues with the Saitek X55 straightened out too No need, .25 support is coming out tonight Link to comment Share on other sites More sharing options...
nlight Posted October 8, 2014 Author Share Posted October 8, 2014 Version 1.1.2 is up, supports KSP 0.25 Link to comment Share on other sites More sharing options...
Eskandare Posted October 8, 2014 Share Posted October 8, 2014 Ohhhhhhh! Niiiiice! Link to comment Share on other sites More sharing options...
white_coat_awesome Posted October 8, 2014 Share Posted October 8, 2014 Version 1.1.2 is up, supports KSP 0.25Sweet! The stock joystick mapper is just not cutting it. Can't wait to install and set it up Link to comment Share on other sites More sharing options...
towlie Posted October 9, 2014 Share Posted October 9, 2014 Biiig up for the fast transition to the new version ! After all stock controls are more than bad: > Link to comment Share on other sites More sharing options...
vitorboschi Posted October 9, 2014 Share Posted October 9, 2014 Hi nlight,first of all, thanks for the mod. It's much better than the stock input. I've tried using it with my Mad Catz F.L.Y. 5 stick, but any time I tried to associate an axis with some control it immediately set it to the throttle axis. Upon inspection, I saw that this particular axis reports values from -1 to +1, and your code was looking for exactly 0.0 (which is almost impossible to do in my case(, so I changed it to look for a delta in the value and it seens to be working fine now. I've created a pull request with this change in github, if you're interested. Link to comment Share on other sites More sharing options...
nlight Posted October 9, 2014 Author Share Posted October 9, 2014 v1.2 is out, changes are mostly GUI related- New preset editor- Many small GUI improvements- Now using KSP skin by default, option to revert to the old one- Updated toolbar to 1.7.7Hi nlight,first of all, thanks for the mod. It's much better than the stock input. I've tried using it with my Mad Catz F.L.Y. 5 stick, but any time I tried to associate an axis with some control it immediately set it to the throttle axis. Upon inspection, I saw that this particular axis reports values from -1 to +1, and your code was looking for exactly 0.0 (which is almost impossible to do in my case(, so I changed it to look for a delta in the value and it seens to be working fine now. I've created a pull request with this change in github, if you're interested.Wow, this is amazing. Thank you for the patch, I didn't see it in time for this release but I will merge it asap. Link to comment Share on other sites More sharing options...
nlight Posted October 10, 2014 Author Share Posted October 10, 2014 (edited) First official linux beta build is up. It probably has some issues so if you're able to test and give feedback it'd be awesome Requires SDL2 (libsdl2.so) to be present on the system.Get it from here.License remains the same. Edited October 10, 2014 by nlight Link to comment Share on other sites More sharing options...
dilznick5 Posted October 11, 2014 Share Posted October 11, 2014 Hi, potential bug, or possibly I dont know what Im doing. I just got a Logitech Extreme 3d pro stick, trying to map it with your mod. Works well except for the throttle control. When I map the throttle to the stick's throttle axis it not only doesnt work but also locks out the keyboard control for throttle. The full throttle and cut throttle buttons still work but the shift/control keys for throttle no longer work until I remove the throttle axis. Id love to get this going as I am looking for a way to swap yaw/roll control between planes and rockets.Also the description seems to indicate there should be a stock key binding included, but I dont get one. Am I misunderstanding?Thanks Link to comment Share on other sites More sharing options...
thorfinn Posted October 11, 2014 Share Posted October 11, 2014 (edited) Good news, now my Black Widow isn't a paperweight anymore.What do you mean with "Acceleration-based discrete inputs" though? Edited October 11, 2014 by thorfinn Link to comment Share on other sites More sharing options...
steve_v Posted October 11, 2014 Share Posted October 11, 2014 The Linux beta dll doesn't load for me:AddonLoader: Instantiating addon 'AdvancedFlyByWire' from assembly 'ksp-advanced-flybywire'(Filename: /BuildAgent/work/d63dfc6385190b60/artifacts/LinuxStandalonePlayerGenerated/UnityEngineDebug.cpp Line: 49)Fallback handler could not load library /home/steve/KSP_linux-0250-FAR/KSP_Data/Mono/x86_64/kernel32Fallback handler could not load library /home/steve/KSP_linux-0250-FAR/KSP_Data/Mono/x86_64/libkernel32.soFallback handler could not load library /home/steve/KSP_linux-0250-FAR/KSP_Data/Mono/x86_64/./kernel32Fallback handler could not load library /home/steve/KSP_linux-0250-FAR/KSP_Data/Mono/x86_64/./libkernel32.soFallback handler could not load library /home/steve/KSP_linux-0250-FAR/KSP_Data/Mono/x86_64/kernel32Fallback handler could not load library /home/steve/KSP_linux-0250-FAR/KSP_Data/Mono/x86_64/libkernel32Fallback handler could not load library /home/steve/KSP_linux-0250-FAR/KSP_Data/Mono/x86_64/libkernel32.soFallback handler could not load library /home/steve/KSP_linux-0250-FAR/KSP_Data/Mono/x86_64/./libkernel32Fallback handler could not load library /home/steve/KSP_linux-0250-FAR/KSP_Data/Mono/x86_64/./libkernel32.soFallback handler could not load library /home/steve/KSP_linux-0250-FAR/KSP_Data/Mono/x86_64/libkernel32Fallback handler could not load library /home/steve/KSP_linux-0250-FAR/KSP_Data/Mono/x86_64/kernel32Fallback handler could not load library /home/steve/KSP_linux-0250-FAR/KSP_Data/Mono/x86_64/libkernel32.soFallback handler could not load library /home/steve/KSP_linux-0250-FAR/KSP_Data/Mono/x86_64/./kernel32Fallback handler could not load library /home/steve/KSP_linux-0250-FAR/KSP_Data/Mono/x86_64/./libkernel32.soFallback handler could not load library /home/steve/KSP_linux-0250-FAR/KSP_Data/Mono/x86_64/kernel32Fallback handler could not load library /home/steve/KSP_linux-0250-FAR/KSP_Data/Mono/x86_64/libkernel32Fallback handler could not load library /home/steve/KSP_linux-0250-FAR/KSP_Data/Mono/x86_64/libkernel32.soFallback handler could not load library /home/steve/KSP_linux-0250-FAR/KSP_Data/Mono/x86_64/./libkernel32Fallback handler could not load library /home/steve/KSP_linux-0250-FAR/KSP_Data/Mono/x86_64/./libkernel32.soFallback handler could not load library /home/steve/KSP_linux-0250-FAR/KSP_Data/Mono/x86_64/libkernel32DllNotFoundException: kernel32 at (wrapper managed-to-native) KSPAdvancedFlyByWire.Utility:LoadLibrary (string) at KSPAdvancedFlyByWire.Utility.CheckLibrary (System.String fileName) [0x00000] in <filename unknown>:0 at KSPAdvancedFlyByWire.Utility.CheckLibrarySupport () [0x00000] in <filename unknown>:0 at KSPAdvancedFlyByWire.AdvancedFlyByWire.Awake () [0x00000] in <filename unknown>:0UnityEngine.GameObject:Internal_AddComponentWithType(Type)UnityEngine.GameObject:AddComponent(Type)AddonLoader:StartAddon(LoadedAssembly, Type, KSPAddon, Startup)AddonLoader:StartAddons(Startup)AddonLoader:OnLevelWasLoaded(Int32)(Filename: Line: 4294967295)Full log.I sure don't have those libs.Debian sid KSP 0.25 x86_64 Link to comment Share on other sites More sharing options...
skeevy Posted October 11, 2014 Share Posted October 11, 2014 (edited) The Linux beta dll doesn't load for me:Same errors here.Linux Mint 17 x64KSP 0.25 x64I noticed that libkernel32.so is a Wine library...perhaps a simple copy/paste or symlink will fix this.I have both x32 and x64 libsdl installed.EDIT:My log and errors are identical to steve_v's. Edited October 11, 2014 by skeevy Link to comment Share on other sites More sharing options...
JeffreyCor Posted October 11, 2014 Share Posted October 11, 2014 A chance at having flightstick work in KSP! Worth a try for that alone Link to comment Share on other sites More sharing options...
skeevy Posted October 11, 2014 Share Posted October 11, 2014 Used the library from the x64 linux github build page (different sized file than what's in the posted zip) as well as trying to use Wine's kernel32. Neither worked and threw the same errors as above. Link to comment Share on other sites More sharing options...
scerion Posted October 12, 2014 Share Posted October 12, 2014 Greetings, A bug I came across yesterday. After getting .25 working with all the mods I wanted, my game would get borked (not actually crashing, but basically the world wouldn't load) upon loading a craft onto the launchpad.Upon investigating the output_log.txt, I found that Advanced Fly By Wire was looking for a xml config file, specifically in the C:\Programs (x86)\Steam\Steamapps\Common\Kerbal Space Program\GameData\ksp-advanced-flybywire\advanced_flybywire_config_v11.xmlThis seems that by hardcoding the location for this file it would break any installation outside the Steam folder (like I had mine, but I'm using launch options in Steam to point to the external folder)The fix was to copy the flybywire folder into the Steam GameData directory, even though i wasn't using the Steam's version of the game. Link to comment Share on other sites More sharing options...
nlight Posted October 13, 2014 Author Share Posted October 13, 2014 (edited) Used the library from the x64 linux github build page (different sized file than what's in the posted zip) as well as trying to use Wine's kernel32. Neither worked and threw the same errors as above.Ok, seems my approach to trick mono into loading SDL is not working. Sorry for releasing a broken build, I'll get on fixing it soon.I found that Advanced Fly By Wire was looking for a xml config file, specifically in the C:\Programs (x86)\Steam\Steamapps\Common\Kerbal Space Program\GameData\ksp-advanced-flybywire\advanced_flybywire_config_v11.xmlThis seems that by hardcoding the location for this file it would break any installation outside the Steam folder (like I had mine, but I'm using launch options in Steam to point to the external folder)The fix was to copy the flybywire folder into the Steam GameData directory, even though i wasn't using the Steam's version of the game.The mod looks for its configuration file using a relative path to your executable's working directory. I am not sure but I think that Steam will auto-set the working directory to SteamApps\Common even if your executable is actually somewhere else.I would advise to try with a standard windows shortcut and by manually specifying the correct working directory.What do you mean with "Acceleration-based discrete inputs" though? When you assign a discrete binding (i.e. button) to a continuous action (e.g. Pitch+) then the stock input system will do:pitch += changeInPitch * deltaTime;AFBW adds an acceleration value:pitchVelocity += changeInPitch * deltaTime^2;pitch += pitchVelocity * deltaTime; Edited October 13, 2014 by nlight Link to comment Share on other sites More sharing options...
nlight Posted October 14, 2014 Author Share Posted October 14, 2014 Version 1.2.1 is up, addressing a critical bug with switching vessels and some other stuff.v1.2.1- Fixed a bug where changing vessels mid-flight would result in AFBW controlling the old vessel- Fixed a bug where if KSP's working directory was not configured correctly the mod wouldn't find its config file- Merged Vitor Boschi's axis mapping fix- Toolbar button now closes the UI if it's already open- Added explicit "Save configuration" button to the main screen- Fixed input control locks for the new preset editor- Support for KSP-AVC Link to comment Share on other sites More sharing options...
DocMop Posted October 14, 2014 Share Posted October 14, 2014 Bug report for v1.2.1:When I open the AFBW interface to change some settings, all mouse and keyboard input is deactivated after leaving the interface. If I go back to the main menu via ESC, all the menu items are "greyed out" and there is no mouse. The only thing still usable is blizzys toolbar and the buttons on it.Also the "treat hats as buttons" option seems not to work with my thrustmaster T16000. Link to comment Share on other sites More sharing options...
nlight Posted October 15, 2014 Author Share Posted October 15, 2014 Bug report for v1.2.1:When I open the AFBW interface to change some settings, all mouse and keyboard input is deactivated after leaving the interface. If I go back to the main menu via ESC, all the menu items are "greyed out" and there is no mouse. The only thing still usable is blizzys toolbar and the buttons on it..Oops, this slipped past testing at the last minute. Version 1.2.2 is up with a fix.I'll check the hats as buttons option for next release. Link to comment Share on other sites More sharing options...
cameldeath Posted October 18, 2014 Share Posted October 18, 2014 First off, I like the mod, it works great for the most part.I've hit an interesting bug though. Activating any controller screws with rovers. With any controller activated in the setup window, as soon as I hit back (S) the rover just starts accelerating forward on its own. If I hit forward (W) or disable the controller the rover stops accelerating and acts like normal, but it won't go backwards. I have reproduced this on a fresh install.Also I've noticed that a button set to control the brakes will toggle the brakes on and off, instead of applying the brakes while the button is pressed. Not sure if this is intended or not.Otherwise the mod seems to function properly, unfortunately I can't use it if my rovers all drive off on their own :/ Link to comment Share on other sites More sharing options...
nlight Posted October 19, 2014 Author Share Posted October 19, 2014 First off, I like the mod, it works great for the most part.I've hit an interesting bug though. Activating any controller screws with rovers. With any controller activated in the setup window, as soon as I hit back (S) the rover just starts accelerating forward on its own. If I hit forward (W) or disable the controller the rover stops accelerating and acts like normal, but it won't go backwards. I have reproduced this on a fresh install.Also I've noticed that a button set to control the brakes will toggle the brakes on and off, instead of applying the brakes while the button is pressed. Not sure if this is intended or not.Otherwise the mod seems to function properly, unfortunately I can't use it if my rovers all drive off on their own :/Thanks for the report I am aware of this issue and it will be fixed in the next version. Link to comment Share on other sites More sharing options...
cameldeath Posted October 20, 2014 Share Posted October 20, 2014 Excellent! Must unleash full power of X-55 Rhino! Link to comment Share on other sites More sharing options...
tlowe90 Posted October 22, 2014 Share Posted October 22, 2014 i changed the default mappings and whenever i remap with a combo (LB+left stick axis x) it doesn't apply the first button press. for instance, i remapped roll to left stick x axis and yaw to lb + left x axis. when pressing lb + left axis it rolls instead of yaws. don't know why but other then that i like the mod. Link to comment Share on other sites More sharing options...
Las-pen Posted October 23, 2014 Share Posted October 23, 2014 (edited) Hey,I'm sorry to hear you're having issues. Could you follow the steps in the "Bug reports" section of the main post and send me the neccessary info so I can fix this.EDIT:As far as I can see your joystick is supported both by Windows and by SDL so there shouldn't be any issues. Please try deleting your GameData/ksp-advanced-flybywire/ksp-advanced-flybywire_v11.xmland restart the game. Try plugging your joystick once you're actually in flight mode and see if it appears on the list then.Doesn't work for me.Neither does restarting the computer anymore Having ThrustMaster USB-joystick.Joystick works with windows and with the game (buttons I have assigned in options) as usual. Even calibrated it couple times.AFBW recognized my XBOX-controller though. But if you unplugged and plugged it back in it didn't anymore, without reboot. Edited October 24, 2014 by Las-pen added more info Link to comment Share on other sites More sharing options...
TrevorMcNeill Posted October 25, 2014 Share Posted October 25, 2014 Excellent! Must unleash full power of X-55 Rhino!Haha same here it works awesomely. I bought my X55 for DCS and when I first decided to use it for KSP I was like this is so overkill but after using it I find it extremely useful. and now that the mouse and keyboard getting disabled got fixed I can finally Release the awesomeness that is the X-55. Link to comment Share on other sites More sharing options...
Recommended Posts