Xplane Plugin for Linux

Suggestions, ideas and general discussion about JoinFS.
ATC Roo
Posts: 534
Joined: Sun Oct 16, 2016 9:24 am
Location: UK
Contact:

Xplane Plugin for Linux

Postby ATC Roo » Thu Feb 20, 2020 2:19 pm

I've slightly edited Peters JoinFS XPlane Plugin, so I could compile it under Linux.

I don't own XPlane, but I have downloaded the XPlane Demo version and tested with that.
It should work exactly the same as the XPlane Windows Plugin.

If you want to give it a whirl you can get it from the link below.
JoinFS XPlane Plugin for Nix.

You will still need to run JoinFS under wine, but you can now connect to XPlane without running XPlane under wine.

Put the downloaded .xpl file in your XPlane plugins folder and set the address 127.0.0.1 in the XPlane section of JoinFS.

Mrs Roo now doesn't like me because I've "spent TOO MUCH time on the computer" whatever that means, so I hope it helps.

foo
Posts: 8
Joined: Sun Feb 02, 2020 2:54 am

Re: Xplane Plugin for Linux

Postby foo » Fri Feb 21, 2020 9:15 am

Thanks Roo, just gave it a test and seems to be working so far!

Helps me out at least!! Just renamed it to 'lin.xpl' and put it in the 'X-Plane 11/Resources/plugins/JoinFS/64/' directory

ATC Roo
Posts: 534
Joined: Sun Oct 16, 2016 9:24 am
Location: UK
Contact:

Re: Xplane Plugin for Linux

Postby ATC Roo » Fri Feb 21, 2020 9:06 pm

Good to hear.

foo
Posts: 8
Joined: Sun Feb 02, 2020 2:54 am

Re: Xplane Plugin for Linux

Postby foo » Wed Feb 26, 2020 1:14 am

you're a legend Roo!

and if Mrs Roo has let you back onto the computer.. I think I found an issue.

My FPS drops to zero as soon as animation of other aircraft begins, but when other planes are paused (or loading) the FPS seems ok/normal.

Has anyone else encountered this?

ATC Roo
Posts: 534
Joined: Sun Oct 16, 2016 9:24 am
Location: UK
Contact:

Re: Xplane Plugin for Linux

Postby ATC Roo » Wed Feb 26, 2020 10:26 am

I might have some time tomorrow to have a look.

I haven't changed much to the original code, so can only think of one thing it could be.

How are you measuring your FPS, is there an option in XPlane to display it?

ATC Roo
Posts: 534
Joined: Sun Oct 16, 2016 9:24 am
Location: UK
Contact:

Re: Xplane Plugin for Linux

Postby ATC Roo » Wed Feb 26, 2020 10:39 am

And thinking more about this....

Does it make any difference if you reduce the distance sliders in JoinFS?

foo
Posts: 8
Joined: Sun Feb 02, 2020 2:54 am

Re: Xplane Plugin for Linux

Postby foo » Fri Feb 28, 2020 5:58 am

Thanks, just did some testing around this but no luck yet.

I've tried the following:
  • Reducing distance to 10 and 2nm - it was 40nm - and still drops to near-zero FPS, with only one other aircraft in range.
  • Changing model mapping to display other/simpler aircraft by default - no difference
  • Enabled low bandwidth mode - FPS still goes kaput
  • Disabling all other plugins, aside from the ones aircraft load (eg SASL).

Have attached the settings window here. Are there any other log files that might help troubleshoot?
Screenshot_2020-02-28_16-30-05.png
Screenshot_2020-02-28_16-30-05.png (58.32 KiB) Viewed 591 times
Last edited by foo on Fri Feb 28, 2020 6:04 am, edited 2 times in total.

foo
Posts: 8
Joined: Sun Feb 02, 2020 2:54 am

Re: Xplane Plugin for Linux

Postby foo » Fri Feb 28, 2020 6:02 am

Just wondering, which DataRefs is the plugin writing-to to set the position, orientation and velocities of other aircraft?

ATC Roo
Posts: 534
Joined: Sun Oct 16, 2016 9:24 am
Location: UK
Contact:

Re: Xplane Plugin for Linux

Postby ATC Roo » Fri Feb 28, 2020 6:00 pm

I gave the code a quick look over and did find something that gave a different result to the plugin running under windows.

I've corrected it so hope it solves the issue.

The latest version is always available from the link in the first post.

foo
Posts: 8
Joined: Sun Feb 02, 2020 2:54 am

Re: Xplane Plugin for Linux

Postby foo » Sat Feb 29, 2020 9:07 am

It works!!!@@

Thanks again ATC Roo! Even had some comments about how much smoother it looked than the P3D planes!


Return to “Discussion”