This is only a quickstart, more information can be found in the documentation files next to this one.
cd Linux
./bootstrap
../configure
make
The configuration step has a lot of flags, run
../configure --help
to see them. (Notably the--disable-linux-fixme
flag)
Now put the compiled executable src/homeworld
in a directory with the required assets.
For HomeworldSDL.big
see Packaging HomeworldSDL.big
You are now ready to run the game and configure the OpenGL renderer
This is if you want to cross-compile the game to 32bit even if your machine is 64bit.
The process is the same as for x86_64, except for the ../configure
step, as follows:
cd Linux
./bootstrap
CFLAGS='-m32' ../configure --disable-x86_64 # here
make
Note: this will output a binary without debug symbols. Building a 32b binary with debug symbols on a 64b machine is feasible (I have done it for debugging), but not supported by autoconf and therefore not very straightforward.
Note: compiling biggie requires compiled objects from
Linux/src/
. Which means you must first compile the game.
From the root of this repository:
cd tools/biggie
./biggie-Linux-compile.sh
cd ../../HomeworldSDL_big
./convert_directory_to_big_file
You should now have a HomeworldSDL.big
file in the root of the repo.