Difference between revisions of "Getting the FreeSpace2: SCP Source Code"

From FreeSpace Wiki
Jump to: navigation, search
(Unixes)
(Windows)
 
(15 intermediate revisions by 6 users not shown)
Line 1: Line 1:
 +
{{Note| In April 2015, the SCP team transitioned the source code repository from SVN-based to GitHub-based (Git).}}
 +
 +
 
==Windows==
 
==Windows==
  
''Ported from karajorma's post [http://www.hard-light.net/forums/index.php/topic,41234.msg842224.html#msg842224 here] on the [http://www.hard-light.net/forums/index.php HLP Forums].''
+
Documentation is available on [[Guide_to_FS_Open_and_git|this page]] under the section [[Guide_to_FS_Open_and_git#Getting_the_source:_Tortoise_Git|Getting the Source]]
  
Here's how you set things up
+
== Mac ==
  
*Go to the [http://www.tortoisecvs.org/ Tortoise CVS homepage] and download the latest version
+
Please see the [[Mac_Development_Guide#Getting_the_Freespace_2_Open_SCP_source_code|Mac Development Guide]].
*Install it. You'll have to restart your PC afterwards*
 
*Make a new folder on your HD where you'd like to install the code. You'll need a fair bit of space for the code + the intermediate files when building it. Press right mouse and choose CVS Checkout from the list.
 
[[Image:FS2_SCP_CVS_Installing1.jpg]]
 
*An new window will open up. Cut and paste this into the CVSROOT: textbox :pserver:[email protected]:/home/fs2source/cvsroot
 
*In the module option at the bottom type fs2_open (exactly as shown. Do not use capitals) Your screen should now look like this
 
[[Image:FS2_SCP_CVS_Installing2.jpg]]
 
*If you want to checkout the current stable branch rather than the development branch (Since you don't have write access you probably should go with the stable build so that that more of the bugs you encounter are your own fault) you should click on the revision tab
 
*''Click on the "Choose Branch or Tag" option. Press the Update List button. TortoiseCVS will then connect to the server and get a list of revisions''
 
*''If you set up things correctly on the Module tab, you will be prompted for a password. The password for anoymous access is anonymous.''
 
*''In the "Branch or Tag Name" dropdown you can now see a list of branches that CVS contains. fs2_open_3_6_9 is the one you want''
 
*''Your screen should now look like this''
 
[[Image:FS2_SCP_CVS_Installing3.jpg]]
 
*Press OK to begin downloading from the repository. If not previously asked for a password you will be asked now. The password for anonymous access is anonymous.
 
  
It's pretty easy. Shouldn't take you more than a minute or two to do once you've installed Tortoise.
+
== Unixes ==
 +
 
 +
Please see the [[Guide_to_FS_Open_on_Linux|Linux Development Guide]].
  
== Unixes ==
 
  
into your console, type the following :
 
cvs -z 3 -d :pserver:[email protected]:/home/fs2source/cvsroot login
 
  
When prompted for a password, type : "anonymous" .
+
[[Category:Source Code Project]]
Then, if you want the latest sources :
 
cvs -z 3 -d :pserver:[email protected]:/home/fs2source/cvsroot co fs2_open
 
If you want the stable branche instead, use the -r option for tags :
 
cvs -z 3 -d :pserver:[email protected]:/home/fs2source/cvsroot co -r fs2_open_3_6_9 fs2_open
 

Latest revision as of 22:59, 23 May 2015

Note: In April 2015, the SCP team transitioned the source code repository from SVN-based to GitHub-based (Git).


Windows

Documentation is available on this page under the section Getting the Source

Mac

Please see the Mac Development Guide.

Unixes

Please see the Linux Development Guide.