Skip to content

Diablo devolved - magic behind the 1996 computer game

License

Notifications You must be signed in to change notification settings

d07RiV/devilution

This branch is 56 commits ahead of, 1288 commits behind diasurgical/devilution:master.

Folders and files

NameName
Last commit message
Last commit date

Latest commit

798b512 · Oct 1, 2020
Aug 14, 2019
Aug 25, 2019
Aug 25, 2019
Aug 8, 2019
Aug 14, 2019
Aug 6, 2019
Aug 6, 2019
Aug 23, 2019
Aug 23, 2019
Aug 13, 2019
Jun 6, 2018
Oct 1, 2020
Aug 23, 2019
Aug 8, 2019
Aug 25, 2019
Jul 28, 2019
Aug 25, 2019
Aug 25, 2019
Aug 15, 2019
Aug 6, 2019
Aug 15, 2019
Aug 23, 2019

Repository files navigation

Devilution for Web

This is a fork of the original Devilution project, made for https://github.com/d07RiV/diabloweb

It has been stripped down from all dependencies (Storm.dll, DiabloUI.dll, DirectDraw/DirectSound and Windows), and can be built as a Windows app (using WinAPI and DirectSound) or compiled for web using Emscripten. It should be fairly easy to port to other platforms as all non-portable functionality is isolated to a few files (search for EMSCRIPTEN in code). Correct behavior is not guaranteed, as I had to modify many parts of the code in the process. Network functionality is completely broken currently, but I plan on attempting to restore it.

To run it normally, simply build the solution (tested in VS2017, but should work with other versions as well) and set the starting directory to somewhere that contains SPAWN.MPQ or DIABDAT.MPQ (depending on whether SPAWN was defined in options).

To compile it to WASM/JSCC (jscc is an extension I'm using for javascript glue files so they don't mix with regular JS in my webpack config), simply run node build.js, it should automatically build only the modified files. Requires Emscripten installed.

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

Original readme can be found in https://github.com/diasurgical/devilution

About

Diablo devolved - magic behind the 1996 computer game

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • C++ 73.0%
  • C 26.0%
  • Other 1.0%