Hello all. I was inspired by some of the work Georg EDDW did in producing the new FlightGearsTool package. Although I had a bit of trouble getting the tool to work "out of the box", it did teach me quite a bit about the parameters needed to make the Atlas Map program run properly. So, I created this windows shell script to create my map images.
Here's some of the important steps to setting up your system before running this script. 1. Do not install FlightGear into a directory with spaces. in other words, Don't use "C:\Program Files". I use "C:\aviation_sims" for the installation 2. Install Atlas using the same directory as in step 1 3. Using the directory in step 1, place your map files inside the "C:\aviation_sims\FlightGear\scenery" directory. For example: You've downloaded "W100N90.tar.gz" from the USGS download site at http://edcdaac.usgs.gov/gtopo30/gtopo30.asp Don't expand the map file, just place it in the scenery directory shown above. 4. Copy the script below the cut line to any directory you want. Call it "make_maps.bat". Start a "cmd" session and run the script. You should see your map images inside the C:\aviation_sim\FlightGear\data\Atlas directory I plan to make a complimentary script for the Atlas command also. George: if there's anything we can do to collaborate on your FlightGearTool package, let me know. Ed Baker ======================== CUT LINE ============================== rem make flightgear atlas maps echo off echo Remember: DO NOT INSTALL FLIGHTGEAR INTO A DIRECTORY WITH SPACES IN THE NAME echo DO NOT USE THE DEFAULT "Program Files" echo USE SOMETHING LIKE "C:\aviation_sim" INSTEAD set fg_base=c:\aviation_sim\FlightGear set fg_scenery=%fg_base%\scenery set fg_atlas=%fg_base%\data\Atlas set fg_bin=%fg_base%\bin\Win32 set fg_map=%fg_bin%\Map.exe set fg_data=%fg_base%\data set fg_scenery=%fg_base%\scenery set fg_palette=%fg_base%\data\AtlasPalette echo "================================================" echo Environmental Variables echo fg_base = %fg_base% echo fg_scenery = %fg_scenery% echo fg_atlas = %fg_atlas% echo fg_bin = %fg_bin% echo fg_map = %fg_map% echo fg_data = %fg_data% echo fg_scenery = %fg_scenery% echo fg_palette = %fg_palette% echo "================================================" rem construct maps command echo "Starting" echo on %fg_map% --atlas=%fg_atlas% --fg-root=%fg_data% --fg-scenery=%fg_scenery% --palette=%fg_palette% --size=512 rem Tack on the --verbose switch to see all Warnings if you want rem Tack on the --headless switch if to disable the PopUp map progress windows echo "Finished" _______________________________________________ Flightgear-users mailing list [email protected] http://mail.flightgear.org/mailman/listinfo/flightgear-users 2f585eeea02e2c79d7b1d8c4963bae2d
