Generating flight tries to write to nonexistent folder

This Forum is for Support questions only for Ideal Flight. Please post other questions and suggestions in the General Use & Ideas Forum

Moderators: Steve Waite, SysAdmin

Generating flight tries to write to nonexistent folder

Postby Jeremey » Thu Nov 25, 2021 3:28 am

I have this problem that only happens occasionally, usually on the first startup or when switching to a different profile. When generating flight, it tries to write to a folder that doesn't exist (and has never existed) since I only started with version 5 of Prepar3d. (It did put v4 folders in the configuration initially but I had to change them all) The Flight.log ends with this:

0:00:00:00 18:06:36 0: 000391:017813: Briefing: Completed
0:00:00:00 18:07:06 0: Exception, File Not Saved: C:\Users\jerem\OneDrive\Documents\Prepar3D v4 Files\Ideal_Flight.FLT
0:00:00:00 18:07:06 0: Exception, File Not Saved: C:\Users\jerem\OneDrive\Documents\Prepar3D v4 Files\Ideal_Flight.FLT
0:00:00:00 18:07:06 0: 030171:047984: Failed to generate flight; please see logfile

Nowhere in the settings do I have v4, (It exists in the Settings.ini.original file (below)) but eventually, after clicking through other IF screens it will eventually write to the correct 'Prepar3d v5 Files' directory. I was thinking of just making a symlink but I think there is something else going on.

I [s]attached[/s] inlined some config files to show I have the directories set up right, and there isn't a reference to v4 in my live configuration, but like I said it seems to only happen when I immediately try to generate a flight after starting IF.

Profiles/Settings.ini
Code: Select all
[Configuration]
CurrentProfile=3
Language=9
MinFontSize=8
ChangesMade=False
BotStrength=3
FlightLog=True
JPGQualityPercent=72
ListImageHeight=185
LargeMap=False
BrowserCopiesBriefingSize=False
NoBuildDisplay=False
NoTextDisplay=False
Sounds=True
SoundsStartup=True
SoundsHover=True
SoundsActivate=True
SoundsFinishTask=True
SoundsMission=True
BackGroundTransparancy=24
ShowBackground=True
ShowShelf=True
SwapTextSide=False
SwapPanelSide=True
AIRACDateShowing=True
DateShowing=True
TimeShowing=True
TimeBlink=True
TimeQuarters=False
ClickAirports=18
ClickLocations=9
ClickTimeOut=5000
MinADMapDistance=10
MinMapDistance=20
ShowFSXConfigPanel=True
ZoomMap=True
BigZoom=False
MapZoom1=425
MapZoom2=1050
ScrollX=171
ScrollY=201
SwapIconSide=True
SoundVolume=7

[MyMenu]
MyDirectory1=C:\Users\jerem\OneDrive\Pictures\Prepar3D v5 Files
MyDirectory2=C:\Users\jerem\OneDrive\Documents\Prepar3D v5 Files
MyDirectory3=C:\Users\jerem\AppData\Roaming\Lockheed Martin\Prepar3D v5
MyDirDescription1=P3D Pictures
MyDirDescription2=P3D Documents
MyDirDescription3=P3D Config
MyWebAddress1=http://www.prepar3d.com/latest-news/
MyWebAddress2=http://www.codelegend.com/
MyWebAddress3=http://www.idealflight.com/
MyWebDescription1=http://www.prepar3d.com/latest-news/
MyWebDescription2=www.codelegend.com
MyWebDescription3=www.idealflight.com

[ProfileDefs]
DefPilotName=Joe Pilot
DefFlightsPerYear=0
DefEndTimes=22
DefFlightTimes=4
DefDeptAirport=EGFF
DefBackGroundTransparancy=24
DefShowBackground=True
DefShowShelf=True
DefSwapTextSide=False
DefSwapPanelSide=True
DefStartMonth=6
DefStartDay=1
DefStartHour=6
DefStartMin=0
DefAircraftTitle=Mooney Bravo
DefAircraftDirectory=Mooney_Bravo
DefAircraftSubDirectory=Airplanes

[FlightParams]
FixedCargo=539
AddedFuelMins=30
TaxiMins=10
HoldMins=0
AiMinSelection=10
AiSelectionPercent=50
AiMaxPercent=50
AiRatio=50
AiParked=65
DefFuelAmount=20
MinFuelAmount=10
EvenFuelFill=True
InboardFuelFill=True
DefaultFill=False
GainAltitudeIncrement=1000
AdvanceFuelRemainingMins=20
StoppedForSeconds=12
PreCrashSeconds=90
TaxiSpeedLimit=20
TaxiSpeedLimitPercent=10
LowAirspeedLimitPercent=10
LowAirspeedAltLimitPercent=5
EngineIdlePercent=10
EnRouteAi=True
AllowAiBySize=False
OccasionalAiBySize=True
EnableEarlyStarter=True
PrePositionFloats=True
PrePositionRudders=True
AllowPlacingAircraft=False
TouchdownDisableAP=False
TouchdownShutThrottle=False
TakeOffRudder=False

[AiShadow]
EnableAircraft=False
AircraftTitle=Mooney Bravo
EnableControl=True
MatchPayload=True
HoldForInstructions=False
FlyOnLeft=True
MaxDistanceMeters=1500
TagDistanceMeters=750
MinDistanceMeters=375
LagDistanceMeters=100
IncreaseDistancePercent=200
OffsetMeters=75
TagTimeSeconds=360
VigorPercent=50

