Getting the FreeSpace2: SCP Source Code: Difference between revisions

ARSPR (talk | contribs)
No edit summary
 
(14 intermediate revisions by 5 users not shown)
Line 1: Line 1:
'''IMPORTANT NOTES:'''
{{Note| In April 2015, the SCP team transitioned the source code repository from SVN-based to GitHub-based (Git).}}
 
On March 2008, the SCP team has changed the repository server from CVS based to SVN based.
 
Some terms have also changed with the new repository server:
*'''The stable branch''' (old CVS) is now called '''Trunk''' (new SVN).
*'''HEAD revision''' (new SVN) is latest version. Do not confuse it with '''the unstable branch''', also called '''HEAD branch''', in old CVS.
 




==Windows==
==Windows==


''Ported from karajorma's [http://www.hard-light.net/forums/index.php/topic,52845.0.html thread] 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://tortoisesvn.tigris.org/ Tortoise SVN 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 probably 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 SVN Checkout from the list.
::''<font color=red>A image from the forum is needed here</font>''
*An new window will open up. Cut and paste this into the URL of repository box:<br>'''svn://svn.icculus.org/fs2open/trunk/fs2_open'''
*By default the HEAD revision will be selected. You probably don't want to change this. Your screen should now look like this:
::''<font color=red>Another image from the forum is needed here</font>''
*Press OK to begin downloading from the repository.


It's pretty easy. It 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 ==
'''<font color=red>THIS PART IS OBSOLETE. SVN IS THE NEW SERVER RATHER THAN CVS. AN UPDATE IS NEEDED </FONT>




into your console, type the following :
cvs -z 3 -d :pserver:anonymous@warpcore.org:/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:anonymous@warpcore.org:/home/fs2source/cvsroot co fs2_open
If you want the stable branche instead, use the -r option for tags :
cvs -z 3 -d :pserver:anonymous@warpcore.org:/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.