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. No saving state

No saving state

Scheduled Pinned Locked Moved Black Square Add-Ons
14 Posts 7 Posters 381 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.
  • T Tadeus72

    Is there a chance that state saving will be expanded to other functions/switches? Is it limited by what Asobo provides, or is it limited because it's out of scope for the planned design of the planes?

    I love state saving and wouldn't be sad if there would be generally more in Black Square planes.

    Black SquareB Offline
    Black SquareB Offline
    Black Square
    Black Square Developer
    wrote last edited by
    #5

    @Tadeus72 I actually have ideas for levels of state saving that I don't think anyone has ever done before within a flight simulator, but the state saving options available to me from the Javascript context are too inconsistent to consider implementing them. Even from WASM, I don't entirely trust the persistence of the files saved within the virtual file system of MSFS, which is unfortunate.

    1 Reply Last reply
    0
    • T Offline
      T Offline
      Tadeus72
      wrote last edited by
      #6

      I have some other planes with state saving and there it just works (both with new releases and old ones that are multiple years old and were introduced in MSFS 2020), so I'm wondering if they are using Javascript, WASM or something entirely different to make it work. I'm just afraid that just basing on Asobo fixing it might never bring satisfactory results and something more robust and custom might be needed.

      That saying, I have no idea how planes are done, so just brainstorming here 😃

      Thank you for answering either way.

      1 Reply Last reply
      0
      • D Offline
        D Offline
        dejw6
        wrote last edited by
        #7

        I found a partial solution. After the flight, if I exit the plane with Shift + C, go back to the main menu, change the plane, and re-position it at the airport. Only then do I close the simulator, and the saved data remains. I don't know why this is happening, or why I can't do it the traditional way.

        Zwoop68Z 1 Reply Last reply
        2
        • T Offline
          T Offline
          Tadeus72
          wrote last edited by Tadeus72
          #8

          Just done some testing among a couple of Black Square planes, it seems like the only part of state saving that still works are failures that were already triggered in the last flights. If I manually fail something and leave, it will be still failed on the next flight. But all of the rest:

          • EFB Options and all stuff connected to them
          • Hobbs Meter
          • Engine Status
          • Radios
            Are not being saved anymore. It just always shows the same one status from some time ago. From before SU4? Not sure.

          I'm wondering if the age of the components is still being counted for MTBF purposes, otherwise the whole failure system is impacted 😞

          EDIT: Can confirm the solution above. Avatar mode at the end of the flight > Main Menu > Respawn in the sim seems to be saving data, at least the EFB options, not sure about the rest.

          J Black SquareB 2 Replies Last reply
          0
          • T Tadeus72

            Just done some testing among a couple of Black Square planes, it seems like the only part of state saving that still works are failures that were already triggered in the last flights. If I manually fail something and leave, it will be still failed on the next flight. But all of the rest:

            • EFB Options and all stuff connected to them
            • Hobbs Meter
            • Engine Status
            • Radios
              Are not being saved anymore. It just always shows the same one status from some time ago. From before SU4? Not sure.

            I'm wondering if the age of the components is still being counted for MTBF purposes, otherwise the whole failure system is impacted 😞

            EDIT: Can confirm the solution above. Avatar mode at the end of the flight > Main Menu > Respawn in the sim seems to be saving data, at least the EFB options, not sure about the rest.

            J Offline
            J Offline
            jmarkows
            wrote last edited by
            #9

            @Tadeus72 said in No saving state:

            I'm wondering if the age of the components is still being counted for MTBF purposes, otherwise the whole failure system is impacted 😞

            It's percentage based, not tracked hour based, adjusted by your failure rate.

            1 Reply Last reply
            1
            • T Tadeus72

              Just done some testing among a couple of Black Square planes, it seems like the only part of state saving that still works are failures that were already triggered in the last flights. If I manually fail something and leave, it will be still failed on the next flight. But all of the rest:

              • EFB Options and all stuff connected to them
              • Hobbs Meter
              • Engine Status
              • Radios
                Are not being saved anymore. It just always shows the same one status from some time ago. From before SU4? Not sure.

              I'm wondering if the age of the components is still being counted for MTBF purposes, otherwise the whole failure system is impacted 😞

              EDIT: Can confirm the solution above. Avatar mode at the end of the flight > Main Menu > Respawn in the sim seems to be saving data, at least the EFB options, not sure about the rest.

              Black SquareB Offline
              Black SquareB Offline
              Black Square
              Black Square Developer
              wrote last edited by Black Square
              #10

              @Tadeus72 said in No saving state:

              the only part of state saving that still works are failures

              Ah yes, the system where I maintain my own (still cloud based) Javascript avionics state instead of using the recommended technique for aircraft L:Vars, which is now ignored with the rest of the aircraft's state. Thanks for confirming that this is the case. It comports with my current understanding of what's broken in the simulator, and that can be very helpful for explaining things to Asobo.

              1 Reply Last reply
              0
              • D dejw6

                I found a partial solution. After the flight, if I exit the plane with Shift + C, go back to the main menu, change the plane, and re-position it at the airport. Only then do I close the simulator, and the saved data remains. I don't know why this is happening, or why I can't do it the traditional way.

                Zwoop68Z Offline
                Zwoop68Z Offline
                Zwoop68
                wrote last edited by
                #11

                @dejw6 This works, thanks for the tip! 👍

                Tested this few times. It work without exiting plane (Shift+C), and also no need to change plane, you can load same flight again after ending previous flight.
                I had Notepad++ and TBM's state.cfg file open in background. Only time Notepad++ offered updated state.cfg file was when I loaded a new flight after I made some changes to planes tablet.

                F 1 Reply Last reply
                0
                • Zwoop68Z Zwoop68

                  @dejw6 This works, thanks for the tip! 👍

                  Tested this few times. It work without exiting plane (Shift+C), and also no need to change plane, you can load same flight again after ending previous flight.
                  I had Notepad++ and TBM's state.cfg file open in background. Only time Notepad++ offered updated state.cfg file was when I loaded a new flight after I made some changes to planes tablet.

                  F Offline
                  F Offline
                  FlimsyBagel
                  wrote last edited by
                  #12

                  @Zwoop68
                  Thanks for the tip about clicking "restart" once I finish my flight. It seems to fix the Save State issues on my end and also save engine hours and tablet settings.

                  I just registered to this website to say this!

                  Also a big thanks to Nick and amazing work on his Baron/Bonanza! Can't wait for the Caravan. My wallet is ready! Thanks again for your work.

                  Zwoop68Z 1 Reply Last reply
                  0
                  • F FlimsyBagel

                    @Zwoop68
                    Thanks for the tip about clicking "restart" once I finish my flight. It seems to fix the Save State issues on my end and also save engine hours and tablet settings.

                    I just registered to this website to say this!

                    Also a big thanks to Nick and amazing work on his Baron/Bonanza! Can't wait for the Caravan. My wallet is ready! Thanks again for your work.

                    Zwoop68Z Offline
                    Zwoop68Z Offline
                    Zwoop68
                    wrote last edited by Zwoop68
                    #13

                    @FlimsyBagel Don't thank me, thank @dejw6! Or Ramasurinen, dev of Albatross on an official MSFS forums. He wrote same tip today.

                    1 Reply Last reply
                    1
                    • Black SquareB Black Square referenced this topic
                    • A Online
                      A Online
                      asnamara
                      wrote last edited by
                      #14

                      Hi everyone,
                      I might be doing something wrong, but trying to follow the steps from @Zwoop68 and @dejw6. When I land from a flight:

                      1. Shift + C
                      2. ESC and restart flight?
                      3. Exit.
                        And my engine - panel state should save like it used to?
                        Thanks guys, any chance this will be fixed properly in future? As it stands, its quite the downgrade from what it used to be. Any way of having a button to save current state so that it can be loaded again on the next flight. Every single flight is now a chore, as I have to set everything back to the way I want it as it seems to have a saved a state mid-checklist...
                      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