Jump to content
Sign in to follow this  
Bob Scott

Database maintenance--adding/changing airport IDs

Recommended Posts

Flying into ORBX/Turbulent's KGPI (formerly KFCA) reminded me of something worth mention--how to get RC4 to recognize airports added to the sim or whose ICAO identifiers have changed since the database files were first created back around 2006.

Running Pete Dowson's Makerwys utility updates most of the database files RC4 uses, but in the case where an airport ICAO ID has changed or been added, you have to also manually go in and make a change or addition to the m4.csv file that defines the MSA (min safe altitude) base and transition altitude.

In the case of Glacier Park Intl, the ICAO was changed from KFCA to KGPI, and running Makerwys updates the airport (a4.csv) and frequency (f4.csv) data files, but it does not create the required new entry in the elevation/transition altitude data in the m4.csv file.

The files are located in the data subdirectory of your Radar Contact main directory, and can be edited with a simple text editor.  Just go to the proper place in the alphabetical list and insert a new line with the data, in the format ICAO_ID,MSA_base,transition.  The MSA base appears to be the highest elevation within some (unknown) distance of the field, probably around 10nm.  If you are replacing an existing airfield, or there is another nearby, just copy the existing numbers to the new line with the revised ICAO ID.

In the Glacier Park example, there is a line in the file for the old airport: KFCA,5846,18000, so I inserted a new line below KGPH in the file: KGPI,5846,18000

The same would apply, for example, adding the (not so) new Hamad Intl OTHH, which replaced OTBD back in 2014.

Leaving the old airport in the file does not appear to have any ill effect.

The main symptom that tells you that you need to do this for an airfield is finding blanks in all of the ATC frequency blocks, the gate block in the RC Controller tab greyed out and unable to accept an entry, and/or odd/incorrect MSA/transition level data.

Regards

 

  • Like 1
  • Upvote 1

Bob Scott | President and CEO, AVSIM Inc
ATP Gulfstream II-III-IV-V

System1 (P3Dv5/v4): i9-13900KS @ 6.0GHz, water 2x360mm, ASUS Z790 Hero, 32GB GSkill 7800MHz CAS36, ASUS RTX4090
Samsung 55" JS8500 4K TV@30Hz,
3x 2TB WD SN850X 1x 4TB Crucial P3 M.2 NVME SSD, EVGA 1600T2 PSU, 1.2Gbps internet
Fiber link to Yamaha RX-V467 Home Theater Receiver, Polk/Klipsch 6" bookshelf speakers, Polk 12" subwoofer, 12.9" iPad Pro
PFC yoke/throttle quad/pedals with custom Hall sensor retrofit, Thermaltake View 71 case, Stream Deck XL button box

Sys2 (MSFS/XPlane): i9-10900K @ 5.1GHz, 32GB 3600/15, nVidia RTX4090FE, Alienware AW3821DW 38" 21:9 GSync, EVGA 1000P2
Thrustmaster TCA Boeing Yoke, TCA Airbus Sidestick, 2x TCA Airbus Throttle quads, PFC Cirrus Pedals, Coolermaster HAF932 case

Portable Sys3 (P3Dv4/FSX/DCS): i9-9900K @ 5.0 Ghz, Noctua NH-D15, 32GB 3200/16, EVGA RTX3090, Dell S2417DG 24" GSync
Corsair RM850x PSU, TM TCA Officer Pack, Saitek combat pedals, TM Warthog HOTAS, Coolermaster HAF XB case

Share this post


Link to post
Share on other sites

As far as I am aware, The file copying part of the rc scenery update does not copy/update the f4.csv file into the data folder of of RC. FSUICP places an f4.csv in your main folder of your sim. Back up in a folder outside of the RC folder the current f4.csv folder by renaming it f4.csv.bak then copy f4.csv from your sim folder as placed by FSUIPC over the original installed in your RCv4/data folder. These frequencies have been extracted from your current scenery AFD type files in your sim so if you use charts that are dated for your installed scenery the data will sync.

Alternately your can just replace the line in your existing f4.csv file or add the line from  the one in the sim folder to your rcv4/data folder.

Be sure to use a text editor, not a data or spreadsheet application. Be sure your text editor in in plain text mode, not enhanced html mode.

The listings in f4.csv are in alphabetical order by airport Id.

Just be sure to back up the original f4.csv to avoid an rc reinstall of problems occur and you need the original file.

These steps will add the data for changed or new airports as far as frequency data is concerned.

The fields in the csv files are explained in the make runways readme text file placed in the sim folder.

The procedure for the surface data changes as described in the previous post are correct.

 

.

Edited by ronzie
  • Upvote 1

Share this post


Link to post
Share on other sites

So I'm not completely clear. I need to change Lima Peru's ICAO code from SPIM to the new one: SPJC. Its the same airport, just a new ICAO code.

Don't even care about changing the frequencies, just the names.

I've located both f4.csv files and the RC m4.csv and wonder if I can just change the code or if there's more to it. 

Thanks.

Ps. Not an Excel expert by any means.


Dan Cole

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