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

Plugin not working with Loupedeck 6.0 #254

Open
jejenone opened this issue Oct 19, 2024 · 32 comments
Open

Plugin not working with Loupedeck 6.0 #254

jejenone opened this issue Oct 19, 2024 · 32 comments

Comments

@jejenone
Copy link

Loupedeck just released their major software update 6.0 and since then:

  • this plugin is not available in the marketplace anymore
  • when installed manually, only plugin 3.0.1 can be installed, and 2.4 fails
  • with 3.0.1 installed, things are broken: there is some display, but it's "ugly", and more importantly, the connection to the sim does not seem to work

I had to downgrade Loupedeck back to 5.9 for it to work again.

@calibx
Copy link
Owner

calibx commented Oct 23, 2024

working on the fix

@calibx
Copy link
Owner

calibx commented Oct 23, 2024

image

Ok it needs some more fixes but it starts :p

@calibx
Copy link
Owner

calibx commented Oct 26, 2024

The simconnect doesn't start for now : I am stuck on an assembly problem :

2024-10-26T10-45-22-7855 | 59 | INFO | Loading assembly 'Microsoft.FlightSimulator.SimConnect, Version=11.0.62651.3, Culture=neutral, PublicKeyToken=null'
Exception thrown: 'System.BadImageFormatException' in System.Private.CoreLib.dll
2024-10-26T10-45-22-8014 | 59 | WARN | First chance exception:
/* ================================================================
(System.BadImageFormatException) Cannot load a mixed assembly into a collectible AssemblyLoadContext.
System.BadImageFormatException: Cannot load a mixed assembly into a collectible AssemblyLoadContext.
at System.Runtime.Loader.AssemblyLoadContext.InternalLoad(ReadOnlySpan1 arrAssembly, ReadOnlySpan1 arrSymbols)
================================================================ */

Controls ui is ugly but seems link to #255

@Raj-Manghani
Copy link

Thanks for doing this. I just reconnected to my flight sim and was wanting to use my CT. If I can help in some way, please let me know.

@calibx
Copy link
Owner

calibx commented Nov 7, 2024

Some good and not good news : now I know where is the problem : the new sdk prevent loading c++ dll (like msfs one).
I will try to fix that, creating a wrapper around it, using reflection calls and dynamic loading. It will more time than expected...

@Raj-Manghani
Copy link

Raj-Manghani commented Nov 7, 2024 via email

@TryTryAgain
Copy link

Some good and not good news : now I know where is the problem : the new sdk prevent loading c++ dll (like msfs one). I will try to fix that, creating a wrapper around it, using reflection calls and dynamic loading. It will more time than expected...

damn government 🤪

@calibx
Copy link
Owner

calibx commented Nov 17, 2024

Update : now I can dynamic load simconnect Dll and connect to MSFS !
image
I will now have to rework all the links into the plugin, but we have a solution !

@felixfdc
Copy link

@calibx Thanks a lot for all your work and efforts

@Raj-Manghani
Copy link

Raj-Manghani commented Nov 17, 2024 via email

@calibx
Copy link
Owner

calibx commented Nov 18, 2024

The communication is now repaired in the plugin : the event system works ! (last commits)
Now I have to fix values reading (to display correct state) and values writing (for mixture encoders).
And last, I don't know why the Loupedeck auto switch to default profile ...

@calibx
Copy link
Owner

calibx commented Nov 22, 2024

Good news : all is on the great way :
image
Input and output works well, I still have to fix the profiles but 90% of the work is ready.
I think I will make a first release this weekend

@Raj-Manghani
Copy link

Raj-Manghani commented Nov 22, 2024 via email

@TryTryAgain
Copy link

FYI: The original was working with 2024 as it did with 2020 without any issues from what I could tell (limited testing/playing)...

@calibx
Copy link
Owner

calibx commented Nov 23, 2024

A large part of the inputs works flawlessly in 2024. I will work on the little fixes after the release of the compatibility with LoupeDeck 6.

@DMHas
Copy link

DMHas commented Nov 23, 2024

Many Thanks for your work! I can't wait for the official release.

@calibx
Copy link
Owner

calibx commented Nov 23, 2024

Here is the first alpha release :
MsfsPlugin.zip

Just unzip the file in %USERPROFILE%/AppData\Local\Logi\LogiPluginService\Plugins
You should obtain a MsfsPlugin folder with 4 dll inside 👍
image

As an alpha release, not all is fixed but .. enjoy :p

@Raj-Manghani
Copy link

Raj-Manghani commented Nov 23, 2024 via email

