Skip to content

Modding Guidelines

ikonomov edited this page May 7, 2023 · 9 revisions

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.)

Clone this wiki locally