• Which the release of FS2020 we see an explosition of activity on the forun and of course we are very happy to see this. But having all questions about FS2020 in one forum becomes a bit messy. So therefore we would like to ask you all to use the following guidelines when posting your questions:

    • Tag FS2020 specific questions with the MSFS2020 tag.
    • Questions about making 3D assets can be posted in the 3D asset design forum. Either post them in the subforum of the modelling tool you use or in the general forum if they are general.
    • Questions about aircraft design can be posted in the Aircraft design forum
    • Questions about airport design can be posted in the FS2020 airport design forum. Once airport development tools have been updated for FS2020 you can post tool speciifc questions in the subforums of those tools as well of course.
    • Questions about terrain design can be posted in the FS2020 terrain design forum.
    • Questions about SimConnect can be posted in the SimConnect forum.

    Any other question that is not specific to an aspect of development or tool can be posted in the General chat forum.

    By following these guidelines we make sure that the forums remain easy to read for everybody and also that the right people can find your post to answer it.

FS2004 Problem moving stock airport location. ZGGG & ZYCC. [SOLVED]

Leo2789

Resource contributor
Messages
222
Country
portugal
Hey

I have a 'problem' regarding ZGGG, that i've managed to solve for now but that i would like like to know why it happens in the first place in case it happens again with another airport.
So I'm making a complete redesign of existing FS9 airports in China and creating many that aren't in the stock scenery (either by MS's lapse or them being post- '05); and i've managed to successfully change the location of 2 airports to their new real world one (ZPPP & ZSYT) using this method: http://www.fsdeveloper.com/wiki/index.php?title=Changing_Airport_ICAO
Now i know that method is used to 'erase' stock airports, but the thing is it can also be done to move airports! Instead of moving them to the NPole or the middle of the ocean, you input new one's location coordinates in the ICAO_ARP.bgl (as described in that tutorial), which you then put in the Scenery/World/scenery folder. I also create an AFCAD for the 'old' airport with ICAO's such as ZPP1, ZSY1 & ZGG1 because i like to keep the old airports even if they have been built over by now.
The problem is i tried to do the same for ZGGG, updating Jan Martin's AF_ZGGG file from "jetways and terminals" to include the new terminal and 3rd runway, and i used the same method to try and move the stock ZGGG to the new one's location, and it didn't work! My ZGG1 airport shows up on top of the stock ZGGG, while the actual new ZGGG is a couple miles northward! As if i had simply tried to change the icao of the stock airport with AFX :/
I've thought of every possible way my limited knowledge affords me as to why it didn't work, including checking if the method was flawed and only worked for stock airports which don't share their AP9XXXXX.bgl with another airport; to which i verified in the Scenery/asia folder that while ZPPP is alone in AP975230.bgl, ZSYT shares it's AP980180.bgl file with ZYTL, so that's not the issue!
I ended up solving the problem using Jan Martin's own 'patch' file for ZGGG that changed the AP file itself in the asia folder, that replaced the stock icao from ZGGG to ZGGO, but i would like to know exactly why this happens, as i'll probably have to move some more stock airports in China (they've been building new airports like crazy!!) and i'm afraid i might encounter the same problem that i did in ZGGG :/
Any ideas? All and every help would be appreciated! I use AFX & ADE9 (for objects only mostly)

Thanks in advance

Leonardo
 
Ok now I really need any help i can get. :(
I was making a new scenery for ZYCC, since it changed location in 2005. I tried once again using my method (explained in previous post), which worked for me when creating the new ZPPP & ZSYT airports, and like when i tried for ZGGG, it also isn't working for ZYCC! I still get the stock airport ident showing on the original location below the (now renamed) ZY15, while my new ZYCC lies a couple miles East...
Please if someone knows what's going on here causing this method to work on some airports and not on others, please help! I'm really at a loss :/
Also i checked and ZYCC doesn't share it's AP981160.bgl file with any other airport.

Thanks

Leonardo
 
Last edited:
UPDATE!

In case someone stumbles upon this in the future, i ended up solving my problem in a rather ubiquitous manner
I only used this following method to change my ZYCC default airport ICAO to ZY15, so I haven't so far tried it with any other APXXXXXX.bgl but it stands to reason this method should work with every stock airport..
What I did was de-compile the stock AP981160.bgl file with the BGL2XML tool, then opened the resulting xml file in notepad, scrolled all the way until i found the airport info (those files contain HUGE lists of stuff, airports, navaids, etc) and simply where it said "ICAO=ZYCC" I replaced it with "ICAO=ZY15". I then saved the xml file, re-compiled it with the Xml2Bgl tool and replaced the stock APXXXXXX.bgl file with the one i edited and voilá!
If you have 3rd party addon scenery installed that changed some default AP files in which the airport you want to change the ICAO for is, this is still an option for you, as all you need to do is change that ICAO=ZZZZ line!

Leonardo
 
Did you download my created scenery ZPPP? It's for FS2004. I moved old to new airport without any problem. Did you try my scenery if you like it or not?

download in avsim.

Thanks,

Stuart
 
Modifying stock airport or other files is not a good idea and generally we do not recommend it, There are ways to move airports without hacking the stock files
 
Did you download my created scenery ZPPP? It's for FS2004. I moved old to new airport without any problem. Did you try my scenery if you like it or not?

download in avsim.

Thanks,

Stuart

Hi Stuart,

I downloaded a version of the new ZPPP a long time ago, not sure if it was yours or not, but it was a very complete rendering of the new airport!

And ZPPP was one of those I could change the ICAO code easily, as opposed to the ones I listed on the thread start.

Modifying stock airport or other files is not a good idea and generally we do not recommend it, There are ways to move airports without hacking the stock files

Hey Jon,

Yea I know you guys don't recommend editing stock files, but it turned out to be not only the simplest, but also the only way i managed to do this on the aforementioned airports..

I don't exactly plan on uploading these airports to avsim/flightsim because it might interfere with other contributors sceneries.. However the edit is really simple, and if do ever get around to upload these airports I'll make sure to link this thread in the readme to make people understand how to do it properly and also the risks involved!

Leonardo
 
Last edited:
Back
Top