David Oliveira Posted February 12, 2011 at 03:02 PM Posted February 12, 2011 at 03:02 PM Hello Euroscopers, I have made a .exe file containg the sector files for my ARTCC, ZNY. I have shared these files, while deleting my personal info, and people use it and have to set up the ICAO datafiles, and the sector files. Is it possible to set it in the .prf so that the other users can just load the sector file from the predefined spot in the Euroscope folder? David Oliveira ZNY Deputy Events Coordinator Link to comment Share on other sites More sharing options...
Neil Farrington Posted February 12, 2011 at 03:29 PM Posted February 12, 2011 at 03:29 PM You can include a .prf file with the sector files, and get the .prf file to load a certain sector file from the same folder or sub-folder as the .prf file, no matter where the files are stored, if that's what you want? Neil Farrington VATSIM UK Link to comment Share on other sites More sharing options...
Todor Atanasov 878664 Posted February 12, 2011 at 05:41 PM Posted February 12, 2011 at 05:41 PM Just remove your CID and p[Mod - Happy Thoughts]word from the .prf file before that EuroScope BETA Tester/Board of Designers Link to comment Share on other sites More sharing options...
David Oliveira Posted February 13, 2011 at 06:26 AM Author Posted February 13, 2011 at 06:26 AM You can include a .prf file with the sector files, and get the .prf file to load a certain sector file from the same folder or sub-folder as the .prf file, no matter where the files are stored, if that's what you want? Yes, I do. Just like if the sector is in the Sectors folder, in the Euroscope Docomeents folder, then it would work on any computer where it had the Sectors folder inside of the Euroscope folder. Now, how would you do that? Just remove your CID and p[Mod - Happy Thoughts]word from the .prf file before that No worries. I have security in mind David Oliveira ZNY Deputy Events Coordinator Link to comment Share on other sites More sharing options...
Stephan Boerner 945550 Posted February 13, 2011 at 09:16 AM Posted February 13, 2011 at 09:16 AM You can include a .prf file with the sector files, and get the .prf file to load a certain sector file from the same folder or sub-folder as the .prf file, no matter where the files are stored, if that's what you want? Yes, I do. Just like if the sector is in the Sectors folder, in the Euroscope Docomeents folder, then it would work on any computer where it had the Sectors folder inside of the Euroscope folder. Now, how would you do that? I am not 100% sure, but it is probably possible if you have no path and just the filenames (without /) in the .prf? But be advised that there was a reason that userdata was moved from the program folder to the docomeents folder. On some windows versions, there are issues with user access rights, so if you want to create a predefined file-set, the docomeents folder (using relative paths) would be the proper way to do it, because that is the only way that ensures it works for everyone. Stephan Boerner VATEUD - ATC Training Director EuroScope Board of Designers | GVCCS Beta Tester EuroScope Quick Start Guide Link to comment Share on other sites More sharing options...
Neil Farrington Posted February 13, 2011 at 09:45 AM Posted February 13, 2011 at 09:45 AM You can't point the .prf file to the sectors folder in the EuroScope Docomeents folder, unless you put the .prf file in the sectors folder or the main EuroScope Docomeents folder. So: If you put the .prf file in the main EuroScope Docomeents folder, you can then point it to the sector file in the sectors folder by putting Settings sector \Sector Files\****.sct [Mod - Happy Thoughts]uming **** is the name of the sector file. And, "Sector Files" would be whatever the actual folder name is... I deleted mine so I don't know. Neil Farrington VATSIM UK Link to comment Share on other sites More sharing options...
Stephan Boerner 945550 Posted February 13, 2011 at 10:09 AM Posted February 13, 2011 at 10:09 AM ... or any other subfolder of the EuroScope Docomeents folder. For example if you have the following folders: \Sector Files \Settings \ASR files \Profiles If your profile is text.prf in the \Profiles folder, you can point to the sct by a relative path: Settings sector \..\Sector Files\****.sct where \..\ represents the parent folder of the current Profiles folder. They just all have to be within the same parent folder structure (f.ex. "\Users\Docomeents\EuroScope" depending on the windows version). Stephan Boerner VATEUD - ATC Training Director EuroScope Board of Designers | GVCCS Beta Tester EuroScope Quick Start Guide Link to comment Share on other sites More sharing options...
Jonas Eberle Posted February 13, 2011 at 12:50 PM Posted February 13, 2011 at 12:50 PM I realized that it is always relative to the current working directory. If the .prf you are loading is in folder A and you have referenced a file F in the same folder from there it will only work if A was the working directory. From there it is no problem to use relative paths as Stephan showed. So you have to set "Working directory" in the link which starts your profile (The default ES installation already sets a directory, have a look). Link to comment Share on other sites More sharing options...
David Oliveira Posted February 13, 2011 at 06:57 PM Author Posted February 13, 2011 at 06:57 PM I tried doing what you guys said, and it didnt work EDIT:Fixed. By doing nothing David Oliveira ZNY Deputy Events Coordinator Link to comment Share on other sites More sharing options...
Recommended Posts