Difference between revisions of "HowTo:Checkout CVS"
m (um.. comma.) |
(→Usage) |
||
Line 125: | Line 125: | ||
# Start gCvs; | # Start gCvs; | ||
# Go to Preferences in the Admin menu; | # Go to Preferences in the Admin menu; | ||
+ | # In the General tab, type anonymous@cvs.sourceforge.net:/cvsroot/vegastrike | ||
# Set CVSROOT to be the same as the one below. (or else the menus will be grayed out and you can't do anything); | # Set CVSROOT to be the same as the one below. (or else the menus will be grayed out and you can't do anything); | ||
− | # Go to '''Checkout Module''' in one of the menus and fill out the boxes appropriately. Set the compression level to 9 where possible (compression is one of the new features, so it may not be there); | + | # Click the button '''Password "pserver"'''; |
+ | # Click OK; | ||
+ | # The log window should show NEW CVSROOT: anonymous@cvs.sourceforge.net:/cvsroot/vegastrike (password authentication); | ||
+ | # Press Enter; | ||
+ | # Go to '''Create->Checkout Module''' in one of the menus and fill out the boxes appropriately. Set the compression level to 9 where possible (compression is one of the new features, so it may not be there); | ||
+ | # Click on OK; | ||
+ | # Checkout Settings box - in the main field, first tab enter the name of module you wish to checkout; | ||
# Type your password if needed; | # Type your password if needed; | ||
# Open up a shell and type: | # Open up a shell and type: |
Revision as of 13:38, 21 March 2005
none | HowTo | none |
So you want to see what all the fuss is about, with people on the forums talking about some 'CVS' version of Vega Strike? Well, you've come to the right place. Or if you already know what CVS is, but want to know how to get involved in the developmental side of Vega Strike, this document will also help you on your way.
Contents
What is CVS?
CVS is an acronym for Concurrent Versions System. Basically, it allows many people to access a program's sourcecode on a remote server location. Anyone granted access to the source can download, run, alter and upload the sourcecode.
So what's it mean for Vega Strike? With the right tool to access CVS, you can access the data files for the latest developmental version of the game, download and play it. You can download the latest sourcecode of the game files themselves, and compile the game from scratch - that is, making an absolute cutting edge version of Vega Strike to run on your computer.
So why don't we all do this? Because the CVS version is the developmental version of the game. Any and all bugs, problems, hassles and destructive input is included. CVS may well not work, or not work very well. The advantage, though, is it gives you a view at what the developers are currently working on - so you know what they're talking about in the forums.
If you don't want to risk having an 'unstable' version of the game on your system, likely crashing itself or your computer, only download the stable 'release' versions of the game, accessed from the files locations off the homepage. But with delays between releases, sometimes its nice to see what's under the hood of the next release...
Modules
Please follow the directions on this page pertaining to your Operating System to obtain copies of the various modules (components) that make up the developmental version of Vega Strike.
These modules are (name as per CVS repository):
- data4.x - Contains all gamedata required for Vega Strike. Also contains an unstable build of the Vega Strike engine and other associated program files.
- music - The Music of Vega Strike is located separately.
- vegastrike - The sourcecode to build your own copy of the Vega Strike engine.
- vssetup - GUI program to modify vegastrike.config file (See Manual Configuration)
- vega-vc7 - Contains the project files needed to get Vega Strike to compile in Microsoft Visual C++ 7.
- vega-proj - Contains the project files needed to get Vega Strike to compile in Microsoft Visual C++ 6.
- (other modules to be listed)
Windows Clients
Tortoise CVS
Website
Description
TortoiseCVS lets you work with files under CVS version control directly from Windows Explorer. It's freely available under the GPL.
With TortoiseCVS you can directly check out modules, update, commit and see differences by right clicking on files and folders within Explorer. You can see the state of a file with overlays on top of the normal icons within Explorer. It even works from within the file open dialog.
We seriously recommend that you review the website and program information to obtain some familiarity with Tortoise CVS.
Usage
Please be aware that the initial checkout of a module requires the download of ALL files within that module, which could easily be several hundred Mb plus. It must also obtain all the CVS registry details for those files, adding additional download time to the initial checkout. Later, when updating information, it only downloads those files that your CVS registry notes as having been changed from your copy.
- Download and Install Tortoise CVS;
- Create a new folder in Windows Manager where you will download your modules (called Sandbox, CVS or similar working location name);
- Within that folder, create another folder being the name of module you wish to checkout e.g. data4.x, music, vegastrike etc;
- Right click on the folder created and select CVS Checkout. This brings up the checkout configuration screen;
- Input the configuration information below into the screen;
- Click OK to begin checkout of the module.
The CVSRoot line should look as follows:
:pserver:anonymous@cvs.sourceforge.net:/cvsroot/vegastrike
Once you have the module, create a new directory elsewhere to copy everything to. This new directory becomes your playing directory. Leave the original directory AS IS. The original will become your source for updating to new CVS data - it is very important that you do not modify anything in the original directory.
The above only checks out the latest 'unstable' version of the data and binaries for playing, and is dependant on the generosity of developers to continually upload a latest version of the binaries (.exes). If you want the latest binaries, you need to check out the other modules (.vegastrike etc) and compile them yourself - see other HowTos on how to do this.
To Update the information for a module:
- Right click on your working folder;
- Select CVS Update;
- The program will examine the repository for any changes to the files you have, and only download those altered files. It does not pick up changes where you have modified your local copy - hence the reason why you make a copy for playing;
- Recopy the directory to your play location.
Configuration
The following information should be input into the Graphical User Interface (GUI):
- Protocol: Password server (:pserver)
- Server: cvs.sourceforge.net
- Port: <leave blank>
- Repository Folder: /cvsroot/vegastrike
- Username: anonymous
- Module: <enter name of module as per Checkout CVS Vegastrike above.> E.g. data4.x
Cygwin CVS
Website
- Get cygwin setup.exe from www.cygwin.com;
- Start the setup.exe and install the default cygwin data. (Don't know for sure, but check if the cvs-package is selected);
Usage
- Launch the cygwin shell;
- Follow the CVS instructions on sourceforge as if you were under Linux.
NOTE: you may get the message "[update aborted]: end of file from server (consult above messages if any)" when trying to checkout/update the data. Just retry the procedure a few times.
Linux Clients
LinCVS
I Ace123 have had troubles with this program because it seems to crash a lot for me. I use gCvs by the same people who make wincvs.
Website
- get LinCVS from its homepage (just select the non-linux newest release on the left)-> static binaries -> lincvs-1.x.x-x-Win32-static_bin.zip
- if you need the cvs.exe go here
Usage
- Download and Install LinCVS
- Start LinCVS
- Open Options->Profiles
- Enter the following data (examples):
- Name:VS
- User:anonymous
- CVS Server: cvs.sourceforge.net
- container: /cvsroot/vegastrike
- access: password
- Choose ADD and OK
- Open Project->Checkout
- Enter the following data (examples):
- Profile: Select your Vegastrike Profile (ie "VS")
- Checkout To: select your vegastrike working directory (e.g. c:\cygwin\home\yourusername)
- CVS Module: <enter name of module as per Checkout CVS Vegastrike above.> E.g. data4.x, vegastrike etc;
- Checkout As: whichever module selected;
- choose OK.
To Update your CVS-data:
- Select your project
- Open directory->update
gCvs 1.0
I think CVS is installed by default on most linux systems.
Website
get gCvs at http://cvsgui.sourceforge.net/
You might need GTK (probably have it if you have gnome) and Tcl (Yuck)
Usage
- Start gCvs;
- Go to Preferences in the Admin menu;
- In the General tab, type anonymous@cvs.sourceforge.net:/cvsroot/vegastrike
- Set CVSROOT to be the same as the one below. (or else the menus will be grayed out and you can't do anything);
- Click the button Password "pserver";
- Click OK;
- The log window should show NEW CVSROOT: anonymous@cvs.sourceforge.net:/cvsroot/vegastrike (password authentication);
- Press Enter;
- Go to Create->Checkout Module in one of the menus and fill out the boxes appropriately. Set the compression level to 9 where possible (compression is one of the new features, so it may not be there);
- Click on OK;
- Checkout Settings box - in the main field, first tab enter the name of module you wish to checkout;
- Type your password if needed;
- Open up a shell and type:
cd vegastrike; ./configure <SEE HowTo:Compile from Cvs FOR DETAILS>; make
Repeat process to checkout the data4.x module
commandline CVS usage
For sourceforge users:
export CVSROOT=:ext:USERNAME@cvs.sourceforge.net:/cvsroot/vegastrike
For anonymous users who want 1-day old and unreliable cvs access (it is on the backup server, but we have no choice until sourceforge decides to make pserver reliable again.):
export CVSROOT=:pserver:anonymous@cvs.sourceforge.net:/cvsroot/vegastrike
run these commands:
- mkdir vegastrike
- cd vegastrike
- cvs login
- cvs -z9 co vegastrike
- cvs -z9 co data4.x #(only if you want to play the game)
- cvs -z9 co vssetup #(only if you want setup)
Mac Clients
none | HowTo | none |