2006-03-20 16:43:15 +00:00
|
|
|
|
This file describes how to compile D1X-Rebirth from source.
|
|
|
|
|
|
2006-04-03 19:53:51 +00:00
|
|
|
|
To compile you´ll need:
|
|
|
|
|
|
2006-07-27 09:46:44 +00:00
|
|
|
|
-gcc/g++
|
|
|
|
|
-mingw [windows]
|
|
|
|
|
-nasm (optional, for sdl-build)
|
|
|
|
|
-sdl
|
|
|
|
|
-scons
|
2006-04-03 19:53:51 +00:00
|
|
|
|
|
2006-07-27 09:46:44 +00:00
|
|
|
|
|
|
|
|
|
Building with SCons:
|
|
|
|
|
* open SConstruct and change D1XDATAPATH to specify where the DESCENT data files are located
|
|
|
|
|
* run "scons" with desired command-line options (see "scons -h" for complete list of options)
|
|
|
|
|
* place the binary wherever you want to have it
|
|
|
|
|
* copy your data files to the desired path you specified in "SConstruct" on D1XDATAPATH (see dxx-readme.txt for more information)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Building with make: [not supported anymore!!! Please use SCons or fix on your own :)]
|
2006-03-20 16:43:15 +00:00
|
|
|
|
* edit the "config" file and specify the output directory and the platform you´re running
|
2006-04-03 19:53:51 +00:00
|
|
|
|
* edit the appropriate "config.linux" "config.mingw" or "config.other" file to chenge the options
|
2006-03-20 16:43:15 +00:00
|
|
|
|
* run "make"
|
2006-07-27 09:46:44 +00:00
|
|
|
|
* place the binary wherever you want to have it
|
|
|
|
|
* copy your data files to the desired path you specified in "config" on DESCENT_DATA_PATH (see dxx-readme.txt for more information)
|
2006-03-20 16:43:15 +00:00
|
|
|
|
|
|
|
|
|
If you run into any problems do not hesitate to contact me.
|
2006-07-27 09:46:44 +00:00
|
|
|
|
eMail is: zico@unixboard.de
|