Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
Collapse
Just Flight Community Forum
  1. Home
  2. Just Flight
  3. MSFS Products
  4. Black Square Add-Ons
  5. TBM 850
  6. State Saving

State Saving

Scheduled Pinned Locked Moved TBM 850
9 Posts 4 Posters 851 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • M Offline
    M Offline
    meh1951
    wrote on last edited by
    #1

    Could we get the fuel state to save?

    In the manual

    Fuel tank levels will be restored from the last flight whenever a flight is loaded with the default fuel levels. Due to a currently missing feature in MSFS, payload and passenger weights cannot be restored in the same method, although the code has been implemented to do so.

    tia

    sg_aviationS M 2 Replies Last reply
    0
    • M meh1951

      Could we get the fuel state to save?

      In the manual

      Fuel tank levels will be restored from the last flight whenever a flight is loaded with the default fuel levels. Due to a currently missing feature in MSFS, payload and passenger weights cannot be restored in the same method, although the code has been implemented to do so.

      tia

      sg_aviationS Offline
      sg_aviationS Offline
      sg_aviation
      wrote on last edited by
      #2

      @meh1951 I'm having issues with aircraft state saving as well, mainly relating to the navigation device setup and outside/inside temperature units (C/F).

      Need more testing and will also look at the fuel level.

      1 Reply Last reply
      0
      • A Offline
        A Offline
        Ape42
        wrote on last edited by Ape42
        #3

        State saving seems to be completely broken. I'm "debugging" this.

        There is a file where the sim stores the variables: state.cfg. I added some more variables to the systems.cfg file. Next I modified the save-file. But when starting the flight, the file is written by whomsoever destroying all values set before.

        When leaving the flight, all values are written to the state.cfg file like expected.

        But as soon as I click on the "fly" button of flight planning, just some garbage is written to the state.cfg again.

        J sg_aviationS 2 Replies Last reply
        1
        • A Ape42

          State saving seems to be completely broken. I'm "debugging" this.

          There is a file where the sim stores the variables: state.cfg. I added some more variables to the systems.cfg file. Next I modified the save-file. But when starting the flight, the file is written by whomsoever destroying all values set before.

          When leaving the flight, all values are written to the state.cfg file like expected.

          But as soon as I click on the "fly" button of flight planning, just some garbage is written to the state.cfg again.

          J Offline
          J Offline
          JetNoise
          wrote on last edited by
          #4

          @ape42 IIRC thats a known MSFS issue. It was mentioned somewhere on Discord or a forum ...

          Oliver

          1 Reply Last reply
          0
          • M Offline
            M Offline
            meh1951
            wrote on last edited by
            #5

            In the

            C:\Users\User Name\AppData\Local\Packages\Microsoft.FlightSimulator_8wekyb3d8bbwe\LocalCache\SimObjects\Airplanes\bksq-aircraft-tbm850

            there a 2 files
            cameras.CFG
            state.CFG

            is that the state file you are talking about?

            A 1 Reply Last reply
            0
            • A Ape42

              State saving seems to be completely broken. I'm "debugging" this.

              There is a file where the sim stores the variables: state.cfg. I added some more variables to the systems.cfg file. Next I modified the save-file. But when starting the flight, the file is written by whomsoever destroying all values set before.

              When leaving the flight, all values are written to the state.cfg file like expected.

              But as soon as I click on the "fly" button of flight planning, just some garbage is written to the state.cfg again.

              sg_aviationS Offline
              sg_aviationS Offline
              sg_aviation
              wrote on last edited by
              #6

              @ape42 said in State Saving:

              by whomsoever

              ...this may relate to the cloud server where aircraft status is stored according to https://community.justflight.com/topic/5516/panel-state-saving-location.

              A 1 Reply Last reply
              0
              • M meh1951

                In the

                C:\Users\User Name\AppData\Local\Packages\Microsoft.FlightSimulator_8wekyb3d8bbwe\LocalCache\SimObjects\Airplanes\bksq-aircraft-tbm850

                there a 2 files
                cameras.CFG
                state.CFG

                is that the state file you are talking about?

                A Offline
                A Offline
                Ape42
                wrote on last edited by
                #7

                @meh1951 Yes, this is the state.cfg I'm talking about.

                1 Reply Last reply
                0
                • sg_aviationS sg_aviation

                  @ape42 said in State Saving:

                  by whomsoever

                  ...this may relate to the cloud server where aircraft status is stored according to https://community.justflight.com/topic/5516/panel-state-saving-location.

                  A Offline
                  A Offline
                  Ape42
                  wrote on last edited by
                  #8

                  @sg_aviation Good hint. Might be. On the other hand I found the variables announced inside the systems.cfg being stored inside the mentioned state.cfg.

                  See https://docs.flightsimulator.com/html/Content_Configuration/SimObjects/Aircraft_SimO/systems_cfg.htm section LocalVars at the end.

                  1 Reply Last reply
                  0
                  • M meh1951

                    Could we get the fuel state to save?

                    In the manual

                    Fuel tank levels will be restored from the last flight whenever a flight is loaded with the default fuel levels. Due to a currently missing feature in MSFS, payload and passenger weights cannot be restored in the same method, although the code has been implemented to do so.

                    tia

                    M Offline
                    M Offline
                    meh1951
                    wrote on last edited by meh1951
                    #9

                    @meh1951
                    If you don't change the fuel in the sim ... just let it load it will have the fuel left from the last flight.

                    1 Reply Last reply
                    0
                    Reply
                    • Reply as topic
                    Log in to reply
                    • Oldest to Newest
                    • Newest to Oldest
                    • Most Votes


                    • Login

                    • Don't have an account? Register

                    • Login or register to search.
                    • First post
                      Last post
                    0
                    • Categories
                    • Recent
                    • Tags
                    • Popular
                    • Users