First of all, you will need to obtain the source. This can be grabbed from our project page or from CVS. The version available on the project page usually corresponds to an official release, and so may be very out of date. If you are interested in helping program FreeOrion then you will need to grab the CVS copy. Then you need to set up the required software, compile the game, download the missing artwork, and run it.
Getting the source
CVS can be obtained in Linux using these commands:
cvs -d:pserver:[email protected]:/cvsroot/freeorion login (if it asks for password, just hit enter)
cvs -z3 -d:pserver:[email protected]:/cvsroot/freeorion co FreeOrion
Once you have the required software, in particular GiGi, installed, you need to compile FreeOrion. You have two options. The first is to run these commands:
Many people have trouble getting these to work, so custom makefiles can be downloaded here. To get these working follow these steps:
- Extract the three Makefile's into their appropriate directories
- Edit each Makefile, changing any folder references to point to your directory structure
- Remove references to 'ccache' if you are not using it
- Go into server/ client/human/ and client/AI/ and run 'make' in each
After these steps, the files freeorion.exe, freeoriond.exe and freeorionca.exe should each be created in the root directory. Run ./freeorion.exe to play the game.
Some artwork may be missing from the game when you download it. You will probably need to obtain these images.