Modern reimplementation of the Diablo 1 game engine
C++ Python CMake Other
Latest commit 6b19b4b Feb 26, 2017 @wheybags committed on GitHub Merge pull request #252 from Predelnik/refactoring
Fix some type casting warnings.

Join the chat at Build Status Build status

Hello my friend, stay a while and listen!

freeablo is a modern cross platform reimplementation of the game engine used in Diablo 1. As it is just an engine, you will need the original data files to play the game.

Currently, you can run around town, players and npcs animate, and you can go down into the first few levels of the dungeon (which is randomly generated), and a couple of other things. This is just a base for a game so far, so if you can help, please see the contributing section below!

There is a website at


Build the engine yourself (instructions below), or grab a prebuilt binary for your platform from Copy DIABDAT.MPQ and Diablo.exe from your diablo install into the folder with the freeablo executable. (NOTE: only version 1.09 of diablo is currently supported, so please patch to that version)


Mouse to walk around, just like the original, and click on doors to open them.

PgUp and PgDn keys will move up / down through dungeon levels.

n will turn off collision (player will be able to walk through walls).

q to quit

esc to open pause menu

The above will all be made configurable at some point.

Documentation contains a list of significant decisions taken over the project's lifetime.



If you are using windows, please see for instructions on building with Visual Studio 2013


First install Xcode, and brew, of course.

$ brew install boost boost-python enet freetype libtomcrypt lbzip2 lzlib qt5 sdl2 sdl2_image sdl2_mixer --universal cmake
$ brew tap wheybags/homebrew-librocket
$ brew install --HEAD librocket
# here it will possibly print a message about python module path settings, follow its instructions

and continue on with the Linux/Unix section (ignore the librocket instructions).


freeablo uses cmake, and depends on boost >= 1.54, libbz2, zlib, and SDL2, sdl2_image, and libRocket, so make sure to have those installed. libRocket ( isn't packaged in most distros, so you'll have to install it from source (this isn't very hard).

libRocket installation:

$ git clone
$ cd libRocket
$ mkdir buildDir
$ cd buildDir
$ make
$ sudo make install

libRocket depends on boost::python and freetype

Get the source:

via git:

$ git clone
$ cd freeablo 
$ git submodule update --init

or download from

make a build directory:

$ cd ..
$ mkdir build
$ cd build

symlink the resources folder:

$ ln -s ../freeablo/resources

call cmake:

$ cmake ../freeablo

Now you're ready to go, cmake has generated a makefile, just run make to compile


Have a look at the github issue tracker for something to do, send a pull request, and I'll probably accept it. Having dabbled a bit in OpenMW (, I have decided to use their coding standards for this project, which you can see here:

Bug reports

Please feel free to submit bug reports on the github issue tracker at


v0.3 [5 Aug 2015]

  • Bugfix - monsters spawn on level stairs #112
  • Threading refactor #107
  • Hotkey selection GUI #106
  • level 3 dungeon generation #103
  • UI chroma key transparency #96
  • UI animation #95
  • Bugfix - gui clicks register as movement clicks #88
  • Initial version of launcher #33
  • sound #26
  • better celview gui #134
  • Bugfix - music memory leak #111
  • Bugfix - exit when DIABDAT.MPQ not found #114, #115

v0.2 [3 Dec 2014]

  • Bugfix - MPQ filename case sensitivity #78, #76
  • Bugfix - Deadlock on caertain command line args
  • Bugfix - Player-npc clipping #97
  • Bugfix - Reading freed memory in FAIO 6f098b1
  • Config File parsing #81
  • LibRocket Gui framework #82, #86
  • Improved CEL rendering #85, #91
  • Inventory and char menu placeholders #86
  • Pause menu #90
  • Main menu #94
  • Keybinding configuration framework #98
  • Music #99
  • SDL1 support removed d4da725
  • Dungeon level 2 generation #93

v0.1 [24 Apr 2014]

  • CEL / CL2 decoding
  • Level rendering
  • Level Generation
  • Level switching
  • Town NPCS
  • Mouse movement
  • Animation
  • Doors
  • Basic collision