[FlightPlans]
NearbyNavCount=5
NearbyAptCount=3
FlatPartPercent=50
LowAltPercent=70
LowAltAirspeedAltitude=10000
LowAltAirspeedLimit=250
FinalLeg=300
FinalLegSmall=240
FinalLegLong=360
ApproachLegMin=180
ApproachLegMinSmall=120
ApproachLegMinLong=240
NinetyDegreeLeg=180
NinetyDegreeLegSmall=120
NinetyDegreeLegLong=240
ThirtyDegreeLeg=180
ThirtyDegreeLegSmall=120
ThirtyDegreeLegLong=240
TodLegMin=180
TodLegMinSmall=120
TodLegMinLong=240
IDFMaxLimit=30
IDFMinLimit=0
FAFMaxLimit=30
FAFMinLimit=0
SIDMaxLimit=90
STARMaxLimit=90
RouteWidthPercent=50
RouteDensityPercent=50
HybridDensityPercent=50
ComplexRoute=False
HybridRoute=True
CIVAWP9EqWP1=True
CIVALeaveWP9Empty=False
VATSIMRouteNames=False
vPilotConfig=
FeelThereOverrideNavDataCycle=
FeelThereAltitude=False
MADDOGPlansUseAirways=False
MADDOGUserWaypoints=False
F1_GTN_750_UserWaypoints=True
F1_GTN_750_CoordWaypoints=True
F1_GTN_750_CoordAirports=True
F1_GTN_Garmin_Data_nonvol=
FSL_SID=True
FSL_STAR=True
FSL_AltDest=False
FSL_KeepFiles=False
FSL_RouteNames=False
AXE_SID=True
AXE_STAR=True
AXE_RouteNames=True
AXE_PerfData=True
PMDGFlightNumber=False
PMDGAltitude=False
PMDGRunwayDept=False
PMDGRunwayArrv=False
PMDGRouteNames=True
PMDGKeepFiles=False
APPR_RNAV=False

[Weather]
WeatherEnabled=True
WeatherUpdateNm=60
WeatherUpdateMins=20
WeatherItems=33
AdjustAltitudeVisability=True
LayerVolumetricFog=True
GroundEffectMs=5
WindShearEffectsMs=5
TurbulenceEffectsMs=5
ShearFreqPercent=50
TurbFreqPercent=50
MaxTurbMs=15
ProximityEffectsMs=5
OverspeedEffectsMs=5
LowAltVisibilityLimit=60
HighAltVisibilityLimit=120
AddInWs=True
FogClouds=True
NoRainSnow=False
DeptWeatherOverride=0
DestWeatherOverride=0

[Failures]
EquipmentFailures=True
EquipmentFailFlaps=True
EquipmentFailGear=True
EngineRisk=720000
InstrumentRisk=360000
BrakeRisk=1080000
OtherRisk=720000
EngineFailures=True
InstrumentFailures=True
BrakeFailures=True
OtherFailures=True
GForceFailures=True
FailureMessages=False
Engine1Failure=True
Engine2Failure=True
Engine3Failure=True
Engine4Failure=True
ADFInstrumentFailure=True
AirspeedInstrumentFailure=True
AltimeterInstrumentFailure=True
AttitudeInstrumentFailure=True
CommsInstrumentFailure=True
CompassInstrumentFailure=True
ElectricalInstrumentFailure=True
EngineInstrumentFailure=True
HeadingInstrumentFailure=True
VerticalInstrumentFailure=True
TransponderInstrumentFailure=True
NavInstrumentFailure=True
PitotInstrumentFailure=True
VacuumInstrumentFailure=True
TotalBrakeFailure=True
LeftBrakeFailure=True
RightBrakeFailure=True
VacuumOtherFailure=True
ElectricalOtherFailure=True
HydraulicOtherFailure=True
PitotBlockageOtherFailure=True
StaticPortBlockageOtherFailure=True

[NPCs]
FNames=Jeanna,Charles,Amy,Louis,Douglas,Jacqueline,Eric,Jean,Orville
SNames=Yeager,Lindenbergh,Johnson,Blériot,Bader,Cochran,Brown,Mermoz,Wright

[AirportMap]
Size=4
TaxiNames=True

[LargeAirportMap]
TaxiNames=True

[Colours]
ColorA=FFFFFF
ColorB=FFFFFF
ColorC=FFFFFF
ColorD=FFFFFF
ColorE=FFFFFF
ColorF=FFFFFF
ColorG=FFFFFF
ColorH=FFFFFF
ColorI=FFFFFF
ColorJ=FFFFFF
ColorK=FFFFFF
ColorL=FFFFFF
ColorM=FFFFFF
ColorN=FFFFFF
ColorO=FFFFFF
ColorP=000000
ColourWarning=A00000
ColourMinor=A06000
ColourExcess=A00000
ColourDanger=A000A0

[BriefingOrder]
Destination=1
Departure=2
Navigation=3
Airports=4
Aircraft=5
Assessment=6
Notes=7
Graph=8
Quick=9
User=10
QuickSection_MoveFuelToTop=False

