Using installed aircraft for Model Matching in vPilot

Hello, in this tutorial I will be explaining how you can use installed aircraft for model matching in vPilot.
This works for payware aircraft as for freeware aircraft.

PREREQUISITES

  • Any payware or freeware aircraft
    This can be PMDG, Aerosoft, Posky, QW…
  • Latest vPilot version
  • P3D or FSX(:SE)
  • VMRGenerator
  • A compression program, WinRAR or 7zip will do

BEFORE WE START

I will be using P3D v3.2 for this tutorial.

For this tutorial I will be using the Aerosoft Airbus A320 CFM.

STEPS

Step 1: Installing VMRGenerator
Step 2: Learning how VMRGenerator will create the rule sets
Step 3: Changing the aircraft.cfg file
Step 4: Creating the VMR file
Step 5: Importing your newly created rule sets into vPilot
Step 6 (OPTIONAL): Testing out the newly created rule sets

LET’S GET STARTED

Step 1: Installing VMRGenerator

Step 1A: Download VMRGenerator

You can get VMRGenerator from here. You can download it under the Download and installation section on that webpage.
I will be saving it to my downloads folder.

Step 1B: Unzip VMRGenerator

Just click on VMRGenerator.zip, it should open in the compression program you use, for me it is WinRAR.
You can now extract the VMRGenerator folder by clicking it, and then clicking “Extract To”.
I will be extracting it to a separate folder called VMRGenerator in my downloads.

Do not yet close the folder where you extracted VMRGenerator because we will be using it soon!

Step 2: Learning how VMRGenerator will create the rule sets

VMRGenerator will create model matching rules based on the following information out of the aircraft.cfg:
– atc_model > Used to see what aircraft you are flying > Example: “B772” will give a “Boeing 777-200ER”
– title > Used for the name of the model
– atc_parking_codes > Used to see what airline it is > Example: “BAW” will be for “British Airways”

Step 3: Changing the aircraft.cfg file

So now that VMRGenerator is installed, we can locate and change the “aircraft.cfg” files of the aircraft we want to use.

Step 3A: Find the folder of the aircraft you want to use

I will be using the Aerosoft Airbus A320 CFM, so now we need to find the “aircraft.cfg” file for it.
It should be located in the “SimObjects\Airplanes” folder of the simulator that you use.
I use P3D, so for me the “SimObjects\Airplanes” folder is at “G:\Program Files (x86)\Lockheed Martin\Prepar3D v3\SimObjects\Airplanes”.
The folder of the Aerosoft Airbus A320 CFM is “Aerosoft Airbus A320 CFM”.

Step 3B: Open the aircraft.cfg files of the aircraft you plan on using

Just open the folders we located in step above, and open the “aircraft.cfg” files. I will be using Notepad++ for this.

Step 3C: Change the information to fit VMRGenerator’s rule sets

The Aerosoft Airbus A320 CFM will not work, this is because it uses an “atc_model” that does not match up with VMRGenerator’s rule sets.
In this case, the value of “atc_model” will be “A320CFM”.

We can find a list of the supported “atc_model” codes in the folder we just extracted VMRGenerator to.
In that folder, there should be another folder called “data”, open it.
In there we can see 4 files, we will need the “ICAOAircraftCodes.txt” file. When we open it up, we will get a long list of all codes VMRGenerator supports.
If we run a search for “A320”, we will see that there is no “A320CFM” in there. This means that we will have to change the “atc_model” to a value that is supported. In this case, it’s “A320”.
WARNING!: I just found out that above step breaks the Aerosoft Airbus Loadsheet loading in the right MCDU. I am working on a fix for this, if you want to keep using the fuelplanner do not change the atc_model!

We will now find the “atc_model” in the “Aerosoft Airbus A320 CFM” “aircraft.cfg” file by running a search, it’s also globally defined under “[General]”.
atc_model without change
Now change the “atc_model” (should be “A320CFM”) to “A320”.

atc_model with change

