Download Msys2 from http://www.msys2.org/
Run the installer, it should open the msys2 console when finished, if not run it from the start menu.
Update the package database and core system packages by typing this in the console:
pacman -Syu
Close the console when it tells you to and start it again from the start menu. Choose the 32-bit version.
(we will compile the 32-bit version of KeeperRL, the game works the same regardless if it’s 32 or 64-bit)
Type this in the console:
pacman -Su
Now your Msys2 installation is ready and we can get it to compile KeeperRL.
Start with installing git:
pacman -S git
Now you can download KeeperRL’s source code:
git clone https://github.com/miki151/keeperrl.git
The following commands will install the compiler and necessary libraries:
pacman -S make
pacman -S mingw-w64-i686-gcc
pacman -S mingw-w64-i686-SDL2
pacman -S mingw-w64-i686-SDL2_image
pacman -S mingw-w64-i686-curl
pacman -S mingw-w64-i686-openal
pacman -S mingw-w64-i686-pkg-config
pacman -S mingw-w64-i686-libvorbis
Now you can compile KeeperRL:
cd keeperrl
make -f Makefile-win -j4 DEBUG=true OPT=true RELEASE=true
If the command above doesn’t end with an error (warnings are ok), then KeeperRL should be built. Try running it with:
./keeper.exe
KeeperRL Alpha 36 is finally out! This update includes full support for Steam Deck, a number of UI improvements and massive gameplay optimizations and fixes. Check out the... more
KeeperRL Alpha 35 is out! This patch includes a number of changes to combat mechanics and visuals, makes more of the game's content moddable, and adds customizable keybindings.... more
Alpha 35 will be a less exciting patch than its predecessor, although not for the lack of ambition on my part! I had planned a world map overhaul as well as a new minion... more
KeeperRL Alpha 34 is released! The update includes the addition of steeds, an overhaul of the Z-level system, and numerous quality-of-life improvements. Check out the patch notes... more
The last post talked about some major gameplay changes coming in KeeperRL, but the upcoming Alpha 34 patch will also feature some nice, ordinary improvements to your everyday... more
Home › Forums › Compiling KeeperRL on Windows