<?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=Rubikcube</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=Rubikcube"/>
		<link rel="alternate" type="text/html" href="https://wiki.vega-strike.org/Special:Contributions/Rubikcube"/>
		<updated>2026-05-13T14:06:29Z</updated>
		<subtitle>User contributions</subtitle>
		<generator>MediaWiki 1.30.2</generator>

	<entry>
		<id>https://wiki.vega-strike.org/mediawiki/index.php?title=HowTos&amp;diff=17333</id>
		<title>HowTos</title>
		<link rel="alternate" type="text/html" href="https://wiki.vega-strike.org/mediawiki/index.php?title=HowTos&amp;diff=17333"/>
				<updated>2009-12-20T14:52:13Z</updated>
		
		<summary type="html">&lt;p&gt;Rubikcube: /* Compile the Vega Strike sourcecode */ changed wording&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Languages|En|HowTos}}&lt;br /&gt;
{{Wiki_Nav_Index}}&lt;br /&gt;
__FORCETOC__&lt;br /&gt;
= Game HowTos =&lt;br /&gt;
== Modeling ==&lt;br /&gt;
''This series of How-to articles is intended to take you through the full process of creating a model and adding it to Vega Strike.''&lt;br /&gt;
* [[HowTo:Add Ships|Adding your ship to Vega Strike]] - An overview of how to create and add ships to the game&lt;br /&gt;
** [[HowTo:Create Models]] - A summary on how to create a new model for Vega Strike&lt;br /&gt;
*** [[HowTo:Model a Ship|Brad Mick's video tutorial on ship modelling]] - using Lightwave, but the concept is general: ''Rapid Prototyping''&lt;br /&gt;
*** [[HowTo:Create Ships in Wings3D|Creating a 3D-model using Wings3D]] - includes general guidance for other modeling programs&lt;br /&gt;
*** [[HowTo:Basic Blender Tutorial|A basic Blender3D tutorial]] - not specific to ships, though...&lt;br /&gt;
** [[HowTo:Smooth Groups|Understanding &amp;quot;Smooth Groups&amp;quot;]] - a Blender tutorial on splitting smooth groups...&lt;br /&gt;
** [[HowTo:Bevel|Getting bevels to look good]] - a Blender tutorial on smooth shading and beveling...&lt;br /&gt;
** [[HowTo:Weld|Smoothly Welding complex shapes]] - a Blender tutorial on smooth welding...&lt;br /&gt;
** [[HowTo:Unwrap|Unwrapping your model]] - How to UV-map your ship so it can be textured&lt;br /&gt;
*** [[HowTo:Unwrap in Blender|Using Blender to unwrap your model]] - A blender UV-mapping tutorial&lt;br /&gt;
*** [[HowTo:FullUnwrapBlender|Full ship unwrap tutorial (Blender)]] - Full ship UV unwrap, from A to Z&lt;br /&gt;
** [[HowTo:Texture|Creating your own textures]] - A summary on how to make texture maps&lt;br /&gt;
*** [[HowTo:Texture in Wings3d|Texturing your model in Wings 3d]]&lt;br /&gt;
*** [http://netzwelt.gaming-hut.de/vegatexturing/ WIP VegaStrike texturing page by Major]&lt;br /&gt;
*** [http://edice.netfirms.com/tuts/texturetut.htm Texturing tutorial by Duality]&lt;br /&gt;
*** [[HowTo:SuperrealisticTexturing|Tips for realistic-looking textures]]&lt;br /&gt;
*** [[HowTo:Make Animated Textures|Using animated textures on a model]]&lt;br /&gt;
** [[HowTo:Edit BFXM files|Editing BFXM files (format spec)]]&lt;br /&gt;
*** [[HowTo:Edit XMESH files|Editing the xmesh file of a ship]]&lt;br /&gt;
*** [[HowTo:Add LODs|Adding Levels of Detail]]&lt;br /&gt;
*** [[HowTo:Add Engine Glow|Adding an engine glow to your 3D model]]&lt;br /&gt;
*** [[HowTo:Add Per Pixel Lighting|Adding per-pixel lighting to your 3D model]]&lt;br /&gt;
** [[HowTo:Edit units.csv|Editing units.csv]]&lt;br /&gt;
*** [[HowTo:Edit Unit Files|Editing the xunit file of a ship]] - Deprecated, but can be converted easily to .csv format&lt;br /&gt;
=== Advanced Topics ===&lt;br /&gt;
* [[HowTo:Edit HUDs|Editing HUDs, placing radars, ...]]&lt;br /&gt;
* [[HowTo:Create Cockpit in Wings3d|Creating a 3D cockpit for your ship.]]&lt;br /&gt;
=== New Stuff (The Shaders Age begins...) ===&lt;br /&gt;
* [[HowTo:IntroToShaders|Introduction to shaders, and what they mean for you]] --Bumpmaps, Normalmaps, Shininess maps ...&lt;br /&gt;
&lt;br /&gt;
==Artwork ==&lt;br /&gt;
''Artwork related Howtos''&lt;br /&gt;
* [[HowTo:Radiosity baking in Blender|Radiosity baking in Blender]]&lt;br /&gt;
&lt;br /&gt;
== MODs ==&lt;br /&gt;
* [[HowTo:MOD|You want to create your own mod for VS? Start here.]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=Sourcecode HowTos =&lt;br /&gt;
== Obtain a copy of the development-version files ==&lt;br /&gt;
* [[HowTo:Checkout SVN|Checkout Vega Strike's Subversion (SVN) modules.]]&lt;br /&gt;
* [[HowTo:Checkout SVN (Ubuntu Linux)|Checkout Vega Strike's Subversion (SVN) modules in Ubuntu.]]&lt;br /&gt;
* [[HowTo:Checkout SVNMac|Checkout Vega Strike's Subversion (SVN) modules on Mac OSX.]]&lt;br /&gt;
* [[HowTo:Checkout CVS|Checkout Vegastrike CVS modules with various programs.]] - '''Deprecated'''&lt;br /&gt;
'''NOTE: Vegastrike development has moved to SVN. CVS is still theoretically accessible, but the repository is months out of date and will never be updated again. There is no reason not to use Subversion instead.'''&lt;br /&gt;
* [[Moving data4.x to data]] - We recently (on May 1, 2008) moved the data4.x repository to &amp;quot;data&amp;quot;.  This has instructions on how to update your repository without checking out everything again.&lt;br /&gt;
&lt;br /&gt;
== Compile the Vega Strike sourcecode ==&lt;br /&gt;
* [[HowTo:VCPP Compiling|Compiling from SVN under Visual C++]]&lt;br /&gt;
* [[HowTo:Cygwin Compiling|Compiling from SVN under Cygwin]] (may not work--enter at your own risk)&lt;br /&gt;
* [[HowTo:Compile from CVS|Compiling from SVN under your favourite Unixlike OS]]&lt;br /&gt;
* [[HowTo:Compile on OSX|Compiling from SVN on Mac OSX]]&lt;br /&gt;
* [[HowTo:Compile_from_released_source|Compiling from the released source]]&lt;br /&gt;
* Debug a Vega Strike Compilation &lt;br /&gt;
** [[HowTo:Use GDB|Debugging on your Unixlike OS using GDB]]&lt;br /&gt;
** [[HowTo:Use Dr Watson|Debugging on Windows using Dr Watson]]&lt;br /&gt;
&lt;br /&gt;
= Miscellaneous HowTos =&lt;br /&gt;
*[[HowTo:Contribute|The Vega Strike Contributor's Guide]]&lt;br /&gt;
* [[HowTo:Install Wings3d|Installing Wings 3D and the Xmesh Plugin]] (deprecated)&lt;br /&gt;
&lt;br /&gt;
=See Also=&lt;br /&gt;
* [[FAQ:Installing|Installing]]&lt;br /&gt;
* [[Development]]&lt;br /&gt;
* For related tools see the [[Links]] section.&lt;br /&gt;
[[Category:HowTos]]&lt;/div&gt;</summary>
		<author><name>Rubikcube</name></author>	</entry>

	<entry>
		<id>https://wiki.vega-strike.org/mediawiki/index.php?title=HowTos&amp;diff=17332</id>
		<title>HowTos</title>
		<link rel="alternate" type="text/html" href="https://wiki.vega-strike.org/mediawiki/index.php?title=HowTos&amp;diff=17332"/>
				<updated>2009-12-20T14:51:52Z</updated>
		
		<summary type="html">&lt;p&gt;Rubikcube: /* Compile the Vega Strike sourcecode */ Link to  new tarball compiling&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Languages|En|HowTos}}&lt;br /&gt;
{{Wiki_Nav_Index}}&lt;br /&gt;
__FORCETOC__&lt;br /&gt;
= Game HowTos =&lt;br /&gt;
== Modeling ==&lt;br /&gt;
''This series of How-to articles is intended to take you through the full process of creating a model and adding it to Vega Strike.''&lt;br /&gt;
* [[HowTo:Add Ships|Adding your ship to Vega Strike]] - An overview of how to create and add ships to the game&lt;br /&gt;
** [[HowTo:Create Models]] - A summary on how to create a new model for Vega Strike&lt;br /&gt;
*** [[HowTo:Model a Ship|Brad Mick's video tutorial on ship modelling]] - using Lightwave, but the concept is general: ''Rapid Prototyping''&lt;br /&gt;
*** [[HowTo:Create Ships in Wings3D|Creating a 3D-model using Wings3D]] - includes general guidance for other modeling programs&lt;br /&gt;
*** [[HowTo:Basic Blender Tutorial|A basic Blender3D tutorial]] - not specific to ships, though...&lt;br /&gt;
** [[HowTo:Smooth Groups|Understanding &amp;quot;Smooth Groups&amp;quot;]] - a Blender tutorial on splitting smooth groups...&lt;br /&gt;
** [[HowTo:Bevel|Getting bevels to look good]] - a Blender tutorial on smooth shading and beveling...&lt;br /&gt;
** [[HowTo:Weld|Smoothly Welding complex shapes]] - a Blender tutorial on smooth welding...&lt;br /&gt;
** [[HowTo:Unwrap|Unwrapping your model]] - How to UV-map your ship so it can be textured&lt;br /&gt;
*** [[HowTo:Unwrap in Blender|Using Blender to unwrap your model]] - A blender UV-mapping tutorial&lt;br /&gt;
*** [[HowTo:FullUnwrapBlender|Full ship unwrap tutorial (Blender)]] - Full ship UV unwrap, from A to Z&lt;br /&gt;
** [[HowTo:Texture|Creating your own textures]] - A summary on how to make texture maps&lt;br /&gt;
*** [[HowTo:Texture in Wings3d|Texturing your model in Wings 3d]]&lt;br /&gt;
*** [http://netzwelt.gaming-hut.de/vegatexturing/ WIP VegaStrike texturing page by Major]&lt;br /&gt;
*** [http://edice.netfirms.com/tuts/texturetut.htm Texturing tutorial by Duality]&lt;br /&gt;
*** [[HowTo:SuperrealisticTexturing|Tips for realistic-looking textures]]&lt;br /&gt;
*** [[HowTo:Make Animated Textures|Using animated textures on a model]]&lt;br /&gt;
** [[HowTo:Edit BFXM files|Editing BFXM files (format spec)]]&lt;br /&gt;
*** [[HowTo:Edit XMESH files|Editing the xmesh file of a ship]]&lt;br /&gt;
*** [[HowTo:Add LODs|Adding Levels of Detail]]&lt;br /&gt;
*** [[HowTo:Add Engine Glow|Adding an engine glow to your 3D model]]&lt;br /&gt;
*** [[HowTo:Add Per Pixel Lighting|Adding per-pixel lighting to your 3D model]]&lt;br /&gt;
** [[HowTo:Edit units.csv|Editing units.csv]]&lt;br /&gt;
*** [[HowTo:Edit Unit Files|Editing the xunit file of a ship]] - Deprecated, but can be converted easily to .csv format&lt;br /&gt;
=== Advanced Topics ===&lt;br /&gt;
* [[HowTo:Edit HUDs|Editing HUDs, placing radars, ...]]&lt;br /&gt;
* [[HowTo:Create Cockpit in Wings3d|Creating a 3D cockpit for your ship.]]&lt;br /&gt;
=== New Stuff (The Shaders Age begins...) ===&lt;br /&gt;
* [[HowTo:IntroToShaders|Introduction to shaders, and what they mean for you]] --Bumpmaps, Normalmaps, Shininess maps ...&lt;br /&gt;
&lt;br /&gt;
==Artwork ==&lt;br /&gt;
''Artwork related Howtos''&lt;br /&gt;
* [[HowTo:Radiosity baking in Blender|Radiosity baking in Blender]]&lt;br /&gt;
&lt;br /&gt;
== MODs ==&lt;br /&gt;
* [[HowTo:MOD|You want to create your own mod for VS? Start here.]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=Sourcecode HowTos =&lt;br /&gt;
== Obtain a copy of the development-version files ==&lt;br /&gt;
* [[HowTo:Checkout SVN|Checkout Vega Strike's Subversion (SVN) modules.]]&lt;br /&gt;
* [[HowTo:Checkout SVN (Ubuntu Linux)|Checkout Vega Strike's Subversion (SVN) modules in Ubuntu.]]&lt;br /&gt;
* [[HowTo:Checkout SVNMac|Checkout Vega Strike's Subversion (SVN) modules on Mac OSX.]]&lt;br /&gt;
* [[HowTo:Checkout CVS|Checkout Vegastrike CVS modules with various programs.]] - '''Deprecated'''&lt;br /&gt;
'''NOTE: Vegastrike development has moved to SVN. CVS is still theoretically accessible, but the repository is months out of date and will never be updated again. There is no reason not to use Subversion instead.'''&lt;br /&gt;
* [[Moving data4.x to data]] - We recently (on May 1, 2008) moved the data4.x repository to &amp;quot;data&amp;quot;.  This has instructions on how to update your repository without checking out everything again.&lt;br /&gt;
&lt;br /&gt;
== Compile the Vega Strike sourcecode ==&lt;br /&gt;
* [[HowTo:VCPP Compiling|Compiling from SVN under Visual C++]]&lt;br /&gt;
* [[HowTo:Cygwin Compiling|Compiling from SVN under Cygwin]] (may not work--enter at your own risk)&lt;br /&gt;
* [[HowTo:Compile from CVS|Compiling from SVN under your favourite Unixlike OS]]&lt;br /&gt;
* [[HowTo:Compile on OSX|Compiling from SVN on Mac OSX]]&lt;br /&gt;
* [[HowTo:Compile_from_released_source|Compile from the released source]]&lt;br /&gt;
* Debug a Vega Strike Compilation &lt;br /&gt;
** [[HowTo:Use GDB|Debugging on your Unixlike OS using GDB]]&lt;br /&gt;
** [[HowTo:Use Dr Watson|Debugging on Windows using Dr Watson]]&lt;br /&gt;
&lt;br /&gt;
= Miscellaneous HowTos =&lt;br /&gt;
*[[HowTo:Contribute|The Vega Strike Contributor's Guide]]&lt;br /&gt;
* [[HowTo:Install Wings3d|Installing Wings 3D and the Xmesh Plugin]] (deprecated)&lt;br /&gt;
&lt;br /&gt;
=See Also=&lt;br /&gt;
* [[FAQ:Installing|Installing]]&lt;br /&gt;
* [[Development]]&lt;br /&gt;
* For related tools see the [[Links]] section.&lt;br /&gt;
[[Category:HowTos]]&lt;/div&gt;</summary>
		<author><name>Rubikcube</name></author>	</entry>

	<entry>
		<id>https://wiki.vega-strike.org/mediawiki/index.php?title=HowTo:Compile_on_OSX&amp;diff=17331</id>
		<title>HowTo:Compile on OSX</title>
		<link rel="alternate" type="text/html" href="https://wiki.vega-strike.org/mediawiki/index.php?title=HowTo:Compile_on_OSX&amp;diff=17331"/>
				<updated>2009-12-20T14:51:12Z</updated>
		
		<summary type="html">&lt;p&gt;Rubikcube: Fixed Navigation elements&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{NAV_Manual |&lt;br /&gt;
| previous=[[HowTo:Compile_from_CVS|Compiling from SVN under your favourite Unixlike OS ]]&lt;br /&gt;
| up=[[HowTos]]&lt;br /&gt;
| next=[[HowTo:Compile_from_released_source|Compile from the released source]]&lt;br /&gt;
}}&lt;br /&gt;
----&lt;br /&gt;
How to compile from SVN under OSX.&lt;br /&gt;
&lt;br /&gt;
==Getting the SVN-files==&lt;br /&gt;
&lt;br /&gt;
* Checkout the following modules ...&lt;br /&gt;
** data package: &amp;lt;code&amp;gt;data&amp;lt;/code&amp;gt;&lt;br /&gt;
** code package: &amp;lt;code&amp;gt;vegastrike&amp;lt;/code&amp;gt;&lt;br /&gt;
* Visit [[HowTo:Checkout SVN]] to see how you check these modules out.&lt;br /&gt;
&lt;br /&gt;
==Requirements==&lt;br /&gt;
In order to compile Vega Strike there are a few things to check:&lt;br /&gt;
* Ensure you have installed XCode Tools from your OS installation disc.&lt;br /&gt;
** Various gcc versions included in XCode Tools releases may have bugs preventing the compilation of Vega Strike.  Vega Strike is known to work, on OSX, with gcc version ''powerpc-apple-darwin8-gcc-4.0.0 (GCC) 4.0.0 20041026''&lt;br /&gt;
** You should also install the Mac OSX 10.3.9 SDK from the same disk.&lt;br /&gt;
* Using [http://fink.sourceforge.net/ Fink], make sure you install the following libraries:&lt;br /&gt;
** &amp;lt;code&amp;gt;libpng&amp;lt;/code&amp;gt; + &amp;lt;code&amp;gt;libpng-devel&amp;lt;/code&amp;gt; &amp;lt;-- libpng 3 is recommended.&lt;br /&gt;
** &amp;lt;code&amp;gt;python&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;python-dev&amp;lt;/code&amp;gt; &amp;lt;-- 2.2.1&lt;br /&gt;
** &amp;lt;code&amp;gt;expat&amp;lt;/code&amp;gt;&lt;br /&gt;
** &amp;lt;code&amp;gt;(lib)jpeg&amp;lt;/code&amp;gt; + &amp;lt;code&amp;gt;libjpeg-devel&amp;lt;/code&amp;gt;&lt;br /&gt;
* Download the [http://www.libsdl.org/index.php SDL] source tarball, version 1.2.10 or later, compile, and install.&lt;br /&gt;
* Download and install the [http://developer.creative.com/articles/article.asp?cat=1&amp;amp;sbcat=31&amp;amp;top=38&amp;amp;aid=97 OpenAL] framework.  (Footnote: This is a PPC only framework.  Intel core machines may require to compile OpenAL from source.)&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.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd ./vegastrike&lt;br /&gt;
./bootstrap-sh&lt;br /&gt;
./configure&lt;br /&gt;
make vegastrike&lt;br /&gt;
make soundserver&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Note: You will require various options on configure, to specify the paths to the various libraries you have installed.&lt;br /&gt;
Note: If you intend to build a binary to replace the that packaged in a release (ie in a .app), then you must use the configure command --enable-macosx-bundle&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Compiling under MacIntel==&lt;br /&gt;
In the vegastrike directory there is a script called intel-mac-conf.sh, edit this file in vi and point it to your dependencies directories (i.e for fink /sw/bin /sw/inc etc. or for Darwin Ports /opt/local/bin /opt/local/inc etc.) &lt;br /&gt;
&lt;br /&gt;
*Note: the python from Darwin Ports did not seem to play with the configure script and I had to install python from fink to get the configure script to work.&lt;br /&gt;
&lt;br /&gt;
Ok, Now run the script. &lt;br /&gt;
*Note: For some reason the configure script forces itself against the 10.3.9.sdk, that is no good for us as when you try to build the process has a fit as we have an intel processor and it needs a powerpc to compile, so navigate in finder to your source directory and open configure.ac, do a find and replace and replace all the MacOSX10.3.9.sdk with MacOSX10.4u.sdk, save the file and we should be set to go. &lt;br /&gt;
&lt;br /&gt;
Do a make vegastrike, the shell script as been designed to create us a bundle app, once the build is finished just copy this into your existing bundle.&lt;br /&gt;
&lt;br /&gt;
=See also=&lt;br /&gt;
* [[HowTo:Compile_from_CVS|Compiling from SVN under your favourite Unixlike OS ]]&lt;br /&gt;
* [http://vegastrike.sourceforge.net/forums/viewtopic.php?t=4185 &amp;quot;make clean/distclean&amp;quot; thread in the forum] - A quite helpful thread about the make process.&lt;br /&gt;
* [http://thewillofomega.googlepages.com/vegastrikedev Dandandaman's website about VS on Mac] including SVN builds.&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
{{NAV_Manual |&lt;br /&gt;
| previous=[[HowTo:Compile_from_CVS|Compiling from SVN under your favourite Unixlike OS ]]&lt;br /&gt;
| up=[[HowTos]]&lt;br /&gt;
| next=[[HowTo:Compile_from_released_source|Compile from the released source]]&lt;br /&gt;
}}&lt;br /&gt;
[[Category:HowTos|Compile from CVS]]&lt;/div&gt;</summary>
		<author><name>Rubikcube</name></author>	</entry>

	<entry>
		<id>https://wiki.vega-strike.org/mediawiki/index.php?title=HowTo:Use_GDB&amp;diff=17330</id>
		<title>HowTo:Use GDB</title>
		<link rel="alternate" type="text/html" href="https://wiki.vega-strike.org/mediawiki/index.php?title=HowTo:Use_GDB&amp;diff=17330"/>
				<updated>2009-12-20T14:51:02Z</updated>
		
		<summary type="html">&lt;p&gt;Rubikcube: Fixed Navigation elements&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{NAV_Manual |&lt;br /&gt;
| previous=[[HowTo:Compile_from_released_source|Compile from the released source]]&lt;br /&gt;
| up=[[HowTos]]&lt;br /&gt;
| next=[[HowTo:Use Dr Watson|Use Dr Watson]]&lt;br /&gt;
}}&lt;br /&gt;
----&lt;br /&gt;
=Using GDB with Vegastrike=&lt;br /&gt;
This page provides information on how to use GDB to help debug Vegastrike.&lt;br /&gt;
&lt;br /&gt;
==Debugging process==&lt;br /&gt;
===Game compilation===&lt;br /&gt;
* First you have to configure Vegastrike with the &amp;lt;code&amp;gt;--enable-debug&amp;lt;/code&amp;gt; option in addition to your others:&amp;lt;BR/&amp;gt;&amp;lt;pre&amp;gt;./configure &amp;lt;your other parameters&amp;gt; --enable-debug&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* Then &amp;lt;code&amp;gt;make&amp;lt;/code&amp;gt; your Vegastrike binary:&amp;lt;BR/&amp;gt;&amp;lt;pre&amp;gt;make&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Please make sure you have enough disk space available before doing this. Compiling Vegastrike with &amp;lt;code&amp;gt;--enable-debug&amp;lt;/code&amp;gt; eats up a huge amount of disk space.&lt;br /&gt;
&lt;br /&gt;
===Run GDB===&lt;br /&gt;
* Start &amp;lt;code&amp;gt;gdb&amp;lt;/code&amp;gt; (GNU Debugger):&amp;lt;BR/&amp;gt;&amp;lt;pre&amp;gt;gdb /path/to/vegastrike&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* Start the game by typing this into the gdb-console:&amp;lt;BR/&amp;gt;&amp;lt;pre&amp;gt;run&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* When the error occurs or it dies type&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
print *this&lt;br /&gt;
backtrace full&lt;br /&gt;
up&lt;br /&gt;
print *this&lt;br /&gt;
up&lt;br /&gt;
print *this&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==See also==&lt;br /&gt;
&lt;br /&gt;
The content of this site is mostly take from [http://vegastrike.sourceforge.net/forums/viewtopic.php?p=4688#4688 this] post in the forum.&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
{{NAV_Manual |&lt;br /&gt;
| previous=[[HowTo:Compile_from_released_source|Compile from the released source]]&lt;br /&gt;
| up=[[HowTos]]&lt;br /&gt;
| next=[[HowTo:Use Dr Watson|Use Dr Watson]]&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
[[Category:HowTos|Using GDB]]&lt;/div&gt;</summary>
		<author><name>Rubikcube</name></author>	</entry>

	<entry>
		<id>https://wiki.vega-strike.org/mediawiki/index.php?title=HowTo:Compile_from_released_source&amp;diff=17329</id>
		<title>HowTo:Compile from released source</title>
		<link rel="alternate" type="text/html" href="https://wiki.vega-strike.org/mediawiki/index.php?title=HowTo:Compile_from_released_source&amp;diff=17329"/>
				<updated>2009-12-20T14:46:39Z</updated>
		
		<summary type="html">&lt;p&gt;Rubikcube: Created source compilation HowTo&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{NAV_Manual |&lt;br /&gt;
| previous=[[HowTo:Compile_on_OSX|Compiling from SVN on Mac OSX]]&lt;br /&gt;
| up=[[HowTos]]&lt;br /&gt;
| next=[[HowTo:Use GDB|Debug Using GDB]]&lt;br /&gt;
}}&lt;br /&gt;
----&lt;br /&gt;
How to compile from a released source tarball under Linux (and most other Unix-like systems as well, probably).&lt;br /&gt;
&lt;br /&gt;
This HowTo assumes that this is not the first program you compile yourself and that you know your basic tools like your shell, tar, etc.&lt;br /&gt;
&lt;br /&gt;
''See also: [[HowTo:Compile from SVN]], [[HowTo:Checkout SVN (Ubuntu Linux)]]''&lt;br /&gt;
&lt;br /&gt;
==Requirements==&lt;br /&gt;
The requirements are roughly the same as for the [[HowTo:Compile_from_CVS#Requirements|SVN version]], except that the autotools shouldn't be necessary.&lt;br /&gt;
&lt;br /&gt;
==Getting the needed files==&lt;br /&gt;
&lt;br /&gt;
* Get the following files, put them to a convenient location and unpack them there&lt;br /&gt;
** data package: Inside '''linux''' (http://sourceforge.net/projects/vegastrike/files/vegastrike/0.5.0/vegastrike-linux-0.5.0.tar.bz2/download)&lt;br /&gt;
** source code package: '''src''' (http://sourceforge.net/projects/vegastrike/files/vegastrike/0.5.0/vegastrike-src-0.5.0.tar.bz2/download)&lt;br /&gt;
* We assume that the former creates a directory called ''vegastrike-0.5.0'' and the latter one called ''vegastrike-source-0.5.0''&lt;br /&gt;
&lt;br /&gt;
==Compiling==&lt;br /&gt;
''vegastrike-source-0.5.0'' contains all the sources we need, while ''vegastrike-0.5.0'' consists of non-code game data like models, textures, etc.   It also still has precompiled binaries which cause only confusion and thus could be deleted, if you wish to:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
rm -r vegastrike-0.5.0/bin&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The configure process is pretty straighforward, as usual &amp;lt;code&amp;gt;./configure --help&amp;lt;/code&amp;gt; shows all relevant options.  Apart from &amp;lt;code&amp;gt;--prefix&amp;lt;/code&amp;gt; to tell configure where Vega Strike shall be installed, &amp;lt;code&amp;gt;--with-data-dir&amp;lt;/code&amp;gt; is quite important.  A sample configure process follows:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd vegastrike-source-0.5.0&lt;br /&gt;
# This will install Vega Strike to /opt/local/games/, so the binary &amp;quot;vegastrike&amp;quot;&lt;br /&gt;
# can then be called as &amp;quot;/opt/local/games/bin/vegastrike&amp;quot;&lt;br /&gt;
# Also the data is (and should always be) located at &amp;quot;/home/myuser/Download/vegastrike-0.5.0&amp;quot;&lt;br /&gt;
./configure --prefix=/opt/local/games/ --with-data-dir=/home/myuser/Download/vegastrike-0.5.0/&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If &amp;lt;code&amp;gt;configure&amp;lt;/code&amp;gt; finishes without errors, it's time to compile and install Vega Strike.  Depending on what you set as &amp;lt;code&amp;gt;PREFIX&amp;lt;/code&amp;gt;, you will have to do the install step as root:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
make &amp;amp;&amp;amp; make install&lt;br /&gt;
# (try the -j&amp;lt;n&amp;gt; make option if you run a multicore/multiprocessor machine)&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Of course having the data in your personal home directory is not &amp;quot;the proper way&amp;quot;™ to do it, you might want to move the ''vegastrike-0.5.0'' directory to ''/opt/local/games/share/vegastrike'' first, for example.  Don't forget to adapt the configure options accordingly!&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
{{NAV_Manual |&lt;br /&gt;
| previous=[[HowTo:Compile_on_OSX|Compiling from SVN on Mac OSX]]&lt;br /&gt;
| up=[[HowTos]]&lt;br /&gt;
| next=[[HowTo:Use GDB|Debug Using GDB]]&lt;br /&gt;
}}&lt;br /&gt;
[[Category:HowTos|Compile from released source]]&lt;/div&gt;</summary>
		<author><name>Rubikcube</name></author>	</entry>

	</feed>