The Wayback Machine - https://web.archive.org/web/20220417073541/https://github.com/diasurgical/devilutionX
Skip to content
master
Switch branches/tags
Code

Latest commit

SDL_RWsize is documented as returning any negative value on error (even though in practice errors are always indicated by a value of -1) so allow for that instead of only checking for unknown size.

There were also a few unnecessary arithmetic operations being done to calculate the size to read, straightforward to simplify.

SDL_CreateRGBSurfaceWithFormat expects width and height to be positive values < 2^16. Could get away with using unsigned if the SDL API did but it doesn't so stick with signed types even when it doesn't really fit the use.

bufferPitch is an oddity, ultimately it's only used to determine a pointer offset so making the param ptrdiff_t as it's more appropriate than size_t.
9ac6549

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
Apr 16, 2022
Dec 17, 2021
Sep 30, 2018


Discord Channel Downloads Codecov BCH compliance

(The health-bar and XP-bar are off by default, but can be enabled in the ini-file. Widescreen and transparency can also be disabled if preferred)

What is DevilutionX

DevilutionX is a source port of Diablo and Hellfire that strives to make it simple to run the game while providing engine improvements, bugfixes, and some optional quality of life features.

Check out the manual for what features are available and how best to take advantage of them.

For a full list of changes see our changelog.

How to Install

Note: You'll need access to the data from the original game. If you don't have an original CD then you can buy Diablo from GoG.com. Alternately you can use spawn.mpq from the shareware version, in place of DIABDAT.MPQ, to play the shareware portion of the game.

Download the latest DevilutionX release and extract the contents to a location of your choosing or build from source.

  • Copy DIABDAT.MPQ from the CD or GOG-installation (or extract it from the GoG installer) to the DevilutionX folder.
  • To run the Diablo: Hellfire expansion you will need to also copy hellfire.mpq, hfmonk.mpq, hfmusic.mpq, hfvoice.mpq.

For more detailed instructions: Installation Instructions.

Contributing

We are always looking for more people to help with coding, documentation, testing the latest builds, spreading the word, or simply just hanging out on the chat.

Mods

We hope to provide a good starting point for mods, in addition to the full Devilution source code we also provide modding tools. Also, check out the list of known mods based on DevilutionX.

Test builds

If you want to help test the latest state of the next version you can fetch the build artifact from one of the build server:

Note: You must be logged into GitHub to download the attachments!

Linux x86 Linux x86-64 SDL1 MacOSX Windows x64 Windows x86 Android iOS PS4

Linux x86-64, Switch, Vita, 3DS, Amiga, CircleCI

Xbox One/Series, MSVC AppVeyor

Building from Source

Want to compile the program by yourself? Great! Simply follow the build instructions.

Credits

  • The original Devilution project Devilution
  • Everyone who worked on Devilution/DevilutionX
  • Nikolay Popov for UI and graphics
  • WiAParker for the Polish voice pack
  • And thanks to all who support the project, report bugs, and help spread the word ❤️

Legal

DevilutionX is released to the Public Domain. The documentation and functionality provided by DevilutionX may only be utilized with assets provided by the ownership of Diablo.

The source code in this repository is for non-commercial use only. If you use the source code you may not charge others for access to it or any derivative work thereof.

Diablo® - Copyright © 1996 Blizzard Entertainment, Inc. All rights reserved. Diablo and Blizzard Entertainment are trademarks or registered trademarks of Blizzard Entertainment, Inc. in the U.S. and/or other countries.

DevilutionX and any of its maintainers are in no way associated with or endorsed by Blizzard Entertainment®.