2006-02-11 23:57:16 +00:00
|
|
|
developer documentation for GtkRadiant 1.5.0
|
|
|
|
============================================
|
|
|
|
|
|
|
|
getting the source
|
|
|
|
==================
|
|
|
|
|
|
|
|
The latest source is available from the Subversion repository.
|
|
|
|
https://zerowing.idsoftware.com/svn/radiant/GtkRadiant/trunk/
|
|
|
|
|
|
|
|
The subversion client can be obtained from the Subversion site.
|
|
|
|
http://subversion.tigris.org
|
|
|
|
|
|
|
|
To get a copy of the source using the commandline Subversion client:
|
|
|
|
Change the current directory to the desired location for the source.
|
|
|
|
svn checkout https://zerowing.idsoftware.com/svn/radiant/GtkRadiant/trunk/ ./GtkRadiant
|
2006-02-12 00:00:39 +00:00
|
|
|
svn checkout https://zerowing.idsoftware.com/svn/radiant.gamepacks/Q3Pack/trunk/ ./GtkRadiant/games/Q3Pack
|
2006-02-11 23:57:16 +00:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Linux/OSX(using X-windows)
|
|
|
|
==========================
|
|
|
|
|
|
|
|
environment:
|
|
|
|
- gcc3 (preferably)
|
|
|
|
- scons = 0.96 (radiant is built with scons rather than make)
|
|
|
|
- python >= 2.3.0 (scons requires python, some build steps use python)
|
2006-02-12 19:47:01 +00:00
|
|
|
- svn >= 1.1 (some build steps use svn)
|
2006-02-11 23:57:16 +00:00
|
|
|
|
|
|
|
dependencies:
|
|
|
|
- gtk+ >= 2.4.0 (requires glib, atk, pango, iconv, etc)
|
|
|
|
- gtkglext >= 1.0.0 (requires opengl)
|
|
|
|
- libxml2 >= 2.0.0
|
|
|
|
- zlib >= 1.2.0 (for archivezip module)
|
|
|
|
- libpng >= 1.2.0 (for imagepng module)
|
|
|
|
- libmhash = 0.9.0 (for q3map2)
|
|
|
|
|
|
|
|
build:
|
|
|
|
Execute 'scons SETUP=0' in the directory containing SConscript
|
|
|
|
|
|
|
|
install:
|
2006-02-20 21:53:51 +00:00
|
|
|
run 'python ./GtkRadiant/install.py'
|
2006-02-12 00:00:39 +00:00
|
|
|
note - this script should be run after each time you update from svn
|
2006-02-11 23:57:16 +00:00
|
|
|
|
|
|
|
run:
|
|
|
|
Execute './GtkRadiant/install/radiant.x86' (or './GtkRadiant/install/radiant.ppc' on osx)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Win32 (2000 or XP)
|
|
|
|
==================
|
|
|
|
|
|
|
|
environment:
|
|
|
|
- visual studio .net 2003
|
|
|
|
- microsoft c++ compiler 7.1 (comes with vs.net 2003)
|
2006-02-12 19:47:01 +00:00
|
|
|
- python 2.3.0 or later (some build steps use python)
|
|
|
|
- subversion 1.1 or later (some build steps use svn)
|
2006-02-11 23:57:16 +00:00
|
|
|
|
|
|
|
dependencies are prepackaged archives, extract them to the directory above GtkRadiant.sln:
|
2006-07-09 21:34:13 +00:00
|
|
|
- http://zerowing.idsoftware.com/files/radiant/developer/1.5/iconv-1.9.2.zip
|
2006-07-09 14:09:19 +00:00
|
|
|
- http://zerowing.idsoftware.com/files/radiant/developer/1.5/gtk2-2.4.14.zip (gtk-wimp, gtkglext, gtk, glib, atk, pango etc)
|
|
|
|
- http://zerowing.idsoftware.com/files/radiant/developer/1.5/libxml2-2.6.24.zip
|
2006-02-11 23:57:16 +00:00
|
|
|
- http://zerowing.idsoftware.com/files/radiant/developer/1.5/STLport-4.6.2.zip
|
|
|
|
- http://zerowing.idsoftware.com/files/radiant/developer/1.5/zlib1-1.2.1.zip (for archivezip module)
|
|
|
|
- http://zerowing.idsoftware.com/files/radiant/developer/1.5/libpng-1.2.5.zip (for imagepng module)
|
|
|
|
- http://zerowing.idsoftware.com/files/radiant/developer/1.5/mhash-0.9.1.zip (for q3map2)
|
2006-02-12 19:47:01 +00:00
|
|
|
- http://zerowing.idsoftware.com/files/radiant/developer/1.5/msvc_redist.zip (msvc runtime libraries)
|
2006-02-11 23:57:16 +00:00
|
|
|
|
|
|
|
build:
|
|
|
|
Open GtkRadiant.sln.
|
2006-02-12 19:47:01 +00:00
|
|
|
In tools > options > projects > VC++ Directories > executables, add the paths to python.exe (e.g. c:\python23\) and svn.exe (e.g. c:\svn\)
|
2006-02-11 23:57:16 +00:00
|
|
|
Hit 'Build > Build Solution' (F7)
|
|
|
|
|
|
|
|
install:
|
2006-02-20 21:53:51 +00:00
|
|
|
run 'python ./GtkRadiant/install.py'
|
2006-02-12 00:00:39 +00:00
|
|
|
note - this script should be run after each time you update from svn
|
2006-02-11 23:57:16 +00:00
|
|
|
|
|
|
|
run:
|
|
|
|
set Project > Properties > Debugging > Command to "$(SolutionDir)install/$(TargetFileName)"
|
|
|
|
hit 'Debug > Start' (F5)
|