Page 1 of 1

LIMITS OF FGS?

Posted: Fri Aug 13, 2021 3:06 pm
by batuta
Hello, i have a mission with 153 fgs, i had no problem playing in a old version of XWA.
But with the latest megapatch, alliance crash.
I have to reduce the number of fg to 130 or similar to play it?
Did the latest megapatch reduce the limit of fgs?

Posted: Sat Aug 21, 2021 1:49 am
by Bman
.

Re: LIMITS OF FGS?

Posted: Sat Aug 28, 2021 8:06 pm
by JeremyaFr
Hello,
The limit in the .tie missions files is 192 flightgroups. Keep in mind that this number includes the backdrops.

Re: LIMITS OF FGS?

Posted: Mon Aug 30, 2021 6:19 pm
by batuta
Thank you, but with a clean install the game crash when a mission with more of 138 or 139 FGS is loaded.

Re: LIMITS OF FGS?

Posted: Sat Sep 25, 2021 11:34 am
by JeremyaFr
Hello,
The limit includes the wingmen.

Re: LIMITS OF FGS?

Posted: Mon Oct 10, 2022 8:25 pm
by guru_redeye
Guys I've also met this barrier. Indeed, you can't load a .tie hangar (tour) mission that has more than 138..141 FGs in XWAU (actually 138 seems the last stable value) and I suspect that it's caused by a bug that occurs in tour multiplayer hook because the crash happens in Flight Simulator/Multiplayer/Tour of Duty menu, right after selecting the given mission and hitting 'Load' button, right before XWAU would display the Player FG slot selection menu for the mission. This is not an in-flight crash, it occurs well before actually playing the mission even before you would get to the mission briefing.

Re: LIMITS OF FGS?

Posted: Fri Oct 14, 2022 12:58 am
by Bman
(Excluding backdrops) are you maxing out each FG to 6 wingmen ?

Re: LIMITS OF FGS?

Posted: Fri Oct 14, 2022 7:47 am
by AngeI
Hi @batuta can you show me your .tie file, I will take a look and see what might be the issue. 192 FGs is the maximum limit and I know this from my own extensive mission design work on TFTC. The number of ships does not matter because we long ago broke that limit (You can literally have thousands, but you can only have 192 FGs). Any FG over 6 ships basically breaks formations, but you can still do it and I have done this.

https://www.youtube.com/watch?v=AAs-fVdGh2o&t=3s - this stress test mission shows all 192 slots occupied in one setting.

Re: LIMITS OF FGS?

Posted: Fri Oct 14, 2022 8:59 am
by guru_redeye
Bman wrote:
Fri Oct 14, 2022 12:58 am
(Excluding backdrops) are you maxing out each FG to 6 wingmen ?
Well there are 5 asteroid FGs that actually have 12 asteroids per FG and another 5 of asteroid FGs that have 6 per FG. Beside these, all of the FGs have <=5 crafts/wave/FG. Most of them have <=3 crafts/wave/FG. Additionally I know and strictly comply with mission constraints. Again, it's not an in-flight crash that occurs when you exceed this FG limit. XWAU crashes in player FG slot selection menu of tour multiplayer hook when you exceed it, well before you would even get to mission briefing.

Re: LIMITS OF FGS?

Posted: Fri Oct 14, 2022 10:23 am
by guru_redeye
btw @AngeI, let me know if I'm missing something but afaik these are the current limitations of an XWAU v5.5 clean install: viewtopic.php?f=41&t=13960 . It's an excellent elaboration, although I think the "Mission Constraints" part of it is some incomplete.

Re: LIMITS OF FGS?

Posted: Sat Oct 15, 2022 9:56 am
by guru_redeye
I have new test results but I'm still testing stay tuned :D

Re: LIMITS OF FGS?

Posted: Sat Oct 15, 2022 11:24 am
by guru_redeye
So the new test result: TFTC is indeed able to load the same mission without crash and my earlier guess that (only) the tour multiplayer hook would be the culprit for the crash in XWAU is probably false because if I copy over the hook dll from TFTC to XWAU (the hook dll was originally bitwise different in XWAU and TFTC), the crash still happens in XWAU.

So again:
Indeed, while XWAU v5.5 crashes when loading a mission containing more than 138..141 FGs, TFTC does not. The Number of FGs in the tested mission was 149 . The crash in XWAU is not an in-flight crash but it happens in the player slot selection menu of the mission, before you would get to the mission briefing.

Note: Both the current latest version of tour multiplayer hook that's downloadable from Jeremy's Github and the one that comes with TFTC v1.3.1 have been tested with XWAU and the crash occurs with both.

Re: LIMITS OF FGS?

Posted: Sat Oct 15, 2022 11:34 am
by JeremyaFr
Hello,
Have you tried to set "IsHookEnabled = 1" in the "[hook_crafts_count]" section of "Hooks.ini" for XWAU?
You can also try different values for the "CraftsCount" setting.

Re: LIMITS OF FGS?

Posted: Sat Oct 15, 2022 11:40 am
by guru_redeye
thx Jeremy I wil look into it.

Re: LIMITS OF FGS?

Posted: Wed Nov 02, 2022 12:50 pm
by guru_redeye
So continueing the topic, XWAU ( != TFTC ) still crashes even with the latest hooks updated with the hook updater if I exceed the FG limit. And although I have XWAU and TFTC installed in different folders, I've also tested the XWAU copy TFTC installed on by switching to it via Palpatin Converter (of TFTC) and it also crashes exceeding the FG limit. The crafts count hook is enabled by default in XWAU\Hooks.ini with the latest hooks and altering its config anyway doesn't help either. Since as I described it earlier this is not an inflight crash but it happens once you load the mission in Flight Simulator/Multiplayer/Tour of Duty menu (via tour multiplayer hook) I think the problem is rather something along the lines of processing/reading in the .tie mission file itself (e.g. the size of the mission file grows with the number of FGs growing and it may exceed a certain limit XWAU might not handle somehow) but this is just another guess or speculation, I have no proof.

Re: LIMITS OF FGS?

Posted: Thu Nov 03, 2022 2:43 am
by Bman
If you disable multiplayer hook does it still crash? Also verify the logic strings or something else in the mission file isn't causing any issues.

Re: LIMITS OF FGS?

Posted: Sat Nov 05, 2022 10:09 am
by guru_redeye
Bman wrote:
Thu Nov 03, 2022 2:43 am
If you disable multiplayer hook does it still crash? ...
It's an 8 player MP mission so it's actually not properly loadable by the default tour system of XWA(U) without the tour MP hook but of course I have done such test and the result is also a crash even if I lower the number of FGs below 139 without the tour MP hook.
Bman wrote:
Thu Nov 03, 2022 2:43 am
... Also verify the logic strings or something else in the mission file isn't causing any issues.
With the tour MP hook, XWAU does not crash when loading the mission if I remove whatever 11 FGs of the 149 from the mission. The main issue is that XWAU crashes when loading a mission containing more than 138..141 FGs.