# Script to change runway numbers

**URL:** <https://forum.navigraph.com/t/script-to-change-runway-numbers/16750>\
**Category:** Airport Scenery\
**Created:** [August 24, 2024, 12:31pm UTC](https://forum.navigraph.com/t/script-to-change-runway-numbers/16750 "2024-08-24T12:31:04Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![JKTech](https://avatars.discourse-cdn.com/v4/letter/j/8491ac/32.png) [@JKTech](https://forum.navigraph.com/u/JKTech)\
**Post date:** [August 24, 2024, 12:31pm UTC](https://forum.navigraph.com/t/script-to-change-runway-numbers/16750/1 "2024-08-24T12:31:04Z")

</div>

As I often see issues in this forum regarding outdated runway numbers I already have provided fixed files for some of them, I just want to share the Python script (Python 3.12) I have written to apply those fixes to the BGL files.

The script can be found on GitHub [https://github.com/laurinius/rename\_runways](https://github.com/laurinius/rename_runways)

Just be aware that the stock files have to be patched directly, as you can’t easily create working addon packages that replace existing airports by editing the binary BGLs.  
In case something goes wrong you can restore the stock files either by the backups the script created or, more reliably, by deleting the package folder containing the BGL (e.g. `fs-base-genericairports` inside `Official\OneStore`), and MSFS will re-download the package.

---

<div class="post-metadata">

**Author:** ![NAVData](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.navigraph.com/navdata/32/30549_2.png) [@NAVData](https://forum.navigraph.com/u/NAVData)\
**Post date:** [August 24, 2024, 8:06pm UTC](https://forum.navigraph.com/t/script-to-change-runway-numbers/16750/2 "2024-08-24T20:06:09Z")

</div>

Closed on August 24, 2024, 8:06pm UTC



---

<div class="post-metadata">

**Author:** ![NAVData](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.navigraph.com/navdata/32/30549_2.png) [@NAVData](https://forum.navigraph.com/u/NAVData)\
**Post date:** [August 24, 2024, 8:08pm UTC](https://forum.navigraph.com/t/script-to-change-runway-numbers/16750/3 "2024-08-24T20:08:15Z")

</div>

Thanks for the script @JKTech …

As a side note, Navigraph doesn"t support and recommend such scripts.

Cheers  
Richard
