General Mod Information
General Mod Information
This is general information about creating mods for Diablo II: Resurrected.
Directory Information
Ensure a mods
directory exists. It must exist in the Diablo II Resurrected game directory.
All mods will be placed in subdirectories located in the mod
directory. The subdirectory structure will be [modname]/[modname].mpq/
.
If we are creating a mod that is called 'simple', then the mods
directory will contain a simple directory followed by a simple.mpq
directory.
Located in the .mpq directory should be a file called modinfo.json
. It is a simple json file that contains information about the modifications. Here is a simple version of the contents of modinfo.json
:
{ "name": "simple", "savepath": "simple/" }
Files that have been modified will be placed in other subdirectories under simple.mpq
. The structure of the subdirectories will match the subdirectories as seen in CASCViewer.
As an example, suppose we modify the treasureclasses.txt
file. In CASCView, the file is located in the data/global/excel
location.
The directory struction in the mods
directory must match the CASCView structure.
To load our mods while playing the game, open the Battle.net application.
Ensure the Additional command line arguments is checked. Add the text -mod [modname] -txt
to the command line arguments. If the case of our mod directory being name 'simple', the arguments will look like this: