LIMITS OF FGS?

Want to edit the game, build your own craft and missions? Here you'll find help, tools, guides and people to discuss with.
Post Reply

LIMITS OF FGS?

batuta
Cadet 1st Class
Posts: 155
Joined: Tue Oct 13, 2020 1:34 pm

Post by batuta » Fri Aug 13, 2021 3:06 pm

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?

Bman
Lieutenant Commander
Posts: 1167
Joined: Mon Apr 05, 2004 11:01 pm

Post by Bman » Sat Aug 21, 2021 1:49 am

.
Last edited by Bman on Wed Sep 01, 2021 6:22 am, edited 1 time in total.
W-I-P: TFTC, MC Viscount Cr., ISD-II Avenger, NL-1 Platform, Ton-Falk Esc. Cr., & Misc.

User avatar
JeremyaFr
XWAU Member
Posts: 3921
Joined: Mon Jan 18, 2010 5:52 pm
Contact:

Post by JeremyaFr » Sat Aug 28, 2021 8:06 pm

Hello,
The limit in the .tie missions files is 192 flightgroups. Keep in mind that this number includes the backdrops.

batuta
Cadet 1st Class
Posts: 155
Joined: Tue Oct 13, 2020 1:34 pm

Post by batuta » Mon Aug 30, 2021 6:19 pm

Thank you, but with a clean install the game crash when a mission with more of 138 or 139 FGS is loaded.

User avatar
JeremyaFr
XWAU Member
Posts: 3921
Joined: Mon Jan 18, 2010 5:52 pm
Contact:

Post by JeremyaFr » Sat Sep 25, 2021 11:34 am

Hello,
The limit includes the wingmen.

User avatar
guru_redeye
Cadet 2nd Class
Posts: 62
Joined: Wed Oct 06, 2004 11:01 pm

Post by guru_redeye » Mon Oct 10, 2022 8:25 pm

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.

Bman
Lieutenant Commander
Posts: 1167
Joined: Mon Apr 05, 2004 11:01 pm

Post by Bman » Fri Oct 14, 2022 12:58 am

(Excluding backdrops) are you maxing out each FG to 6 wingmen ?
W-I-P: TFTC, MC Viscount Cr., ISD-II Avenger, NL-1 Platform, Ton-Falk Esc. Cr., & Misc.

User avatar
AngeI
Lieutenant JG
Posts: 524
Joined: Sun Jan 24, 2016 5:27 pm

Post by AngeI » Fri Oct 14, 2022 7:47 am

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.

User avatar
guru_redeye
Cadet 2nd Class
Posts: 62
Joined: Wed Oct 06, 2004 11:01 pm

Post by guru_redeye » Fri Oct 14, 2022 8:59 am

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.

User avatar
guru_redeye
Cadet 2nd Class
Posts: 62
Joined: Wed Oct 06, 2004 11:01 pm

Post by guru_redeye » Fri Oct 14, 2022 10:23 am

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.

User avatar
guru_redeye
Cadet 2nd Class
Posts: 62
Joined: Wed Oct 06, 2004 11:01 pm

Post by guru_redeye » Sat Oct 15, 2022 9:56 am

I have new test results but I'm still testing stay tuned :D

User avatar
guru_redeye
Cadet 2nd Class
Posts: 62
Joined: Wed Oct 06, 2004 11:01 pm

Post by guru_redeye » Sat Oct 15, 2022 11:24 am

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.

User avatar
JeremyaFr
XWAU Member
Posts: 3921
Joined: Mon Jan 18, 2010 5:52 pm
Contact:

Post by JeremyaFr » Sat Oct 15, 2022 11:34 am

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.

User avatar
guru_redeye
Cadet 2nd Class
Posts: 62
Joined: Wed Oct 06, 2004 11:01 pm

Post by guru_redeye » Sat Oct 15, 2022 11:40 am

thx Jeremy I wil look into it.

User avatar
guru_redeye
Cadet 2nd Class
Posts: 62
Joined: Wed Oct 06, 2004 11:01 pm

Post by guru_redeye » Wed Nov 02, 2022 12:50 pm

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.

Bman
Lieutenant Commander
Posts: 1167
Joined: Mon Apr 05, 2004 11:01 pm

Post by Bman » Thu Nov 03, 2022 2:43 am

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.
W-I-P: TFTC, MC Viscount Cr., ISD-II Avenger, NL-1 Platform, Ton-Falk Esc. Cr., & Misc.

User avatar
guru_redeye
Cadet 2nd Class
Posts: 62
Joined: Wed Oct 06, 2004 11:01 pm

Post by guru_redeye » Sat Nov 05, 2022 10:09 am

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.

Post Reply