@GlennyPlaysStuff
Copy link

I have loupedeck live S, but can't get the plugin to work anymore. tried the latest version from the releases page, but no connection to the sim. Tried copying that folder from the zip above, but still no joy (loupedeck software doesn't seem to see this version, so it's still using the version installed from the releases page I think, hence no difference).

Any idea how I can get it working again?

@Raj-Manghani
Copy link

Raj-Manghani commented Nov 29, 2024 via email

@GlennyPlaysStuff
Copy link

GlennyPlaysStuff commented Nov 29, 2024

still no joy. it seems like just copying the folder doesn't add the plugin in to the software. is there any way to package the alpha version into a .lplug4 file like the one on the releases page? because that file does install and appear in the software, but just copying the folder doesn't work for me.

::EDIT::

does anyone have the link to a particular version of the loupedeck software that does work with this plugin? If I uninstall loupedeck again, and then install an older version, then the main release version will work?

@DMHas
Copy link

DMHas commented Nov 29, 2024

I have loupedeck live S, but can't get the plugin to work anymore. tried the latest version from the releases page, but no connection to the sim. Tried copying that folder from the zip above, but still no joy (loupedeck software doesn't seem to see this version, so it's still using the version installed from the releases page I think, hence no difference).

I have the same issue!
I removed the Loupedeck software completely. Reinstalled, copied the files like calibx wrote. But the plugin have no connection to the MSFS 2020.

If i can provide any information, feel free to ask!
Any suggestion are welcome!

@GlennyPlaysStuff
Copy link

Ah. I found it.

It is in the loupedeck software, but for some reason it was listed as "hidden", so you have to click the little eye symbol to unhide it. There's a bit somewhere that let's you manage plugins and that's where you unhide it.

Does connect now, but still doesn't look like it used to. Was thinking of upgrading to the full size loupedeck live , but will hold off for now I think.

@Raj-Manghani
Copy link

Raj-Manghani commented Nov 29, 2024 via email

@DMHas
Copy link

DMHas commented Nov 29, 2024

I uninstalled the Loupedeck software. Deleted all loupedeck folders. Installed the software again and copied the plugin how showed.

Now the loupedeck works and it recognized when MS flight simulator starts, but only for one time. After ending and restarting the flight simulator the loupedeck change to right profil but no inputs are possible and the doesn't showing any changing of parameters (speed, heading, etc,). It works after restart the loupedeck software or the PC.

@Raj-Manghani
Copy link

Raj-Manghani commented Nov 29, 2024 via email

@jgw7697
Copy link

jgw7697 commented Nov 29, 2024

I had similar troubles with trying to get the alpha version to work correctly, so I asked Loupedeck customer support for links to get the earlier Loupedeck version, 5.9.1. They also sent a link to the usable plugin, which seems to work well with version 5.9.1:

https://support.loupedeck.com/how-to-downgrade-loupedeck-software-from-version-6.0-to-5.9.1
https://loupedeck.zendesk.com/attachments/token/FhOZXDfiZSLp3eIYlO8AtscOF/?name=MSFS_25769e36ca_ad57b2fd32.lplug4

Hope this helps as we eagerly await for the new 6.0-compatable version. Thanks to Calibx for the great work on the MSFS Plugins! Not an easy job, for sure, but much appreciated.

@DMHas
Copy link

DMHas commented Dec 7, 2024

Hello together,

i installed the newest version of the Loudedeck software (UI:6.0.2.21224;LPS:6.0.2.21145). And now the plugin doesn't will be
recognized. Plugin-path is "%USERPROFILE%/AppData\Local\Logi\LogiPluginService\Plugins".

May be there are more chances inside the new loupedeck version.

Screenshot 2024-12-07 105305

@BenBroadcast
Copy link

After another update to version UI:6.0.2.21224;LPS:6.0.2.21145 the plugin is doesnt work again :(

@DMHas
Copy link

DMHas commented Dec 15, 2024

May be the problem with the plugin results in of the new Loudedeck software version (UI:6.0.2.21224;LPS:6.0.2.21145)

Source:
Screenshot 2024-12-15 134036

@tboehme
Copy link

tboehme commented Dec 16, 2024

For me, the plugin also stopped working with 6.0.2 and even after I reverted to 6.0.1 - I found out that I had to manually remove the "Logi Plugin Service" as this remained on 6.0.2 - after that and a fresh install of 6.0.1 it is working again.

@Raj-Manghani
Copy link

Raj-Manghani commented Dec 17, 2024 via email

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

When branches are created from issues, their pull requests are automatically linked.

10 participants