I need to see the states.cfg in the C:\Users\USERNAME\AppData\Roaming\Microsoft Flight Simulator\ folder but it doesn’t exist on my Windows 11 system.
It used to exist when I had MSFS on a Windows 10 system but on my new system it doesn’t exist. I have a Microsoft folder in Roaming but Flight Simulator is not in that folder. Searching USERNAME\Appdata also does not find any states.cfg files.
Yes, I have made hidden files visible.
Has MS moved this folder in Windows 11? Or does anyone know where I could find states.cfg?
1 Like
I’ll answer this question myself:
C:\Users\me\AppData\Local\Packages\Microsoft.FlightSimulator_8wekyb3d8bbwe\LocalCache\SimObjects\Airplanes
I should have read the documentation for an aircraft I wrote last year better where I wrote this:
Preferences are saved to the state.cfg file which can be found in either:
C:\Users[username]\AppData\Local\Packages
Microsoft.FlightSimulator_8wekyb3d8bbwe\LocalCache\SimObjects\Airplanes
antsairplanes-tiger-moth
or
C:\Users[USERNAME]\AppData\Roaming\Microsoft Flight Simulator\SimObjects
Airplanes\antsairplanes-tiger-moth\states.cfg
In my case it’s the first location. The SDK says it should be the second location.
That was my problem. I had forgotten about this little quirk of MSFS where the SDK says it should be in Roaming but it isn’t sometimes.
I will leave this post here in case Google leads someone else here in the future.
2 Likes
Thank you! Definitely good to know. Added it to my collection of tech tips.
Thanks again.