[Bug] AE2 causes system cfg corruption and data loss

I had my system.cfg get messed up Using AE load a aircraft - notice on initial
load that flight tab and system tab have a dot - I did not edit anything yet.

open system tab and see that my
Circuit panel is set to zero index on both.

do save an resync and now my
circuit panel is invalid. went
from this

circuit.1 = Type:CIRCUIT_GENERAL_PANEL:1#Connections:bus.1#Power:0.5,1,20.0#Name:General_Panel_Main ; General panel
circuit.2 = Type:CIRCUIT_GENERAL_PANEL:2#Connections:bus.2#Power:0.5,1,20.0#Name:General_Panel_Essential ; General panel
circuit.3 = Type:CIRCUIT_STARTER#Connections:bus.9#Power:200, 350, 20.0#Name:Starter_1 ; Starter 3500W
circuit.4 = Type:CIRCUIT_FUEL_PUMP#Connections:bus.7#Power:35, 48, 20.0#Name:Fuel_Pump ; Fuel pump 24V DC @ 2A
circuit.5 = Type:CIRCUIT_STANDBY_VACUUM#Connections:bus.1#Power:5,10,20.0#Name:STBY_Vacuum ; stby vacuum
circuit.6 = Type:CIRCUIT_FLAP_MOTOR#Connections:bus.2#Power:200, 240, 20.0#Name:Flaps_Motor ; Flaps motor
circuit.7 = Type:CIRCUIT_FUEL_TRANSFER_PUMP#Connections:bus.8#Power:35, 48, 20.0#Name:Aux_Fuel_Pump
circuit.8 = Type:CIRCUIT_PITOT_HEAT#Connections:bus.11#Power:30, 40, 20.0#Name:Pitot_Heat ; pitot_heat 40W
circuit.9 = Type:CIRCUIT_XPNDR#Connections:bus.5#Power:20, 25, 20.0#Name:XPNDR ; Transponder 25W
circuit.10 = Type:CIRCUIT_LIGHT_BEACON#Connections:bus.1#Power:6, 8, 20.0#Name:Beacon_Light ; Beacon light 28V @ 0.26A
circuit.11 = Type:CIRCUIT_LIGHT_LANDING#Connections:bus.2#Power:120, 180, 20.0#Name:Landing_Lights ; Landing light 90W *2
circuit.12 = Type:CIRCUIT_LIGHT_TAXI#Connections:bus.1#Power:45, 60, 20.0#Name:Taxi_Light ; taxi light 60W
circuit.13 = Type:CIRCUIT_LIGHT_STROBE#Connections:bus.1#Power:20, 25, 20.0#Name:Strobe_Lights ; strobe light 25W
circuit.14 = Type:CIRCUIT_LIGHT_PANEL #Connections:bus.1#Power:20, 35, 20.0#Name:Panel_Lights ; panel light 5W
circuit.15 = Type:CIRCUIT_LIGHT_GLARESHIELD#Connections:bus.2, bus.6#Power:10, 15, 20.0#Name:Flood_Lights
circuit.16 = Type:CIRCUIT_LIGHT_WING#Connections:bus.1#Power:10, 15, 20.0#Name:Wing_Light ; wing light 15W
circuit.17 = Type:CIRCUIT_LIGHT_LOGO#Connections:bus.1#Power:10, 15, 20.0#Name:Logo_Light ; logo light 15W
circuit.18 = Type:CIRCUIT_LIGHT_CABIN:1#Connections:bus.1#Power:30, 40, 20.0#Name:Cabin_Light_pilot ; Cabin light 40W
circuit.19 = Type:CIRCUIT_LIGHT_CABIN:2#Connections:bus.1#Power:30, 40, 20.0#Name:Cabin_Light_copilot ; Cabin light 40W
circuit.20 = Type:CIRCUIT_LIGHT_CABIN:3#Connections:bus.1#Power:30, 40, 20.0#Name:Cabin_Light_passenger ; Cabin light 40W
circuit.21 = Type:CIRCUIT_LIGHT_PEDESTAL#Connections:bus.1#Power:3, 5, 20.0#Name:Pedestal_Light ; pedestal light 5W
circuit.22 = Type:CIRCUIT_AVIONICS:1#Connections:bus.4#Power:20,25,20.0#Name:Avionics_1 ; avionics 1
circuit.23 = Type:CIRCUIT_AVIONICS:2#Connections:bus.5#Power:20,25,20.0#Name:Avionics_Essential ; avionics 2
circuit.24 = Type:CIRCUIT_LIGHT_NAV#Connections:bus.1#Power:10, 15, 20.0#Name:Nav_Lights ; nav 1 light 15W
circuit.25 = Type:CIRCUIT_MARKER_BEACON#Connections:bus.4#Power:5,10,20.0#Name:Marker_Position ; marker beacon
circuit.26 = Type:CIRCUIT_NAV:1#Connections:bus.5#Power:4, 5, 20.0#Name:NAV1 ; NAV 1 5W
circuit.27 = Type:CIRCUIT_COM:1#Connections:bus.5#Power:4, 5, 20.0#Name:COM1 ; COM 1 5W
circuit.28 = Type:CIRCUIT_NAV:2#Connections:bus.4#Power:4, 5, 20.0#Name:NAV2 ; NAV 2 5W
circuit.29 = Type:CIRCUIT_COM:2#Connections:bus.4#Power:4, 5, 20.0#Name:COM2 ; COM 2 5W
circuit.30 = Type:CIRCUIT_NAV:3#Connections:bus.4#Power:4, 5, 20.0#Name:NAV3 ; NAV 3 5W
circuit.31 = Type:CIRCUIT_COM:3#Connections:bus.4#Power:4, 5, 20.0#Name:COM3 ; COM 3 5W
circuit.32 = Type:CIRCUIT_ADC_AHRS#Connections:bus.5#Power:25, 30, 20.0#Name:ADC_AHRS ; ADC/AHRS 30W
circuit.33 = Type:CIRCUIT_FIS#Connections:bus.5#Power:10, 15, 20.0#Name:FIS ; FIS 15W
circuit.34 = Type:CIRCUIT_ADF_DME#Connections:bus.5#Power:28, 35, 20.0#Name:ADF_DME ; ADF/DME 35W
circuit.35 = Type:CIRCUIT_AUDIO#Connections:bus.4#Power:10, 15, 20.0#Name:Audio ; Audio 15W
circuit.36 = Type:CIRCUIT_AUTOPILOT#Connections:bus.4#Power:10, 15, 20.0#Name:Autopilot ; Autopilot 15W
circuit.37 = Type:CIRCUIT_DIRECTIONAL_GYRO#Connections:bus.2, bus.6#Power:10, 15, 20.0#Name:Directional_Gyro ; directional gyro 15W
circuit.38 = Type:CIRCUIT_XML:1#Connections:bus.5, bus.4#Power:10, 15, 20.0#Name:GPS
circuit.39 = Type:CIRCUIT_XML:2#Connections:bus.2#Power:10, 15, 20.0#Name:Attitude_Indicator
circuit.40 = Type:CIRCUIT_XML:3#Connections:bus.2#Power:10, 15, 20.0#Name:Annunciator
circuit.41 = Type:CIRCUIT_PFD#Connections:bus.2#Power:10, 15, 20.0#Name:PFD
circuit.42 = Type:CIRCUIT_MFD#Connections:bus.1#Power:10, 15, 20.0#Name:MFD
circuit.43 = Type:CIRCUIT_LIGHT_RECOGNITION#Connections:bus.1#Power:10, 15, 20.0#Name:recognition_light
circuit.44 = Type:CIRCUIT_ATTITUDE_INDICATOR:1#Connections:bus.2, bus.6#Power:10, 15, 20.0#Name:att_indicator
circuit.45 = Type:CIRCUIT_AVNFAN#Connections:bus.4Power:10, 15, 20.0#Name:avionics_fan
circuit.46 = Type:CIRCUIT_XML:5 #Connections:bus.4#  Power:0, 0, 7.0#  Name:EFB

