First install required development packages using pacman
sudo pacman -Syu base-devel git cmake boost physfs openssl lua51 glew libvorbis openal zlib libogg nlohmann-json protobuf --needed
Get the source code from git
git clone git://github.com/mehah/otclient.git cd otclient
Compile protobuf .proto files
cd src/framework/protobuf/proto/ ./generate.sh cd ../../../../
Compile otclient
cmake . -B build make -c build ./build/otclient
If you want to speed up the make process and you have multiple cores, you can use -j to build using multiple cores.
For example, to build using 8 cores:
make -c build -j8
You can use nproc in order to use all cores available
make -c build -j$(nproc)
There was an error while loading. Please reload this page.