Here are some simple instructions how to build win32 binaries of the game and make installer.
First you need a set of tools.
Subversion console client (needed to download the latest sources of the game):
Mingw GCC compiler (the game is compiled using it):
MSYS (minimal set of unix tools, it is required when compiling the game):
NSIS installer (optional, for making installer of the game)
Important: make sure that you have all these tools registered in your PATH, so that you can run 'svn --version', 'gcc --version', 'make --version' from console. If you are getting 'bad command or file name', something is wrong and needs to be fixed. Also make sure that 'make --version' displays something like GNU Make version 3.79.1, by Richard Stallman and Roland McGrath., some people had issues with Borland make utility, unfortunately it has the same name but you can't use it for compiling ufo2000.
After you get all these tools installed, you can get the latest sources of the game.
Create some directory "C:\Projects" for example. Then run from a command line:
'svn checkout https://ufo2000.svn....t/ufo2000/trunk c:\projects\ufo2000'
You will have the latest sources installed into c:\projects\ufo2000
To successfully compile the game you will also need a set of additional libraries (Allegro, Expat, ...). A good news is that we already have them compiled and packaged. Download http://ufo2000.sourc...bs-20111202.zip and extract it to ufo2000 sources directory. You will get mingw-libs subdirectory with all the needed libraries ready for use.
The directory structure should look like this:
c:\projects\ufo2000 |->lots of files and folders |->mingw-libs |->readme.txt |->include |->lib |->licenses |->src |->*.cpp and *.h files
After that everything is simple. Just run 'make' from ufo2000 sources directory and it will compile ufo2000.exe, run 'make server' to compile ufo2000 game server (ufo2000-srv.exe). Running 'make win32-installer' will build win32 installer of the game (ufo2000-xx.yy.zz.exe, where xx.yy.zz is the version of the game). You need extra package http://ufo2000.sourc...sis-plugins.zip to make installer. Extract it to the ufo2000 sources directory just like mingw-libs.zip
As people are working on the game, new changes get committed to the repository. Getting these changes to your local copy is simple. Just run 'svn update' in the ufo2000 sources directory to update them to the latest version. Updating the sources is a safe operation, if you made some changes to the sources as well, they will not be lost, in the worst case subversion will detect a conflict and show which of your changes are not compatible with the changes received from the server.
If you have any problems following these instructions, don't hesitate to ask questions here, these instructions will be updated when needed.
Edited by Serge, 01 December 2011 - 06:00 PM.