Modding Guidelines - diasurgical/devilutionX GitHub Wiki

This page and the linked branch with changes to the source code of DevilutionX are intended to serve as a guide for creating mods. The following is a list of the bare minimum changes that need to be made in order to create a mod and compile a functioning build for Windows.

  • the name of the project, also used for the name of the program (CMakeLists.txt)
  • game ID, also used to distinguish different builds for Multi Player (Source/diablo.h)
  • game ID for Discord (Source/discord/discord.cpp)
  • names for character and stash files with a password that allows control of compatibility between builds (Source/pfile.cpp)
  • name of the folder used for saving character, stash and user configuration files (Source/utils/paths.cpp)

Compiling builds for all operating systems supported by DevilutionX is possible, but requires additional changes.

Example (DiabloX is only used as an example for the name of the mod.)