Skip to content

laurinius/rename_runways

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 

Repository files navigation

This script changes runway numbers directly in MSFS 2020 BGL files.

List runway changes in runways.csv, configure the script, then run python rename_runways.py.

Configuration

Set via command argument or in the top section of rename_runways.py
-x / TEST_MODE : when true only outputs details without actually changing the BGL files
-r / MSFS_ROOT : root path of the MSFS data folder (the folder that contains the Official and Community folders)
-b / BACKUP_DIR : backups BGLs in this directory if they are inside the MSFS data folder and no backup already exists at the backup directory. Use "" / None to disable backup

runways.csv format (separated by ;):

  • path to BGL file (can use the placeholder , which will be substituted with the configered root path of the MSFS data folder)
  • ICAO ident of the airport
  • Old runway number, incl. optional designator and leading 0 (e.g. 03L, 15)
  • New runway number, incl. optional designator and leading 0 (e.g. 03L, 15)

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages