Menu

how to compile the game from the source code

Anonymous
2024-02-11
2024-07-13
  • Anonymous

    Anonymous - 2024-02-11
     
  • ChaosEsqueTeam

    ChaosEsqueTeam - 2024-07-13

    The gamecode is in data/zzzzz...pk3

    The engine is in git-repos-both.zip. There is the stable version and the worked-on-version.
    You can use make if you want, but there is also and ./all script.

    Both archives have to be unzipped for anything to beable to compile them.
    (ie: the scripts and make don't look into archived files)

    For the engine there are lots of compiling cavets as different versions of GCC do things differently now, as do different compilers. There are various patches included in one of the folders on the ISO that contain patches if you want to use those newer compilers. We use GCC 3 or something like that IIRC. Whatever Debian 7 used. The last good debian.

    gmqcc is usually used for the gamecode, though fteqcc is used to check the code sometimes, and sometimes for the menu.

    For the QC there is a make file.
    ex you go into data/qcsrc/ and do make etc

    an "easy" way to build the engine is to go into darkplaces-workingon and do make nexuiz
    good for testing if you don't want to bring in other libs.
    it will use the .nexuiz directory instead of the .xonotic one in that case.

     

    Last edit: ChaosEsqueTeam 2024-07-13

Anonymous
Anonymous

Add attachments
Cancel