[Html]
HtmlFont=Courier style
HtmlFocus=True

[Measurement]
AircraftSizeVeryLarge=300000
AircraftSizeLarge=200000
AircraftSizeMedium=50000
AircraftSizeSmall=20000
AircraftSizeVerySmall=5000
StartSpeed=30
StopSpeed=30
NearGroundDistance=300
DataSeparatingComma=False
FlightCsvLog=False
RestartCsvLog=True
FrameRateLog=True
CPULog=True
TraceWait=0
TraceMask=0
TraceGraphWidth=800
TraceGraphLimitLowEnabled=True
TraceGraphLimitHighEnabled=True
TraceGraphLimitLow=0
TraceGraphLimitHigh=0
LogCsvMaxCore=True
LogCsvCoreNumber=0

[Advance]
TimeToGoWP=120
TimeToGoTOD=300
MinimumAltitude=1500

[AircraftIncludeDirs]
Dir1=SimObjects\Airplanes
Dir2=SimObjects\Rotorcraft

[AiExcludeDirs]
Dir1=SimObjects\Misc

[Form]
Left=635
Top=283
Size=4
TextSize=3
Minimize=False
Menu=False

[XmlAircraftDirs]
Dir1=parallel 42\immersion manager\live\simobjects
Dir2=c:\users\jerem\onedrive\documents\prepar3d v5 add-ons\a2a\simobjects\airplanes
Dir3=c:\program files (x86)\12bpilot\sode\data\simobjects
Dir4=c:\programdata\12bpilot\sode\simobjects


Profiles/Settings.ini.original
Code: Select all
[Configuration]
CurrentProfile=1
Language=9
MinFontSize=8
ChangesMade=False
BotStrength=3
FlightLog=True
JPGQualityPercent=72
ListImageHeight=185
LargeMap=False
BrowserCopiesBriefingSize=False
NoBuildDisplay=False
NoTextDisplay=False
Sounds=True
SoundsStartup=True
SoundsHover=True
SoundsActivate=True
SoundsFinishTask=True
SoundsMission=True
BackGroundTransparancy=24
ShowBackground=True
ShowShelf=True
SwapTextSide=False
SwapPanelSide=True
AIRACDateShowing=False
DateShowing=True
TimeShowing=True
TimeBlink=True
TimeQuarters=False
ClickAirports=18
ClickLocations=9
ClickTimeOut=5000
MinADMapDistance=10
MinMapDistance=20
ShowFSXConfigPanel=True
ZoomMap=True
BigZoom=True
MapZoom1=400
MapZoom2=800
ScrollX=172
ScrollY=228
SwapIconSide=True
SoundVolume=7

[MyMenu]
MyDirectory1=C:\Users\jerem\OneDrive\Pictures\Prepar3D v4 Files
MyDirectory2=C:\Users\jerem\OneDrive\Documents\Prepar3D v4 Files
MyDirectory3=C:\Users\jerem\AppData\Roaming\Lockheed Martin\Prepar3D v5
MyDirDescription1=P3D Pictures
MyDirDescription2=P3D Documents
MyDirDescription3=P3D Config
MyWebAddress1=http://www.prepar3d.com/latest-news/
MyWebAddress2=http://www.codelegend.com/
MyWebAddress3=http://www.idealflight.com/
MyWebDescription1=http://www.prepar3d.com/latest-news/
MyWebDescription2=www.codelegend.com
MyWebDescription3=www.idealflight.com

[ProfileDefs]
DefPilotName=Joe Pilot
DefFlightsPerYear=0
DefEndTimes=22
DefFlightTimes=4
DefDeptAirport=EGFF
DefBackGroundTransparancy=24
DefShowBackground=True
DefShowShelf=True
DefSwapTextSide=False
DefSwapPanelSide=True
DefStartMonth=6
DefStartDay=1
DefStartHour=6
DefStartMin=0
DefAircraftTitle=Mooney Bravo
DefAircraftDirectory=Mooney_Bravo
DefAircraftSubDirectory=Airplanes

[FlightParams]
FixedCargo=0
AddedFuelMins=30
TaxiMins=15
HoldMins=0
AiMinSelection=10
AiSelectionPercent=50
AiMaxPercent=50
AiRatio=50
AiParked=65
DefFuelAmount=20
MinFuelAmount=10
EvenFuelFill=True
InboardFuelFill=True
DefaultFill=False
GainAltitudeIncrement=1000
AdvanceFuelRemainingMins=20
StoppedForSeconds=12
PreCrashSeconds=90
TaxiSpeedLimit=20
TaxiSpeedLimitPercent=10
LowAirspeedLimitPercent=10
LowAirspeedAltLimitPercent=5
EngineIdlePercent=10
EnRouteAi=True
AllowAiBySize=False
OccasionalAiBySize=True
EnableEarlyStarter=True
PrePositionFloats=True
PrePositionRudders=True
AllowPlacingAircraft=False
TouchdownDisableAP=False
TouchdownShutThrottle=False
TakeOffRudder=False
NearbyRunwayDistance=100

[AiShadow]
EnableAircraft=False
AircraftTitle=
EnableControl=True
MatchPayload=True
HoldForInstructions=False
FlyOnLeft=True
MaxDistanceMeters=1500
TagDistanceMeters=750
MinDistanceMeters=375
LagDistanceMeters=100
IncreaseDistancePercent=200
OffsetMeters=75
TagTimeSeconds=360
VigorPercent=50

