KeeperFX can be build in Linux. Windows users can use WSL (Windows Subsystem for Linux).
To install WSL:
- Open a PowerShell as an admin
- Reboot your PC
The following packages are needed. It is likely some or all packages come pre-installed with your Linux/WSL version:
A package could be installed by typing
sudo apt install [packetname]
Get the source
Download or Clone the KeeperFX source code from this github repository. Using Github Desktop for this is an easy method, add the git link: https://github.com/dkfans/keeperfx.git
Navigate to the source directory from your shell
Go to the directory of the makefile. WSL users type : cd "/mnt/[drive letter]/[directory]"
Use a make command
Next run a make command, for example type
||build binaries for 'standard release' of KeeperFX
||build binaries for 'heavylog release' of KeeperFX
||generate text strings DAT files from PO/POT translation sources
||generate all graphics DAT/TAB/RAW/PAL files from PNG bitmaps
||generate only landview graphics
||generate only menu graphics
||generate only engine graphics
||generate sound DAT files from wave files.
||compress binaries and other files into 7z archive
||just an alias for 'standard'
||removes files created during previous builds
*Not all commands currently work with WSL. You need MinGW with MSYS for those.
Having just the keeperfx.exe file does not allow you to run the game. The easiest way to get started is to install the latest alpha version first and replace files from that with your newly build version. See here.
There's a development channel on the Keeperklan Discord, accessible for everybody who wants to join. Just ask here.