Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

AFBW stopped working with Ubuntu 1804 #11

Open
yin opened this issue Oct 29, 2018 · 9 comments
Open

AFBW stopped working with Ubuntu 1804 #11

yin opened this issue Oct 29, 2018 · 9 comments

Comments

@yin
Copy link

yin commented Oct 29, 2018

Hello,

My Saitek 52X worked fine under Ubuntu 1604. After upgrade to Ubuntu 1804 and KSP 15 + AFBW 1.8.1.1 + ckan 1.25.3, my controller stopped working.

When opening the Settings -> Input and selecting to choose an axis, moving the joystick has no response (nothing is assigned). The joystick is unusable in game.

I tried downgrading to KSP 1.4.2 + AFBW + ckan, with didn;t work.
I tried downgrading to KSP 1.3.1, which worked without AFBW - I could use the controller.

I have installed libSDL2:

    12:55:37 ~$ apt-file find libSDL2 
    libsdl2-2.0-0: /usr/lib/x86_64-linux-gnu/libSDL2-2.0.so.0
    libsdl2-2.0-0: /usr/lib/x86_64-linux-gnu/libSDL2-2.0.so.0.8.0
    libsdl2-dev: /usr/lib/x86_64-linux-gnu/libSDL2-2.0.so
    libsdl2-dev: /usr/lib/x86_64-linux-gnu/libSDL2.a
    libsdl2-dev: /usr/lib/x86_64-linux-gnu/libSDL2.so
@niacdoial
Copy link

niacdoial commented Dec 25, 2018

Hello,
I have the same problem, but did far less tests:
I only used AFBW 1.8.1.1 ksp v1.5.1 on 18.04 with ckan v1.25.4.
(I will also test it on ksp 1.6 with AFBW c575c08)

While changing the in-game settings for the joystick doesn't work, I managed to completely change the mod settings (and use my joystick) while a rocket is in flight.

yeah this message is more for @yin and whoever will read this than for linuxgurugamer
Have a nice day!

EDIT: I.. Don't know how to compile AFBW. I don't have visual studio, the makefile doesn't seem to work (to work as-is, at least) and I have no idea how to use jenkins. Also some generated files might be outdated? (builds directory)
EDIT2: did the changes from c575c08 on existing 1.8.1.1, and did a test flight. Seems like AFBW works for ksp 1.6.0

@yin
Copy link
Author

yin commented Dec 25, 2018

@niacdoial Wow, great work! So, do I understand it correctly?.. I have to compile the AFBW from github source, then it works with ksp 1.6?

@niacdoial
Copy link

Actually, no.
what I did was to modify one file on the already installed AFBW (because luckily it stays a text file).
The exact change is in the commit itself (removing the max-ksp-version recquirement from the .version file)

You might want to temporarly migrate to ksp 1.5 for ckan to accept installing afbw, if it isn't already the case, though.

@yin
Copy link
Author

yin commented Dec 25, 2018

@niacdoial. Thanks, you saved the Christmas today!

@niacdoial
Copy link

You are welcome!

@linuxgurugamer
Copy link
Owner

That shouldn't prevent it from working, that should only show a warning. That file is not even used by AFBW, it's there for AVC and MiniAVC. Are you sure that nothing else got changed?

@niacdoial
Copy link

Hello,
I don't know about the first part (I think one time ksp (actually it's probably AVC) disabled all incompatible mods at launch, but it certainly doesn't happen every time).

For the second part, I am pretty sure. I used the 1.8.1.1 release (which says "1 commit to master since release"), and said commit only makes changes to ksp-advanced-flybywire.version (which I did), and creates a .old copy (which I didn't create).
So unless the .version file is used at compile time, I probably did all the effective changes.

@linuxgurugamer
Copy link
Owner

AVC doesn't do anything other than checking the .version file, both locally and online, and displays a message if it isn't compatible.. I'm wondering if @yin got it working, and if so, what he did as well.

@yin
Copy link
Author

yin commented Dec 28, 2018

Hey guys, I will try that out after I return from Holidays at Sunday. This is the first thing I am planning to do at Sunday.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants