TerraSync by hand using SVN: Difference between revisions

rewrite to tutorial style (we instead of you) and fix command line instructions
(minor grammar fix and capitalize SVN...)
(rewrite to tutorial style (we instead of you) and fix command line instructions)
 
Line 3: Line 3:
If you want to manually download FlightGear World Scenery 2.0 from the TerraSync repository, you can do so by using the command line subversion client.
If you want to manually download FlightGear World Scenery 2.0 from the TerraSync repository, you can do so by using the command line subversion client.


First of all you have to make the directory where you want to store the scenery and change into it. Then set up the local SVN repository and download the Airports and Models
First of all we have to make the directory where you want to store the scenery and change into it. Then set up the local SVN repository to hold everything. To do this we need to check the URL you need to use. We'll grab that information from the FlightGear scenery server, pull the URL out of it and use that URL in the SVN command line to set up the base storage area. Once that is finished we can download the Airports and Models directories. To complete this task, we will set up the Objects and Terrain directories to hold that scenery data as you request it.


  <nowiki>
  <nowiki>
mkdir /path/to/store/the/Scenery
mkdir /path/to/store/the/Scenery
cd /path/to/store/the/Scenery
cd /path/to/store/the/Scenery
svn checkout --non-recursive http://ns334561.ip-5-196-65.eu:8888/trunk/data/Scenery/ .  [NOTE: make sure you get the trailing dot!]
wget http://scenery.flightgear.org/svn-server -O svn-server
cat svn-server
svn checkout --non-recursive {the full URL from the above line's output} .  [NOTE: make sure you get/use the trailing dot!]
svn update Airports
svn update Airports
svn update Models
svn update Models
Line 14: Line 16:
svn update --non-recursive Terrain</nowiki>
svn update --non-recursive Terrain</nowiki>


Finally you can get parts of the scenery using these commands:
To get parts of the scenery, use commands like these. The directory "e000n40" in the SVN lines is a 10x10 degree tile of the world.
  <nowiki>
  <nowiki>
cd /path/to/store/the/Scenery
svn update Objects/e000n40
svn update Objects/e000n40
svn update Terrain/e000n40</nowiki>
svn update Terrain/e000n40</nowiki>


The main thing is to be in the directory you created when you use these commands.
The main thing to remember is to be in the directory you created when you use these commands.


Once you have what you want, you can easily update it at any time by using the following commands:
Once you have the scenery you want to use, you can easily update it at any time by using the following commands:
  <nowiki>
  <nowiki>
cd /path/to/store/the/Scenery
cd /path/to/store/the/Scenery
185

edits