Jump to content
Sign in to follow this  
MrFuzzy

The patch restores the original baseinstrument.js

Recommended Posts

Actually, I take that back.   Looking at the timestamps of the files in my system backup from yesterday morning, I do see that the timestamps have changed.   Yesterday they were all (in the one directory I've restored to look at) 2020-08-31 16:59.   Today they are all 2020-09-02 14:00.   So it looks like it updates the timestamps on files even if the content doesn't change... interesting.

It may compare both the timestamp and the size and if either differs from what it expects it replaces the content of the file, and then either way it updates the timestamp.  Or perhaps it keeps a hidden cache of file checksums somewhere and the layout.json is used for other hinting, or by the dev mode.  I'm sure we'll find out at some point, all we can do now is reverse engineer.

(Not immediately relevant to the question at hand, but I didn't want to leave something I mis-stated uncorrected.  🙂 )

Edited by kaosfere

Share this post


Link to post
Share on other sites

My question is, whether the dependency in the manifest file is required to ensure the correct file is substituted.

My hunch is that there isn't another instance of the BaseInstrument.js file.  If there was, (in another folder branch), there might be an issue if the dependency is not specified correctly.

I could be wrong.

 

Edited by smoothchat

Specs: Win10, 4790K, nVidia 1080ti, Saitek Yoke+Quadrant+Radio/Switch and AP panels, VRInsight 737 overhead, Virtual Avionics 737 MCP. 3 x 1440*900 main display + 1024*600 VDU display. NLR V3 Motion seat. Oculus DK2 CV1 HTC Vive VR headsets.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

  • Tom Allensworth,
    Founder of AVSIM Online


  • Flight Simulation's Premier Resource!

    AVSIM is a free service to the flight simulation community. AVSIM is staffed completely by volunteers and all funds donated to AVSIM go directly back to supporting the community. Your donation here helps to pay our bandwidth costs, emergency funding, and other general costs that crop up from time to time. Thank you for your support!

    Click here for more information and to see all donations year to date.
×
×
  • Create New...