General Category > General Discussion

Any cance to change how liveupdate delivers files? **UPDATE**

(1/2) > >>

Dave_YVR:
 
  I really do like the way how live update now works for the most part, but I have one MAJOR gripe. Everytime I run the live update, it wipes out my custom airport file and replaces it with a default one and no it doesn't back them up either. I work very hard to keep my airport files updated and customized to how I want it, but as it is now I have to go back through each FSDT airport folder and copy back in my saved airport files while removing the ones the updater just added.

   Maybe if the updater could be set to search for and replace files with the same filenames or to ask if I want new afcads like it used to. There has to be a better way.

sticky1202:
I'll second that. Maybe a way to exclude updating the AFCAD files unless it's a critical update.

Jim

virtuali:

--- Quote from: Dave_YVR on August 26, 2017, 10:13:07 pm ---it wipes out my custom airport file and replaces it with a default one and no it doesn't back them up either.
--- End quote ---

Yes, it does a backup, but only if your custom AFCAD was named exactly the same as the FSDT one. If you named it differently, it will find an "extraneous" file, so it will just delete it.

Naming a custom AFCAD like the FSDT one is what you are supposed to do anyway because, if you don't, you will lose the GSX customization we made for it, which includes some things you cannot do with the GSX editor.

If you name your custom AFCAD like the FSDT one, it WILL be backed up during a Live Update, and you find it in the "backup" subfolder of the scenery.


--- Quote ---Maybe if the updater could be set to search for and replace files with the same filenames or to ask if I want new afcads like it used to. There has to be a better way.
--- End quote ---

As already discussed in this thread:

http://www.fsdreamteam.com/forum/index.php/topic,15922.msg114264.html#msg114264

You can prevent a folder to be updated, by creating a file named DONTUPDATE in its folder. This way, that folder will be skipped by the Live Update.

Dave_YVR:
  Lol, I've learned my lesson's over the years to know better than to leave the file names as they were. Of course, I'm not going to name them exactly the same as the FSDT one. Thankfully I also know that I can edit the GSX customization file to work better with my own setup.
 
  As per the "DONTUPDATE" that isn't located anywhere in the GSX manual, it's not that I don't want my airport scenery updated, it's more that I don't want my custom airport file messed with.

virtuali:

--- Quote from: Dave_YVR on August 28, 2017, 10:32:34 am ---Of course, I'm not going to name them exactly the same as the FSDT one.
--- End quote ---

That's precisely the issue, if you use a different name for your own custom AFCAD, the update will consider it as an "redundant" file, since it's on your system, but not on our server, so it will just remove it.

The issue is, sometimes as part of an update, we must remove files too so, it will be very complex trying to sort out which files were ours to remove, and which files were added by the user (in order to backup them), because we would have to keep an history of all files we ever distributed, even when there are not needed anymore.

If, instead, you use the same name of the FSDT one, it will be backed up. And, using the same filename, will not lose you the full GSX customization.


--- Quote ---Thankfully I also know that I can edit the GSX customization file to work better with my own setup.
--- End quote ---

The issue is, the GSX customization you can do from the GSX user interface is not as complete as what we can do with our code so, you want to start with our baseline and improve on that, but in order to do that, the AFCAD filename must match.
 

--- Quote --- As per the "DONTUPDATE" that isn't located anywhere in the GSX manual, it's not that I don't want my airport scenery updated, it's more that I don't want my custom airport file messed with.
--- End quote ---

It's not officially documented, because I still believe you want to have the AFCAD updated and yours backup so, you can decide if you want to retrofit your changes to our new file or not, depending on what you did.

In any case, we updated the Updater today, so you'll see an alert if the AFCAD is going to be overwritten, offering you a choice. If you choose to update, it will be backed up, otherwise it won't do anything, but it will still update the rest of the files in the scenery folder if needed (unless you made a DONTUPDATE file). But you must use the FSDT name for your AFCAD, otherwise your additional file will be removed.

Navigation

[0] Message Index

[#] Next page

Go to full version