oh wow. I will try this later, thanks a lot
I need to learn how to do this
merspieler wrote in Wed Sep 15, 2021 8:20 am:Which file did you edit?
/home/woodstokk/.fgfs/TerraSync/Terrain/e010n40/e016n49/
/home/woodstokk/.fgfs/TerraLocal/Terrain/e010n40/e016n49/
3220170.btg.gz
3220170.stg
LKCM.btg.gz
LKTB.btg.gz
WoodSTokk wrote in Wed Sep 15, 2021 12:51 pm:Edited this file in a Hex-Editor and repack it.
WoodSTokk wrote in Tue Sep 14, 2021 11:46 pm:merspieler wrote in Tue Sep 14, 2021 9:15 am:Editing the actual runway markings? Afaik, you've got to regenerate the btg file (or maybe hex edit it )
Thats not true. As a test, i have changed runway numbers on KLAS one year before (Navaid updates).
If i have some spare time, i will look into this airport.
merspieler wrote in Wed Sep 15, 2021 1:59 pm:That's what I've just said above...merspieler wrote in Tue Sep 14, 2021 9:15 am:Editing the actual runway markings? Afaik, you've got to regenerate the btg file (or maybe hex edit it )
legoboyvdlp wrote in Fri Sep 10, 2021 1:31 pm:No need to do any of that - it's already fixed for months already (since May). On FlightGear 2020.4 you can simply add a runway_rename.xml file. That allows you to remap the runway numbering. File format:
EIDW.runway_rename.xml
- Code: Select all
<?xml version='1.0' encoding='ISO-8859-1'?>
<PropertyList>
<runway-rename>
<runway>
<old-ident>10</old-ident>
<new-ident>10R</new-ident>
</runway>
<runway>
<old-ident>28</old-ident>
<new-ident>28L</new-ident>
</runway>
</runway-rename>
</PropertyList>
Subsequent rows define elements of an airport:
Runways (including helipads) follow the airport header row (one row per runway).
Pavement (taxiway/apron) definitions have a header row followed by an ordered list of nodes that define its boundaries...
void FGAirport::parseRunwayRenameData(SGPropertyNode* aRoot)
{
SGPropertyNode* overrideNode = aRoot->getChild("runway-rename");
for (auto rnm : overrideNode->getChildren("runway")) {
const std::string oldIdent = rnm->getStringValue("old-ident");
const std::string newIdent = rnm->getStringValue("new-ident");
SG_LOG(SG_NAVAID, SG_ALERT, ident() << ": runway rename old: " << oldIdent << " new: " << newIdent );
if (oldIdent.empty() || newIdent.empty()) {
SG_LOG(SG_NAVAID, SG_WARN, ident() << ": runway rename: Skipping bad runway rename entry");
continue;
}
Users browsing this forum: No registered users and 5 guests