|
HowToCompile
#How to compile game and the tools How to compile ?LinuxFirst of all, you'll need Mercurial, (sudo apt-get install hg) then get the source using: hg clone https://uarpg.googlecode.com/hg/ uarpg Before compiling get the following libraries:
additional libraries for map editor and model viewer:
To begin compile, enter uarpg dir and type: make To compile map editor, proceed to uarpg/edmap directory and run: make Same procedure is suitable to model viewer, which is in uarpg/rmdview directory. WindowsGet TortoiseHG from http://tortoisehg.bitbucket.org/ Pull the source. Get decent C/C++ compiler, like Microsoft Visual C++ 8/9 or Mingw 4.x Visual Studio 8/9Download and install required libraries. They are: SDL: http://www.libsdl.org/release/SDL-devel-1.2.14-VC8.zip libogg & libvorbis(they need to be compiled): http://downloads.xiph.org/releases/ogg/libogg-1.1.4.zip http://downloads.xiph.org/releases/vorbis/libvorbis-1.2.3.zip and OpenAL: http://connect.creativelabs.com/openal/Downloads/OpenAL11CoreSDK.zip Create an empty Win32 console application. Set character set to multi-byte. Add all source and header files to solution(except Ratmodel.h and Ratmodel.cpp). If you haven't set yet, set library and include directories through Tools>Options>VC++ Directories . mingwDownload mingw from: With windows console go to the directory where you pulled code. Execute: make win32 OS XTODO: write something |