[FlightPlans]
NearbyNavCount=5
NearbyAptCount=3
FlatPartPercent=50
LowAltPercent=70
LowAltAirspeedAltitude=10000
LowAltAirspeedLimit=250
FinalLeg=300
FinalLegSmall=240
FinalLegLong=360
ApproachLegMin=180
ApproachLegMinSmall=120
ApproachLegMinLong=240
NinetyDegreeLeg=180
NinetyDegreeLegSmall=120
NinetyDegreeLegLong=240
ThirtyDegreeLeg=180
ThirtyDegreeLegSmall=120
ThirtyDegreeLegLong=240
TodLegMin=180
TodLegMinSmall=120
TodLegMinLong=240
IDFMaxLimit=30
IDFMinLimit=0
FAFMaxLimit=30
FAFMinLimit=0
SIDMaxLimit=90
STARMaxLimit=90
RouteWidthPercent=50
RouteDensityPercent=50
HybridDensityPercent=50
ComplexRoute=False
HybridRoute=True
CIVAWP9EqWP1=True
CIVALeaveWP9Empty=False
VATSIMRouteNames=False
vPilotConfig=
FeelThereOverrideNavDataCycle=
FeelThereAltitude=False
MADDOGPlansUseAirways=False
MADDOGUserWaypoints=False
F1_GTN_750_UserWaypoints=True
F1_GTN_750_CoordWaypoints=True
F1_GTN_750_CoordAirports=True
F1_GTN_Garmin_Data_nonvol=
FSL_SID=True
FSL_STAR=True
FSL_AltDest=False
FSL_KeepFiles=False
FSL_RouteNames=False
AXE_SID=True
AXE_STAR=True
AXE_RouteNames=True
AXE_PerfData=True
PMDGFlightNumber=False
PMDGAltitude=False
PMDGRunwayDept=False
PMDGRunwayArrv=False
PMDGRouteNames=True
PMDGKeepFiles=False
APPR_RNAV=False

[Weather]
WeatherEnabled=True
WeatherUpdateNm=60
WeatherUpdateMins=20
WeatherItems=33
AdjustAltitudeVisability=True
LayerVolumetricFog=True
GroundEffectMs=5
WindShearEffectsMs=5
TurbulenceEffectsMs=5
ShearFreqPercent=50
TurbFreqPercent=50
MaxTurbMs=15
ProximityEffectsMs=5
OverspeedEffectsMs=5
LowAltVisibilityLimit=60
HighAltVisibilityLimit=120
AddInWs=True
FogClouds=True
NoRainSnow=False
DeptWeatherOverride=0
DestWeatherOverride=0

[Failures]
EquipmentFailures=False
EquipmentFailFlaps=True
EquipmentFailGear=True
EngineRisk=0
InstrumentRisk=0
BrakeRisk=0
OtherRisk=0
EngineFailures=True
InstrumentFailures=True
BrakeFailures=True
OtherFailures=True
GForceFailures=True
FailureMessages=False
Engine1Failure=True
Engine2Failure=True
Engine3Failure=True
Engine4Failure=True
ADFInstrumentFailure=True
AirspeedInstrumentFailure=True
AltimeterInstrumentFailure=True
AttitudeInstrumentFailure=True
CommsInstrumentFailure=True
CompassInstrumentFailure=True
ElectricalInstrumentFailure=True
EngineInstrumentFailure=True
HeadingInstrumentFailure=True
VerticalInstrumentFailure=True
TransponderInstrumentFailure=True
NavInstrumentFailure=True
PitotInstrumentFailure=True
VacuumInstrumentFailure=True
TotalBrakeFailure=True
LeftBrakeFailure=True
RightBrakeFailure=True
VacuumOtherFailure=True
ElectricalOtherFailure=True
HydraulicOtherFailure=True
PitotBlockageOtherFailure=True
StaticPortBlockageOtherFailure=True

[NPCs]
FNames=Jeanna,Charles,Amy,Louis,Douglas,Jacqueline,Eric,Jean,Orville
SNames=Yeager,Lindenbergh,Johnson,Blériot,Bader,Cochran,Brown,Mermoz,Wright

[AirportMap]
Size=4
TaxiNames=True

[LargeAirportMap]
TaxiNames=True

[Colours]
ColorA=FFFFFF
ColorB=FFFFFF
ColorC=FFFFFF
ColorD=FFFFFF
ColorE=FFFFFF
ColorF=FFFFFF
ColorG=FFFFFF
ColorH=FFFFFF
ColorI=FFFFFF
ColorJ=FFFFFF
ColorK=FFFFFF
ColorL=FFFFFF
ColorM=FFFFFF
ColorN=FFFFFF
ColorO=FFFFFF
ColorP=000000
ColourWarning=A00000
ColourMinor=A06000
ColourExcess=A00000
ColourDanger=A000A0

[BriefingOrder]
Destination=1
Departure=2
Navigation=3
Airports=4
Aircraft=5
Assessment=6
Notes=7
Graph=8
Quick=9
User=10
QuickSection_MoveFuelToTop=False

[Html]
HtmlFont=Courier style
HtmlFocus=True

