Author Topic: Couatl starts manually, but not automatically with the simulator  (Read 37656 times)

virtuali

  • Administrator
  • Hero Member
  • *****
  • Posts: 51576
    • VIRTUALI Sagl
Re: Couatl starts manually, but not automatically with the simulator
« Reply #15 on: October 28, 2022, 11:55:08 am »
For anyone else reading this, I changed to UTF-8 tonight to cure coualt not starting automatically.  For some reason this completely borked by hotas throttle and stick whereby any aircraft didn't react to my inputs.  I've just restored the original exe.xml and my hardware is working again.

As explained in the first post of this thread, the issue of add-ons not being started automatically by the EXE.XML, is not really related to an issue related to the EXE.XML encoding.

Sure, if you have a problem with it, it's guaranteed it will not work but, if you read the explanation in the first post carefully, there's another fundamental issue with starting add-ons, that has been confirmed to be a problem in the sim, as indicated in the reply I cited, coming directly from Asobo, and it's caused by simulator trying for some reason to validate the add-ons licenses, something it clearly can't do, not possibly knowing anything about any license requirements of 3rd party add-ons.

MAYBE this could be some kind of derivative bug that, if MSFS has a problem with *its* license, is not supposed to start any add-ons, which seems to be confirmed by the fact that, when the .EXE.XML doesn't seem to start anything, even enabling the Simconnect logging Console results in an unspecified license error.

That is to say than yes, before you have any chance to have the EXE.XML add-ons starting correctly, the EXE.XML must be correct and have the proper encoding, meaning the actual content of the file must match the encoding declaration and, by default, even when an XML declaration is missing, the XML standard dictates the file is assumed to be UTF-8 without BOM, but even if your XML is perfectly fine, there's the OTHER issue explained above.

This SEEMS to have been fixed in SU11 Beta. I'm just starting MSFS again right now while I'm typing this (using the latest SU11 Beta), and my EXE.XML, which has an UTF-8 declaration and NO BOM, started the only two add-ons I have correctly, that is couatl64_MSFS.exe and FenixBootstrapper.exe. To be sure, I tried 3 times in a row, and in all 3 startups, couatl64_MSFS.exe and FenixBootstrapper.exe were correctly shutdown after quitting MSFS, and they were both auto-launched on the following startup so, it seems this might be fixed.

Assuming, of course, the EXE.XML is otherwise correct and doesn't include any errors.

Ankh

  • Full Member
  • ***
  • Posts: 202
Re: Couatl starts manually, but not automatically with the simulator
« Reply #16 on: November 02, 2022, 04:56:16 pm »
An interesting observation on my end: due to a hardware change I did a full re-install of Windows 10 and MSFS last weekend and guess what, this bloody exe.xml suddenly starts up all addon executables including couatl.exe without any hickup every time I fire up MSFS. Even with all my addons back in place, the exe.xml still works as intended. Do not ask me why, because if I compare the "new" and the "old" exe.xml line by line, they look 100% identical.

virtuali

  • Administrator
  • Hero Member
  • *****
  • Posts: 51576
    • VIRTUALI Sagl
Re: Couatl starts manually, but not automatically with the simulator
« Reply #17 on: November 02, 2022, 05:11:58 pm »
An interesting observation on my end: due to a hardware change I did a full re-install of Windows 10 and MSFS last weekend and guess what, this bloody exe.xml suddenly starts up all addon executables including couatl.exe without any hickup every time I fire up MSFS. Even with all my addons back in place, the exe.xml still works as intended. Do not ask me why, because if I compare the "new" and the "old" exe.xml line by line, they look 100% identical.

Thank you for having confirmed what we already knew it was an issue ( separate from possible "issues" with the EXE.XML itself ) related to some kind of weird Windows/MS Store licensing problem, which was of course already explained in the first post of this thread, and I repeated in my last post.

As I've said, it seems to work much better with the SU11 Beta, previously I was never able to have anything auto-started automatically, and I think this was related to having two MSFS installations ( MS Store and Steam ) with two separate license, on the same PC. Now it always works for me.

airbadger

  • Sr. Member
  • ****
  • Posts: 343
Re: Couatl starts manually, but not automatically with the simulator
« Reply #18 on: November 12, 2022, 06:41:18 pm »
With SU11, is there anything I can do to make couatl start with MSFS? I'm still having to start it manually.

virtuali

  • Administrator
  • Hero Member
  • *****
  • Posts: 51576
    • VIRTUALI Sagl
Re: Couatl starts manually, but not automatically with the simulator
« Reply #19 on: November 13, 2022, 10:52:40 am »
With SU11, is there anything I can do to make couatl start with MSFS? I'm still having to start it manually.

With SU11, it always starts automatically, each time. I never had to start it manually again.

airbadger

  • Sr. Member
  • ****
  • Posts: 343
Re: Couatl starts manually, but not automatically with the simulator
« Reply #20 on: November 13, 2022, 01:19:37 pm »
Not for me. Looks like more fun troubleshooting MSFS for me.
« Last Edit: November 13, 2022, 01:46:22 pm by virtuali »

virtuali

  • Administrator
  • Hero Member
  • *****
  • Posts: 51576
    • VIRTUALI Sagl
Re: Couatl starts manually, but not automatically with the simulator
« Reply #21 on: November 13, 2022, 01:48:41 pm »
Not for me. Looks like more fun troubleshooting MSFS for me.

SU11 fixed the problem, but this assumes your EXE.XML is clean and not corrupted. Before SU11, it even failed to load EXE.XMLs that were correct, now they work so, check this thread and see if perhaps your EXE.XML has a problem, because if it does, SU11 wouldn't fix anything in that case:

