Install dependencies
For personal use
- Download the JA++ code (japp_master.zip) and unzip it
- Open a command prompt window from the japp-master directory and type:
scons no_sql=1
- Copy files from japp_master/*.dll to GameData/japlus/*.dll, zip them up and rename to cl_bins_win32.pk3
For contributors
This assumes you have git, lua, python, scons and codelite in your %PATH%
- Fork the repo on GitHub (Razish/japp)
- Open a command prompt window from the japp-master directory and type:
scons no_sql=1
- Copy files from japp_master/*.dll to GameData/japlus/*.dll, zip them up and rename to cl_bins_win32.pk3
- Install tools and dependencies
$ sudo apt-get install git scons gcc g++ libreadline-dev
- Download the repository
$ git clone https://github.com/Razish/japp.git
$ cd japp
- Compile and copy files to JA installation
$ scons
$ cp ./*.so /path/to/jka/japlus/
- If you want to share these files, you can automatically package them using the Lua script
$ sudo apt-get install lua5.2 lua-filesystem p7zip-full
$ lua package.lua
This will produce two .zip files containing the binaries.
There are other options you can specify as arguments to
scons
- force32 1 to build a 32-bit binary on a 64-bit machine
- debug 1 to generate debug information, 2 to also optimise code
Or the following environment variables:
- NO_SSE=1 to not generate SSE2 instructions - closer to basejka. This is used for official builds
- MORE_WARNINGS=1 to enable more compiler warnings