[Measurement]
AircraftSizeVeryLarge=300000
AircraftSizeLarge=200000
AircraftSizeMedium=50000
AircraftSizeSmall=20000
AircraftSizeVerySmall=5000
StartSpeed=30
StopSpeed=30
NearGroundDistance=300
DataSeparatingComma=False
FlightCsvLog=False
RestartCsvLog=True
FrameRateLog=False
CPULog=False
TraceWait=0
TraceMask=0
TraceGraphWidth=800
TraceGraphLimitLowEnabled=True
TraceGraphLimitHighEnabled=True
TraceGraphLimitLow=0
TraceGraphLimitHigh=0
LogCsvMaxCore=True
LogCsvCoreNumber=0

[Advance]
TimeToGoWP=120
TimeToGoTOD=300
MinimumAltitude=1500

[AircraftIncludeDirs]
Dir1=SimObjects\Airplanes
Dir2=SimObjects\Rotorcraft

[AiExcludeDirs]
Dir1=SimObjects\Misc

[Form]
Left=957
Top=50
Size=4
TextSize=0
Minimize=False
Menu=True

[XmlAircraftDirs]
Dir1=parallel 42\immersion manager\live\simobjects
Dir2=c:\users\jerem\onedrive\documents\prepar3d v5 add-ons\a2a\simobjects\airplanes
Dir3=c:\program files (x86)\12bpilot\sode\data\simobjects
Dir4=c:\programdata\12bpilot\sode\simobjects


config.ini
Code: Select all
[Accessibility]
NARRATORTime=150
NVDATime=450
VoiceEnabled=False
AudioOutput=5
VoiceNumber=0
VoiceVolume=10
VoiceRate=18
VoiceDelay=0
VoiceMessages=True
VoiceKneeboard=True
VoiceAltitude=True
VoiceSpeed=True
VoiceVertSpeed=True
VoiceVertSpeedDetail=False
VoiceHeadingReporting=False
VoiceHeadingMagnetic=False
VoiceDirectionPlucks=False
FlapsSimple=True
VoiceFlapsDetail=False
VoiceFlapsDegrees=False
VoiceEngineLevers=False
VoiceEngineLeversDetail=False
VoiceEngineLeversMixture=False
VoiceAttitudePitch=False
VoiceAttitudeBank=False
VoiceAttitudeTones=False
VoiceAltLock=False
VoiceAirSpeedHold=False
VoiceMachHold=False
VoiceHdgLock=False
VoiceSlopeHold=False
VoiceAPHSI=True
VoiceAPOBS=True
VoiceAPSwitches=True
VoiceNavSwitches=True
VoiceGPSMessages=True
VoiceRadio=False
VoiceEquipment=True
VoiceProximityAlert=True
VoiceTonesWithAP=False
VoiceAutoSelect=False
VoiceLog=False
VoiceInFocus=False
VoiceSetup=0
VoiceSets1=2147483647,2147483647,2147483647,2147483647,2147483647,2147483647,2147483647,2147483647,2147483647,2147483647,2147483647,2147483647
VSPluckMagnitude=1000
DirectionPluckMagnitude=15
PitchToneMagnitude=20
BankToneMagnitude=30

[HotKey]
SurfaceIF=CTRL+SHIFT+F
VoiceSetsBack=CTRL+SHIFT+B
VoiceSetsFwd=CTRL+SHIFT+N
VoiceKneeboardSpeak=CTRL+SHIFT+K
AssistCycleActions=CTRL+SHIFT+J
AssistToggleAutoThrottle=CTRL+SHIFT+S

[Versions]
FSVersion=5.2.22.27615
IFVersion=10.027ef

[Indexes]
SceneryHash=80325
AircraftHash=10558
SetAddonAirportScenery=False
MinOtherLocationDistance=1500
NearbyRunwayDistance=100
HardRunways=0, 4, 10, 17, 18, 19, 23
SoftRunways=1, 3, 5, 6, 7, 8
LooseRunways=9, 11, 12, 13, 14, 15, 16, 20, 21, 22
AddWaypoints=True
AddMyAirports=True
AddSubsetFiles=False
AddTowerAirports=True
AddILSAirports=True
AddHelipadAirports=True
AddSoftAirports=True
AddLooseAirports=True
AddWaterAirports=True
AddLitAirports=True
AddAddonAirports=True
AddParkingAirports=True
AIRACCycle=
AIRACDataBiased=False
AIRACCycleFrequencies=False
AIRACCycleInUse=False
AIRACCycleCurrent=
ReplaceNavaids=FSAD_Navaids
ReplaceApproaches=FSAD_Approaches
ReplaceApproaches1=FSAD_Approaches1
Indexed=True
LogSceneryErrors=False