to this:

circuit.1 = Type:""#Connections:bus.1#Power:0,0,0#Name:"" ; General panel
circuit.2 = Type:""#Connections:bus.2#Power:0,0,0#Name:"" ; General panel
circuit.3 = Type:CIRCUIT_STARTER:0#Connections:bus.9#Power:0,0,0#Name:"" ; Starter 3500W
circuit.4 = Type:CIRCUIT_FUEL_PUMP:0#Connections:bus.7#Power:0,0,0#Name:"" ; Fuel pump 24V DC @ 2A
circuit.5 = Type:CIRCUIT_STANDBY_VACUUM:0#Connections:bus.1#Power:0,0,0#Name:"" ; stby vacuum
circuit.6 = Type:CIRCUIT_FLAP_MOTOR:0#Connections:bus.2#Power:0,0,0#Name:"" ; Flaps motor
circuit.7 = Type:CIRCUIT_FUEL_TRANSFER_PUMP:0#Connections:bus.8#Power:0,0,0#Name:""
circuit.8 = Type:CIRCUIT_PITOT_HEAT:0#Connections:bus.11#Power:0,0,0#Name:"" ; pitot_heat 40W
circuit.9 = Type:CIRCUIT_XPNDR:0#Connections:bus.5#Power:0,0,0#Name:"" ; Transponder 25W
circuit.10 = Type:CIRCUIT_LIGHT_BEACON:0#Connections:bus.1#Power:0,0,0#Name:"" ; Beacon light 28V @ 0.26A
circuit.11 = Type:CIRCUIT_LIGHT_LANDING:0#Connections:bus.2#Power:0,0,0#Name:"" ; Landing light 90W *2
circuit.12 = Type:CIRCUIT_LIGHT_TAXI:0#Connections:bus.1#Power:0,0,0#Name:"" ; taxi light 60W
circuit.13 = Type:CIRCUIT_LIGHT_STROBE:0#Connections:bus.1#Power:0,0,0#Name:"" ; strobe light 25W
circuit.14 = Type:CIRCUIT_INVALID:0#Connections:bus.1#Power:0,0,0#Name:"" ; panel light 5W
circuit.15 = Type:CIRCUIT_LIGHT_GLARESHIELD:0#Connections:bus.2,bus.6#Power:0,0,0#Name:""
circuit.16 = Type:CIRCUIT_LIGHT_WING:0#Connections:bus.1#Power:0,0,0#Name:"" ; wing light 15W
circuit.17 = Type:CIRCUIT_LIGHT_LOGO:0#Connections:bus.1#Power:0,0,0#Name:"" ; logo light 15W
circuit.18 = Type:""#Connections:bus.1#Power:0,0,0#Name:"" ; Cabin light 40W
circuit.19 = Type:""#Connections:bus.1#Power:0,0,0#Name:"" ; Cabin light 40W
circuit.20 = Type:""#Connections:bus.1#Power:0,0,0#Name:"" ; Cabin light 40W
circuit.21 = Type:CIRCUIT_LIGHT_PEDESTAL:0#Connections:bus.1#Power:0,0,0#Name:"" ; pedestal light 5W
circuit.22 = Type:""#Connections:bus.4#Power:0,0,0#Name:"" ; avionics 1
circuit.23 = Type:""#Connections:bus.5#Power:0,0,0#Name:"" ; avionics 2
circuit.24 = Type:CIRCUIT_LIGHT_NAV:0#Connections:bus.1#Power:0,0,0#Name:"" ; nav 1 light 15W
circuit.25 = Type:CIRCUIT_MARKER_BEACON:0#Connections:bus.4#Power:0,0,0#Name:"" ; marker beacon
circuit.26 = Type:""#Connections:bus.5#Power:0,0,0#Name:"" ; NAV 1 5W
circuit.27 = Type:""#Connections:bus.5#Power:0,0,0#Name:"" ; COM 1 5W
circuit.28 = Type:""#Connections:bus.4#Power:0,0,0#Name:"" ; NAV 2 5W
circuit.29 = Type:""#Connections:bus.4#Power:0,0,0#Name:"" ; COM 2 5W
circuit.30 = Type:""#Connections:bus.4#Power:0,0,0#Name:"" ; NAV 3 5W
circuit.31 = Type:""#Connections:bus.4#Power:0,0,0#Name:"" ; COM 3 5W
circuit.32 = Type:CIRCUIT_ADC_AHRS:0#Connections:bus.5#Power:0,0,0#Name:"" ; ADC/AHRS 30W
circuit.33 = Type:CIRCUIT_FIS:0#Connections:bus.5#Power:0,0,0#Name:"" ; FIS 15W
circuit.34 = Type:CIRCUIT_ADF_DME:0#Connections:bus.5#Power:0,0,0#Name:"" ; ADF/DME 35W
circuit.35 = Type:CIRCUIT_AUDIO:0#Connections:bus.4#Power:0,0,0#Name:"" ; Audio 15W
circuit.36 = Type:CIRCUIT_AUTOPILOT:0#Connections:bus.4#Power:0,0,0#Name:"" ; Autopilot 15W
circuit.37 = Type:CIRCUIT_DIRECTIONAL_GYRO:0#Connections:bus.2,bus.6#Power:0,0,0#Name:"" ; directional gyro 15W
circuit.38 = Type:""#Connections:bus.5,bus.4#Power:0,0,0#Name:""
circuit.39 = Type:""#Connections:bus.2#Power:0,0,0#Name:""
circuit.40 = Type:""#Connections:bus.2#Power:0,0,0#Name:""
circuit.41 = Type:CIRCUIT_PFD:0#Connections:bus.2#Power:0,0,0#Name:""
circuit.42 = Type:CIRCUIT_MFD:0#Connections:bus.1#Power:0,0,0#Name:""
circuit.43 = Type:CIRCUIT_LIGHT_RECOGNITION:0#Connections:bus.1#Power:0,0,0#Name:""
circuit.44 = Type:""#Connections:bus.2,bus.6#Power:0,0,0#Name:""
circuit.45 = Type:CIRCUIT_AVNFAN:0#Connections:bus.4Power:10,15,20.0#Power:0,0,0#Name:""
circuit.46 = Type:""#Connections:bus.4#Power:0,0,0#Name:""

