<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
		<id>https://wiki.vega-strike.org/mediawiki/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Al+pozzo</id>
		<title>VsWiki - User contributions [en]</title>
		<link rel="self" type="application/atom+xml" href="https://wiki.vega-strike.org/mediawiki/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Al+pozzo"/>
		<link rel="alternate" type="text/html" href="https://wiki.vega-strike.org/Special:Contributions/Al_pozzo"/>
		<updated>2026-05-13T14:48:45Z</updated>
		<subtitle>User contributions</subtitle>
		<generator>MediaWiki 1.30.2</generator>

	<entry>
		<id>https://wiki.vega-strike.org/mediawiki/index.php?title=HowTo:Checkout_SVN_(Ubuntu_Linux)&amp;diff=17453</id>
		<title>HowTo:Checkout SVN (Ubuntu Linux)</title>
		<link rel="alternate" type="text/html" href="https://wiki.vega-strike.org/mediawiki/index.php?title=HowTo:Checkout_SVN_(Ubuntu_Linux)&amp;diff=17453"/>
				<updated>2010-04-21T10:26:51Z</updated>
		
		<summary type="html">&lt;p&gt;Al pozzo: /* Building/Compiling */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{NAV_Manual |&lt;br /&gt;
| previous=[[HowTo:Checkout SVN|Checkout SVN]]&lt;br /&gt;
| up=[[HowTos]]&lt;br /&gt;
| next=[[HowTo:VCPP Compiling|Compiling with VCPP]]&lt;br /&gt;
}}&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
[[category:fixme]]&lt;br /&gt;
This is a newb friendly guide to help people who do not want to learn ''deep'' specifics and terms. Most of this guide will show you copy-paste lines to paste in Terminal, omitting most technical issues. However, you might want to take a look at what SVN is to have a general understanding of this version. If you follow steps correctly, VS should be able to run. ''If you have problems compiling in Ubuntu, post a new thread in the [http://vegastrike.sourceforge.net/forums/viewforum.php?f=5|VS Forums]. Someone will be able to help you.''&lt;br /&gt;
Note: This process was done in Ubuntu 8.10 (Intrepid), though it might work in Debian as well. Should be able to work in the Ubuntu derivatives, too.&lt;br /&gt;
&lt;br /&gt;
= Tutorial to Download, Compile, Setup and Run Vega Strike =&lt;br /&gt;
== Downloading Vega Strike ==&lt;br /&gt;
=== Installing SVN ===&lt;br /&gt;
The first step is to install '''S'''ub'''V'''ersio'''N'''. In Ubuntu (and Debian, I guess) it is easy to install Subversion just by using the Synaptic Package Manager (''Adept'' for Kubuntu). Goto System&amp;gt;Administration&amp;gt;Synaptic Package Manager. In the quick search box, type &amp;quot;subversion&amp;quot; without quotation marks. Select the first option and mark for installation. A window will appear that will show &amp;quot;Mark additional required changes?&amp;quot;. Click on &amp;quot;Mark&amp;quot;. After that, click on &amp;quot;Apply&amp;quot;. Every step involving the command &amp;quot;svn&amp;quot;, will be using subversion.&lt;br /&gt;
&lt;br /&gt;
=== Preparing Vega Strike ===&lt;br /&gt;
First of all, you must understand some basic knowledge. The first thing to do is to download the most important modules, which are the basic structure of VS. Basically, this is the game. You must download these in order to play VS. The modules are the ''data'' and ''vegastrike'' modules.&lt;br /&gt;
&lt;br /&gt;
* First create a directory where you would like your copy of the Vega Strike development version to live in. For tutorial purposes, we will create a directory called ''VegaStrike'' in our user's home-directory.&lt;br /&gt;
&amp;lt;pre&amp;gt;User@UserMachine:~$ mkdir VegaStrike&amp;lt;/pre&amp;gt;&lt;br /&gt;
* Change into this newly created directory. In our case:&lt;br /&gt;
&amp;lt;pre&amp;gt;User@UserMachine:~$ cd VegaStrike&amp;lt;/pre&amp;gt;&lt;br /&gt;
Note for newbs: The directory '''is case sensitive'''. If you type: cd vegastrike or Vegastrike, it won't find the directory. Also, do not copy and paste &amp;quot;User@UserMachine:~$&amp;quot;, or &amp;quot;User@UserMachine:~/VegaStrike/vegastrike$&amp;quot;, or &amp;quot;User@UserMachine:~/VegaStrike/data$&amp;quot;, or anything between &amp;quot;User@UserMachine:~&amp;quot; and the &amp;quot;$&amp;quot; letter. You know what I mean.&lt;br /&gt;
&lt;br /&gt;
=== Downloading Vega Strike ===&lt;br /&gt;
Now we can start downloading the packages from the SVN repository. If you download them directly into your Vega Strike directory they will be just in the right place.&lt;br /&gt;
* Download (check-out) the source code package vegastrike, and the content package data package.&lt;br /&gt;
&amp;lt;pre&amp;gt;User@UserMachine:~/VegaStrike$ svn co https://vegastrike.svn.sourceforge.net/svnroot/vegastrike/trunk/vegastrike&lt;br /&gt;
&amp;lt;/pre&amp;gt; &lt;br /&gt;
* After the first one finishes downloading (User@UserMachine:~/VegaStrike$ will reappear), insert the next. Be warned, you need a descent download speed to download the next package with this method.&lt;br /&gt;
&amp;lt;pre&amp;gt;User@UserMachine:~/VegaStrike$ svn co https://vegastrike.svn.sourceforge.net/svnroot/vegastrike/trunk/data&amp;lt;/pre&amp;gt;&lt;br /&gt;
This leaves you with two new directories inside your Vega Strike directory called as the packages are.&lt;br /&gt;
&lt;br /&gt;
==== Boost Revisions ====&lt;br /&gt;
I must confess not even I understand this, but it ''must'' be done. &lt;br /&gt;
* Just paste this code to update to revision 1.35.&lt;br /&gt;
&amp;lt;pre&amp;gt;svn update vegastrike/boost/1_35&amp;lt;/pre&amp;gt;&lt;br /&gt;
Configuring this boost revision is easy, but it will be explained in the configure section, so don't worry for now.&lt;br /&gt;
&lt;br /&gt;
== Building/Compiling ==&lt;br /&gt;
You might not understand what compiling is, but it is not that important. What ''is'' important is that you do it. Its really not that complicated, so here it goes.&lt;br /&gt;
* First of all, we have to make sure we have certain minimun requirements. I could list you a dozen ''1337'' terms, but you don't certainly need to know them. We'll just make sure to have them all by inserting this into Terminal (copy and paste entire code into Terminal).&lt;br /&gt;
&amp;lt;pre&amp;gt;sudo apt-get install libpng12-0 libpng12-dev python2.5-dev libexpat1-dev     \&lt;br /&gt;
        libjpeg62-dev glutg3-dev libopenal-dev libgtk2.0-dev libogg-dev libvorbis-dev \&lt;br /&gt;
        build-essential libgl1-mesa-dev automake autoconf libsdl1.2-dev&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
''Note that you may need python2.6-dev instead of python2.5-dev on recent distributions''&lt;br /&gt;
&lt;br /&gt;
=== Compiling ===&lt;br /&gt;
The compile procedure should look like the following listing. Remember, the configure part depends on above requirements. However, autoconf may not work. If so, just skip it.&lt;br /&gt;
&lt;br /&gt;
* Change directory.&lt;br /&gt;
&amp;lt;pre&amp;gt;cd ./vegastrike&amp;lt;/pre&amp;gt;&lt;br /&gt;
* Pre-Compile.&lt;br /&gt;
&amp;lt;pre&amp;gt;./bootstrap-sh&amp;lt;/pre&amp;gt;&lt;br /&gt;
* Some configuration to be made.&lt;br /&gt;
&amp;lt;pre&amp;gt;./configure --enable-flags='-O3 -g'  # or --enable-debug to disable optimization.  -ffast-math will cause problems in code that checks for infinities.&amp;lt;/pre&amp;gt;&lt;br /&gt;
* Compile.&lt;br /&gt;
&amp;lt;pre&amp;gt;make&amp;lt;/pre&amp;gt;&lt;br /&gt;
* Install.&lt;br /&gt;
&amp;lt;pre&amp;gt;sudo make install # [AS ROOT]&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Configuring Installation ====&lt;br /&gt;
We need to make sure the data directory is *recognized*. For tutorial purposes, we will use the directory where we downloaded first in this tutorial.&lt;br /&gt;
* Open text editor (Applications&amp;gt;Accesories&amp;gt;Text Editor), copy and paste the following code in text editor, change the USER in caps to the name of your user, and then paste in Terminal.&lt;br /&gt;
&amp;lt;pre&amp;gt;./configure --with-data-dir=/home/USER/VegaStrike&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* We need to configure Boost revision. Simply copy and paste code. This time, we will configure version 1.35.&lt;br /&gt;
&amp;lt;pre&amp;gt;./configure --with-boost=1.35&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Make ===&lt;br /&gt;
The final step compiling is the command make.&lt;br /&gt;
* For ''example'', to compile the mesher.&lt;br /&gt;
&amp;lt;pre&amp;gt;make mesher&amp;lt;/pre&amp;gt;&lt;br /&gt;
*You ''probably'' want to compile everything, so simply paste:&lt;br /&gt;
&amp;lt;pre&amp;gt;make all&amp;lt;/pre&amp;gt;&lt;br /&gt;
*To use less memory usage while compiling use the following command. It is the same as the above command, except it will run only one instance instead of two in order to use less memory.&lt;br /&gt;
&amp;lt;pre&amp;gt;make all-am&amp;lt;/pre&amp;gt;&lt;br /&gt;
*The next step is optional, but recommended.&lt;br /&gt;
&amp;lt;pre&amp;gt;sudo make install&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
You might receive errors while doing any of the previous steps (make). If so, give privileges (sudo) before any of the commands.&lt;br /&gt;
&lt;br /&gt;
== Setup ==&lt;br /&gt;
The next step is to setup the game. This is quite easy to do, so you are almost done.&lt;br /&gt;
&lt;br /&gt;
=== vegastrike and vssetup ===&lt;br /&gt;
To run Vega Strike, the built executables need all the configuration and data files to be in the right place relative to them. Currently, the executables (''vegastrike'' and ''vssetup'') reside in the source code directory. But they can be run out of the ''data'' directory. Therefore, we will create a link.&lt;br /&gt;
* Change in to the ''data'' directory. (We are still in the source code directory ''vegastrike''.)&lt;br /&gt;
&amp;lt;pre&amp;gt;User@UserMachine:~/VegaStrike/vegastrike$ cd ../data&amp;lt;/pre&amp;gt;&lt;br /&gt;
* Create symbolic links to the executables in the source code directory.&lt;br /&gt;
&amp;lt;pre&amp;gt;User@UserMachine:~/VegaStrike/data$ ln -s ../vegastrike/vegastrike vegastrike&lt;br /&gt;
User@UserMachine:~/VegaStrike/data$ ln -s ../vegastrike/vssetup vssetup&amp;lt;/pre&amp;gt;&lt;br /&gt;
* After that, you must run &amp;quot;'''./vssetup'''&amp;quot; inside the '''data''' folder, or any folder which has the correct '''setup.config''' and '''vegastrike.config'''.&lt;br /&gt;
If we had made copies or moved the files instead of symbolic linking, we would have to do the procedure of copying or moving every time we build the executables from source.&lt;br /&gt;
&lt;br /&gt;
*Optionally, you can right-click the vegastrike link and make yet another link. This link can be moved over to the desktop or menu.&lt;br /&gt;
&lt;br /&gt;
==== Optional High Quality Texture Files ====&lt;br /&gt;
*You can optionally install high quality texture files. You would place this folder next to the data folder (not ''inside''). So if data is in /home/USER/VegaStrike You would: &lt;br /&gt;
&amp;lt;pre&amp;gt;sudo svn co https://vegastrike.svn.sourceforge.net/svnroot/vegastrike/trunk/hqtextures /home/USER/VegaStrike/hqtextures&amp;lt;/pre&amp;gt;&lt;br /&gt;
As always, replace USER with your user name. (Open text editor, paste above code, change USER for your user name, copy that code and paste in Terminal).&lt;br /&gt;
&lt;br /&gt;
*After downloading these high quality texture files, go to your home folder (using GUI, not terminal), then to VegaStrike, then to data, and open ''vegastrike.config''. Then, using the ''find'' button, type &amp;quot;'''hq'''&amp;quot; (without quotations). Text editor will automatically find the string containing the configuration to enable HQ Textures. Just replace the following string&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;!-- var name=&amp;quot;hqtextures&amp;quot; value=&amp;quot;hqtextures&amp;quot; --&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
for this one&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;var name=&amp;quot;hqtextures&amp;quot; value=&amp;quot;hqtextures&amp;quot;/&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
* After this, close Terminal.&lt;br /&gt;
&lt;br /&gt;
=== Staying updated with the Development Version ===&lt;br /&gt;
As development progresses the repository changes. In order to update your working copy you need to do the following.&lt;br /&gt;
* Open Terminal and change into the package's directory you want to update. In our tutorial example, all the packages were stored in a directory called ''VegaStrike''. Let's assume we want to update the ''data'' package.&lt;br /&gt;
&amp;lt;pre&amp;gt;User@UserMachine:~$ cd VegaStrike/data&amp;lt;/pre&amp;gt;&lt;br /&gt;
* After changing into the package's directory, update the SVN repository.&lt;br /&gt;
&amp;lt;pre&amp;gt;User@UserMachine:~/VegaStrike/data$ svn update&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* To update the ''vegastrike'' package, simply return to the ''VegaStrike'' directory, then change to the ''vegastrike'' directory and update.&lt;br /&gt;
&amp;lt;pre&amp;gt;User@UserMachine:~/VegaStrike/data$ cd ..&amp;lt;/pre&amp;gt;&lt;br /&gt;
then&lt;br /&gt;
&amp;lt;pre&amp;gt;User@UserMachine:~/VegaStrike$ cd vegastrike&amp;lt;/pre&amp;gt;&lt;br /&gt;
finally&lt;br /&gt;
&amp;lt;pre&amp;gt;User@UserMachine:~/VegaStrike/vegastrike$ svn update&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* Do this for every package you want to update.&lt;br /&gt;
* If something changed in the data package, you don't need to recompile.&lt;br /&gt;
* If something changed in the source code package vegastrike, you only need to repeat the building part of this tutorial. You should not need to type &amp;quot;make clean&amp;quot;, however if you experience errors like &amp;quot;unresolved external symbol&amp;quot; it may remedy that error.&lt;br /&gt;
&lt;br /&gt;
== Running Vega Strike ==&lt;br /&gt;
Very simple. Just goto the directory ''data'' and type ./vegastrike or simply double click the symbolic link. Same for ./vssetup.&lt;br /&gt;
&lt;br /&gt;
== Extra Info ==&lt;br /&gt;
If you have trouble with compiz, try [http://forlong.blogage.de/entries/pages/Compiz-Switch this application] to temporarily disable compiz. Then, launch the game normally. The game will be much faster with compiz disabled, too.&lt;/div&gt;</summary>
		<author><name>Al pozzo</name></author>	</entry>

	<entry>
		<id>https://wiki.vega-strike.org/mediawiki/index.php?title=Talk:HowTo:Checkout_SVN_(Ubuntu_Linux)&amp;diff=17452</id>
		<title>Talk:HowTo:Checkout SVN (Ubuntu Linux)</title>
		<link rel="alternate" type="text/html" href="https://wiki.vega-strike.org/mediawiki/index.php?title=Talk:HowTo:Checkout_SVN_(Ubuntu_Linux)&amp;diff=17452"/>
				<updated>2010-04-21T10:23:30Z</updated>
		
		<summary type="html">&lt;p&gt;Al pozzo: /* Dependencies errors */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;I created this page :D It still under construction (31/01/09)&lt;br /&gt;
&lt;br /&gt;
--[[User:Mc707|Mc707]] 15:58, 31 January 2009 (UTC)&lt;br /&gt;
&lt;br /&gt;
== Done ==&lt;br /&gt;
&lt;br /&gt;
OK! Im done with this page. Hope it helps somebody! Special thanks to my brother who helped me beta-test this tutorial. It worked in his system, so it should hopefully work in everybody elses'.&lt;br /&gt;
&lt;br /&gt;
--[[User:Mc707|Mc707]] 19:10, 31 January 2009 (UTC)&lt;br /&gt;
&lt;br /&gt;
== Dependencies errors ==&lt;br /&gt;
&lt;br /&gt;
I just used this tutorial to compile VS quickly, but the dependencies installed with apt-get didn't fit :&lt;br /&gt;
python2.5-dev doesn't exist anymore on the lucid version (10.04), but python2.6-dev instead seems to work well. Moreover, the SDL dev package is not in this list, whereas it is required for the joystick control (warning during ./configure), and at linking time, there is an undefined reference to winsys_init. So I installed libsdl1.2-dev, reconfigured, and eventually VS were compiled.&lt;br /&gt;
I made the changes in the page, tell me if I'm going wrong.&lt;br /&gt;
&lt;br /&gt;
-- Al Pozzo&lt;/div&gt;</summary>
		<author><name>Al pozzo</name></author>	</entry>

	<entry>
		<id>https://wiki.vega-strike.org/mediawiki/index.php?title=Talk:HowTo:Checkout_SVN_(Ubuntu_Linux)&amp;diff=17451</id>
		<title>Talk:HowTo:Checkout SVN (Ubuntu Linux)</title>
		<link rel="alternate" type="text/html" href="https://wiki.vega-strike.org/mediawiki/index.php?title=Talk:HowTo:Checkout_SVN_(Ubuntu_Linux)&amp;diff=17451"/>
				<updated>2010-04-21T10:23:09Z</updated>
		
		<summary type="html">&lt;p&gt;Al pozzo: /* Dependencies errors */ new section&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;I created this page :D It still under construction (31/01/09)&lt;br /&gt;
&lt;br /&gt;
--[[User:Mc707|Mc707]] 15:58, 31 January 2009 (UTC)&lt;br /&gt;
&lt;br /&gt;
== Done ==&lt;br /&gt;
&lt;br /&gt;
OK! Im done with this page. Hope it helps somebody! Special thanks to my brother who helped me beta-test this tutorial. It worked in his system, so it should hopefully work in everybody elses'.&lt;br /&gt;
&lt;br /&gt;
--[[User:Mc707|Mc707]] 19:10, 31 January 2009 (UTC)&lt;br /&gt;
&lt;br /&gt;
== Dependencies errors ==&lt;br /&gt;
&lt;br /&gt;
I just used this tutorial to compile VS quickly, but the dependencies installed with apt-get didn't fit :&lt;br /&gt;
python2.5-dev doesn't exist anymore on the lucid version (10.04), but python2.6-dev instead seems to work well. Moreover, the SDL dev package is not in this list, whereas it is required for the joystick control (warning during ./configure), and at linking time, there is an undefined reference to winsys_init. So I installed libsdl1.2-dev, reconfigured, and eventually VS were compiled.&lt;br /&gt;
I made the changes in the page, tell me if I'm going wrong.&lt;/div&gt;</summary>
		<author><name>Al pozzo</name></author>	</entry>

	</feed>