[FSSetup]
FSDir=C:\Lockheed Martin\Prepar3D v5
FSTowerDir=C:\Lockheed Martin\Prepar3D v5\SimObjects\Misc\ControlTower
FSTowerName=Tower Controller
ExpandFSAffinity=False
ExpandFSAffinityMask=0
TidyFSCFG=False
RunCmd=
Params=
ForceDialog=False
ForceFlight=False
BitmapDir=C:\Users\jerem\OneDrive\Pictures\Prepar3D v5 Files
PlanDir=C:\Users\jerem\OneDrive\Documents\Prepar3D v5 Files
FileOpenDir=
FileOpenFilter=2
FlightFileName=Ideal_Flight
TimeOut=1000
Reconnects=10
FSConfigFilesOverwrite=False
FSLogExceptions=True
FSLogModuleList=False
FSLogVAS=True
FSVASWarningRemainingGb=1.5
LoadTimeMessage=False
FSLOD=
FSTEX=
FSTESS=
FSJOY=
FSCaptionLessWindow=False
FSBorderLessWindow=False
FSExtendMonitors=False
FSFloatWindowsCaptionless=False
FSFloatWindowsBorderless=False
CullObjects=True
CullDistance=64000
CullFromCount=199
CullInterval=60
ShowAddonMenuFix=True
IncludePlanPath=True
EnableStartupTerrain=False
EnableStartupScenario=False
EnableInternalReset=False
LoadDefaultFlight=False
StartupSimObjectName=IFProbe
InternalResetDelayMs=1000
EnableStartupReload=False
EnableStartupReset=False

[FSAltSetup]
FSDLL=
FSEXE=

[RunOther]
RunCmd_1=
Params_1=
ShowWindow_1=
Disable_1=

[RunAfter]
RunCmd_1=
Params_1=
ShowWindow_1=
Disable_1=

[RunRunning]
RunCmd_1=
Params_1=
ShowWindow_1=
Disable_1=

[RunWithIF]
RunCmd_1=
Params_1=
ShowWindow_1=
Disable_1=

[Internet]
HostDirectory=http://www.codelegend.com/idealflight/
VATSIM_URL=https://www.vatsim.net/fp/index.php
VATSIM_WH=810,740
VATSIM_Prefix=
VATSIM_Aircraft=
VATSIM_Suffix=

[IFSetup]
RunAsAdmin=False
LockBackgrounds=False
SimpleFileDialog=False
EscapeKeyPopupMenu=True
ProfileGlyph=True
AirportNameOrder=True
FlightsAirportNameOrder=True
AffinityOverride=False
AffinityMask=0
LogicalProcessorA=
LogicalProcessorB=
MaxFormWidth=
MaxFormHeight=
EnableStartApps=True
Bloom=True
AccessibilityAutomatic=True
AccessibilityDisabled=False
AccessibilityMicrosoft=False
AccessibilityNVDA=False
AccessibilityOther=False
AccessibilityEscMssg=True
AccessibilityImages=True
Gauge_WH=320,320
Gauge_LT=656,553
CPU_WH=400,600
CPU_LT=442,340
CPUWindow=True
CPUWindowOnTop=True
CPUTextSwap=True
CPUGauge=False
CPUGaugeData=True
CPUWindowSmallFont=False
GaugeDisplay=0
MB: ROG STRIX B550-F GAMING
CPU: Ryzen 9 3950x
Video: RTX 3080 Ti Ventus 3X 12G OC
Mem: G.Skill 32GB DDR4-3200
PSU: Antec HCG750
HD: WD Black SN750 NVMe M.2 2280 1TB
Jeremey
 
Posts: 4
Joined: Fri Nov 05, 2021 10:20 pm

Re: Generating flight tries to write to nonexistent folder

Postby Steve Waite » Thu Nov 25, 2021 11:27 am

Ideal Flight doesn't actually have any folder names built-in because it is given those by the system, so it is being told by the system to use those onedrive folders.

What to try:

Check your onedrive setup for incorrect folders first.

Rename the Ideal Flight data folder "C:\ProgramData\Ideal Flight Professional" so a new one can be created. You can copy over the profiles folders later if required.

Make sure to get the latest IF version from the forum. Run setup, and in the box "Prepar3D directory found:" see that it displays the proper folder for P3D programs (usually "C:\Program Files\Lockheed Martin\Prepar3D v5"), you can press the "!" locate button and it will display any P3D program folders given by the system. Let it install.

After install, run the program from the desktop shortcut and it will start by setting up folders and indexing the P3D scenery and planes. Let's see if that gets the proper folders and without any changes go straight in to build a flight.
software architect at codelegend.com
equipment: i9-9980Xe 64GB 2xRTX2080ti NVLink 2TB M.2 NVMe,
i9-9900X 64GB RTX2080ti 2TB M.2 NVMe, i7-3960X 32GB GTX680 4TB RAID10,
NAS @7TB RAID10 (16TB)
Steve Waite
 
Posts: 5055
Joined: Wed Jun 29, 2011 12:02 am

Re: Generating flight tries to write to nonexistent folder

Postby Steve Waite » Thu Nov 25, 2021 11:36 am

You might also like to inspect the registry where the system stores information about P3D:

From the start button search for "regedit" and inspect the locations:

Computer\HKEY_LOCAL_MACHINE\SOFTWARE\Lockheed Martin

and

Computer\HKEY_CURRENT_USER\Software\Lockheed Martin

The "Prepar3D v5" "AppPath" keys should point to the correct program folder "C:\Program Files\Lockheed Martin\Prepar3D v5\"
software architect at codelegend.com
equipment: i9-9980Xe 64GB 2xRTX2080ti NVLink 2TB M.2 NVMe,
i9-9900X 64GB RTX2080ti 2TB M.2 NVMe, i7-3960X 32GB GTX680 4TB RAID10,
NAS @7TB RAID10 (16TB)
Steve Waite
 