When I test this prior list I only get the last entry to be the same as you
show here. And that is because you have spaces which is not going to work for
the new format that the new AE uses. Spaces: Does now work. circuit.46 =
Type:CIRCUIT_XML:5 #Connections:bus.4# Power:0, 0, 7.0# Name:EFB No Spaces:
Works circuit.46 = Type:CIRCUIT_XML:5 #Connections:bus.4#Power:0, 0,
7.0#Name:EFB I suspect you had spaces throughout your original attempt and
that is why so many entry lines were not updated correctly. Conclusion is if
you plan to use the new AE then you have to make sure you use it’s correct
format. So I am pretty sure Asobo will say the same as there is nothing wrong
as it’s working on my end once I corrected my outdated info. For example a
custom XML now needs the standard CIRCUIT_XML with an index. And there is also
some new variables as well.

Sorry but spaces should not cause this corruption, it did not before. So this
is not an answer.

I agree that you could write code to ensure it does not break just because of
a spaces. But what I found is throughout the new cfg creation by the new AE
spaces are no longer allowed and other changes like numbers longer than
thousandths are now cut off. This is considered a new standard. So not sure if
they are going to consider this broken. Rather you need to use the old AE for
older products or update so your older products can use the new AE. I think
the new AE is great and to update the changes took me less than an hour. But
lets see what they say so we know what route to consider when dealing with
older products and the new AE.

Hello @DA40CGDFQ The dot shows when the AE detects it read something different
than what it’s about to save. It can happen on some minor difference like a
case difference in an enum value. We are tracking these and removing them
progressively. We will also show what field was modified (or is considered as
modified) in a future update. Can you send us your flight model and systems
file so I can identify which fields are causing this for you please? Regarding
the electrical section corruption caused by AE misinterpreting spaces in the
original file, this should not happen and we are working on a fix. Regards,
Sylvain