mirror of
https://github.com/UberGames/GtkRadiant.git
synced 2024-11-22 11:51:22 +00:00
a5955a4c37
git-svn-id: svn://svn.icculus.org/gtkradiant/GtkRadiant/trunk@290 8a3a26a2-13c4-0310-b231-cf6edde360e5
73 lines
2.5 KiB
Text
73 lines
2.5 KiB
Text
developer documentation for GtkRadiant 1.6.0 (Zeroradiant)
|
|
==========================================================
|
|
|
|
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
|
|
|
|
Download the desired game packs:
|
|
cd ./GtkRadiant/install/installs
|
|
svn checkout https://zerowing.idsoftware.com/svn/radiant.gamepacks/Q3Pack/trunk/ ./Q3Pack
|
|
svn checkout https://zerowing.idsoftware.com/svn/radiant.gamepacks/UFOAIPack/trunk/ ./UFOAIPack
|
|
svn checkout https://zerowing.idsoftware.com/svn/radiant.gamepacks/TremulousPack/trunk/ ./TremulousPack
|
|
|
|
Linux/OSX(using X-windows)
|
|
==========================
|
|
|
|
environment:
|
|
- gcc >= version 3.1 (preferably)
|
|
- scons >= 0.96 (radiant is built with scons rather than make)
|
|
- python >= 2.3.0, (scons requires python, some build steps use python)
|
|
- svn >= 1.1 (some build steps use svn)
|
|
|
|
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' in the directory containing SConscript
|
|
|
|
install:
|
|
run 'python ./GtkRadiant/install.py'
|
|
note - this script should be run after each time you update from svn
|
|
|
|
run:
|
|
Execute './GtkRadiant/install/radiant.x86' (or './GtkRadiant/install/radiant.ppc' on osx)
|
|
|
|
|
|
Win32 (2000, XP or Vista)
|
|
==================
|
|
|
|
environment:
|
|
- visual studio 2005
|
|
- python 2.3.0 or later (some build steps use python)
|
|
- subversion 1.1 or later (some build steps use svn)
|
|
|
|
dependencies are prepackaged archives, extract them to the directory above GtkRadiant.sln:
|
|
- http://zerowing.idsoftware.com/files/radiant/developer/1.5/gtkradiant-1.5-dependencies-1.0.zip
|
|
|
|
build:
|
|
Open GtkRadiant.sln.
|
|
In tools > options > projects > VC++ Directories > executables, add the paths to python.exe (e.g. c:\python23\) and svn.exe (e.g. c:\svn\)
|
|
Hit 'Build > Build Solution' (F7)
|
|
|
|
install:
|
|
run 'python ./GtkRadiant/install.py'
|
|
note - this script should be run after each time you update from svn
|
|
|
|
run:
|
|
set Project > Properties > Debugging > Command to "$(SolutionDir)install/$(TargetFileName)"
|
|
hit 'Debug > Start' (F5)
|