Posts: 5055
Joined: Wed Jun 29, 2011 12:02 am

Re: Generating flight tries to write to nonexistent folder

Postby Steve Waite » Thu Nov 25, 2021 11:43 am

...in the meantime, I will be trying to find out what the system or Ideal Flight can do to put that P3D v4 folder name in there...
software architect at codelegend.com
equipment: i9-9980Xe 64GB 2xRTX2080ti NVLink 2TB M.2 NVMe,
i9-9900X 64GB RTX2080ti 2TB M.2 NVMe, i7-3960X 32GB GTX680 4TB RAID10,
NAS @7TB RAID10 (16TB)
Steve Waite
 
Posts: 5055
Joined: Wed Jun 29, 2011 12:02 am

Re: Generating flight tries to write to nonexistent folder

Postby Steve Waite » Thu Nov 25, 2021 3:09 pm

Also, can you tell me what your P3D docs folder is?

Usually, it would be similar to:
"C:\Users\jerem\Documents\Prepar3D v5 Files"


In regard to your idea about a symlink, it would not be necessary since Ideal Flight has a fallback mechanism for these folders. In the Config.ini file found in: "C:\ProgramData\Ideal Flight Professional\Config" there is a section called [FSAltSetup], more about the FSAltSetup can be found in the help (F1) Initial Screen page.

If all else fails, in Config.ini [FSAltSetup] section we can add the line:

[FSAltSetup]
FSDocuments=C:\Users\jerem\Documents\Prepar3D v5 Files


However, I would rather like to find the cause of this problem before resorting to hard wiring the folder name in Config.ini.
software architect at codelegend.com
equipment: i9-9980Xe 64GB 2xRTX2080ti NVLink 2TB M.2 NVMe,
i9-9900X 64GB RTX2080ti 2TB M.2 NVMe, i7-3960X 32GB GTX680 4TB RAID10,
NAS @7TB RAID10 (16TB)
Steve Waite
 
Posts: 5055
Joined: Wed Jun 29, 2011 12:02 am

Re: Generating flight tries to write to nonexistent folder

Postby Steve Waite » Thu Nov 25, 2021 3:50 pm

The folder name is passed in from the system call for giving the personal docs folder and then getting the "C:\Program Files\Lockheed Martin\Prepar3D v5\Language.dll" provides the folder name "Prepar3D v5 Files".

So at present, the reason for "v4" in the name is very strange, as if your Language.dll is from P3D v4. I'll continue pondering on this one but I'll await further input from you Jeremey.
software architect at codelegend.com
equipment: i9-9980Xe 64GB 2xRTX2080ti NVLink 2TB M.2 NVMe,
i9-9900X 64GB RTX2080ti 2TB M.2 NVMe, i7-3960X 32GB GTX680 4TB RAID10,
NAS @7TB RAID10 (16TB)
Steve Waite
 
Posts: 5055
Joined: Wed Jun 29, 2011 12:02 am

Re: Generating flight tries to write to nonexistent folder

Postby Steve Waite » Thu Nov 25, 2021 4:43 pm

...so just to confirm that it seems the main part of the folder is getting passed in by the system correctly because we can see from the original ini file entries you posted:

[MyMenu]
MyDirectory1=C:\Users\jerem\OneDrive\Pictures\Prepar3D v4 Files
MyDirectory2=C:\Users\jerem\OneDrive\Documents\Prepar3D v4 Files

So it is getting "C:\Users\jerem\OneDrive\Pictures" and "C:\Users\jerem\OneDrive\Documents" but then adds the ending part "\Prepar3D v4 Files" which is being passed into Ideal Flight from data held in the Language.dll file held in "C:\Program Files\Lockheed Martin\Prepar3D v5". The reason Ideal Flight does this is that P3D versions in other languages have different folder names.

If Ideal Flight cannot get the folder name from the system it makes an attempt to construct it by using the Prepar3D.exe version number (e.g. 5.2.22.27615) it takes the "5" from that number. So in any case I can't fathom where the "4" comes from at the moment.

I'm wondering if there is some other program interfering with the Language.dll somehow, seems doubtful. But anyway, if all else fails try the hardwired COnfig.ini section:

[FSAltSetup]
FSDocuments=C:\Users\jerem\OneDrive\Documents\Prepar3D v5 Files.
software architect at codelegend.com
equipment: i9-9980Xe 64GB 2xRTX2080ti NVLink 2TB M.2 NVMe,
i9-9900X 64GB RTX2080ti 2TB M.2 NVMe, i7-3960X 32GB GTX680 4TB RAID10,
NAS @7TB RAID10 (16TB)
Steve Waite
 
Posts: 5055
Joined: Wed Jun 29, 2011 12:02 am

Re: Generating flight tries to write to nonexistent folder

Postby Jeremey » Thu Nov 25, 2021 10:19 pm

TL;DR: Reinstalling fixed it but I spent a lot of time with this so I decided to keep it here.

Hey Steve, I will answer your questions, and I recorded over an hour of me working with Ideal Flight (before implementing anything you requested to do). This is a fresh reboot for the day too, the first time I run IF, it creates the flight fine, but then I will restart it, and then it will fail for an hour before finally working. I recorded the entire thing so you can try and figure out what is going on, I timestamped where it works and where it's broken and where it works again.