Now we will double check the “atc_parking_codes” for each aircraft, an aircraft begins from “[fltsim.x]” and ends at the next “[fltsim.x+1]”.
fltsim
We can see that for every aircraft, there will be an “atc_parking_codes” setting, if it isn’t there, add it. In this case we will use the EasyJet.
atc_parking_codes
We will now also check if this exists in the VMRGenerator data file, for this one we will need “ICAOAirlineCodes.txt”. Located in the same directory as “ICAOAircraftCodes.txt”.
Now we run a search for “EZS”, which was the “atc_parking_codes” value for me.
It exists, so everything is alright.

I have never touched the titles, as they simply seem to work for me.
Also, changing the atc_model shouldn’t break anything.

Now that you understand what to change and what to change it to, you can also figure this out for other aircraft (f.e. PMDG).
As soon as I get a PMDG aircraft, I will edit this tutorial and also place instructions for those.

Step 4: Creating the VMR file

Now we are going to create the model matching set using VMRGenerator.

Step 4A: Open VMRGenerator

Now we will have to open “VMRGenerator.exe”.
Upon boot, it might look for AI liveries, just let it find them.

Step 4B: Select your flight sim

Just click the checkbox next to the flight sim you use, for me it is P3Dv3.
It will now look for AI liveries which we don’t need.

Step 4C: Add the SimObjects\Airplanes folder to the file paths

Click the change button, the text box should now get unlocked.
Simply remove everything EXCEPT THE FIRST LINE by clicking the black X’s on the right.
Now, you can add the “SimObjects\Airplanes” folder, navigate to the “SimObjects\Airplanes” folder of your sim in Windows Explorer (not the browser, but the file explorer).
Click on the address bar on top, where it says the file path. Copy the file path. For me it is: “G:\Program Files (x86)\Lockheed Martin\Prepar3D v3\SimObjects\Airplanes”.
Now, add this file path into VMRGenerator, you can now replace the first line with the file path. 
It should look something like this:
vrm file path inserted

Step 4D: Creating the model matching set

Click the change button again, the text box that has your file path in it should now be grayed out.
vmr grayed out txtbox
Simply click: “Go!”

After it’s done, it should look something like this:
vrm done
Note that the values will be different, you might also have no red text or more.
Make sure that the green bar on the bottom says: “File AI Matching Rules Generated.vmr copied to the vPilot rules folder”.
vrm green bar

After that has happened, you are done creating! Now just close VMRGenerator.

Step 5: Importing your newly created rule sets into vPilot

Step 5A: Open vPilot

Step 5B: Find the Model Matching settings

1. Click “Settings”
2. Click the “Model Matching” tab

Step 5C: Add the newly created rule set

1. Simply press “Add Custom File(s)…” in the “Miscellaneous” section.
2. Find the rule set, the file picker should open in the vPilot Model Matching Rule Sets folder. If not, it is located under “Documents\vPilot Files”.
3. I suggest you do rename the file VMRGenerator created, by default it is called “AI Matching Rules Generated”. I will be renaming it “SimObjects Airplanes”.
4. Now just click Open in the bottom right!
5. Check if it is added to “Downloaded Rule Sets:”, if it is, it should be done! Now click Apply and OK.
vpilot model matching

Note that if you also use other model matching (f.e. World of AI), you want the VMR Rule Set we just added to be on top so that vPilot uses those rules first!

Step 6 (OPTIONAL): Testing out the newly created rule sets

Step 6A: Open up your simulator

Step 6B: Spawn at a busy airport

I will be spawning at EGLL just because it is busy.

Step 6C: Connect with vPilot (Connect in Observer mode!)

Step 6D: Set your view to an aircraft that has a name via Air Traffic in the right click menu

For me there was WZZ6TM, this is the callsign prefix for Wizzair, and it did show a Wizzair livery in high quality for that plane.

 

Well, we are done now! I hope you enjoy your good looking model matching.
I personally installed some freeware planes that had high quality liveries, like the Project Opensky 777 and the Project Opensky 747.
Also be aware that when you use the Aerosoft Airbus, and you have any Aerosoft ground services connected (the one in the right MCDU), all other planes using the Aerosoft Airbus will also have them connected, even while taxiing or flying.

Thanks for reading!

Leave a Reply

Your email address will not be published. Required fields are marked *

Solve : *
21 + 16 =