Jump to content
Sign in to follow this  
JeB1952

X-Plane 12 - weather METAR.rwx

Recommended Posts

X plane 12 moved the real weather output to a new location  .../Output/real weather and in the last couple of days updated the schedule for this output to twice per hour and changed the name of the metar data file.   This broke any program including P2A that needs to read the METAR.rwx data.

There is a package at the link below that will copy the new metar data to the root of X-Plane 12 as METAR.rwx enabling access for all versions of P2A or any other program.  Dave has of course provided a new beta release that is compatible with latest changes but not everyone wants to run beta.

Pre-requisites:

Install FLYWITHLUA plugin and it is recommended using version 2.8.1 (may even be required for xp 12)

Open the zip file and you will find a BAT and LUA program.

Drop the BAT program into the root of X Plane 12

Drop the LUA program into the scripts folder of FLYWITHLUA plugin.

The LUA program will invoke the BAT program on 15 and 45 minutes past the hour and copy the updated data to root as METAR.wrx.  It does cause a cmd window to flash each time so you know it is running properly.  This is the design of the CMD program an unavoidable.

The original program was developed by @SparkerInVR to provide compatibility for programs that required this data.  It is smart enough to work no matter the name you are using for the X Plane 12 folder.

 

Important! LR changed the filename of weather metar files! For ex. LNM and P2ATC cannot read data! - Page 2 - XP12 Compatibility List: Utilities - X-Plane.Org Forum

Edited by JeB1952

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...