https://youtu.be/aby5ZZX9HKQ

Also, I am in Juneau, Alaska - a full 9 hours behind you, on behalf of us Americans, happy Thanksgiving, it's the only holiday with no religious or political background (it doesn't stop any conversations of politics around the dinner table though) :D !

Ok, here are some answers to your questions and requests.

Check your onedrive setup for incorrect folders first.

Rename the Ideal Flight data folder "C:\ProgramData\Ideal Flight Professional" so a new one can be created.


I'm not sure how to check my onedrive setup, but everything looks fine.

One thing to note, I just ordered a brand new hard drive (SN750 Gen4 1TB) that I will be re-installing my system once Lockheed Martin sends out a new update for Prepar3d. My Active Sky writes temporary cloud files and OneDrive keeps uploading gigabytes of information that gets deleted, and I can't 'ignore' onedrive folders.

--Ok, so I deleted that ProgramData\Ideal Flight Professional folder and then tried to start IF again. I already have the iflight10.exe program to 'run as administrator' but it's giving me this error: [Cannot Load Settings settings.ini], I push OK and then it comes up with 'Program Setup" with the folders showing, which is correct, and when I hit 'Install' I agree to the terms, and then it tries to install then it comes up with a screen:
A security precaution is preventing the update from continuing, please try Run as Administrator. Please manually delete iflight10.exe and try again. I hit OK, and then clost that screen and try and rerun IF from the desktop, this time it pops up "maintain indexes" Finishing installation about to create index files, so I hit OK. and it indexes navigation and scenery.

After a couple minutes, 'Indexes Created' and I hit OK. And now I close it and copy the profiles back over (only the ?_ID folders) and start IF again.

I choose the profile I am using for a King Air 350 and then try and create that flight again.... and IT FAILS - so close!

Code: Select all
0:00:00:00  12:46:45  0: 000391:018406: Briefing: Completed
0:00:00:00  12:47:15  0: Exception, File Not Saved: C:\Users\jerem\OneDrive\Documents\Prepar3D v4 Files\Ideal_Flight.FLT
0:00:00:00  12:47:15  0: Exception, File Not Saved: C:\Users\jerem\OneDrive\Documents\Prepar3D v4 Files\Ideal_Flight.FLT
0:00:00:00  12:47:15  0: 030156:048562: Failed to generate flight; please see logfile


Make sure to get the latest IF version from the forum....


Ok, I'll leave things as they are for now and then download the installer from your website. Ideal_Flight_Pro_Setup_10_027ef.zip

Ok, so the directories are correct, I hit "YES" for Create Data Backup, agree to the terms, click OK to 'New files installed, update completed, Close ideal Flight Setup" and now start up IF and try to create a flight again. In the Airports tab I type CYXE and choose New Destination and it works!!!

So I close Ideal Flight again and restart it and try to do it again,
Ok, it looks like reinstalling it fixed it!
MB: ROG STRIX B550-F GAMING
CPU: Ryzen 9 3950x
Video: RTX 3080 Ti Ventus 3X 12G OC
Mem: G.Skill 32GB DDR4-3200
PSU: Antec HCG750
HD: WD Black SN750 NVMe M.2 2280 1TB
Jeremey
 
Posts: 4
Joined: Fri Nov 05, 2021 10:20 pm

Re: Generating flight tries to write to nonexistent folder

Postby Steve Waite » Thu Nov 25, 2021 11:59 pm

Thanks for the detailed explanation and the video, I hope you enjoyed thanksgiving.

So after you reinstalled Ideal Flight it works OK. That's great news, thank you for getting to grips with this odd issue - good job.

It's a weird one because I've been working on the assumption that maybe, perhaps, Ideal Flight can't get access to some value and makes up a folder name badly.

Unfortunately, there's nothing like it in the program except that if it can't find the directory it will hard wire a folder name with the first character of the Prepar3D.exe version number "5.2.22.27615" giving the "v5". However this part won't be run if the parent folder is found, and in this case it is correct.

We can see the main part of the folder name is correct but for the final part of the path, where does the "4" come from? I haven't been able to find a cause whereby Ideal Flight get's the v4 folder because it is from the Language.dll but I'll keep looking, I'm thinking there's something odd happening between Ideal Flight and the DLL. It's not something that came up before, but if it did it once it could happen again.

There are some things I can do to make it more robust but it would only then hide the fact that something is going on in the system. I hope things continue to work normally, please let me know if anything comes up.

Make sure to have the latest Preview versions from one of the download pages, just run the setup exe and let it update the installation:

https://www.codelegend.com/forums/viewtopic.php?f=4&t=852

A lot of work has gone into adding the Accessibility functions which are still underway and some areas may be affected in some way. I appreciate your patience and good efforts.
software architect at codelegend.com
equipment: i9-9980Xe 64GB 2xRTX2080ti NVLink 2TB M.2 NVMe,
i9-9900X 64GB RTX2080ti 2TB M.2 NVMe, i7-3960X 32GB GTX680 4TB RAID10,
NAS @7TB RAID10 (16TB)
Steve Waite
 
Posts: 5055
Joined: Wed Jun 29, 2011 12:02 am


Return to Support

Who is online

Users browsing this forum: No registered users and 2 guests