https://www.fsdreamteam.com/forum/index.php/topic,28389.0.html

airbadger

  • Sr. Member
  • ****
  • Posts: 343
Re: Couatl starts manually, but not automatically with the simulator
« Reply #22 on: November 13, 2022, 03:14:16 pm »
I looked at that thread but don't see that particular issue in my attached exe.xml.
« Last Edit: November 13, 2022, 03:38:04 pm by virtuali »

virtuali

  • Administrator
  • Hero Member
  • *****
  • Posts: 51576
    • VIRTUALI Sagl
Re: Couatl starts manually, but not automatically with the simulator
« Reply #23 on: November 13, 2022, 03:50:44 pm »
I looked at that thread but don't see that particular issue in my attached exe.xml.

Surely there are differences compared to how it's supposed to be, since your file starts with these lines, which are like it used to be an FSX-style exe.xml, apparently some installer has created it as if was in FSX.

<SimBase.Document Type="Launch" version="1,0">
  <Descr>Launch</Descr>
  <Filename>exe.xml</Filename>
  <Disabled>False</Disabled>
  <Launch.ManualLoad>False</Launch.ManualLoad>

While the file I posted starts with the correct MSFS-style commands,  I've highlighted all the differences:

<SimBase.Document Type="SimConnect" version="1,0">
  <Descr>SimConnect</Descr>
  <Filename>SimConnect.xml</Filename>
  <Disabled>False</Disabled>

This is how the GSX installer creates the EXE.XML it if no file exists, and it's has been confirmed by Asobo (Boris is an Asobo developer ) it is the correct syntax:

https://devsupport.flightsimulator.com/questions/2191/starting-external-programs-without-using-the-exexm.html?childToView=6873#comment-6873

Note that, f an EXE.XML already exists, the GSX installer will just add its own section to it, without changing anything else.

However, this not being documented anywhere, other than that post on Asobo developers forum, it's not 100% clear what happens if you use the FSX-style syntax, the few tests I made seems to indicate it will be accepted as well, but I have not idea of there are side effects, for example of one of the add-ons in the section use Launch commands only available in MSFS.

Other than that, your file has spaces for indentation, the one I posted has Tabs. Again, not sure if this is a problem or not ( it shouldn't, according to XML standards ), but nobody can be sure of anything.

One thing you haven't said is, are ALL the other programs being started automatically from your EXE.XML, or there are some that don't start as well ? Or it's just Couatl ?

airbadger

  • Sr. Member
  • ****
  • Posts: 343
Re: Couatl starts manually, but not automatically with the simulator
« Reply #24 on: November 13, 2022, 05:39:35 pm »

One thing you haven't said is, are ALL the other programs being started automatically from your EXE.XML, or there are some that don't start as well ? Or it's just Couatl ?

Just couatl. I tried changing the instances of Launch to SimConnect as you noted with no change.

Then I removed the exe.xml, ran the FSDT installer and unlinked/relinked GSX and it rebuilt the exe.xml to only have couatl (attached). Unfortunately, even that doesn't get it running.

virtuali

  • Administrator
  • Hero Member
  • *****
  • Posts: 51576
    • VIRTUALI Sagl
Re: Couatl starts manually, but not automatically with the simulator
« Reply #25 on: November 13, 2022, 06:35:22 pm »
Then I removed the exe.xml, ran the FSDT installer and unlinked/relinked GSX and it rebuilt the exe.xml to only have couatl (attached). Unfortunately, even that doesn't get it running.

I can only repeat and confirm it works 100% of the time here. Your file is surely correct now ( since it was created by the GSX installer, you can be sure it is ), so your issue must be something else entirely.

You still haven't answered to my last question, are ALL the other programs being started automatically from your EXE.XML, or there are some that don't start as well ? Or it's just Couatl ?
« Last Edit: November 13, 2022, 06:37:21 pm by virtuali »

airbadger

  • Sr. Member
  • ****
  • Posts: 343
Re: Couatl starts manually, but not automatically with the simulator
« Reply #26 on: November 13, 2022, 08:39:44 pm »
Then I removed the exe.xml, ran the FSDT installer and unlinked/relinked GSX and it rebuilt the exe.xml to only have couatl (attached). Unfortunately, even that doesn't get it running.

I can only repeat and confirm it works 100% of the time here. Your file is surely correct now ( since it was created by the GSX installer, you can be sure it is ), so your issue must be something else entirely.

You still haven't answered to my last question, are ALL the other programs being started automatically from your EXE.XML, or there are some that don't start as well ? Or it's just Couatl ?

Couatl is the only one that won't start. I just tried another fresh exe.xml with just couatl and it didn't start. Then I swapped in FSUIPC in that same file and it started fine.

vekant

  • Jr. Member
  • **
  • Posts: 61
Re: Couatl starts manually, but not automatically with the simulator
« Reply #27 on: November 13, 2022, 11:57:41 pm »
Hello, I have exactly the same problem. Everything lance nickel, except couatl

Seth2413

  • Jr. Member
  • **
  • Posts: 62
Re: Couatl starts manually, but not automatically with the simulator
« Reply #28 on: November 14, 2022, 07:37:45 am »
Yep latest updates coutal wont start and now i get that couldnt find valid afcad date for airport, services not available.
« Last Edit: November 14, 2022, 09:03:42 am by Seth2413 »

virtuali

  • Administrator
  • Hero Member
  • *****
  • Posts: 51576
    • VIRTUALI Sagl
Re: Couatl starts manually, but not automatically with the simulator
« Reply #29 on: November 14, 2022, 09:48:44 am »
Yep latest updates coutal wont start and now i get that couldnt find valid afcad date for airport, services not available.

Does it work if you start it manually from its icon ?