FSDreamTeam forum

Products Support => GSX Support FSX/P3D => Topic started by: Ray Proudfoot on September 12, 2019, 01:28:49 pm

Title: GSX Update has deleted my Sound batch file
Post by: Ray Proudfoot on September 12, 2019, 01:28:49 pm
After running FSDT Update I launched a batch file located in the GSX\Sounds folder to copy alternative sound sets as I prefer those to the originals. But it has been deleted by the update process! Not happy. Why do you delete all files instead of just those you install?
Title: Re: GSX Update has deleted my Sound batch file
Post by: virtuali on September 12, 2019, 02:06:16 pm
Why do you delete all files instead of just those you install?

Because it's the only way to be sure something extraneous is not interfering with our files. As explained several times in the forum, if you really know what you are doing, you can protect a folder from updating by creating an empty file with this name

DONTUPDATE

It doesn't have to contain anything, even a file with 0 length will do, as long is named that way, and this will tell the Live Update to skip that folder.
Title: Re: GSX Update has deleted my Sound batch file
Post by: Ray Proudfoot on September 12, 2019, 02:54:05 pm
Umberto, what is the highest level folder under Addon Manager I can place this bat file for it to remain after an update?
Title: Re: GSX Update has deleted my Sound batch file
Post by: virtuali on September 12, 2019, 03:02:15 pm
Umberto, what is the highest level folder under Addon Manager I can place this bat file for it to remain after an update?

It's not recursive (but I'm not 100% sure of this), you must place a DONTUPDATE file on each separate folder you want to prevent updates.

However, in your case, I would do something entirely different, like this:

- Place your batch file in a totally separate place, like your Desktop or your Documents, eventually create a sub-folder for this job.

- Place the WAV files you want to replace in that sub-folder.

- Modify the batch file, so that it will copy the waves from your own place, to their destination.

This way, you can run the Live Update, and eventually run the batch file again, and be sure it will always work, without using any DONTUPDATE files.

Again, please be aware we might change *everything* at any time, even the whole folder structure, for example to support regional variations for voices, which is something we are planning for future updates, and that will likely change the structure of the sound folders quite a bit.
Title: Re: GSX Update has deleted my Sound batch file
Post by: Ray Proudfoot on September 12, 2019, 03:27:33 pm
Thanks Umberto. Fortunately I have the alternative wav files in a separate drive so all I need to do is create the batch file there and drop a shortcut on my desktop.

Should you ever change the location of GSX\Sounds the only thing I need to change is the path in the batch file.