Xplane Plugin for Linux
Xplane Plugin for Linux
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.
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.
Re: Xplane Plugin for Linux
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
Helps me out at least!! Just renamed it to 'lin.xpl' and put it in the 'X-Plane 11/Resources/plugins/JoinFS/64/' directory
Re: Xplane Plugin for Linux
Good to hear.
Re: Xplane Plugin for Linux
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?
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?
Re: Xplane Plugin for Linux
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?
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?
Re: Xplane Plugin for Linux
And thinking more about this....
Does it make any difference if you reduce the distance sliders in JoinFS?
Does it make any difference if you reduce the distance sliders in JoinFS?
Re: Xplane Plugin for Linux
Thanks, just did some testing around this but no luck yet.
I've tried the following:
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).
Last edited by foo on Fri Feb 28, 2020 6:04 am, edited 2 times in total.
Re: Xplane Plugin for Linux
Just wondering, which DataRefs is the plugin writing-to to set the position, orientation and velocities of other aircraft?
Re: Xplane Plugin for Linux
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.
I've corrected it so hope it solves the issue.
The latest version is always available from the link in the first post.
Re: Xplane Plugin for Linux
It works!!!@@
Thanks again ATC Roo! Even had some comments about how much smoother it looked than the P3D planes!
Thanks again ATC Roo! Even had some comments about how much smoother it looked than the P3D planes!
Re: Xplane Plugin for Linux
Glad to hear.
Re: Xplane Plugin for Linux
The linux plugin is now included with each JoinFS build. Install using the 'Install Plugin' button from the JoinFS settings.
Peter
Peter
-
- Posts: 2
- Joined: Sun Apr 18, 2021 5:01 pm
Re: Xplane Plugin for Linux
Seems to work great.
Except for two problems both easy fixes :
(1) you have to install the 2005 runtime (vcrun2005 in winetricks) for at least MSVCR80.DLL
(2) It seems to require SimConnect.dll to be in the JoinFS dictionary even if you are using X-Plane.
Except for two problems both easy fixes :
(1) you have to install the 2005 runtime (vcrun2005 in winetricks) for at least MSVCR80.DLL
(2) It seems to require SimConnect.dll to be in the JoinFS dictionary even if you are using X-Plane.
Re: Xplane Plugin for Linux
They're not really problems. You need the C++ dll because part of JoinFS is running C++. When you install JoinFS the SimConnect.dll is installed into the same folder as the exe. You don't need to do anything with it.paulscottrobson wrote: ↑Sun Apr 18, 2021 5:04 pm Seems to work great.
Except for two problems both easy fixes :
(1) you have to install the 2005 runtime (vcrun2005 in winetricks) for at least MSVCR80.DLL
(2) It seems to require SimConnect.dll to be in the JoinFS dictionary even if you are using X-Plane.
Peter
-
- Posts: 2
- Joined: Sun Apr 18, 2021 5:01 pm
Re: Xplane Plugin for Linux
It wasn't meant as critical, more a 'Linux people, you need these two things for it to work'.
Though winetricks is not working for that runtime at the moment which is a bit irritating. Running the .EXE directly doesn't seem to work. Such is life ; the alternative is developing in Windows which does my head in ....
Though winetricks is not working for that runtime at the moment which is a bit irritating. Running the .EXE directly doesn't seem to work. Such is life ; the alternative is developing in Windows which does my head in ....